You are not logged in.

#1 2021-06-02 00:03:12

Salkay
Member
Registered: 2014-05-22
Posts: 533

[BUG FILED] pacman 6 breaks cache sharing over LAN

I've been sharing my pacman cache using darkhttpd for a few years with great success. I think it's failing when a signature can't be found on the "server". I suspect the recent update to pacman 6 has broken this.

I think (but might misremember) that pacman used to try another server, but this no longer seems to happen. Is there any workaround, is this a bug, or just the way that pacman should work now?

$ sudo pacman -S gspell
resolving dependencies...
looking for conflicting packages...

Package (1)   New Version  Net Change

extra/gspell  1.8.4-1        0.73 MiB

Total Installed Size:  0.73 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 gspell-1.8.4-1-x86_64             124.3 KiB  2.43 MiB/s 00:00 [##################################] 100%
error: failed retrieving file 'gspell-1.8.4-1-x86_64.pkg.tar.zst.sig' from 192.168.1.81:8081 : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.

On another system, another related issue with signatures.

digikam-7.2.0-4-x86_64                                19.8 MiB  9.21 MiB/s 00:02 [##############################################] 100%
error: failed retrieving file 'digikam-7.2.0-4-x86_64.pk                         [##############################################] 100%
(14/14) checking package integrity                                               [##############################################] 100%
error: digikam: signature from "Antonio Rojas <arojas@archlinux.org>" is invalid
:: File /var/cache/pacman/pkg/digikam-7.2.0-4-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
error installing repo packages

In both cases, removing my local "server" cache as a mirror fixed the issue.

Last edited by Salkay (2021-06-02 04:30:03)

Offline

#2 2021-06-02 01:48:48

Scimmia
Fellow
Registered: 2012-09-01
Posts: 8,586

Re: [BUG FILED] pacman 6 breaks cache sharing over LAN

Offline

#3 2021-06-02 04:29:44

Salkay
Member
Registered: 2014-05-22
Posts: 533

Re: [BUG FILED] pacman 6 breaks cache sharing over LAN

Thanks Scimmia

Offline

#4 2021-06-15 11:16:59

johnpiers
Member
From: Somerset West, Cape Town
Registered: 2012-07-22
Posts: 28

Re: [BUG FILED] pacman 6 breaks cache sharing over LAN

At the above link, reply as follows:
Already known and fixed.

https://lists.archlinux.org/pipermail/p … 25166.html

Could someone please mark this post/issue as resolved if that's in order.
Thank you.

Offline

#5 2021-06-15 12:33:01

progandy
Member
Registered: 2012-05-17
Posts: 4,366

Re: [BUG FILED] pacman 6 breaks cache sharing over LAN

I think the new codepath to download signatures has no fallback to alternative mirrors, it is restricted to the mirror used for the package.
There is no specific bug report, but I mentioned it here: https://bugs.archlinux.org/task/71148


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

Board footer

Powered by FluxBB