LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761

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
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

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
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



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
/var/log/packages is empty! babyphil Slackware 31 11-01-2019 04:58 PM
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 vanished Idle Slackware 3 09-19-2005 12:57 PM
/var/log/packages gone! PurpleMotion Slackware 1 10-02-2004 03:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:55 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration