linux-l: dpkg - zum =?us-ascii?Q?verr?= =?us-ascii?Q?=FCcktwerden?=

Alain Schroeder alain at mini.gt.owl.de
Mi Dez 13 18:07:38 CET 2000


On Mon, Dec 11, 2000 at 09:15:31AM +0100, Ulrich Wiederhold wrote:
> Hallo,
> es ist zum Verr?cktwerden!
> Habe festgestellt, da? das Filesystem in /var defekt war!
> :(
> Konnte au?er dem Verzeichnis /var/lib alles retten.
> Problem:
> dpkg verlangt wieder status file und updates directory, habe ich neu
> angelegt, ohne Inhalt, und kann zumindestens die Programme ausf?hren.
> 
> Allerdings, kann ich nicht installieren!
> :(
> ...
> dpkg: error processing libc6-dev_2.2-5_i386.deb (--install):
>  unable to create updated files list file for package libc6-dev: No such
>  file or directory
>  Errors were encountered while processing:
> ...
> 
> bzw. kommt noch h?ufig:
> ...
> Preparing to replace libc6 2.2-5 (using libc6_2.2-5_i386.deb) ...
> dpkg not recorded as installed, cannot check for epoch support !
> dpkg: error processing libc6_2.2-5_i386.deb (--install):
>  subprocess pre-installation script returned error exit status 1
> ...
> 
> grrr.
> An diesen Dingen h?nge ich schon zum 2. Mal fest!
> 
Ich habe eben mal strace mitlaufen lassen und es scheint mir als 
wu"rdest du brauchen:

/etc/dpkg/dpkg.cfg
/var/lib/dpkg/
/var/lib/dpkg/updates/
/var/lib/dpkg/available <-- Datei!
/var/lib/dpkg/diversions <-- Datei!
/var/lib/dpkg/statoverride <-- Datei!
/var/lib/dpkg/info/ <-- Ganz viele Dateien darunter... :)

Leg doch einfach mal die Verzeichnisse an und touch'e die Dateien...
Vielleicht reicht es ja.

Ein ls auf mein /var/lib/dpkg sieht so aus:

alain at marvin:/var/lib/dpkg$ ls -la
total 10940
drwxr-xr-x    6 root     root         4096 Dec 13 17:50 .
drwxr-xr-x   24 root     root         4096 Nov 28 15:20 ..
drwxr-xr-x    2 root     root         4096 Dec 12 00:44 alternatives
-rw-r--r--    1 root     root      4658013 Dec 13 17:50 available
-rw-r--r--    1 root     root      4658013 Dec 12 00:44 available-old
-rw-r--r--    1 root     root            8 Aug 30 21:22 cmethopt
-rw-r--r--    1 root     root          274 Dec 12 00:44 diversions
-rw-r--r--    1 root     root          422 Dec 12 00:44 diversions-old
drwxr-xr-x    2 root     root        90112 Dec 13 17:50 info
-rw-r-----    1 root     root            0 Dec 13 17:50 lock
-rw-r-----    1 root     root            0 Nov 28 15:39 methlock
drwxr-xr-x    5 root     root         4096 Aug 30 21:17 methods
-rw-r--r--    1 root     root            0 Nov  7 18:29 statoverride
-rw-r--r--    1 root     root       858722 Dec 13 17:50 status
-rw-r--r--    1 root     root       858722 Dec 12 00:44 status-old
drwxr-xr-x    2 root     root         4096 Dec 13 17:50 updates

Zur not auch all diese Dateien erst mal touch'en oder aus der
base2_2.tgz entnehmen...

Ich hoffe das hilft.

Bye,
   Alain
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : nicht verfügbar
Dateityp    : application/pgp-signature
Dateigröße  : 232 bytes
Beschreibung: nicht verfügbar
URL         : <https://mlists.in-berlin.de/pipermail/linux-l-mlists.in-berlin.de/attachments/20001213/e116db83/attachment.sig>


Mehr Informationen über die Mailingliste linux-l