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.
1. "multilib:" is exactly what setupmultilib.sh put into PKGS_PRIORITY, so maybe it also require correction
2. Changing to "multilib" helped with multilib packages on 6mt
3. TAG_PRIORITY is still ignored. I use custom kernel from my repository and with 6mt 'upgrade-all' offers me to 'upgrade' kernel packages from slackware/patches.
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 928
Rep:
I am having the same issue reported by majekw with the new slackpkgplus version.
In a -current with multilib, running 'slackpkg upgrade-all' shows gcc and glibc original
packages as upgrade to miltilib packages installed.
I set 'TAG_PRIORITY=on' and leave '#PKGS_PRIORITY' line commented and I update
multilib packages with slackpkg with the line
'REPOPLUS=( multilib slackpkgplus restricted alienbob rlworkman )'
That was working ok until the new slackpkgplus version.
After applying zerouno's patch, the gcc/glibc packages don't appear anymore.
The today upgrade of slackpkg on current broke slackpkg+ update process.
For now there is NO WORKAROUND (I saw it just now), so
DO NOT UPGRADE slackpkg !!!!
Code:
ap/slackpkg-2.83.0-noarch-3.txz: Rebuilt.
Don't remove ChangeLog.txt upon upgrade/reinstall.
Use CHECKSUMS.md5.asc to determine if ChangeLog.txt is unchanged.
I hope to fix slackpkg+ as soon or find a fast workaround
Fri Jun 15 16:09:51 CEST 2018
pkg/slackpkg+-1.7.0d1-noarch-4mt.txz
- Fix incompatibility with slackpkg-2.83.0-noarch-3
- Fix setupmultilib script. It did use oldstyle 'multilib:'
- Fix a regression in TAG PRIORITY
- Handle the case where /var/log/packages is a symlink
Fri Jun 15 16:09:51 CEST 2018
pkg/slackpkg+-1.7.0-noarch-7mt.txz: Rebuilt
- Fix incompatibility with slackpkg-2.83.0-noarch-3
- Fix a regression in TAG PRIORITY
- Handle the case where /var/log/packages is a symlink
still remains another issue in TAG PRIORITY...
when TAG_PRIORITY=on slackpkg+ propose packages from /extra or from /pasture instead /slackware (i.e. php 5.x)
# slackpkg check-updates
Searching for updates... News on ChangeLog.txt
[ Repository ] [ Status ]
slackware AVAILABLE UPDATES
slackpkgplus Up to date
restricted Up to date
alienbob Up to date
==============================================================================
WARNING! One or more errors occurred while slackpkg was running
------------------------------------------------------------------------------
Repository 'slackpkgplus' FAILS the CHECKSUMS.md5 signature check.
Try to run 'slackpkg update gpg'
Repository 'restricted' FAILS the CHECKSUMS.md5 signature check.
Try to run 'slackpkg update gpg'
Repository 'alienbob' FAILS the CHECKSUMS.md5 signature check.
Try to run 'slackpkg update gpg'
"slackpkg update gpg" doesn't help.
Manual "gpg --verify ..." is ok:
Code:
# rm CHECKSUMS.md5{.gz,}{.asc,}
# wget slakfinder.org/slackpkg+/CHECKSUMS.md5{.gz,}{.asc,}
# gpg --verify CHECKSUMS.md5{.asc,} &> /dev/null && echo Ok || echo FAILED
Ok
# gpg --verify CHECKSUMS.md5.gz{.asc,} &> /dev/null && echo Ok || echo FAILED
Ok
Versions and configs:
Code:
# ( cd /var/log/packages/ ; ls -1 slackpkg* )
slackpkg+-1.7.0-noarch-9mt
slackpkg-2.83.0-noarch-4
It's an issue with the newest slackpkg in slackware current.
in /usr/libexec/slackpkg/functions.d/slackpkgplus.sh
Find
Code:
if [ "$CMD" == "update" ];then
# answer to "Do you really want to download all other files"
# if there are new changes
ANSWER="Y"
DOWNLOADCHANGELOG=force
fi
and replace with
Code:
if [ "$CMD" == "update" -o "$CMD" == "check-updates" ];then
# answer to "Do you really want to download all other files"
# if there are new changes
ANSWER="Y"
DOWNLOADCHANGELOG=force
fi
# slackpkg check-updates
Searching for updates... News on ChangeLog.txt
[ Repository ] [ Status ]
slackware AVAILABLE UPDATES
slackpkgplus Up to date
restricted Up to date
alienbob Up to date
First thanks to the author(s) for providing slackpkg+. It helps a lot. I have a question concerning PKGS_PRIORITY. I am using it on -current and wonder how to set the PKGS_PRIORITY. Is it possible to configure it multiple times or is it suggested to write something like this: PKGS_PRIORITY=( restricted:vlc ktown ... )?
First all, you have to thank phenixia2003 for the improved PKGS_PRIORITY subsystem
Yes, you can configure multiple repositories and/or specific packages in PKGS_PRIORITY
My configuration is
PKGS_PRIORITY=( multilib ktown )
You have to know that all repositories in PKGS_PRIORITY do override packages in slackware tree, so if you type
slackpkg upgrade kdevelop
slackpkg+ does remove the kdevelop from kde4 and intall kdevelop from kde5
Tipically this may be wanted, but sometime this may be wrong.
For example..
a repository 'xxxxxxx' contains many useful packages and a custom version of 'firefox' package. I just want to install the package 'yyyyyyyy'
If I configure
PKGS_PRIORITY=( xxxxxxx )
where I run
slackpkg install yyyyyyyy
or
slackpkg upgrade yyyyyyyy
it does install or upgrade the correct package.
but if I run
slackpg upgrade-all
it does upgrade the package 'yyyyyyyy' and remove the slackware official 'mozilla-firefox' and replace it with the custom version.
So to avoid this, you have to NOT put the repository in PKGS_PRIORITY but leave it in REPOPLUS
REPOPLUS=( xxxxxxx )
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.