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

Re: apt Fehler im chroot



On 14.05.06 20:46:34, Klaus Becker wrote:
> # 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.

Nein, das Problem ist das gnupg nicht installiert ist. Allerdings
verstehe ich nicht ganz warum das notwendig ist, jedenfalls apt keine
Abhaengigkeit auf gnupg, nur ein Suggests.

In jedem Fall kannst du das passende deb von einem der Debian-FTP-Server
ziehen (liegt in /debian/pool/main/g/gnupg/) und als root folgendes
ausfuehren:

dpkg -i gnupg...deb

Dafuer brauchst du kein apt-key.

> Ich hab' jede Menge Bpo-Pakete, ob wohl in /etc/apt/preferences 
> 
> Package: *
> Pin: release a=sarge-backports
> Pin-Priority: 200

Und wie sieht der Rest der preferences aus? Was sagt apt-cache policy?

Andreas

-- 
Beware of low-flying butterflies.



Reply to: