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

Re: dpkg zerstört



Hallo Uwe,

Am 2005-12-17 23:56:55, schrieb Uwe Thormann:

> Es war folgendes: ich habe einige Pakete gelöscht und _danach_  die 
> Verzeichnisse /var und /etc nach der ehemaligen Variante wieder hergestellt 
> (backup2l -r). Somit sind doch die installierten Pakete nicht mehr mit der 
> Datenbank identisch - oder? OOo2.0 hat sich tatsächlich erledigt - danke.

Dann solltest Du alle Pate noch einmal neu installieren:

  __( '/home/michelle.konzack/bin/desaster-reinstall' )_________________
 /
| #!/bin/bash
| 
| # Get the Debian package of each command installed
| for PROG in /bin/* /sbin/* /usr/bin/* /usr/sbin/* /usr/X11R6/bin/* \
|             /usr/bames/* ; do
|     dpkg -S $PROG |cut -d ":" -f1 >/tmp/packs
| done
| 
| # Sort and unify the list of Debian packages
| sort -u /tmp/packs >/tmp/packs.sort
| 
| # Reinstall all Packages
| apt-get --reinstall install `cat /tmp/packs.sort`
 \______________________________________________________________________

Viel spaß damit
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)



Reply to: