Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 05-17-2007, 02:05 AM   #1
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
Senior Member
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 80
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
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 2,014

Rep: Reputation: 115Reputation: 115
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.
1 members found this post helpful.
Old 05-17-2007, 11:45 AM   #4
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
Registered: Feb 2007
Location: changchun china
Posts: 34

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


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 > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:17 PM.

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