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 02-16-2012, 12:23 AM   #1
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Rep: Reputation: 242Reputation: 242Reputation: 242
'slackpkg update' ends in segmentation fault


Slackware 13.37.0 32bit, no fancy addons, default kernel.

The recent big update went fine, and out of curiosity I ran 'slackpkg update' today which seemed to go pretty far but returned me to the prompt with:
Code:
Formatting lists to slackpkg style...
		Package List: using CHECKSUMS.md5 as source
/usr/libexec/slackpkg/core-functions.sh: line 956: 13189 Segmentation fault      cp ${TMPDIR}/pkglist ${WORKDIR}/pkglist
/usr/libexec/slackpkg/core-functions.sh: line 956: 13214 Segmentation fault      cp ${TMPDIR}/*-filelist.gz ${WORKDIR}/
		Package descriptions
/usr/libexec/slackpkg/core-functions.sh: line 956: 13220 Segmentation fault      cp $TMPDIR/PACKAGES.TXT ${WORKDIR}/PACKAGES.TXT
/usr/libexec/slackpkg/core-functions.sh: line 956: 13221 Segmentation fault      cp $TMPDIR/CHECKSUMS.md5 $WORKDIR/CHECKSUMS.md5 2> /dev/null
/usr/libexec/slackpkg/core-functions.sh: line 956: 13222 Segmentation fault      cp $TMPDIR/CHECKSUMS.md5.asc $WORKDIR/CHECKSUMS.md5.asc 2> /dev/null
Line 956 looks normal, it's just an open bracket"{". I've never even messed with that file before. I actually haven't monkeyed around with this system other than install several mundane items from SBo. I tried changing the mirror with the exact same result.
I guess CHECKSUMS.md5 or core-functions.sh are just corrupt somehow?
Any and all advice welcome!

Last edited by STDOUBT; 02-16-2012 at 12:26 AM. Reason: typo fix
 
Old 02-16-2012, 01:06 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
i'm curious, did you change your repository to -Current?
 
Old 02-16-2012, 08:50 AM   #3
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Original Poster
Rep: Reputation: 242Reputation: 242Reputation: 242
Did not change repo to -current. Has been 13.37 since the system was installed. I only changed it to another mirror (a 13.37 mirror) to test it since this problem cropped up.
 
Old 02-16-2012, 10:25 AM   #4
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Original Poster
Rep: Reputation: 242Reputation: 242Reputation: 242
OK,
I "fixed" this problem by copying the /usr/libexec/slackpkg/core-functions.sh file from a different system also running 13.37. The strange thing is, running diff on the files came up empty... I guess I'll just chalk this up to bitrot and move on. Frustrating to not know what the actual problem was.
 
  


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] apt-get causes Segmentation fault - critical cannot update and install infoslaw Linux - Software 3 12-31-2011 08:28 AM
Segmentation Fault on Linux Red Hat AS release 4 (Nahant Update 4): 2.6.9-42.ELsmp vivek677 Red Hat 6 03-03-2011 01:12 AM
segmentation fault! sharath patil Debian 5 04-22-2006 04:57 AM
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika SUSE / openSUSE 2 12-02-2005 09:34 AM
segmentation fault on yum update robberttheman Fedora 4 08-03-2004 11:56 PM

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

All times are GMT -5. The time now is 10:14 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