[arch-general] pacman has nothing to do last 5 days
‐‐‐ Original Message ‐‐‐ On Sunday, December 8, 2019 12:06 AM, mick howe via arch-general wrote: > For the last five days or so it reports nothing to do:- > > [mick@cave ~]$ pacman -Syyuu > :: Synchronizing package databases... > core 135.1 KiB 938 KiB/s 00:00 [##] > 100% > extra 1647.8 KiB 2.68 MiB/s 00:01 [##] > 100% > community 4.7 MiB 2.66 MiB/s 00:02 [##] > 100% > multilib 164.2 KiB 2.97 MiB/s 00:00 [##] > 100% > :: Starting full system upgrade... > there is nothing to do > [mick@cave ~]$ > > This is the first time in around 10 years of running Arch this has > happened, has some thing changed in pacman that I missed? I have a similar issue, to be more preceise there are two issues here - "worldwide" servers are sometimes out of sync and pacman failure (seems so) to update when servers contain new packages. TL;dr the first issue is fixed by enabling alternative servers in mirrorlist, the second issue I could fixed by removing core/extra repository files in /var/lib/pacman/sync/. 1) After installing arch (some time ago) I enabled only "worldwide" servers. Approximately 1 year ago, there were cases when after 3-5 days pacman could not find any package updates (like the case above). After investigating this issue, it looks like "worldwide" servers were not synced: packages.archlinux.org returned, say firefox-67 while worldwide servers contained only firefox-66. This issue was fixed by enabling other repos in mirrorlist. As a consequence, pacman sometimes prints message like "error, could not download linux-5.4.1 from mirror " but downloads from another server and continues update. 2) The second issue is more strange. As in previous cases pacman prints "nothing to do", but this time servers (disclaimer: I checked only few of enabled) do contain new version of packages, so it looks like there is issue in pacman, not servers. In my case removing core.db and core.files at /var/lib/pacman/sync/ fixed the problem. This issue in my case was revealed as partial updates leading to loading lib errors. It occurs pretty rarely, probably 1-2 times in 3 months and easy to fix. I didn't bother to document and file a bug. P.S I checked that I have latest version of mirrorlist.
Re: [arch-general] pacman has nothing to do last 5 days
> > This seems weird, what mirror are you using? Maybe the mirror is broken > and you need to update your mirrorlist. > Updated mirrorlist to 2019-10-01 and selected all australian mirrors and then had to disable arnet, now all goodish > P.S. STOP using -Syyuu, since the double y tells pacman to force > download databases even when the server says there is no update, and the > double u tells pacman to downgrade any packages the server claims are old. noted and done > If you used a plain old -Syu, then you would almost certainly see five > days worth of "[repository] is already up to date", which would be a > definite red flag that something is wrong. Now that you used -Syyuu, we > have no idea whether your pacman installation refreshed the databases > because the server said they needed to be refreshed or because you told > pacman to ignore the freshness. > Been using Syyuu almost since I started using Arch, first time I noticed > any badness with pacman thanks
Re: [arch-general] pacman has nothing to do last 5 days
On 12/7/19 7:06 PM, mick howe via arch-general wrote: > For the last five days or so it reports nothing to do:- > > [mick@cave ~]$ pacman -Syyuu > :: Synchronizing package databases... > core 135.1 KiB 938 KiB/s 00:00 [##] > 100% > extra1647.8 KiB 2.68 MiB/s 00:01 [##] > 100% > community 4.7 MiB 2.66 MiB/s 00:02 [##] > 100% > multilib 164.2 KiB 2.97 MiB/s 00:00 [##] > 100% > :: Starting full system upgrade... > there is nothing to do > [mick@cave ~]$ > > This is the first time in around 10 years of running Arch this has > happened, has some thing changed in pacman that I missed? This seems weird, what mirror are you using? Maybe the mirror is broken and you need to update your mirrorlist. P.S. STOP using -Syyuu, since the double y tells pacman to force download databases even when the server says there is no update, and the double u tells pacman to downgrade any packages the server claims are old. If you used a plain old -Syu, then you would almost certainly see five days worth of "[repository] is already up to date", which would be a definite red flag that something is wrong. Now that you used -Syyuu, we have no idea whether your pacman installation refreshed the databases because the server said they needed to be refreshed or because you told pacman to ignore the freshness. -- Eli Schwartz Bug Wrangler and Trusted User signature.asc Description: OpenPGP digital signature
[arch-general] pacman has nothing to do last 5 days
For the last five days or so it reports nothing to do:- [mick@cave ~]$ pacman -Syyuu :: Synchronizing package databases... core 135.1 KiB 938 KiB/s 00:00 [##] 100% extra1647.8 KiB 2.68 MiB/s 00:01 [##] 100% community 4.7 MiB 2.66 MiB/s 00:02 [##] 100% multilib 164.2 KiB 2.97 MiB/s 00:00 [##] 100% :: Starting full system upgrade... there is nothing to do [mick@cave ~]$ This is the first time in around 10 years of running Arch this has happened, has some thing changed in pacman that I missed?