Closed UNIcodeX closed 5 years ago
https://github.com/Antergos/antergos-packages/commit/1d101255af815b3d5de6478a2d27f2eea4932317
Don't know what's wrong... I just issued a rebuild. Will see.
How long does it take for the mirrors to update. Just tried again and got the same error.
spl-utils has not made its way out of staging, according to build.antergos.com.
Additionally, the spl
package has the same problem with bad hashes, a rebuild on that one would be appreciated.
Just an update, This is the error I get when I try to install from a freshly built Antergos docker container:
[root@9b9052ef2b00 /]# pacman -S zfs
resolving dependencies...
looking for conflicting packages...
Packages (11) dkms-2.5-4 linux-5.0.5.arch1-1 linux-firmware-20190313.efd2c1c-1 linux-headers-5.0.5.arch1-1 lsb-release-1.4-15
mkinitcpio-25-1 mkinitcpio-busybox-1.30.1-1 spl-0.7.13-2 spl-utils-0.7.13-2 zfs-utils-0.7.13-2 zfs-0.7.13-2
Total Download Size: 175.69 MiB
Total Installed Size: 670.63 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
linux-headers-5.0.5.arch1-1-x86_64 17.0 MiB 10.6M/s 00:02 [###################################################] 100%
linux-firmware-20190313.efd2c1c-1-any 77.3 MiB 27.8M/s 00:03 [###################################################] 100%
mkinitcpio-busybox-1.30.1-1-x86_64 252.7 KiB 27.4M/s 00:00 [###################################################] 100%
mkinitcpio-25-1-any 40.0 KiB 19.5M/s 00:00 [###################################################] 100%
linux-5.0.5.arch1-1-x86_64 70.7 MiB 22.6M/s 00:03 [###################################################] 100%
dkms-2.5-4-any 50.9 KiB 16.6M/s 00:00 [###################################################] 100%
lsb-release-1.4-15-any 7.9 KiB 3.85M/s 00:00 [###################################################] 100%
spl-utils-0.7.13-2-x86_64 16.7 KiB 341K/s 00:00 [###################################################] 100%
spl-0.7.13-2-x86_64 433.2 KiB 1960K/s 00:00 [###################################################] 100%
zfs-utils-0.7.13-2-x86_64 3.7 MiB 17.1M/s 00:00 [###################################################] 100%
zfs-0.7.13-2-x86_64 6.3 MiB 30.0M/s 00:00 [###################################################] 100%
(11/11) checking keys in keyring [###################################################] 100%
(11/11) checking package integrity [###################################################] 100%
error: spl-utils: signature from "Antergos Build Server (Automated Package Build System) <admin@antergos.org>" is invalid
:: File /var/cache/pacman/pkg/spl-utils-0.7.13-2-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: spl: signature from "Antergos Build Server (Automated Package Build System) <admin@antergos.org>" is invalid
:: File /var/cache/pacman/pkg/spl-0.7.13-2-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
And with the staging repos enabled:
[root@9b9052ef2b00 /]# pacman -S zfs
resolving dependencies...
looking for conflicting packages...
Packages (11) dkms-2.5-4 linux-5.0.5.arch1-1 linux-firmware-20190313.efd2c1c-1 linux-headers-5.0.5.arch1-1 lsb-release-1.4-15
mkinitcpio-25-1 mkinitcpio-busybox-1.30.1-1 spl-0.7.13-2 spl-utils-0.7.13-3 zfs-utils-0.7.13-2 zfs-0.7.13-2
Total Download Size: 175.69 MiB
Total Installed Size: 670.63 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
linux-headers-5.0.5.arch1-1-x86_64 17.0 MiB 12.3M/s 00:01 [###################################################] 100%
linux-firmware-20190313.efd2c1c-1-any 77.3 MiB 27.4M/s 00:03 [###################################################] 100%
mkinitcpio-busybox-1.30.1-1-x86_64 252.7 KiB 22.4M/s 00:00 [###################################################] 100%
mkinitcpio-25-1-any 40.0 KiB 19.5M/s 00:00 [###################################################] 100%
linux-5.0.5.arch1-1-x86_64 70.7 MiB 23.3M/s 00:03 [###################################################] 100%
dkms-2.5-4-any 50.9 KiB 24.9M/s 00:00 [###################################################] 100%
lsb-release-1.4-15-any 7.9 KiB 7.69M/s 00:00 [###################################################] 100%
spl-utils-0.7.13-3-x86_64 16.7 KiB 348K/s 00:00 [###################################################] 100%
spl-0.7.13-2-x86_64 433.2 KiB 2.07M/s 00:00 [###################################################] 100%
zfs-utils-0.7.13-2-x86_64 3.7 MiB 17.6M/s 00:00 [###################################################] 100%
zfs-0.7.13-2-x86_64 6.3 MiB 26.5M/s 00:00 [###################################################] 100%
(11/11) checking keys in keyring [###################################################] 100%
(11/11) checking package integrity [###################################################] 100%
error: spl: signature from "Antergos Build Server (Automated Package Build System) <admin@antergos.org>" is invalid
:: File /var/cache/pacman/pkg/spl-0.7.13-2-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
If we enable staging repos, spl-utils-0.7.13-3
has a valid signature, but we're still waiting on spl
.
Very good information. I have a couple questions.
How do you enable staging repos?
Why does it have dkms as a dependency, when the zfs and spl packages don't seem to have anything to do with dkms?
I personally chose dkms packages thinking it would keep my install from breaking ability to access zfs pools. Am I incorrect? Am I missing something?
How do you enable staging repos? in pacman.conf:
[antergos-staging]
SigLevel = TrustAll
Include = /etc/pacman.d/antergos-mirrorlist
Do this in the antergos livecd, then it should use those repos to handle the rest.
I personally chose dkms packages thinking it would keep my install from breaking ability to access zfs pools. Am I incorrect? Am I missing something?
DKMS has nothing to do with this issue. This issue is about an invalid signature on the packages in the main repo.
@lots0logs just bumped the package. (thank you, you the best!) I'm fairly confident this will fix our woes.
I'll be testing as soon as I see the package show up in the staging repo, and I'll report back.
Install succeeded. I think we can close this issue now.
@kebrx Thanks for the explanation. I did know that the issue was due to a bad signature.
What I'm also asking, while on the subject of ZFS and SPL, is if it would be better to use the DKMS package (which I think are AUR only) or the official repo package (since it doesn't seem to support DKMS [based on the name anyway]).
Do you know if not using the DKMS version would increase the likelihood for an update to break ability to access ZFS pools, or is it a non-issue in your opinion? Or do you just mark that package as ignored by pacman?
Thank you for everyone's help in getting this resolved.
I've better success with the official repo packages. I wouldn't play with it unless you really know what you're doing (in which case, you probably wouldn't need to ask)
In the future, if something similar happens, the entire transaction won't work unless all the packages are good, so you won't likely have any issues with an update causing an unbootable system.
That said, I'm working on a solution to provide some peace of mind. I'm working on some pacman hooks to create snapshots and grub entries for booting old systems with ZFS. Of course, this requires a different dataset configuration than cnchi provides, but I'll be making PRs for that when it's closer to production readiness.
You're working on implementing FreeBSD style boot environments for Antergos? Nice!!
@kebrx I volunteer to test. That and native ZFS root install encryption are high on my wish list.
I'd be happy to loop you in. I'll make an announcement and let you know when I have something tangible. Follow my account and I'll throw up a repo for the hooks when I get to a stage where I'm ready to have others play with it.
As far as the native encryption goes, that's high on my list as well and the good news is that it's made it into 0.8, so we should be seeing it this year. Development of ZFS is sometimes slow, but better slow than buggy.
Excellent. Followed.
Sounds good. Indeed I agree. No good having something if it doesn't work right.
I'll stay tuned for stuff to test. :)
chchi.log