curent: upgrade failed after glibc-solibs, so nothing will run
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.
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.
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
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.
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.
#!/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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.