Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync package DB after updating pacman.conf #33

Closed
Nils-TUD opened this issue Dec 14, 2018 · 7 comments
Closed

Sync package DB after updating pacman.conf #33

Nils-TUD opened this issue Dec 14, 2018 · 7 comments

Comments

@Nils-TUD
Copy link

Nils-TUD commented Dec 14, 2018

I was using aconfmgr to apply my system configuration to another machine and ran into the problem that a package from another repository couldn't be found. This occurs because I also do a CopyFile /etc/pacman.conf, which happens right before in the "Installing priority files" step and adds a new repository. But the package database is not updated afterwards, so that pacman cannot find the package.

I fixed the problem by doing a pacman --sync --refresh after the installation of the priority files. If you like, I can create a PR.

@CyberShadow
Copy link
Owner

See #23 (comment) for some discussion on aconfmgr automatically updating package repositories.

I think prompting the user whether they'd like to sync repositories if the pacman configuration was updated (ideally, specifically, the list of repositories) would be a good change.

@MenacingPerson
Copy link

Any progress on this? Would love to see this, currently I just rerun aconfmgr after an -Syu

@CyberShadow
Copy link
Owner

New features can be added to aconfmgr as soon as either someone contributes a pull request or when I'm able to allocate a time window to work on aconfmgr enhancements (which can be many months apart - I have a lot of projects + a job + other hobbies, sorry!)

@MenacingPerson
Copy link

I have a lot of projects + a job + other hobbies, sorry!)

Understandable. I would have contributed if I could understand the codebase (It's a big project!)

@AleksanderBobinski
Copy link
Contributor

Hi @CyberShadow, would it be possible to bump the AUR package?

@The-Compiler
Copy link

What's there to bump? It's a -git package, VCS packages always build the newest commit and usually only get updated if e.g. dependencies change.

@AleksanderBobinski
Copy link
Contributor

My bad, you are right. I looked at [1] and became confused. Sorry!

[1] https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=aconfmgr-git#n4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants