On Friday 24,August,2012 12:41 AM, Andrei POPESCU wrote: > On Vi, 24 aug 12, 00:31:23, lina wrote: >> Hi, >> >> I read the man dpkg, >> >> and didn't think too much, just tried the >> >> dpkg --clear-selections >> >> and then the dpkg --get-selections shows >> >> root@Debian:/home/lina# dpkg --get-selections | grep deinstall | wc -l >> 2991 >> root@Debian:/home/lina# dpkg --get-selections | grep " install" | wc -l >> 0 >> >> I feel I am in trouble again, don't know how to recover/restore. >> kinda of very silly though, but is it very dangerous? > > Let's see what apt/itude thinks of this. Please post the output of > > apt-get install -s > > and > > aptitude install -s > > (-s stands for 'simulate' for both apt-get and aptitude)
I tried # dpkg --get-selections | sed 's/deinstall/install/g' | dpkg --set-selections Now all shows me install. even the former few ones shows me uninstall. > > Kind regards, > Andrei -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/503660a7.2070...@gmail.com