LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 04-15-2018, 07:07 AM   #1
globetrotterdk
Member
 
Registered: Nov 2006
Posts: 205

Rep: Reputation: 14
Blacklisting Studioware packages in /etc/slackpkg/blacklist.


This could in reality be a generic question about blacklisting packages from lesser known Slackware repos in /etc/slackpkg/blacklist, to prevent them from being removed by running "slackpkg clean-system", but in my case, it is directly related to Studioware packages. For those unfamiliar with Studioware, Studioware provides a way to bulk install audio, video, graphical packages, etc. The Studioware repo uses a package manager called sepkg, which does the heavy lifting, downloading, building and installing the packages. It seems like all sepkg packages that I have installed contain "1se" in the end of the name, but I imagine that the "1" could change to "2" with an eventual upgrade of the packages. Any idea how to add these packages to the /etc/slackpkg/blacklist file?
 
Old 04-15-2018, 08:16 AM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,965

Rep: Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715
Perhaps add '[1-9]se' to /etc/slackpkg/blacklist?
 
Old 04-16-2018, 03:13 AM   #3
globetrotterdk
Member
 
Registered: Nov 2006
Posts: 205

Original Poster
Rep: Reputation: 14
Quote:
Originally Posted by allend View Post
Perhaps add '[1-9]se' to /etc/slackpkg/blacklist?
Thanks for the reply. Yes, possible, maybe even probable. Maybe "[1:2:3:4:5:6:7:8:9]+se", or "[1-9]+se"? The /etc/slackpkg/blacklist file states that "... all of the following will be checked for the regex: series, name, version, arch, build and fullname." A regular expression or "regex" could be almost anything. "SBo" is unique, while there are a number of programs with "alien" in them, if you are trying to exclude Alien Bob's packages. Therefore the need for "[0-9]+alien". On the other hand, "se" is just way too common in names, expressions, etc.

When I look at the way Alien Bob's packages are blacklisted, and as Studioware packages appear to follow the same naming convention as Alien Bob's packages, it would probably be best to blacklist Studioware packages as "[1-9]+se"

Last edited by globetrotterdk; 04-16-2018 at 03:27 AM.
 
Old 04-16-2018, 03:31 AM   #4
chrisretusn
Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware
Posts: 749

Rep: Reputation: 248Reputation: 248Reputation: 248
The hint is in blacklist:

Code:
# You can blacklist using regular expressions.
#
# Don't use *full* regex here, because all of the following 
# will be checked for the regex: series, name, version, arch, 
# build and fullname.
#
# This one will blacklist all SBo packages:
#[0-9]+_SBo
[0-9]+se
 
1 members found this post helpful.
  


Reply

Tags
blacklist, slackpkg, slackware64


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
Blacklisting using 'blacklist' & 'install' is not working on RHEL 6.7 clone. Devyn Linux - Software 2 02-12-2016 07:51 AM
slackpkg: blacklisting the calligra-l10n- packages without the one for de markush Slackware 5 04-22-2012 06:50 AM
slackpkg/blacklist for AlienBob's current multilib and kde 4.4.2 packages damgar Slackware 7 04-08-2010 09:33 PM
Blacklist lines to keep slackpkg from overwriting Alien Bob's KDE 4.4.1 packages damgar Slackware 1 03-07-2010 12:35 AM
Blacklisting packages with "slackpkg"??? Southpaw76 Slackware 2 05-19-2007 03:50 PM

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

All times are GMT -5. The time now is 10:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration