Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#7613 - Pacman and local repositories
Attached to Project:
Pacman
Opened by Johannes Schriewer (dunkelstern) - Saturday, 14 July 2007, 00:10 GMT
Last edited by Roman Kyrylych (Romashka) - Monday, 16 July 2007, 07:32 GMT
Opened by Johannes Schriewer (dunkelstern) - Saturday, 14 July 2007, 00:10 GMT
Last edited by Roman Kyrylych (Romashka) - Monday, 16 July 2007, 07:32 GMT
|
DetailsSummary and Info:
If you have local repositories in pacman.conf (those with a file:// prefix instead of http or ftp) pacman doesn't do package updates of these repositories. Found this bug while testing an update for kpacupdate. Steps to Reproduce: 1. Add a local repo to your pacman.conf 2. Take any PKGBUILD of a package you have installed already 3. Increase the pkgrel, build and place the package in your repository 4. Run gensync on your repository 5. Do a pacman -Sy 6. pacman "downloads" the new description file (some weird transfer rates are displayed btw.) 7. Do a pacman -Su 8. The updated package is not displayed for update 9. Do a pacman -S <your_package> 10. The package from one of the official repos (the online ones) is seen as the newest package and pacman tells you that your package is up to date and if you really want to upgrade. |
This task depends upon
See this:
root@crystal64# pacman -Ss xmms
current/xmms 1.2.10-8
The X MultiMedia System
community/xmms 1.2.10-9
The X MultiMedia System
And no update is presented on -Su:
root@crystal64# pacman -Syu
:: Synchronizing package databases...
testing is up to date
current is up to date
extra is up to date
unstable is up to date
community is up to date
kdemod is up to date
:: Starting full system upgrade...
resolving dependencies... done.
looking for inter-conflicts... done.
Targets: bluez-libs-3.12-1 bluez-utils-3.12-1
Total Package Size: 0.38 MB
Proceed with installation? [Y/n]
On a side note, try using repo-add to generate your repo. And "weird download rates" are just local transfer rates- does it really matter what they say?
Sure I have zero problems with this as well. :) Just wanted to hear Johannes' reply.
If you update explicitly to the newer version of another repo and do an update later on pacman outputs this:
[dark64@crystal64 ~]$ sudo pacman -Su
:: Starting full system upgrade...
warning: xmms: local (1.2.10-9) is newer than current (1.2.10-8)
[dark64@crystal64 ~]$ pacman -Si community/xmms
Repository : community
Name : xmms
Version : 1.2.10-9
...
For sure the statement is right, but it is the current version of community. It's completely unneccessary to explicitly state that.
I think pacman should check the correct repository before stating that.
About the weird download rates: I know that but the display is weird (therefore I didn't open a bugreport for it :) )
Perhaps someone could add a switch to do a cross repository update? I mean don't stop searching as it may cause problems on the one side, for sure it can cause problems the other way round too (i.e. If i want MY package and not that from community...)
Perhaps it just was a bit late that evening and I didn't get it. Sorry about that.
The order of repositories in the file matters; repositories listed
first will take precedence over those listed later in the file when
packages in two repositories have identical names, regardless of ver-
sion number.
If you want your packages to always take precedence - just put your local repo on top.
BTW, that's why [testing] is above [current]
P.S.: xmms was removed from current looong time ago. ;-)