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 09-18-2005, 09:02 PM   #1
LQ Newbie
Registered: Nov 2002
Location: Iceland
Distribution: RHEL, CentOS, Slackware
Posts: 26

Rep: Reputation: 15
Question /var/log/packages vanished

Err, I'm at a little loss here. I just installed 10.2 (fresh and formatted hard drive), did the usual complete installation (I'm lazy), and everything's looking good. So, once rebooted, I proceed to build a kernel (, install it and reboot. No noticable problems.

Then, I proceed to remove a couple of packages using pkgtool, but I have no list of packages to remove. According to pkgtool, I have absolutely no packages installed. Turns out that /var/log/packages and scripts are empty.

Has anyone had this problem before? Any ideas on how this could've happened?

'slocate pkgtools' still yields '/var/log/packages/pkgtools-10.2.0-i486-5' for me, so at least I know the logs used to be there. I can't find any mentions of mounting errors or partition corruption in the system logs, so I have no idea of what has wiped out my package logs.
Old 09-18-2005, 11:37 PM   #2
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357

I have no idea what could have created this problem, perhaps some bug in the pkgtools.

But I can say with pretty high certainty that you are well and truly boned here. Without the packages lists, you will never be able to update your system.
Old 09-19-2005, 02:14 AM   #3
LQ Newbie
Registered: Nov 2002
Location: Iceland
Distribution: RHEL, CentOS, Slackware
Posts: 26

Original Poster
Rep: Reputation: 15
How odd! Well, thankfully it's a fresh install with only a new kernel. I'll just reinstall Slackware and pray to God that whatever prankster caused this will choke and die.
Old 09-19-2005, 12:57 PM   #4
Senior Member
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
yea, you are boned... Re-install would be the only thing I could think of.


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
Deleted /var/log/messages, can't log any files-iptables chingyenccy Linux - Newbie 7 02-27-2005 04:03 PM
/var/log/packages gone! PurpleMotion Slackware 1 10-02-2004 03:04 PM
How is the file list in /var/log/packages/* generated? hollywoodb Slackware 4 09-19-2004 09:16 AM
accidently deleted /var/log/packages lennard Slackware 8 06-21-2004 02:15 AM
iptables, changing log file from /var/log/messages acid2000 Linux - Networking 3 03-11-2003 08:38 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:52 AM.

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