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.
Used slackpkg to upgrade my box to current today and the mount and umount commands have disappeared ! The box hangs at boot time as it cannot mount any partitions. I had to boot off a rescue cd and manually extract the util-linux package from slackware/a , copy the commands across and set up links to sbin and /usr/bin. What did I do wrong ?
Yes. util-linux-ng was renamed to util-linux by upstream a short while back, and that change has just filtered into slackware current. I get the feeling this will catch a few current-followers out.
a quick note: you first have to install the new util-linux and then remove util-linux-ng.
util-linux-ng (and util-linux too) contains the command /usr/bin/rev, that is needed for installpkg.
that means that in normal conditions, if you remove util-linux-ng to install after util-linux, you get
Code:
# installpkg util-linux-2.19-x86_64-1.txz
/sbin/installpkg: line 59: rev: command not found
/sbin/installpkg: line 59: rev: command not found
/sbin/installpkg: line 59: rev: command not found
/sbin/installpkg: line 59: rev: command not found
Cannot install util-linux-2.19-x86_64-1.txz: file does not end in .tgz, .tbz, .tlz, or .txz
I got smacked by it. I had to take an old one form a slack dvd and manually install and create the symlinks from another partition. And that's why I have two installs of Slackware. I'm back in my regular partition now after a successful reboot. I just installed the new utils package and have everything back to normal. I'll know better the next time.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,155
Rep:
Quote:
Originally Posted by ponce
a quick note: you first have to install the new util-linux and then remove util-linux-ng.
util-linux-ng (and util-linux too) contains the command /usr/bin/rev, that is needed for installpkg.
that means that in normal conditions, if you remove util-linux-ng to install after util-linux, you get
Code:
# installpkg util-linux-2.19-x86_64-1.txz
/sbin/installpkg: line 59: rev: command not found
/sbin/installpkg: line 59: rev: command not found
/sbin/installpkg: line 59: rev: command not found
/sbin/installpkg: line 59: rev: command not found
Cannot install util-linux-2.19-x86_64-1.txz: file does not end in .tgz, .tbz, .tlz, or .txz
Oops! Too late. I removed util-linux-ng first and now cannot install util-linux. Tried
upgradepkg oldfilename%newfilename
but that didn't work. Tried upgradepkg --reinstall --install-new, but that didn't work.
Make the mistake of re-booting and now I can't get back into Slackware.
During the boot up process it halts and says it can't find, libblkid.so.1. It gives me the option to log in as a single user with the root password to fix the problem, but when I enter the password nothing happens. It says to type, control-d
to continue with a normal log on. That doesn't work either.
Any suggestions would be greatly appreciated.
Thanks.
Download the util-linux package from a mirror, copy it to a USB stick, boot with the installation CD/DVD, mount the root partition somewhere and run installpkg -root /mount/point util-linux-package.txz.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,155
Rep:
Quote:
Originally Posted by rg3
Download the util-linux package from a mirror, copy it to a USB stick, boot with the installation CD/DVD, mount the root partition somewhere and run installpkg -root /mount/point util-linux-package.txz.
Thanks! It took a couple of tries, but I finally got it right.
Thanks for the heads-up. I usually do upgrade-all first. I came across this post before updating, so I did install-new first and was able to update without any problems.
Unfortunately this morning while upgrading I did a "slackpkg clean-system" before "slackpkg install-new" and got caught by the util-linux package name change. I printed out this page before rebooting the system and followed Alien Bob's suggested fix.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.