vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi there, unfortunately I deleted /var/log/packages and more unfortunately I didn't put /var/log in my backup list. Does anyone know what I could do about it? Maybe the fastest way would be to reinstall Slackware completely... But how about the additional stuff I installed, how can I find out what's not in Slackware and thus should be reinstalled to get the in formation into /var/log/packages? Is there a clever idea that didn't come to my mind? TIA -- Cheerz Lars |
| |||
| On 2005-06-08, Lars Behrens <Spam.Buster@web.de> wrote: > Hi there, > > unfortunately I deleted /var/log/packages and more unfortunately I didn't > put /var/log in my backup list. > > Does anyone know what I could do about it? Maybe the fastest way would be to > reinstall Slackware completely... But how about the additional stuff I > installed, how can I find out what's not in Slackware and thus should be > reinstalled to get the in formation into /var/log/packages? > > Is there a clever idea that didn't come to my mind? > TIA > Try checking in the directory /var/log/scripts there should be a list of scripts one for each package name...assuming you didn't delete this directory. Should contain most if not all the packages. ken |
| |||
| No_One wrote: > Try checking in the directory /var/log/scripts there should be a list of > scripts one for each package name...assuming you didn't delete this > directory. > > Should contain most if not all the packages. Thanks, but I deleted the whole log directory. -- Cheerz Lars |
| |||
| On Wed, 08 Jun 2005 11:05:56 +0200, Lars Behrens <Spam.Buster@web.de> wrote: > > Should contain most if not all the packages. > > Thanks, but I deleted the whole log directory. So back it up next time admin of box a little more interesting. Stuff happens. --Grant. |
| |||
| Wed, 08 Jun 2005 11:05:56 +0200 - Lars Behrens <Spam.Buster@web.de> : > No_One wrote: > > > Try checking in the directory /var/log/scripts there should be a > > list of scripts one for each package name...assuming you didn't > > delete this directory. > > > > Should contain most if not all the packages. > > Thanks, but I deleted the whole log directory. You should better reinstall Slackware. It will be a quicker, cleaner solution. And I'm sure next time you will take care of your /var/log directory -- LiNuCe |
| |||
| Grant Coady wrote: > > On Wed, 08 Jun 2005 11:05:56 +0200, Lars Behrens <Spam.Buster@web.de> > wrote: >> > Should contain most if not all the packages. >> >> Thanks, but I deleted the whole log directory. > > So back it up next time > admin of box a little more interesting. Stuff happens. > --Grant. So, next time ..... .bashrc alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' |
| |||
| On Wed, 08 Jun 2005 12:32:33 +0300, "Ioannis A. bouhras" <ioabuh@unixfor.gr> wrote: > So, next time ..... .bashrc > > alias rm='rm -i' > alias cp='cp -i' > alias mv='mv -i' Only wimps do alias, log into another unix box, BOOM! Bad habits set in. IMHO, of course. How many times would you wipe a filetree before pausing to look at command line _before_ hit [Enter] ? --Grant. |
| |||
| LiNuCe wrote: >> Thanks, but I deleted the whole log directory. > > You should better reinstall Slackware. It will be a quicker, cleaner Ok, I will do a swaret --install -a > solution. And I'm sure next time you will take care of your /var/log > directory Me too. But honestly I simply didn't think of the packages branch, neither when setting up the backup nor when deleting the log directory. -- Cheerz Lars |
| |||
| On Wed, 08 Jun 2005 12:38:33 +0200, Lars Behrens <Spam.Buster@web.de> wrote: > > Me too. But honestly I simply didn't think of the packages branch, neither > when setting up the backup nor when deleting the log directory. symlinked |
| ||||
| Le Wed, 08 Jun 2005 10:47:44 +0200, Lars Behrens a écrit*: > Hi there, > > unfortunately I deleted /var/log/packages and more unfortunately I didn't > put /var/log in my backup list. > > Does anyone know what I could do about it? Maybe the fastest way would be to > reinstall Slackware completely... But how about the additional stuff I > installed, how can I find out what's not in Slackware and thus should be > reinstalled to get the in formation into /var/log/packages? > > Is there a clever idea that didn't come to my mind? A quick idea, if you have a slackware deposit or if you mount the install cd, cd to the slackware/ dir and check like yhis : # upgradepkg --dry-run ap/*.tgz |grep '(already installed).$' |cut -d' ' -f1 would list the ap/ packages you installed. # upgradepkg --dry-run */*.tgz |grep '(already installed).$' |cut -d' ' -f1 would list the slackware CD or deposit, packages you installed. |