LinuxQuestions.org
Visit Jeremy's Blog.
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 08-26-2008, 12:39 PM   #1
El Nigromante
Member
 
Registered: Aug 2008
Distribution: Slackware 12.2, Slackware 13.0
Posts: 40

Rep: Reputation: 17
Cleaning my system


Hello,

I've been messing around with some packages (installing and uninstalling).

Perhaps I'm a bit obsessive , but I would like to get a pristine system again (without reinstalling). I have removed all stale "*.orig", configuration and temporary files. Now, in order to complete my system cleaning, I'm thinking of removing /var/log/removed_{packages,scripts} too.

Is that a good idea? Can I do it? Which are the implications?

Any other recommendations?

Thank you.

Last edited by El Nigromante; 08-26-2008 at 02:39 PM.
 
Old 08-26-2008, 01:21 PM   #2
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
I'm thinking of removing /var/log/removed_{packages,scripts} too.
Removing those files will cause no adverse effects as far as I know. However, you do not want to remove files from /var/log/packages, which is an archive of packages currently installed. Lose that directory of files and pkgtools will display nothing and you'll have problems knowing what is installed.
 
Old 08-26-2008, 02:25 PM   #3
Cuetzpallin
Member
 
Registered: Feb 2008
Location: Monterrey, MX
Distribution: Slackware since 3.4 and love it!!!
Posts: 164

Rep: Reputation: 31
Quote:
Originally Posted by El Nigromante View Post
Hello,

I've been messing around with some packages (installing and uninstalling).

Perhaps I'm a bit maniatic , but I would like to get a pristine system again (without reinstalling). I have removed all stale "*.orig", configuration and temporary files. Now, in order to complete my system cleaning, I'm thinking of removing /var/log/removed_{packages,scripts} too.

Is that a good idea? Can I do it? Which are the implications?

Any other recommendations?

Thank you.
You could try with "slackpkg clean-system"

This is from the Documentation page:

Quote:
Remove all the packages that don't belong to a standard Slackware installation (packages that are not in the official package set). With this option, you can clean up your system, removing third-party packages as well as those packages that were removed from the official Slackware package set.
If you have some third party packages that you would like to keep, you can temporarily add them to the list of blacklisted packages before you run the "clean-system" command.

Last edited by Cuetzpallin; 08-26-2008 at 02:27 PM.
 
  


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
cleaning up my system of unneeded packages with apt-get Michael_aust Debian 13 04-04-2006 02:23 AM
Cleaning the system kapslock Linux - Newbie 1 07-11-2004 09:33 PM
Cleaning the system fenice1976 Linux - Software 2 05-16-2004 07:31 PM
cleaning up? phonecian Linux - Software 1 10-19-2003 06:27 AM
Cleaning system? JimDog Linux - Newbie 4 09-17-2003 08:32 AM

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

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

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