LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-17-2007, 02:05 AM   #1
sunny_5252
Member
 
Registered: Feb 2007
Location: changchun china
Posts: 34

Rep: Reputation: 16
/var/log/packages and /var/log/setup


hi all ,my a friend use slackware11 and newer..he delete /var/log/packages and /var/log/setup directory..
i ask which way to reinstall them..thanks.
 
Old 05-17-2007, 06:23 AM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 79
I don't think there's an easy way to re-install them after the initial system install, unless a backup was made. I suggest your friend backup and critial information in Slackware and re-install. Chalk up the deletion mistake to a learning incident. Maybe some else has a better idea?
 
Old 05-17-2007, 08:17 AM   #3
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 111Reputation: 111
If you remake that directory, the system should still work normally. You won't be able to uninstall stuff just by doing "removepkg", but you can reinstall that package so that the db file gets regenerated, then uninstall it. Depending on stuff in the install script, nasty stuff could be laying around your system, but that's a risk on every package.

Still, if you can, reinstallation is a much better(cleaner) option in the long run.
 
Old 05-17-2007, 11:45 AM   #4
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Was it default installation?
 
Old 05-17-2007, 08:17 PM   #5
sunny_5252
Member
 
Registered: Feb 2007
Location: changchun china
Posts: 34

Original Poster
Rep: Reputation: 16
thanks..i see
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I recover /var/log/packages after a disaster? Randux Slackware 10 04-06-2007 05:40 AM
/var/log/packages Crazed_Mofo VectorLinux 3 04-10-2006 06:54 PM
/var/log/packages is empty! babyphil Slackware 6 03-01-2006 04:57 AM
/var/log/packages vanished Idle Slackware 3 09-19-2005 12:57 PM
/var/log/packages gone! PurpleMotion Slackware 1 10-02-2004 03:04 PM


All times are GMT -5. The time now is 03:01 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration