[pacman-dev] [PATCH] libalpm: download sig files with -U when missing

Morgan Adamiec morganamilo at archlinux.org
Sun Jan 10 21:34:04 UTC 2021



On 10/01/2021 20:59, Anatol Pomozov wrote:
> Hi
> 
> 
> On Sun, Jan 10, 2021 at 12:45 PM Anatol Pomozov
> <anatol.pomozov at gmail.com> wrote:
>>
>> Hi
>>
>> The commit description sounds like a duplicate of
>> https://bugs.archlinux.org/task/33992
>>
>> Isn't it fixed by commit f3dfba73d22b7eca3810a8114f2aab63da488b4c ?
> 
> Current master works for me:
> 
> $ sudo rm /var/cache/pacman/pkg/zxing-cpp-1.1.1-1-x86_64.pkg.tar.zst.sig
> $ sudo pacman -U https://archlinux.org/packages/extra/x86_64/zxing-cpp/download/
> ...
> warning: zxing-cpp-1.1.1-1 is up to date -- reinstalling
> ...
> $ ls -l /var/cache/pacman/pkg/zxing-cpp-1.1.1-1-x86_64.pkg.tar.zst.sig
> -rw-r--r-- 1 root root 310 Sep 12 13:12
> /var/cache/pacman/pkg/zxing-cpp-1.1.1-1-x86_64.pkg.tar.zst.sig
> 
> 
> 
> Could you please share a bit more information about the issue you are
> trying to fix?
> 

Strange, doesn't work for me:

morganamilo at Octavia (HEAD detached at origin/master) ~git/pacman % sudo
./build/pacman -U
https://mirrors.ims.nksc.lt/archlinux/extra/os/x86_64/xterm-363-1-x86_64.pkg.tar.zst
warning: config file /etc/pacman.conf, line 23: directive
'PackageSigLevel' in section 'options' not recognised.
:: Retrieving packages...
 xterm-363-1-x86_64
    430.8 KiB   577 KiB/s 00:01
[--------------------------------------------------------------] 100%
loading packages...
warning: xterm-363-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) xterm-363-1

Total Installed Size:  1.05 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring

[--------------------------------------------------------------] 100%
(1/1) checking package integrity

[--------------------------------------------------------------] 100%
(1/1) loading package files

[--------------------------------------------------------------] 100%
(1/1) checking for file conflicts

[--------------------------------------------------------------] 100%
(1/1) checking available disk space

[--------------------------------------------------------------] 100%
:: Processing package changes...
(1/1) reinstalling xterm

[--------------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating the desktop file MIME type cache...
morganamilo at Octavia (HEAD detached at origin/master) ~git/pacman % sudo
rm /var/cache/pacman/pkg/*.sig

morganamilo at Octavia (HEAD detached at origin/master) ~git/pacman % sudo
./build/pacman -U
https://mirrors.ims.nksc.lt/archlinux/extra/os/x86_64/xterm-363-1-x86_64.pkg.tar.zst
warning: config file /etc/pacman.conf, line 23: directive
'PackageSigLevel' in section 'options' not recognised.
loading packages...
error: '/var/cache/pacman/pkg/xterm-363-1-x86_64.pkg.tar.zst': package
missing required signature
morganamilo at Octavia (HEAD detached at origin/master) ~git/pacman %


More information about the pacman-dev mailing list