LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   curent: upgrade failed after glibc-solibs, so nothing will run (https://www.linuxquestions.org/questions/slackware-14/curent-upgrade-failed-after-glibc-solibs-so-nothing-will-run-4175582032/)

Stephen Morgan 06-11-2016 09:49 AM

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?

willysr 06-11-2016 09:51 AM

Last update of glibc-solibs was in February
did you upgrade just recently from 14.1 ?

Stephen Morgan 06-11-2016 10:01 AM

Quote:

Originally Posted by willysr (Post 5559361)
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.

Stephen Morgan 06-11-2016 12:05 PM

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.

willysr 06-11-2016 03:06 PM

i just finished upgrading my wife's desktop from Slackware 14.1 to Slackware Current and all is fine here

ChuangTzu 06-11-2016 03:55 PM

Quote:

Originally Posted by willysr (Post 5559450)
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. :D

Didier Spaier 06-11-2016 04:01 PM

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.

Alien Bob 06-11-2016 04:15 PM

Quote:

Originally Posted by Stephen Morgan (Post 5559406)
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).

willysr 06-11-2016 08:58 PM

Quote:

Originally Posted by ChuangTzu (Post 5559467)
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. :D

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.

cnv 06-16-2016 11:28 AM

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





All times are GMT -5. The time now is 09:30 AM.