[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt Fehler im chroot



Am Sonntag, den 14.05.2006, 20:46 +0200 schrieb Klaus Becker:
> n'Abend,
> 
> im chroot auf Sarge AMD64 bekomme ich folgende Meldung, wenn ich etwas 
> installieren will, mit apt-get oder aptitude:
> 
> # apt-get install irgendwas
> Reading package lists... Done
> Building dependency tree... Done
> 0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.
> 1 not fully installed or removed.
> Need to get 0B of archives.
> After unpacking 0B of additional disk space will be used.
> Setting up apt (0.6.43.2bpo2) ...
> Warning: gnupg does not seem to be installed.
> Warning: apt-key requires gnupg for most operations.
> 
> /usr/bin/apt-key: line 62: gpg: command not found
> dpkg: error processing apt (--configure):
>  subprocess post-installation script returned error exit status 127
> Errors were encountered while processing:
>  apt
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> 
> Ich kann nichts installieren. Das Problem scheint doch apt selbst zu sein 
> oder? Gnupg kann ich natürlich auch nicht installieren.

Dann hast du ein Problem. Besorge dir das gnupg-Paket, schaufle es auf
die Platte und installiere es anschließend mit dpkg. Sollte IMO
funktionieren.

> Ich hab' jede Menge Bpo-Pakete, ob wohl in /etc/apt/preferences 
> 
> Package: *
> Pin: release a=sarge-backports
> Pin-Priority: 200
> 
> steht. Im chroot läuft Sarge.

Tja. Aber das apt ist ein Backport der Sid-Version und die braucht gnupg
um die Archive zu verifizieren (man apt-secure,
http://wiki.debian.org/SecureApt). Da apt offenbar ohne gnupg nicht
funktioniert, sollte eine Fehlermeldung gegen das Paket geschrieben
werden, da es gnupg nur empfiehlt.

MfG Daniel



Reply to: