[SOLVED] slackpkg upgrade-all seems to ignore some blacklisted items
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
That because greylist is part of slackpkg+. Wish folks would specify if the have slackpkg+ installed with slackpkg, although greylist is a give away if you happen to know about slackpkg+.
Last edited by chrisretusn; 07-31-2023 at 02:10 AM.
Yes, I built ffmpeg 6.0 myself and even set the suffix to "1alien", but "slackpkg upgrade-all" still "upgrades" it to "ffmpeg-5.1.2-x86_64-1alien" (even when greylisted, I discovered).
Unrelated to this thread, ktown and vtown are not longer used. I presume that "clean-system" in handled manually?
Here is my complete blacklist file. My editor (Kate) is set to remove trailing spaces on save.
Code:
# /etc/slackpkg/blacklist
#
# This is a blacklist file. Any packages listed here won't be
# upgraded, removed, or installed by slackpkg.
# aaa_libraries should NOT be blacklisted!
#
# You can blacklist using regular expressions.
#
# All of the following will be checked for the regex:
# Package 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, but note that
# kernel-headers should *not* be blacklisted:
#
#kernel-generic.*
#kernel-huge.*
#kernel-modules.*
#kernel-source
#
# This one will blacklist all SBo packages:
#[0-9]+_SBo
#### My stuff starts here.
kernel-generic.*
kernel-huge.*
kernel-modules.*
kernel-source
# My nonslack packages
#[0-9]+cgs
#[0-9]+aliencompat32
# Alien Bob and multilib packages
#[0-9]+alien
#[0-9]+compat32
# Other
#[0-9]+mt
# Keep from being picked up with "install nonslack".
apcupsd
# Do not upgrade, for installation only.
telegram-bin
tor-browser-bin
# Testing
ffmpeg
The package ffmpeg does not upgrade when using upgrade-all when blacklisted, batch or normal method.
This is my run with slackpkg search ffmpeg with ffmpeg blacklisted.
Code:
# slackpkg search ffmpeg
Looking for ffmpeg in package list. Please wait... DONE
The list below shows all packages with name matching "ffmpeg".
[ Status ] [ Repository ] [ Package ]
installed nonslack ffmpeg-compat32-5.1.2-x86_64-1aliencompat32
installed slackware64 ffmpegthumbnailer-2.2.2-x86_64-4
installed slackware64 ffmpegthumbs-23.04.3-x86_64-1
uninstalled(masked) multilib ffmpeg-compat32-5.1.2-x86_64-2compat32
Now not blacklisted.
Code:
# USEBL=off slackpkg search ffmpeg
Looking for ffmpeg in package list. Please wait... DONE
The list below shows all packages with name matching "ffmpeg".
[ Status ] [ Repository ] [ Package ]
installed nonslack ffmpeg-compat32-5.1.2-x86_64-1aliencompat32
installed slackware64 ffmpegthumbnailer-2.2.2-x86_64-4
installed slackware64 ffmpegthumbs-23.04.3-x86_64-1
uninstalled(masked) multilib ffmpeg-compat32-5.1.2-x86_64-2compat32
upgrade restricted slackware64:ffmpeg-5.1.3-x86_64-1 --> ffmpeg-5.1.2-x86_64-1alien
With ffmpeg blacklisted When I run "slackpkg -batch=on -default_answer=y upgrade-all" or slackpkg upgrade-all I get the same result.
Code:
# slackpkg -batch=on -default_answer=y upgrade-all
Checking local integrity... DONE
Looking for packages to upgrade. Please wait... DONE
No packages match the pattern for upgrade. Try:
/usr/sbin/slackpkg install|reinstall
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.