LinuxQuestions.org
Help answer threads with 0 replies.
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-03-2007, 03:07 PM   #1
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
Getting rid of cruft after upgrades...


Hi all,

Just a day or so ago, the stable changelog indicated that yet another new update to Firefox is available. I've been faithfully updating every time a new version comes out, but I didn't realize something -- when I install the new version of Firefox, the old one(s) stick around.

What I mean is that when I look at the list of installed applications in Pkgtool, I see Firefox 2.0.0.1, Firefox 2.0.0.2, etc.

I took a chance and removed the older versions of Firefox, and the latest keep all my settings without problem.

So here is my question: Is there anything I need to worry about when cleaning up other cruft like multiple versions of other software? For instance, I just updated Bind with the newest version. Is there any way I can find out if removing the old package would mess up any configurations?

Thanks in advance,

-Drew
 
Old 08-03-2007, 03:20 PM   #2
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
I remove the old package before installing the new package. Or you could use an update tool like slackpkg in /extra and it will remove before installation.
 
Old 08-03-2007, 04:31 PM   #3
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
If you install the new packages with "upgradepkg" it will remove the old one for you.

Brian
 
Old 08-03-2007, 04:49 PM   #4
Road_map
Member
 
Registered: Jan 2007
Distribution: Slackware
Posts: 341

Rep: Reputation: 31
I use 2 ways:
1. The hard way
Code:
wget -r ftp://ftp.belnet.be/packages/slackware/slackware-12.0/patches/packages
cd ~/ftp.belnet.be/packages/slackware/slackware-12.0/patches/packages
su
upgradepkg --dry-run *.tgz
upgradepkg <what_i_want>.tgz
2. The easy way
- after I edited /etc/slackpkg/mirrors file I use slackpkg with option upgrade or upgrade-all
 
Old 08-04-2007, 06:15 AM   #5
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
As already said, you simply need to install the packages with "upgradepkg", which will handle removal of the old package/files automatically.
 
Old 08-04-2007, 04:50 PM   #6
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180

Original Poster
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by MS3FGX
As already said, you simply need to install the packages with "upgradepkg", which will handle removal of the old package/files automatically.
Ah ha!!!

Thanks. I used Slackpkg for a little while, but I found that simply downloading the patches or updated packages after reading the changelog was simpler.

Thanks,

-Drew
 
  


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
Web cruft - alturism to blame Zention Linux - General 1 04-11-2007 01:48 AM
SuSE upgrades James McGee Linux - Software 2 08-21-2004 06:44 PM
cruft cleanout rsbecker007 Linux - Software 1 11-05-2002 11:13 AM
about upgrades christyc Linux - Newbie 2 01-19-2002 09:40 AM
Many Upgrades Done! jeremy LQ Suggestions & Feedback 0 04-30-2001 06:50 PM

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

All times are GMT -5. The time now is 05:31 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