LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 07-21-2011, 08:21 AM   #1
spudgunner
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 228

Rep: Reputation: 18
Does slackpkg delete packages that have been removed from Slackware?


I have been getting used to the idea of slackpkg and been using it successfully since the release of 13.37 to keep up-to-date with -current. Today I discovered an old iso of -current and it made me think of an interesting question:

If a package is removed from the official Slackware build, will slackpkg pick up on that and uninstall it?
 
Old 07-21-2011, 08:23 AM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,569
Blog Entries: 1

Rep: Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026
This should answer your question:
Quote:
slackpkg clean-system
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.
 
1 members found this post helpful.
Old 07-21-2011, 10:23 AM   #3
spudgunner
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 228

Original Poster
Rep: Reputation: 18
Thank you, exactly what I was looking for. Looks like I should have RTFM first. My bad.
 
Old 07-21-2011, 04:54 PM   #4
DragonWisard
Member
 
Registered: Sep 2004
Location: MD, USA (D.C. Suburbs)
Distribution: Slackware
Posts: 95

Rep: Reputation: 53
clean-system also removes 3rd party packages (eg SBo packages) as well, I find it's better to check the changelogs and manually remove deprecated packages.
 
Old 07-21-2011, 04:56 PM   #5
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,569
Blog Entries: 1

Rep: Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026
Quote:
Originally Posted by DragonWisard View Post
clean-system also removes 3rd party packages (eg SBo packages) as well, I find it's better to check the changelogs and manually remove deprecated packages.
A quicker solution would be to uncomment/add the following line to /etc/slackpkg/blacklist:
Code:
[0-9]+_SBo
 
1 members found this post helpful.
Old 07-21-2011, 05:01 PM   #6
DragonWisard
Member
 
Registered: Sep 2004
Location: MD, USA (D.C. Suburbs)
Distribution: Slackware
Posts: 95

Rep: Reputation: 53
I suppose that's true too, but I like reading the changelog anyways and there are rarely any packages to remove so it hasn't been a problem so far.
 
Old 07-21-2011, 05:30 PM   #7
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,569
Blog Entries: 1

Rep: Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026Reputation: 1026
Quote:
Originally Posted by DragonWisard View Post
I suppose that's true too, but I like reading the changelog anyways
I know what you mean. The changelogs make excellent bed time reading.
 
Old 07-22-2011, 07:22 AM   #8
spudgunner
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 228

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by sycamorex View Post
I know what you mean. The changelogs make excellent bed time reading.
That may help me get to sleep quicker in all this heat. Thanks for the suggestion.
 
  


Reply


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
[SOLVED] slackpkg upgrade-all removed my main applications njb Slackware 5 09-22-2010 05:50 AM
[SOLVED] slackpkg,conf.new accidantely removed from slackware 13 matters Slackware 3 01-19-2010 09:30 AM
Make slackpkg prefer /extra over /slackware when listing packages to update rignes Slackware 1 06-02-2007 06:00 PM
how to delete all traces of already removed files? randomx Linux - Security 2 04-05-2005 01:59 AM
What Slackware Packages are safe for me to delete? C. nemoralis Slackware 8 07-18-2004 01:50 PM


All times are GMT -5. The time now is 02:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration