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 06-11-2016, 09:49 AM   #1
Stephen Morgan
Member
 
Registered: Feb 2011
Location: England
Distribution: Slackware
Posts: 164

Rep: Reputation: 19
curent: upgrade failed after glibc-solibs, so nothing will run


I was uploading to the present batch of current updates.

Slackpkg upgraded and said to run it again.

Updated, did upgrade-all. All the packages were "already in cache - not downloading".

glibc-solibs upgraded, seemingly successfully. Then every package gave an error from md5sum, that there was no such file or directory, immediately after saying its in the cache.

Now, of course, everything segfaults when I try to run it.

How od I solve this?
 
Old 06-11-2016, 09:51 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,670

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
Last update of glibc-solibs was in February
did you upgrade just recently from 14.1 ?
 
Old 06-11-2016, 10:01 AM   #3
Stephen Morgan
Member
 
Registered: Feb 2011
Location: England
Distribution: Slackware
Posts: 164

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by willysr View Post
Last update of glibc-solibs was in February
did you upgrade just recently from 14.1 ?
No, I've been running current since 14.1 came out, I just don't upgrade very often.
 
Old 06-11-2016, 12:05 PM   #4
Stephen Morgan
Member
 
Registered: Feb 2011
Location: England
Distribution: Slackware
Posts: 164

Original Poster
Rep: Reputation: 19
I have chrooted into the hard drive from a usb boot stick, and enjoyed getting that connected to the internet, and am trying to proceed from there by running the upgrade again.

Edit: No, didn't work. boot image was, for some reason, using 100% of my cpu, and decided halfway through the update that it needed slacpkg update-gpg to be run, and when I tried running that it decided awk doesn't work.

Last edited by Stephen Morgan; 06-11-2016 at 12:24 PM. Reason: update
 
Old 06-11-2016, 03:06 PM   #5
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,670

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
i just finished upgrading my wife's desktop from Slackware 14.1 to Slackware Current and all is fine here
 
Old 06-11-2016, 03:55 PM   #6
ChuangTzu
Senior Member
 
Registered: May 2015
Location: Where ever needed
Distribution: Slackware/Salix while testing others
Posts: 1,718

Rep: Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857
Quote:
Originally Posted by willysr View Post
i just finished upgrading my wife's desktop from Slackware 14.1 to Slackware Current and all is fine here
Willy your wife allows you to tinker with her desktop? Mine insists on stable for hers...Of course I can be as adventurous as I want with mine.
 
Old 06-11-2016, 04:01 PM   #7
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,063

Rep: Reputation: Disabled
What I would do:
  1. Wait until the release of Slackware version 14.2.
  2. Make a backup of everything that's worth keeping.
  3. Install Slackware 14.2 (you don't need to format the /home partition if you have one).
  4. Restore the backup.

Last edited by Didier Spaier; 06-11-2016 at 04:03 PM.
 
Old 06-11-2016, 04:15 PM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by Stephen Morgan View Post
I have chrooted into the hard drive from a usb boot stick, and enjoyed getting that connected to the internet, and am trying to proceed from there by running the upgrade again.

Edit: No, didn't work. boot image was, for some reason, using 100% of my cpu, and decided halfway through the update that it needed slacpkg update-gpg to be run, and when I tried running that it decided awk doesn't work.
Try instead booting with a Slackware-current DVD, and instead of chrooting into your harddrive installation, stay in the installer's filesystem.
Mount your harddrive's filesystem somewhere (/mnt is a good choice but anything is fine), mount the DVD so you have access to all the packages, and then run "ROOT=/mnt upgradepkg --reinstall --install-new" for all packages in at least the "A", "AP", "D" and "L". That should fix the basic programs on your harddisk. After that you can chroot into the harddrive installation and using "slackpkg install-new ; slackpkg upgrade-all ; slackpkg clean-system" you can fix the rest of your installation.

Be sure to use the correct architecture for the DVD (32bit 0r 64bit)!
DVD's for Slackware-current (re-created everytime there's an update to -current) are here:
http://bear.alienbase.nl/mirrors/sla...4-current-iso/ (64bit)
http://bear.alienbase.nl/mirrors/sla...e-current-iso/ (32bit).
 
1 members found this post helpful.
Old 06-11-2016, 08:58 PM   #9
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,670

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
Quote:
Originally Posted by ChuangTzu View Post
Willy your wife allows you to tinker with her desktop? Mine insists on stable for hers...Of course I can be as adventurous as I want with mine.
She will not notice that the underlying OS and DE (MATE) has been upgraded
the obvious change was google-chrome -> chromium but since only the icon changed, i doubt she will complaint about that

back to topic, i'm pretty sure the OP had a broken package during upgrade process, thus leaving the machine into that state.
 
Old 06-16-2016, 11:28 AM   #10
cnv
LQ Newbie
 
Registered: Oct 2013
Posts: 9

Rep: Reputation: Disabled
According to the article "System Upgrade using SlackPkg"

slackwareuptodate
Code:

#!/bin/sh

# Script for upgrading Slackware

# Copyright 2016
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is 
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
#
#  THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
#  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 
#  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO
#  EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
#  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
#  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
#  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
#  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 
#  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 
#  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

TMP=/tmp/slackwareuptodate
if [ ! -d $TMP ]; then
  mkdir -p $TMP
fi

# Start
while [ 0 ]; do

 dialog --title "Slackware up to date" \
--default-item "$DEFAULTITEM" \
--menu \
"Welcome to 'Slackware up to date'.\n\
Select an option below using the UP/DOWN keys and SPACE or ENTER.\n\
Alternate keys may also be used: '+', '-', and TAB." 18 72 9 \
"HELP" "Read the 'Slackware up to date' HELP file" \
"check-updates" "slackpkg check-updates" \
"update" "slackpkg update" \
"slackpkg" "slackpkg upgrade slackpkg" \
"glibc-solibs" "slackpkg upgrade glibc-solibs" \
"install-new" "slackpkg install-new" \
"upgrade-all" "slackpkg upgrade-all" \
"clean-system" "slackpkg clean-system" \
"EXIT" "Exit 'Slackware up to date'" 2> $TMP/MainMenu
 if [ ! $? = 0 ]; then
  rm -f $TMP/MainMenu
  exit
 fi
 DEFAULTITEM="$(< $TMP/MainMenu)"
 MAINSELECT="`cat $TMP/MainMenu`"
 rm $TMP/MainMenu

 if [ "$MAINSELECT" = "HELP" ]; then
  dialog --title "HELP" \
--msgbox \
"First, update the slackpkg package database:
# slackpkg update

Upgrade slackpkg itself to the latest version:
# slackpkg upgrade slackpkg

Upgrade the glibc-solibs package:
# slackpkg upgrade glibc-solibs

Let slackpkg update the computer to the new Slackware packages:
# slackpkg install-new
# slackpkg upgrade-all
# slackpkg clean-system" 18 72
  continue
 fi

 if [ "$MAINSELECT" = "check-updates" ]; then
  clear
  /usr/sbin/slackpkg check-updates
  read -p "Press Enter to return to the main menu." STUFF
 fi
 
 if [ "$MAINSELECT" = "update" ]; then
  clear
  /usr/sbin/slackpkg update
  read -p "Press Enter to return to the main menu." STUFF
 fi
 
 if [ "$MAINSELECT" = "slackpkg" ]; then
  clear
  /usr/sbin/slackpkg upgrade slackpkg
  read -p "Press Enter to return to the main menu." STUFF
 fi

 if [ "$MAINSELECT" = "glibc-solibs" ]; then
  clear
  /usr/sbin/slackpkg upgrade glibc-solibs
  read -p "Press Enter to return to the main menu." STUFF
 fi

 if [ "$MAINSELECT" = "install-new" ]; then
  clear
  /usr/sbin/slackpkg install-new
  read -p "Press Enter to return to the main menu." STUFF
 fi

 if [ "$MAINSELECT" = "upgrade-all" ]; then
  clear
  /usr/sbin/slackpkg upgrade-all
  read -p "Press Enter to return to the main menu." STUFF
 fi

 if [ "$MAINSELECT" = "clean-system" ]; then
  clear
  /usr/sbin/slackpkg clean-system
  read -p "Press Enter to return to the main menu." STUFF
 fi

 if [ "$MAINSELECT" = "EXIT" ]; then
  clear
  break
 fi

done
# End


 
  


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
LFS 7.3: 6.9. Glibc-2.17 failed glibc testing after 2 hours running quicktime2004 Linux From Scratch 5 06-12-2013 02:48 AM
[SOLVED] glibc-solibs-2.15-x86_64-7 seg fault: core dumped hpfeil Slackware - Installation 3 04-28-2013 10:06 AM
shntool and glibc-solibs porphyry5 Linux - Software 8 05-31-2012 04:01 PM
how to upgrade glibc-2.3 to glibc-2.4 safely on RHEL4? samengr Linux - Software 3 01-31-2009 01:30 PM
Accidentally Removed glibc-solibs package on Slack 10.1 skubik Slackware 8 08-08-2008 05:12 PM

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

All times are GMT -5. The time now is 10:42 AM.

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