LinuxQuestions.org
Visit Jeremy's Blog.
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 06-05-2021, 11:48 AM   #16
marav
Member
 
Registered: Sep 2018
Location: Paris, France
Distribution: Slackware
Posts: 344

Rep: Reputation: 196Reputation: 196

Since there is only one package named blackbox
The syntax is :
blackbox

Code:
# To blacklist *only* the "xorg-server" package, use this:
# xorg-server
#
# To blacklist *all* of the "xorg-server-*" packages, use this:
# xorg-server.*
#
# To blacklist the entire KDE package set, use this:
# kde/
 
Old 06-05-2021, 09:48 PM   #17
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 1,919

Rep: Reputation: 802Reputation: 802Reputation: 802Reputation: 802Reputation: 802Reputation: 802Reputation: 802
Regarding blackbox. If you remove blackbox it will not be installed again with "slackpkg upgrade blackbox | upgrade-all". The only way to install blackbox once removed is to use "slackpkg install blackbox" | installpkg | "upgradepkg --install-new". Now if a package has been "Added." to current ChangeLog.txt of Slackware (blackbox is NOT one of those), then blacklist would be needed to avoid that package from being picked up with "slackpkg install-new". Of course if your goal is to avoid blackbox not being picked up by "slackpkg install | upgrade | upgrade-all | remove | search" then by all means blacklist it. This is true of any package.

As for the blacklist entry, @Petri Kaukasoina is correct.
 
1 members found this post helpful.
Old 06-07-2021, 09:37 AM   #18
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 1,919

Rep: Reputation: 802Reputation: 802Reputation: 802Reputation: 802Reputation: 802Reputation: 802Reputation: 802
Here is a challenge: The only entries I want to see listed for search are the red ones. I've tried a lot of ways, I don't think it is possible with the way slackpkg currently handles blacklisting.

Code:
slackpkg search slackpkg

Looking for slackpkg in package list. Please wait... DONE

The list below shows all packages with name matching "slackpkg".

[ Status              ] [ Repository   ] [ Package                              ]
  installed               slackpkgplus     slackpkg+-1.7.6-noarch-5mt          
  installed               slackware64      slackpkg-15.0.3-noarch-1            
  uninstalled(masked)     slackpkgbeta     slackpkg-15.0.1_beta1-noarch-1      
  uninstalled(masked)     slackpkgbeta     slackpkg-2.52beta-noarch-2          
  uninstalled(masked)     slackpkgbeta     slackpkg-2.52beta2-noarch-1         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.60beta-noarch-1          
  uninstalled(masked)     slackpkgbeta     slackpkg-2.61beta-noarch-1          
  uninstalled(masked)     slackpkgbeta     slackpkg-2.61beta2-noarch-1         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.70beta-noarch-1          
  uninstalled(masked)     slackpkgbeta     slackpkg-2.70beta2-noarch-1         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.70beta3-noarch-4         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.70beta4-noarch-2         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.70beta5-noarch-1         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.71beta1-noarch-1         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.71beta2-noarch-4         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.71beta3-noarch-2         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.71beta4-noarch-3         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.71beta5-noarch-1         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.80.2beta1-noarch-2       
  uninstalled(masked)     slackpkgbeta     slackpkg-2.80beta1-noarch-13        
  uninstalled(masked)     slackpkgbeta     slackpkg-2.80beta2-noarch-3         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.80beta3-noarch-1         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.81.1beta1-noarch-2       
  uninstalled(masked)     slackpkgbeta     slackpkg-2.81beta-noarch-4          
  uninstalled(masked)     slackpkgbeta     slackpkg-2.81beta2-noarch-1         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.81beta2-noarch-2         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.81beta3-noarch-1         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.82.3beta1-noarch-1_rlw   
  uninstalled(masked)     slackpkgbeta     slackpkg-2.82.3beta2-noarch-1_rlw   
  uninstalled(masked)     slackpkgbeta     slackpkg-2.82.3beta3-noarch-1_rlw   
  uninstalled(masked)     slackpkgbeta     slackpkg-2.82.3beta4-noarch-1_rlw   
  uninstalled(masked)     slackpkgbeta     slackpkg-2.82.3beta5-noarch-1_rlw   
  uninstalled(masked)     slackpkgbeta     slackpkg-2.83.0beta1-noarch-1_rlw   
  uninstalled(masked)     slackpkgbeta     slackpkg-2.83.0beta2-noarch-1_rlw   
  uninstalled(masked)     slackpkgbeta     slackpkg-2.84.0_beta1-noarch-1_rlw  
  uninstalled(masked)     slackpkgbeta     slackpkg-2.84.0_beta10-noarch-1_rlw 
  uninstalled(masked)     slackpkgbeta     slackpkg-2.84.0_beta11-noarch-1_rlw 
  uninstalled(masked)     slackpkgbeta     slackpkg-2.84.0_beta12-noarch-1_rlw 
  uninstalled(masked)     slackpkgbeta     slackpkg-2.84.0_beta3-noarch-1_rlw  
  uninstalled(masked)     slackpkgbeta     slackpkg-2.84.0_beta4-noarch-1_rlw  
  uninstalled(masked)     slackpkgbeta     slackpkg-2.84.0_beta5-noarch-1_rlw  
  uninstalled(masked)     slackpkgbeta     slackpkg-2.84.0_beta6-noarch-1_rlw  
  uninstalled(masked)     slackpkgbeta     slackpkg-2.84.0_beta7-noarch-1_rlw  
  uninstalled(masked)     slackpkgbeta     slackpkg-2.84.0_beta8-noarch-1_rlw  
  uninstalled(masked)     slackpkgbeta     slackpkg-2.84.0_beta9-noarch-1_rlw
That said, @zerouno has provided a way to do so with the by setting "LEGACYBL=on" (default=off) slackpkgplus.conf. Blacklist entry for this "slackpkg-2" listing:
Code:
LEGACYBL=on slackpkg search slackpkg

Looking for slackpkg in package list. Please wait... DONE

The list below shows all packages with name matching "slackpkg".

[ Status              ] [ Repository   ] [ Package                         ]
  installed               slackpkgplus     slackpkg+-1.7.6-noarch-5mt     
  installed               slackware64      slackpkg-15.0.3-noarch-1       
  uninstalled(masked)     slackpkgbeta     slackpkg-15.0.1_beta1-noarch-1
 
  


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
slackpkg vs. third-party package repository kikinovak Slackware 736 06-10-2021 10:57 AM
[SOLVED] blacklist mirror with slackpkg/slackpkg+ garpu Slackware 8 03-13-2021 10:49 PM
slackpkg blacklist kde should not blacklist polkit anymore frushiyama Slackware 1 09-25-2020 05:19 AM
[SOLVED] slackpkg+: setting PKGS_PRIORITY for multiple third-party repositories kikinovak Slackware 4 09-10-2013 05:55 AM

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

All times are GMT -5. The time now is 03:25 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
Open Source Consulting | Domain Registration