You are not logged in.

#1 2017-04-08 13:59:41

Daemono
Member
Registered: 2017-04-08
Posts: 4

Failed to Install Packages to new Root

I'm trying to install Arch
Whenever I go through with installing the base packages (pacstrap -i /mnt base base-devel), I keep getting this:

  error: libpsl: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust
  : : File /mnt/var/cache/pacman/pkg/libpsl-0.17.0.1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature))).
  Do you want to delete it? [Y/n] (I've tried both yes and no)
  error: krb5: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust
  : : File /mnt/var/cache/pacman/pkg/krb5-1.13.7-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature))).
  Do you want to delete it? [Y/n] (I've tried both yes and no)
  error: failed to commit transaction (invalid or corrupted packages)
  Errors occurred, no packages were upgraded.
  ==> ERROR: Failed to install packages to new root

Also, it should probably be noted that I'm doing this off of a Live USB running a version of Arch from last year (2016_03)
I've tried using a newer ISO, thinking that the packages were outdated, but I wasn't able to boot from it (archlinux-2017.04.01-x86_64)
(I'm using YUMI to create Live USB's)

What should I do?

Offline

#2 2017-04-08 14:10:01

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,860
Website

Re: Failed to Install Packages to new Root

You should really use an up-to-date installation iso, but if that isn't possible, you might be able to get by by updating the archlinux-keyring package in the live environment before running pacstrap.

EDIT:

pacman -Sy archlinux-keyring

Note that '-Sy <package>' in this case is a special time thing, you should not use it in an installed system as it will lead to partial updates which are not supported.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2017-04-08 14:24:17

Daemono
Member
Registered: 2017-04-08
Posts: 4

Re: Failed to Install Packages to new Root

Thank you so much! It worked like a charm!
However, I wonder why the newest ISO wouldn't work on the device;
As in, it would always output something like:

  ERROR: '/dev/disk/by-label/ARCH_201704' device did not show up after 30 seconds... 
  Falling back to interactive prompt
  You can try to fix the problem manually, log out when you are finished
  sh: can't access tty: job control turned off

Offline

#4 2017-04-08 14:44:08

equ
Member
From: Moscow
Registered: 2017-04-06
Posts: 13
Website

Re: Failed to Install Packages to new Root

corrupted pkgs and device errors prbly point to problems with USB device


And the early userspace dawns...

Offline

#5 2017-04-08 14:51:07

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,529
Website

Re: Failed to Install Packages to new Root

No, the "corrupt packages" were just due to using an old iso with an outdated keyring - they aren't stored on the usb anyways, so a usb hardware issue would not lead to those symptoms.  The second error is quite common, and usually a result of using something other than dd to create the live usb.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB