Article 5EAMN Slackpkg on Current - Can't Blacklist Kernel

Slackpkg on Current - Can't Blacklist Kernel

by
Mechanikx
from LinuxQuestions.org on (#5EAMN)
Hello,

I have multiple kernel packages installed on my system and even though kernel packages are blacklisted using the new syntax, slackpkg is complaining when I try to update my system:

Quote:
bash-5.1# slackpkg upgrade-all

Checking local integrity... DONE
You have a broken /var/log/packages/ - with two versions of the same package.
The list of packages duplicated in your machine is shown below, but don't
worry about this list - when you select your action, slackpkg will show a
better list:

kernel-generic-5.10.15-x86_64-1
kernel-generic-5.10.16-x86_64-1
kernel-headers-5.10.15-x86-1
kernel-headers-5.10.16-x86-1
kernel-huge-5.10.15-x86_64-1
kernel-huge-5.10.16-x86_64-1
kernel-modules-5.10.15-x86_64-1
kernel-modules-5.10.16-x86_64-1

You can (R)emove, or (I)gnore these packages.
Select your action (R/I): I

Remove or blacklist the affected packages in order for slackpkg to work properly.
Here is my /etc/slackpkg/blacklist:

Quote:
# /etc/slackpkg/blacklist
#
# This is a blacklist file. Any packages listed here won't be
# upgraded, removed, or installed by slackpkg.

# aaa_elflibs should NOT be blacklisted!
#
# 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.
# When blacklisting packages, you can use extended regex on package names
# (such as xorg-.* instead of xorg-server, xorg-docs, etc), and a trailing
# slash for package series ("n/", "ap/", "xap/", etc).
#
# 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/
#
# You will need to escape any special characters that are present in the
# package name. For example, to blacklist the gcc-g++ package, use this:
# gcc-g\+\+
#
# DON'T put any space(s) before or after the package name or regex.
#
# Automated upgrade of kernel packages may not be wanted in some situations;
# uncomment the lines below if that fits your circumstances:
#
kernel-generic.*
kernel-huge.*
kernel-modules.*
kernel-source.*
kernel-headers.*

# This one will blacklist all SBo packages:
#[0-9]+_SBo
[0-9]+ponce
Any help would be greatly appreciated.

EDIT:

When running 'slackpkg clean-system' slackpkg doesn't try to remove packages from ponce's repo. So it appears that slackpkg is reading the blacklist file but is having problems with the kernel packages?

As far as I can tell this started right after the update on 2/15.latest?d=yIl2AUoC8zA latest?i=BAJ_I5iGrFI:h5HYKN_-zWk:F7zBnMy latest?i=BAJ_I5iGrFI:h5HYKN_-zWk:V_sGLiP latest?d=qj6IDK7rITs latest?i=BAJ_I5iGrFI:h5HYKN_-zWk:gIN9vFwBAJ_I5iGrFI
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments