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#42963 - Checkupdates script does not detect some package updates until repos forcibly refreshed
Attached to Project:
Pacman
Opened by Chad Sharp (crossroads1112) - Sunday, 30 November 2014, 16:10 GMT
Last edited by Allan McRae (Allan) - Monday, 14 December 2015, 14:43 GMT
Opened by Chad Sharp (crossroads1112) - Sunday, 30 November 2014, 16:10 GMT
Last edited by Allan McRae (Allan) - Monday, 14 December 2015, 14:43 GMT
|
DetailsSummary and Info:
I have the following official repositories enabled: core extra community multilib and the following unofficial repos enabled: infinality-bundle infinality-bundle-multilib pipelight Currently, running pacman -Syu shows that I have one update for the package lib32-flac-1.3.1-1. However, the checkupdates script shows no output. However, upon running pacman -Syy and forcing it to refresh all the repos, it works. See pastebin here: http://pastebin.com/01qxBBqe Steps to Reproduce: Not entirely sure. I never used checkupdates much until I wrote a script that relies on it. A possible solution could be to change the "fakeroot pacman -Sy --dbpath "$CHECKUPDATES_DB" --logfile /dev/null &> /dev/null" line to "fakeroot pacman -Syy --dbpath "$CHECKUPDATES_DB" --logfile /dev/null &> /dev/null" |
This task depends upon
> A possible solution could be to change[...]
This suggests that the mirror you're using for Arch packages sucks and doesn't properly update mtime on their DBs. What mirror is it?
λ ~/ pacman -Syu
error: you cannot perform this operation unless you are root.
λ ~/ sudo !!
sudo pacman -Syu
[sudo] password for chad:
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
infinality-bundle is up to date
infinality-bundle-multilib is up to date
pipelight is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
Packages (1): lib32-flac-1.3.1-1
Total Installed Size: 0.61 MiB
Net Upgrade Size: 0.31 MiB
:: Proceed with installation? [Y/n] ^C
Interrupt signal received
λ ~/ checkupdates
λ ~/ sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
infinality-bundle is up to date
infinality-bundle-multilib is up to date
pipelight is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
Packages (1): lib32-flac-1.3.1-1
:: Proceed with installation? [Y/n] n
λ ~/ sudo pacman -Syy
[sudo] password for chad:
:: Synchronizing package databases...
core 116.1 KiB 388K/s 00:00 [##################################################################################] 100%
extra 1806.0 KiB 387K/s 00:05 [##################################################################################] 100%
community 2.4 MiB 346K/s 00:07 [##################################################################################] 100%
multilib 121.8 KiB 383K/s 00:00 [##################################################################################] 100%
infinality-bundle 9.7 KiB 510K/s 00:00 [##################################################################################] 100%
infinality-bundle.sig 287.0 B 0.00B/s 00:00 [##################################################################################] 100%
infinality-bundle-multilib 2.5 KiB 2.45M/s 00:00 [##################################################################################] 100%
infinality-bundle-multilib.sig 287.0 B 0.00B/s 00:00 [##################################################################################] 100%
pipelight 78.0 KiB 124K/s 00:01 [##################################################################################] 100%
pipelight.sig 543.0 B 0.00B/s 00:00 [##################################################################################] 100%
λ ~/ checkupdates
lib32-flac
The mirror I'm using is http://lug.mtu.edu/archlinux/$repo/os/$arch
Is there any way you can attach debug output for the fakeroot pacman -Sy call in a case where -Sy doesn't update the repo? Can you also attach your /etc/pacman.conf?
λ ~/ pacman -Syu (cancelled)
λ ~/ sudo !!
λ ~/ checkupdates (FAILS)
λ ~/ sudo pacman -Syu (cancelled)
λ ~/ sudo pacman -Syy
λ ~/ checkupdates (WORKS)
So nothing touched your local pacman db, only the sync databases. Checkupdate does not use the system sync databases, but its own copy. Looks like the first checkupdates run failed to update its copy of the [multilib] db, the second worked. Bad mirror/bad internet connection ...