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.
Slackpkg won't update, while trying to upgrade from Slackware64-13.37 current. I get the following:
Code:
#slackpkg update
wget:error while loading shared libraries:libgnutls.so.26:cannot open shared object file:no such file or directory.
grep: /tmp/slackpk.wm5xdm/changelog.txt: No such file or directory.
Having trouble downloading from ftp://carolll.cac.psu.edu/pub/linux/distributions/slackware/slackware-current. Check mirrors and try again.
Checked Blacklist nothing is uncommented for upgrade. Changed mirror to Oregon State for slackware64 current without success. Any suggestions beside downloading or buying the new version. I'd rather buy it than download in which case i have to wait to get the $. Thanks
My first guess is that you're missing the gnutls package which ships the libgnutls.so.26 shared object (perhaps it wasn't installed when you first installed Slackware?).
If you do have it installed then I would make sure that your gnutls package is for the correct architecture.
Another possibility is that wget wasn't upgraded in the past and so it still links to an old libgnutls.
mrclisdue is right, usually this kind of behavior occurs when a dependency for wget (in this case libgnutls) is updated to a newer version, but wget is still the older version. Something that does not happen when slackpkg is configured to download all packages first, as pointed out above.
By the way, there is no such thing as Slackware64-13.37 current, you run either 13.37 or -current, but not both.
Slackpkg worked I'm guessing up to the last update. A quick slocate shows gnutls was upgraded 2012-12-18 to gnutls-3.0.23-x86_64-1.
wget-1.13-x86_64-1 was upgraded 2011-10-11
Don't remember using either. Will it mess anything else up if I generate a new key? Forgot how to do it.
Another question I just use network tools and XFCE plus wireless PCIEX1 - can I create a template to just upgrade what I use? If so do you know of a link on how create and use such a template? Thanks for responding so quick.
wget and therefore libgnutls are used by slackpkg to download the packages that have been upgraded. In your case fixing the system is as simple as manually downloading the upgraded packages and installing them using upgradepkg. I would not recommend to do partial upgrades of the system, unless you know exactly what you are doing.
Regards and thank all of you for the quick helpful responses. I will first change the slackpkg.conf if that doesn't work I will upgrade utilities manually. I did a similar search before posting but did not find the thread mentioned by mrclisdu. I'm going to wait for my new wireless PCIEX1 before trying upgrading so I don't have to manually change it in udev
Changed slackpkg.conf to "Download_All= on".
ftp slackware64-current got: wget & gnutls.
upgradepkg wget
gnutls didn't need to be upgraded
Still got slackpkg update error:
Code:
# slackpkg update
Downloading ftp://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware64-current/GPG-KEY...
wget: error while loading shared libraries: libssl.so.1: cannot open shared object file: No such file or directory
Updating the package lists...
Downloading...
Downloading ftp://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware64-current/ChangeLog.txt...
wget: error while loading shared libraries: libssl.so.1: cannot open shared object file: No such file or directory
grep: /tmp/slackpkg.Ybgh5a/ChangeLog.txt: No such file or directory
Error downloading from ftp://carroll.cac.psu.edu/pub/linux/distributions/slackware/slackware64-current/.
Please, check your mirror and try again.
Tried to upgrade openssl but i got compression and corruption errors. Not so simple after all. Thanks
WillySr, thanks that is what I did downloaded them using ftp. Its weird usinig slackpkg for current updates left me with pkgtool ver. 14. Some updated & some not. Where do the shared libraries reside? I have an empty /usr/local/share/ folder?
The problem you encountered was because slackpkg download the packages one by one and unfortunately, wget is upgraded and linked to newer gnutls library which isn't updated yet, so by using DOWNLOAD_ALL=ON, it will download all packGes first before upgrading them one by one
It's now set to ON on current
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.