LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   slackpkg: blacklisting the calligra-l10n- packages without the one for de (http://www.linuxquestions.org/questions/slackware-14/slackpkg-blacklisting-the-calligra-l10n-packages-without-the-one-for-de-940975/)

markush 04-21-2012 04:10 AM

slackpkg: blacklisting the calligra-l10n- packages without the one for de
 
Hello,

I'm running Slackware64-current and after the last KDE-update there are lots of calligra-l10n packages available. Now when I execute
Code:

slackpkg install-new
slackpkg wants to install all of these packages (in addition to the de package which I've already installed). I've now blacklisted the packages with a line
Code:

calligra-l10n-
in my /etc/slackpkg/blacklist file. This works but of course will prevent updates for the calligra-l10n-de package as well.

My Question: Is ist possible to exclude packages in the blacklist explicitly? I've tried to blacklist with
Code:

calligra-l10n-[^d]
but this doesen't work.

And an additional question: why does slackpkg try to install all of the calligra-l10n packages but not for example the kde-l10n- packages?

Thanks in advance.

Markus

Didier Spaier 04-21-2012 04:21 AM

Hello,

if you can't get all but de blacklisted, I would simply keep calligra-l10n- blacklisted, then "slackpkg install calligra-l10n-*de*"

After all, you only will have to do that _once_in_a_lifetime_ ;)

markush 04-21-2012 07:17 AM

Hello,

thanks for the answer, I suppose you're right, I'll have to do this updates manually if necessary.

Markus

chrisretusn 04-21-2012 07:38 AM

Quote:

Originally Posted by markush (Post 4659004)
lots of calligra-l10n packages available. Now when I execute
Code:

slackpkg install-new
slackpkg wants to install all of these packages (in addition to the de package which I've already installed). I've now blacklisted the packages with a line
Code:

calligra-l10n-
in my /etc/slackpkg/blacklist file. This works but of course will prevent updates for the calligra-l10n-de package as well.

My Question: Is ist possible to exclude packages in the blacklist explicitly? I've tried to blacklist with
Code:

calligra-l10n-[^d]
but this doesen't work.

And an additional question: why does slackpkg try to install all of the calligra-l10n packages but not for example the kde-l10n- packages?

Thanks in advance.

Markus

You can always do it the old fashioned way, just blacklist all of the calligra language packages, except for the one you want of course:

calligra-l10n-ca
calligra-l10n-ca@valencia
calligra-l10n-cs
calligra-l10n-da
#calligra-l10n-de
calligra-l10n-el
calligra-l10n-en_GB
calligra-l10n-es
calligra-l10n-et
calligra-l10n-fi
calligra-l10n-fr
calligra-l10n-hu
calligra-l10n-it
calligra-l10n-kk
calligra-l10n-nb
calligra-l10n-nds
calligra-l10n-nl
calligra-l10n-pl
calligra-l10n-pt
calligra-l10n-pt_BR
calligra-l10n-ru
calligra-l10n-sk
calligra-l10n-sv
calligra-l10n-uk
calligra-l10n-zh_CN
calligra-l10n-zh_TW

Quote:

Originally Posted by markush (Post 4659004)
And an additional question: why does slackpkg try to install all of the calligra-l10n packages but not for example the kde-l10n- packages?

Note in ChangeLog.txt, the "Added" is why calligra shows and not kde

kdei/calligra-l10n-zh_CN-2.4.0-noarch-1.txz: Added.
kdei/calligra-l10n-zh_TW-2.4.0-noarch-1.txz: Added.
kdei/kde-l10n-ar-4.8.2-noarch-1.txz: Upgraded.
kdei/kde-l10n-bg-4.8.2-noarch-1.txz: Upgraded.

markush 04-21-2012 07:45 AM

Quote:

Originally Posted by chrisretusn (Post 4659122)
You can always do it the old fashioned way, just blacklist all of the calligra language packages, except for the one you want of course:
...

Hello,

:doh: that's it. I did only think of regular expressions :redface: thanks for the answer.

Markus

chrisretusn 04-22-2012 07:50 AM

You quite welcome.


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