LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-02-2015, 08:45 PM   #1
nyloc
Member
 
Registered: Aug 2007
Location: Melbourne
Posts: 111

Rep: Reputation: 17
A query about packages blacklist


In my notes about installing Slackware I have a comment that there is a way of passing a list of unwanted packages during an install. Is this correct?.
I am going to be getting a new box soon and as the disks will be empty I wonder how the install program can get the blacklist file.
 
Old 06-02-2015, 09:00 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,311
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
The blacklist file will be present in /etc/slackpkg after the install. It is heavily annotated.

Here is its purpose as stated at the beginning of the file:

Code:
# This is a blacklist file. Any packages listed here won't be
# upgraded, removed, or installed by slackpkg.
I use it primarily to keep slackpkg clean-system from removing Slackbuilds from AlienBob or Slackbuilds.org or packages that I have installed from sources. slackpkg does not upgrade such packages, as they are not part of the Slackware build, but it will try to remove them.
 
Old 06-02-2015, 09:41 PM   #3
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
something I learned about that /etc/slackpkg/blacklist do not leave a space.as in an example below.
correct
Code:
# This one will blacklist all SBo packages:
[0-9]+_SBo
[0-9]+alien
[0-9]+compat32
incorrect
Code:
# This one will blacklist all SBo packages:
 [0-9]+_SBo
 [0-9]+alien
 [0-9]+compat32
incorrect it will not be read correctly.
never a space after you comment #
 
Old 06-02-2015, 10:39 PM   #4
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
A query about packages blacklist

I believe what he is asking is how to pick which software is installed from each section of the installation disk. I may be mistaken though.

What you are looking for are tag files:
http://www.slackbook.org/html/package-management-making-tags-and-tagfiles.html

More information here:
http://www.slackwiki.com/Tagfile_Install

I have been trying to research unattended installation of Slackware. I have a few more links about customizing Slackware installations in my notes on my laptop, but I don't have my laptop at the moment.

Hopefully someone more experienced with Slackware can chime in though.
 
1 members found this post helpful.
Old 06-03-2015, 02:58 AM   #5
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
OH yes setting up your tag files well. oh well.http://www.slackbook.org/html/packag...-tagfiles.html
 
Old 06-03-2015, 09:19 AM   #6
nyloc
Member
 
Registered: Aug 2007
Location: Melbourne
Posts: 111

Original Poster
Rep: Reputation: 17
I was interested in setting up tag files but after reading those two references and looking at some tag files I feel it would be safer to remove unwanted stuff after the install.
 
Old 06-04-2015, 02:21 AM   #7
lems
Member
 
Registered: May 2004
Distribution: BSD
Posts: 269

Rep: Reputation: 119Reputation: 119
This might not be what you're looking for, but if you don't want to use tagfiles and if you use slackpkg, it can generate and use so-called templates. From the man page:

Code:
       generate-template
            This action creates a new template with all official packages that
            are  installed  in  your  system.  The  template  is   stored   at
            /etc/slackpkg/templates

       install-template
            This  action install the required template in the system. The tem
            plate  must  be  in  /etc/slackpkg/templates.  If   the   template
            "includes"   other   templates,   all   of  them  need  to  be  in
            /etc/slackpkg/templates.  You  can  disable  the   "includes"   in
            slackpkg.conf or in command-line.

       remove-template
            This  action  remove  all  packages that are part of selected tem
            plate. Be careful, this can put your machine in an unusable state.
            The   "include"   handling   can   be   activated/deactivated   in
            slackpkg.conf or with the appropriate option in command-line.
 
1 members found this post helpful.
Old 06-14-2015, 09:58 PM   #8
nyloc
Member
 
Registered: Aug 2007
Location: Melbourne
Posts: 111

Original Poster
Rep: Reputation: 17
Well, plenty to think about there. Thank you to all who helped.
 
  


Reply



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
[SOLVED] How to query multiple packages from a file smilemukul Linux - Newbie 2 07-28-2013 11:45 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
Query multiple packages john_h_grubb Linux - Newbie 2 03-29-2008 04:44 AM
slackware packages query matters Slackware 2 03-11-2008 11:02 PM

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

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

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