You are not logged in.

#1 2018-11-04 03:16:55

hpmachining
Member
From: Michigan
Registered: 2016-11-23
Posts: 42
Website

Can't restore all packages to specific date because of disabled keys

I am trying to restore to a specific date and can't go back before 2018/10/06. For instance, if I try to go back to 2018/10/05 by changing the mirrorlist file so it only contains

Server=https://archive.archlinux.org/repos/2018/10/05/$repo/os/$arch

then do

sudo pacman -Syyuu

I get the following error

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 dnssec-anchors-20170711-1-any                          3.1 KiB  0.00B/s 00:00 [############################################] 100%
(187/187) checking keys in keyring                                             [############################################] 100%
(187/187) checking package integrity                                           [############################################] 100%
error: dnssec-anchors: key "Gaetan Bisson <gaetan@fenua.org>" is disabled
:: File /var/cache/pacman/pkg/dnssec-anchors-20170711-1-any.pkg.tar.xz 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.

The further back I go, the more packages I get with this error.
I don't know how to handle this. Can someone tell me what the proper way is to handle this situation? Thank you.

Offline

#2 2018-11-04 09:23:49

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Can't restore all packages to specific date because of disabled keys

You could always disable signature checking in pacman.conf.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2018-11-04 13:19:36

hpmachining
Member
From: Michigan
Registered: 2016-11-23
Posts: 42
Website

Re: Can't restore all packages to specific date because of disabled keys

Thanks. That's what I ended up doing. I also had to ignore one package to go back as far as I wanted because of overwriting files issue. I've not had this problem before, it always just worked, so I wanted to check if there was a preferred way of handling it.

Offline

Board footer

Powered by FluxBB