LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 08-17-2021, 05:07 PM   #1
wirelessmc
Member
 
Registered: Aug 2008
Location: San Diego County
Distribution: Slackware
Posts: 183

Rep: Reputation: 37
gcc-g++ blacklisted but still showing up in slackpkg upgrade


This has happened a couple times now on different systems/upgrades. Not sure why but maybe it only happens when there is a version bump?
I intentionally blacklist gcc-g++ below since I typically upgrade multilib prior to upgrading -current with slackpkg.

Quote:
# May 5 2021 black listing gcc and glibc packages. If we don't the multilib versions will get replaced!
gcc
gcc-brig
gcc-g++
gcc-gdc
gcc-gfortran
gcc-gnat
gcc-go
gcc-objc
# glib2 is ok since there is both a 'compat-32' and a non-multilib version
glibc
glibc-i18n
glibc-profile
 
Old 08-17-2021, 06:08 PM   #2
Mechanikx
Member
 
Registered: Jul 2018
Posts: 489

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Quote:
Originally Posted by wirelessmc View Post
This has happened a couple times now on different systems/upgrades. Not sure why but maybe it only happens when there is a version bump?
I intentionally blacklist gcc-g++ below since I typically upgrade multilib prior to upgrading -current with slackpkg.
Have you tried escaping the special character '+' as per the instructions in the blacklist file?

Code:
gcc-g\+\+
 
Old 08-17-2021, 06:08 PM   #3
JuanKenobi
Member
 
Registered: Aug 2021
Location: Dallas, TX
Distribution: Slackware64-15.0
Posts: 45

Rep: Reputation: Disabled
In /etc/slackpkg/blacklist you have to escape special characters. Your entry for gcc-g++ should look like this:

gcc-g\+\+

_________________________________________________________


Slackware . . . use the source

_________________________________________________________
 
1 members found this post helpful.
Old 08-17-2021, 11:30 PM   #4
wirelessmc
Member
 
Registered: Aug 2008
Location: San Diego County
Distribution: Slackware
Posts: 183

Original Poster
Rep: Reputation: 37
Makes sense. Thanks. But it seems earlier versions of slackpkg handled these "+" characters without the escape characters.
 
Old 08-18-2021, 12:23 AM   #5
Mechanikx
Member
 
Registered: Jul 2018
Posts: 489

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Quote:
Originally Posted by wirelessmc View Post
Makes sense. Thanks. But it seems earlier versions of slackpkg handled these "+" characters without the escape characters.
Well there's been multiple upgrades to slackpkg in -current including changes to the blacklist syntax.

Quote:
Thu Mar 18 23:54:14 UTC 2021
ap/slackpkg-15.0.1-noarch-1.txz: Upgraded.
Tweak default blacklist file's help text (thanks, dive).
Fix display of blacklisted packages.
Tweaks to slack-desc.
Note that kernel-headers should not be blacklisted.
Added Lithuania mirrors (Totoro-kun on LQ).
Fix exit code for pending updates (dive).
Avoid matching txz/tgz etc extension when blacklisting (dive).
Use https for all slackpkg homepage links.
Update mirror files (14.2 -> 15.0).
Add blacklist to search option.
Move applyblacklist to end of makelist().
Clarify how to blacklist duplicate packages.
Fix new-config dialog.
Reduce false positives in DOUBLEFILES detection.
Remove spaces in awk..
More blacklisting fixups (see full commit msg).
Escape plus signs in blacklist regex.
Convert ${ROOT}/${WORKDIR} > ${WORKDIR} (dive).
Convert ${ROOT}/${CONF} -> ${CONF} and tweak blacklists (dive).
Further fixup/enhancement to blacklisting issues.
Fix "slackpkg blacklist" so that it shows blacklist again.
Fixup internal blacklist handling.
Use ERE for sanity_check() function (David Woodfall).
Remove "slackpkg blacklist" from manual pages.
Fix aaa_elflibs --> aaa_libraries in sample blacklist file (mozes).
Split aarch64 and arm mirrors into separate files (mozes).
Allow new-config after slackpkg upgrade itself (PiterPUNK).
Modify blacklist regex line ending.
Thanks to Robby Workman.

Last edited by Mechanikx; 08-18-2021 at 12:29 AM.
 
  


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
Weird slackpkg upgrade message during a slackpkg upgrade-all process. frtorres Slackware 8 02-13-2021 11:36 AM
[SOLVED] Slackpkg upgrade-all returns 'no packages to upgrade' after slackpkg-update has downloaded files san2ban Slackware 8 11-01-2019 05:44 AM
[SOLVED] aaa_elflibs not blacklisted in /etc/slackpkg/blacklist dmslack Slackware 3 10-22-2013 05:33 AM
[SOLVED] slackpkg: reinstall all non-blacklisted packages? kkmic Slackware 3 03-26-2013 09:20 AM
[SOLVED] Slackpkg, running current and multilib, do the compat32 files need to be blacklisted? damgar Slackware 2 04-27-2010 07:43 AM

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

All times are GMT -5. The time now is 11:59 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