LinuxQuestions.org
Register a domain and help support LQ
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 05-19-2013, 03:01 PM   #1
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Rep: Reputation: 50
Unable to update or upgrade slackpk


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
 
Old 05-19-2013, 03:17 PM   #2
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 437

Rep: Reputation: Disabled
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.
 
1 members found this post helpful.
Old 05-19-2013, 03:36 PM   #3
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 249

Rep: Reputation: Disabled
I have the same problem when upgrade from 14 to current.To be able to update to current i download gnutls and openssl-solibs and first upgrade them.
 
1 members found this post helpful.
Old 05-19-2013, 03:53 PM   #4
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,046

Rep: Reputation: 170Reputation: 170
One of the remedies to these types of upgrade issues is to edit /etc/slackpkg/slackpkg.conf and change the default:

DOWNLOAD_ALL=off to on.

This was brought up within the past few weeks in another thread but I'm too lazy atm to look it up.

Upgrading in this manner prevents stuff like:

Quote:
Another possibility is that wget wasn't upgraded in the past and so it still links to an old libgnutls.
from occurring.

cheers,
 
2 members found this post helpful.
Old 05-19-2013, 03:57 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046
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.
 
Old 05-19-2013, 04:07 PM   #6
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
Slackpkg worked till last update

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.
 
Old 05-19-2013, 04:11 PM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046
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.
 
1 members found this post helpful.
Old 05-19-2013, 05:44 PM   #8
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
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
 
Old 05-26-2013, 03:37 AM   #9
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
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
 
Old 05-26-2013, 03:40 AM   #10
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,551

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
try downloading them manually, not using slackpkg
 
Old 05-26-2013, 04:23 PM   #11
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
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?
 
Old 05-26-2013, 07:04 PM   #12
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,551

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] Unable to run 'Software Update' after upgrade to rhel 6.1 susja Linux - Newbie 3 06-17-2011 06:51 AM
Unable to upgrade to ubuntu 7.10, update manager fails to update.... jonbvgood Linux - Software 2 02-05-2008 03:58 PM
Unable to update software after Core 5 upgrade oldoak Fedora - Installation 2 03-26-2006 12:03 PM
Red Hat Update Agent freezing, unable to update (FC4) Malakye Fedora 1 12-09-2005 08:02 PM
Unable to logon on as non-root user after update as unable to set executable context pls198 Fedora 2 04-09-2004 11:41 AM


All times are GMT -5. The time now is 04:41 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration