LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-22-2024, 12:15 PM   #1
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 15
Posts: 521

Rep: Reputation: 187Reputation: 187
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?
 
Old 01-22-2024, 12:23 PM   #2
jayjwa
Member
 
Registered: Jul 2003
Location: NY
Distribution: Slackware, Termux
Posts: 798

Rep: Reputation: 256Reputation: 256Reputation: 256
I use Alien Bob's "restricted" one. Did you look at that repo?

Code:
slackpkg search ffmpeg

Looking for ffmpeg in package list. Please wait... DONE

The list below shows all packages with name matching "ffmpeg".

[inst] restricted  : ffmpeg-5.1.4-x86_64-1alien
[inst] slackware64 : ffmpegthumbnailer-2.2.2-x86_64-4
[inst] slackware64 : ffmpegthumbs-23.08.4-x86_64-1
[unin] alienbob    : ffmpeg3-compat-3.4.6-x86_64-1alien
[unin] alienbob    : gst-plugins-ffmpeg0-0.10.13-x86_64-2alien
[mask] alienbob    : ffmpeg-5.1.4-x86_64-1alien
[mask] slackware64 : ffmpeg-5.1.4-x86_64-3
 
Old 01-22-2024, 12:37 PM   #3
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,932

Rep: Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566
A problem in slackpkg+ config files?
 
Old 01-22-2024, 01:34 PM   #4
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 15
Posts: 521

Original Poster
Rep: Reputation: 187Reputation: 187
Quote:
Originally Posted by jayjwa View Post
I use Alien Bob's "restricted" one. Did you look at that repo?

Code:
slackpkg search ffmpeg

Looking for ffmpeg in package list. Please wait... DONE

The list below shows all packages with name matching "ffmpeg".

[inst] restricted  : ffmpeg-5.1.4-x86_64-1alien
[inst] slackware64 : ffmpegthumbnailer-2.2.2-x86_64-4
[inst] slackware64 : ffmpegthumbs-23.08.4-x86_64-1
[unin] alienbob    : ffmpeg3-compat-3.4.6-x86_64-1alien
[unin] alienbob    : gst-plugins-ffmpeg0-0.10.13-x86_64-2alien
[mask] alienbob    : ffmpeg-5.1.4-x86_64-1alien
[mask] slackware64 : ffmpeg-5.1.4-x86_64-3
Thanks for the reply!
No, I don't use his restricted repo. But yes, I do use his multilib (for Steam)
 
Old 01-22-2024, 01:40 PM   #5
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 15
Posts: 521

Original Poster
Rep: Reputation: 187Reputation: 187
Quote:
Originally Posted by Petri Kaukasoina View Post
A problem in slackpkg+ config files?
Thanks again Petri!

I don't think there's a problem with that config, but I admit I'm far from sure. Here's what I have enabled in that config:

Code:
SLACKPKGPLUS=on
VERBOSE=1
TERSESEARCH=on
ALLOW32BIT=off
USEBL=on
WGETOPTS="--timeout=20 --tries=2"
SEARCH_CLOG_INPARENT=on
CACHEUPDATE=off
GREYLIST=on
SENSITIVE_SEARCH=off
WW_FILE_SEARCH=off
SHOWORDER=package
DETAILED_INFO=basic
STRICTGPG=on
PKGS_PRIORITY=( multilib alienbob )
TAG_PRIORITY=off
REPOPLUS=( slackpkgplus multilib alienbob )
MIRRORPLUS['slackpkgplus']=https://slakfinder.org/slackpkg+15/
MIRRORPLUS['multilib']=https://bear.alienbase.nl/mirrors/people/alien/multilib/current/
MIRRORPLUS['alienbob']=https://bear.alienbase.nl/mirrors/people/alien/sbrepos/current/x86_64/
If I'm missing something, I don't know what it would be.
But I'm def open for suggestions
 
Old 01-22-2024, 11:11 PM   #6
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,987

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
Code:
PKGS_PRIORITY=( multilib alienbob )
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.
Code:
 Status              ] [ Repository  ] [ Package                                                                                          ]
  installed               alienbob        ffmpeg-5.1.4-x86_64-1alien                                                                      
  uninstalled(masked)     restricted      ffmpeg-5.1.4-x86_64-1alien                                                                      
  uninstalled(masked)     slackware64     ffmpeg-5.1.4-x86_64-3
Here is my PKGS_PRIORITY:
Code:
PKGS_PRIORITY=( nonslack multilib restricted:ffmpeg )
Here is my REPOPLUS:
Code:
REPOPLUS+=( nonslack multilib restricted alienbob )
This is the search results.
Code:
[ Status              ] [ Repository  ] [ Package                     ]
  installed               restricted      ffmpeg-5.1.4-x86_64-1alien 
  uninstalled(masked)     alienbob        ffmpeg-5.1.4-x86_64-1alien 
  uninstalled(masked)     slackware64     ffmpeg-5.1.4-x86_64-3
If I was to takeout "restricted:ffmpeg" from the above, this is the search results.
Code:
[ Status              ] [ Repository  ] [ Package                                                          ]
  uninstalled(masked)     alienbob        ffmpeg-5.1.4-x86_64-1alien                                      
  upgrade                 slackware64     restricted:ffmpeg-5.1.4-x86_64-1alien --> ffmpeg-5.1.4-x86_64-3
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.
 
Old 01-22-2024, 11:56 PM   #7
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,932

Rep: Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566Reputation: 1566
I know nothing about slackpkg+ but...
Quote:
Originally Posted by chrisretusn View Post
Code:
PKGS_PRIORITY=( multilib alienbob )
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 View Post
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 View Post
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.
 
Old 01-23-2024, 01:34 AM   #8
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,987

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
Quote:
Originally Posted by Petri Kaukasoina View Post
I know nothing about slackpkg+ but...

Quote:
Originally Posted by MDKDIO View Post
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 View Post
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.
Code:
[ Status    ] [ Repository  ] [ Package                                                                                          ]
  installed     slackware64     ffmpegthumbnailer-2.2.2-x86_64-4                                                                
  installed     slackware64     ffmpegthumbs-23.08.4-x86_64-1                                                                   
  upgrade       multilib        nonslack:ffmpeg-compat32-5.1.4-x86_64-1aliencompat32 --> ffmpeg-compat32-5.1.4-x86_64-2compat32 
  upgrade       slackware64     restricted:ffmpeg-5.1.4-x86_64-1alien --> ffmpeg-5.1.4-x86_64-3
With alien and compat32 blacklisted:
Code:
[ Status    ] [ Repository  ] [ Package                           ]
  installed     slackware64     ffmpegthumbnailer-2.2.2-x86_64-4 
  installed     slackware64     ffmpegthumbs-23.08.4-x86_64-1
@MDKDIO, was does this show:
Code:
ls -l /var/lib/pkgtools/packages/ffmpeg*
This is my output of that:
Code:
-rw-r--r-- 1 root root 16719 Jan 22 11:04 /var/lib/pkgtools/packages/ffmpeg-5.1.4-x86_64-1alien
-rw-r--r-- 1 root root  3783 Jan  5 00:13 /var/lib/pkgtools/packages/ffmpeg-compat32-5.1.4-x86_64-1aliencompat32
-rw-r--r-- 1 root root  1899 Oct 12  2022 /var/lib/pkgtools/packages/ffmpegthumbnailer-2.2.2-x86_64-4
-rw-r--r-- 1 root root  1221 Dec  9 16:14 /var/lib/pkgtools/packages/ffmpegthumbs-23.08.4-x86_64-1

Last edited by chrisretusn; 01-23-2024 at 01:37 AM.
 
Old 01-23-2024, 04:07 AM   #9
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 15
Posts: 521

Original Poster
Rep: Reputation: 187Reputation: 187
Thanks Petri and Chris!!

@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
And
slackpkg search ffmpeg
now shows:
Code:
[upgr] alienbob    : slackware64:ffmpeg-5.1.4-x86_64-3 --> ffmpeg-5.1.4-x86_64-1alien
[inst] multilib    : ffmpeg-compat32-5.1.4-x86_64-2compat32
[inst] slackware64 : ffmpegthumbnailer-2.2.2-x86_64-4
[inst] slackware64 : ffmpegthumbs-23.08.4-x86_64-1
[unin] alienbob    : ffmpeg3-compat-3.4.6-x86_64-1alien
[unin] alienbob    : gst-plugins-ffmpeg0-0.10.13-x86_64-2alien
Nothing changed in slackpkgplus.conf

So if I get this correctly, I had my blacklist set up wrong?
 
Old 01-23-2024, 05:54 AM   #10
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,987

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
Quote:
Originally Posted by MDKDIO View Post
slackpkg search ffmpeg
now shows:
Code:
[upgr] alienbob    : slackware64:ffmpeg-5.1.4-x86_64-3 --> ffmpeg-5.1.4-x86_64-1alien
[inst] multilib    : ffmpeg-compat32-5.1.4-x86_64-2compat32
[inst] slackware64 : ffmpegthumbnailer-2.2.2-x86_64-4
[inst] slackware64 : ffmpegthumbs-23.08.4-x86_64-1
[unin] alienbob    : ffmpeg3-compat-3.4.6-x86_64-1alien
[unin] alienbob    : gst-plugins-ffmpeg0-0.10.13-x86_64-2alien
Nothing changed in slackpkgplus.conf

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.
 
Old 01-23-2024, 06:33 AM   #11
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 15
Posts: 521

Original Poster
Rep: Reputation: 187Reputation: 187
Thank you very much Chris!!

All set here, so closing this thread as solved
 
1 members found this post helpful.
Old 01-24-2024, 02:53 AM   #12
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,987

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
Good to hear!
 
  


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] Slackpkg+: searching for current packages at cgit.ponce.cc not working (slackpkg+-1.7.9-noarch-1mt) drew_gui Slackware 18 12-07-2021 02:56 AM
No updates shown in -current with slackpkg/slackpkg+ rpedrica Slackware 12 03-04-2021 12:20 PM
slackpkg won't upgrade grub2 in -current updates 01/12/2017 Paulo2 Slackware 2 01-12-2017 08:34 PM
Slackpkg going backwards trying to rerun updates in current? damgar Slackware 2 04-01-2010 09:00 PM
Slackpkg: missing something in /usr/libexec/slackpkg/functions.d/dialog-functions.sh michelino Slackware 4 03-20-2007 12:22 PM

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

All times are GMT -5. The time now is 06:52 PM.

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