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

Re: DPKG-Liste kaputt



Andreas Metzler wrote:
Sacher Khoudari <craesh@craesh.net> wrote:

Andreas Metzler wrote:

apt-get --reinstall install mrtg-contrib libgda0 libgda-dev


Geht das auch /global/, also wenn man nicht weiss was man alles drauf hat und sich die status-Datei wieder herstellen will?


Hast du /usr/doc noch? Wenn ja:
apt-get --reinstall install `ls /usr/doc`
             cu andreas



Hi!

Habs mal versucht, der macht aber ganz schöne Zicken:


(02.07 09:55:07) root@dontpanic:/usr/doc# apt-get --reinstall install `ls /usr/doc`
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package FAQ
(02.07 09:55:18) root@dontpanic:/usr/doc# mv FAQ .FAQ
(02.07 09:55:24) root@dontpanic:/usr/doc# mv HOWTO .HOWTO
(02.07 09:55:33) root@dontpanic:/usr/doc# apt-get --reinstall install `ls /usr/doc`
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package debian
(02.07 09:55:39) root@dontpanic:/usr/doc# mv debian
debian       debianutils
(02.07 09:55:39) root@dontpanic:/usr/doc# mv debian .debian
(02.07 09:55:57) root@dontpanic:/usr/doc# apt-get --reinstall install `ls /usr/doc`
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, re-installation of libc6 is not possible, it cannot be downloaded.
Sorry, re-installation of libc6-dev is not possible, it cannot be downloaded.
Sorry, re-installation of libgcc1 is not possible, it cannot be downloaded.
Sorry, re-installation of libwine is not possible, it cannot be downloaded.
Sorry, re-installation of libzvbi-0.1 is not possible, it cannot be downloaded.
Sorry, re-installation of locales is not possible, it cannot be downloaded.
Package noteedit has no available version, but exists in the database.
This typically means that the package was mentioned in a dependency and
never uploaded, has been obsoleted or is not available with the contents
of sources.list
E: Package noteedit has no installation candidate
(02.07 09:55:58) root@dontpanic:/usr/doc# ll /var/lib/dpkg/status
-rw-r--r--    1 root     root      1547996 Jul  2 00:55 /var/lib/dpkg/status
(02.07 09:56:46) root@dontpanic:/usr/doc#


Wie man in der letzten Zeile sieht, wurde /var/lib/dpkg/status nicht verändert. Wie kann ich apt dazu bringen die Warnungen zu ignorieren und bitte doch was zu tun?

Trotzdem vielen Dank - und übrigens, super Idee!
Sacher



Reply to: