[SOLVED] current and slackpkg (missing some updates on my PC)
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.
current and slackpkg (missing some updates on my PC)
I had my main desktop PC reinstalled with current a while back, so this is a quite recent installation of current...
After I asked if digikam needed an rebuild, I was noticed upon that I had missed an update of ffmpeg-5.1.4 to build version 3.
That was true, but I could not find ffmpeg at all when I used slackpkg to search for what version installed (and list any updates if any found).
I manually updated ffmpeg by downloading the latest package/version and ran upgradepkg
So I went through all files in /var/lib/slackpkg/
ChangeLog.txt contains "ffmpeg-5.1.4-x86_64-3.txz: Rebuilt"
ChangeLogs/slackware.txt "ffmpeg-5.1.4-x86_64-3.txz: Rebuilt"
PACKAGES.txt "PACKAGE NAME: ffmpeg-5.1.4-x86_64-3.txz"
install.log Nothing related to ffmpeg found
pkglist "slackware64 ffmpeg 5.1.4 x86_64 3 ffmpeg-5.1.4-x86_64-3 ./slackware64/l txz"
If I run slackpkg search ffmpeg, the only packages listed are
[inst] slackware64 : ffmpegthumbnailer-2.2.2-x86_64-4
[inst] slackware64 : ffmpegthumbs-23.08.4-x86_64-1
So my questions are, what is wrong and how did it happen?
Packages in these two repositories override slackware64 packages, ffmpeg-5.1.4-x86_64-1alien in alienbob will take priority over the ffmpeg-5.1.4-x86_64-3 in slackware64. There also is a ffmpeg-5.1.4-x86_64-1alien in restricted, since you are not using it, no issue.
Think of PKGS_PRIORITY as what is listed here takes priority over slackware64 or if not in slackware64, over another third party package of the same name.
I modified my slackpkgplus.conf to match your PKGS_PRIORITY line. Here is the search results. Note: that package shown as alienbob, it is actually the restricted package on my system. Both restricted and alienbob packages have the same name, since PKGS_PRIORITY list alienbob, this is being shown as installed, it just assumed that you are using the alienbob package because of PKGS_PRIORITY.
Slackpkg wants to upgrade from the restricted package to the slackware64 package, regardless of REPOPLUS. This is because slackware64 always has priority over all other packages.
This is what my PKGS_PRIORITY, REPOPLUS and MIRRORPLUS really looks like :
Code:
# BEGIN PKGS_PRIORITY
# Set PKGS_PRIORITY to give priority order for single packages present in
# multiple repositories or to allow repositories to override official
# Slackware packages. Without this variable you cannot override official
# Slackware packages. This only applies to 'slackpkg upgrade-all'
PKGS_PRIORITY+=( nonslack:mozilla-firefox )
PKGS_PRIORITY+=( multilib:aaa_glibc* multilib:gcc* multilib:glibc* )
PKGS_PRIORITY+=( restricted:ffmpeg )
# END PKGS_PRIORITY
TAG_PRIORITY=off
# BEGIN REPOPLUS
# REPOPLUS is to specify the search order in the third party repositories
# ('slackpkg upgrade-all'). REPOPLUS is filled (unsorted) from the keys of
# MIRRORPLUS so it is possible to use only PKGS_PRIORITY and MIRRORPLUS.
REPOPLUS+=( nonslack ) # My local repository.
REPOPLUS+=( justpkgs ) # No metadata.
REPOPLUS+=( multilib ) # Using local mirror.
REPOPLUS+=( restricted ) # Using local mirror of only packages I use.
REPOPLUS+=( alienbob ) # Using local mirror of only packages I use. (switch to https: for this)
# BEGIN MIRRORPLUS
# These associative arrays, order assigned does not mean order out. In summary
# order here means nothing. The 'keys' of these arrays are used to initially
# fill REPOPLUS. Order is set by order assigned with REPOPLUS.
# NOTE run 'slackpkg update gpg' with changes here.
# NOTE if you remove any big repositiries below, probably should
# wipeout /var/lib/slackpkg and rebuild.
#MIRRORPLUS['alienbob']=file://home/non-slack/alienbob/ << = Nomrally use this one.
MIRRORPLUS['alienbob']=https://slackware.nl/people/alien/sbrepos/current/x86_64/
MIRRORPLUS['justpkgs']=dir://home/non-slack/justpkgs/
#MIRRORPLUS['msb']=https://slackware.uk/msb/current/latest/x86_64/
MIRRORPLUS['multilib']=file://home/non-slack/multilib/current/
#MIRRORPLUS['multilib']=https://us.slackware.nl/people/alien/multilib/current/
MIRRORPLUS['nonslack']=file://home/non-slack/slackbuilds/
MIRRORPLUS['restricted']=file://home/non-slack/alienbob_restricted/
Last edited by chrisretusn; 01-23-2024 at 06:14 AM.
Packages in these two repositories override slackware64 packages, ffmpeg-5.1.4-x86_64-1alien in alienbob will take priority over the ffmpeg-5.1.4-x86_64-3 in slackware64.
Quote:
Originally Posted by MDKDIO
If I run slackpkg search ffmpeg, the only packages listed are
[inst] slackware64 : ffmpegthumbnailer-2.2.2-x86_64-4
[inst] slackware64 : ffmpegthumbs-23.08.4-x86_64-1
Quote:
Originally Posted by MDKDIO
The only things I have in blacklist, is:
[0-9]+_SBo
[0-9]+alien
[0-9]+compat32
Would these together explain why slackpkg does not list ffmpeg? alienbob taking priority over stock slackware64 and alien packages blacklisted?
Last edited by Petri Kaukasoina; 01-23-2024 at 12:34 AM.
If I run slackpkg search ffmpeg, the only packages listed are
[inst] slackware64 : ffmpegthumbnailer-2.2.2-x86_64-4
[inst] slackware64 : ffmpegthumbs-23.08.4-x86_64-1
Quote:
Originally Posted by MDKDIO
The only things I have in blacklist, is:
[0-9]+_SBo
[0-9]+alien
[0-9]+compat32
Would these together explain why slackpkg does not list ffmpeg? alienbob taking priority over stock slackware64 and alien packages blacklisted?
Yes, especially if slackware's ffmpeg is not installed. When using slackpkg with the slackpkg+ plugin, both the alien and compat32 should not be blacklisted. The SBo is fine since i see no SBo repositories in MDKDIO's MIRRORPLUS variables. Those two blacklist entries are hiding all compat32 packages and alien tagged packages. I missed that blacklist, I see it was in the Requests for current-next (15.0-->15.1) thread. Good catch!
I put my variables in slackpkgplus.conf back to what MDKDIO has, this is my search output.
@chrisretusn
I did not read your last post in full, so I had already edited the blacklist
(yes, I did find some multilib rel to update:
SDL2_image-compat32-2.8.2
c-ares-compat32-1.25.0
compat32-tools-3.10
gst-plugins-bad-free-compat32
libdrm-compat32-2.4.119
lua-5.1.5
mesa-compat32-23.3.2
pixman-compat32-0.43.0-
)
I did skip the ffmpeg-5.1.4 from alienbob
As for packages listed, using ls -l /var/lib/pkgtools/packages/ffmpeg*
I now see:
Code:
-rw-r--r-- 1 root root 10829 jan 22 08:29 /var/lib/pkgtools/packages/ffmpeg-5.1.4-x86_64-3
-rw-r--r-- 1 root root 1784 dec 22 18:52 /var/lib/pkgtools/packages/ffmpeg-compat32-5.1.4-x86_64-2compat32
-rw-r--r-- 1 root root 1926 dec 17 21:23 /var/lib/pkgtools/packages/ffmpegthumbnailer-2.2.2-x86_64-4
-rw-r--r-- 1 root root 1248 dec 17 21:19 /var/lib/pkgtools/packages/ffmpegthumbs-23.08.4-x86_64-1
So if I get this correctly, I had my blacklist set up wrong?
Yes, it's a common mistake, with slackpkg+ you don't want to use blacklist for packages that are in repositories, in your case multilib and alienbob. What that search listing above is telling you, slackpkg wants to upgrade the slackware64 package with the one out of alienbob. The reason is because your PKGS_PRIORITY=( multilib alienbob) is telling slackpkg you want alienbob packages over slackware64's. If this is what you want the this is good. If not, then remove alienbob from PKGS_PRIORITY. Since you are not using Alien Bob's restricted repository for ffmpeg, which has some codecs in it not not provided with the slackware64 or alienbob packages. There is not real reason to have alienbob in PKGS_PRIORITY.
For what it's worth, the alienbob package for ffmpeg has libvpx, built in to the package.
If you want to make sure your multilib is correct not that it's not blaclist, run this command:
Code:
slackpkg install multilib # << This will pickup any additions.
Last edited by chrisretusn; 01-23-2024 at 06:06 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.