LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Blacklist package group from slackpkg (http://www.linuxquestions.org/questions/slackware-14/blacklist-package-group-from-slackpkg-4175473868/)

Phorize 08-19-2013 05:08 AM

Blacklist package group from slackpkg
 
Hello.

Is there a way to blacklist a whole package group (e.g KDE) in /etc/slackpkg/blacklist?

I have a clean 14.0 install that I'd like to upgrade to -current-I didn't install the KDE group but slackpkg install-new pulls in some new packages from the KDE group. Obviously I can sort this manually if the answer is no.

kikinovak 08-19-2013 05:20 AM

I'd do it like this. Get the package names somewhere, for example from a Slackware source DVD. You should get something like this:

http://mirrors.slackware.com/slackwa...de/slack-desc/

Then do a simple pipe:

Code:

# ls > blacklist.txt
This saves you from typing all package names manually, and it's a lot more accurate.

Didier Spaier 08-19-2013 05:34 AM

Code:

slackpkg blacklist kde
will present you a handy list of all kde packages. Just check packages you want to blacklist.

If you want to have all packages blacklisted by default in that list, just set
Code:

ONOFF=on
in /etc/slackpkg/slackpkg.conf


All times are GMT -5. The time now is 03:38 PM.