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.
If this is what you expect, then you need to use "upgrade", not "install".
When you use "upgrade," the older package will be removed before installing the new one.
Yes, but what if I don't have some package on the system and want to install it. Using bash-completion I pick the latest patched version, hit enter and the dialog offers me old package too. This is wrong/weird behavior of slackpkg script.
Yes, but what if I don't have some package on the system and want to install it. Using bash-completion I pick the latest patched version, hit enter and the dialog offers me old package too. This is wrong/weird behavior of slackpkg script.
So decline the offer and simply uncheck the older one. It's not wrong, and, to my knowledge, it's how it has always worked.
Yes, but what if I don't have some package on the system and want to install it. Using bash-completion I pick the latest patched version, hit enter and the dialog offers me old package too. This is wrong/weird behavior of slackpkg script.
15.0 version: type "slackpkg install openssl" and hit TAB. You'll see two versions.
ok, I see
there is no issue with slackpkg
but it's only because of bash-completion
Code:
install | reinstall | upgrade | blacklist | download)
_filedir
COMPREPLY+=($(compgen -W 'a ap d e f k kde kdei l n t tcl x
xap xfce y' -- "$cur"))
COMPREPLY+=($(cut -f 6 -d\ "${WORKDIR}/pkglist" 2>/dev/null |
command grep "^$cur"))
return
it checks repositories (a, ap, d ...)
where openssl-1.1.1m is
After I uninstall ca-certificates, broken links are not removed under /etc/ssl/certs
Yes
symlink are created by /usr/sbin/update-ca-certificates
Code:
add() {
CERT="$1"
PEM="$ETCCERTSDIR/$(basename "$CERT" .crt | sed -e 's/ /_/g' \
-e 's/[()]/=/g' \
-e 's/,/_/g').pem"
if ! test -e "$PEM" || [ "$(readlink "$PEM")" != "$CERT" ]
then
ln -sf "$CERT" "$PEM"
echo "+$PEM" >> "$ADDED"
fi
# Add trailing newline to certificate, if it is missing (#635570)
sed -e '$a\' "$CERT" >> "$TEMPBUNDLE"
}
So, if you remove ca-certificates (apart from the fact that I don't see the point)
you must run the command again, but you can't because /usr/sbin/update-ca-certificates is a part of the package ca-certificates :-)
When I explicitly install package from patches using "slackpkg install", the dialog shows me both versions, old and patched new one.
For example:
slackpkg install openssl-1.1.1n-x86_64-1_slack15.0
The dialog shows me two packages:
openssl-1.1.1m-x86_64-1
openssl-1.1.1n-x86_64-1_slack15.0
I would expect to see the only new patched version, which I explicitly specified in "slackpkg install"
slackpkg is giving you the ability to install the original package or the patched package. I see nothing wrong with that. It's no different than what someone is presented when browsing through 15.0's mirror. You'll have the original package under slackware{64}/ and any changes under patches/.
slackpkg upgrade-all is the one that has the logic built in to show you replaced stock packages with newer ones within patches/. Why should bash-completion have that logic? With slackpkg install, you can either install the stock or patched version and it's presenting you both options. Bash completion shouldn't be deciding which one you want to install.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.