wie repariert man apt ?

Autor: Christian Eichert <moga_at_timisoara.net>
Datum: 04.12.2004
wie repariert man apt ?

ich habe apt zerschossen.
ich habe aus versehen im /var/cache/apt einige dateien geloescht ...
ich weiss auch nicht mehr welche es waren ...

ich habe dann versucht apt zu reparieren ...

multimedia:~# apt-get install apt
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
   libc6 libstdc++2.10-glibc2.2
The following NEW packages will be installed:
   apt libc6 libstdc++2.10-glibc2.2
0 packages upgraded, 3 newly installed, 0 to remove and 0  not upgraded.
Need to get 0B/4140kB of archives. After unpacking 15.5MB will be used.
Do you want to continue? [Y/n]
(Reading database ... 0 files and directories currently installed.)
Unpacking libc6 (from .../libc6_2.2.5-11.5_i386.deb) ...
dpkg not recorded as installed, cannot check for epoch support !
dpkg: error processing /var/cache/apt/archives/libc6_2.2.5-11.5_i386.deb 
(--unpack):
  subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
  /var/cache/apt/archives/libc6_2.2.5-11.5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

... aha es fehlt also dpkg ..

multimedia:~# apt-get install dpkg
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
   libc6 libncurses5 libstdc++2.10-glibc2.2
The following NEW packages will be installed:
   dpkg libc6 libncurses5 libstdc++2.10-glibc2.2
0 packages upgraded, 4 newly installed, 0 to remove and 0  not upgraded.
Need to get 0B/4838kB of archives. After unpacking 16.8MB will be used.
Do you want to continue? [Y/n]
(Reading database ... 0 files and directories currently installed.)
Unpacking libc6 (from .../libc6_2.2.5-11.5_i386.deb) ...
dpkg not recorded as installed, cannot check for epoch support !
dpkg: error processing /var/cache/apt/archives/libc6_2.2.5-11.5_i386.deb 
(--unpack):
  subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
  /var/cache/apt/archives/libc6_2.2.5-11.5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

das selbe mit  apt-get -f install dpkg oder apt-get -m install dpkg

... usw usf

hilfeeeeeee!!!
Received on Sat Dec 4 19:25:21 2004

Dieses Archiv wurde generiert von hypermail 2.1.8.
Zurück zur UUGRN-Homepage.