LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Does slackpkg delete packages that have been removed from Slackware? (http://www.linuxquestions.org/questions/slackware-14/does-slackpkg-delete-packages-that-have-been-removed-from-slackware-892946/)

spudgunner 07-21-2011 08:21 AM

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?

sycamorex 07-21-2011 08:23 AM

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.

spudgunner 07-21-2011 10:23 AM

Thank you, exactly what I was looking for. Looks like I should have RTFM first. My bad.

DragonWisard 07-21-2011 04:54 PM

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.

sycamorex 07-21-2011 04:56 PM

Quote:

Originally Posted by DragonWisard (Post 4421727)
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

DragonWisard 07-21-2011 05:01 PM

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.

sycamorex 07-21-2011 05:30 PM

Quote:

Originally Posted by DragonWisard (Post 4421735)
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.

spudgunner 07-22-2011 07:22 AM

Quote:

Originally Posted by sycamorex (Post 4421766)
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.


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