mount command gone in current
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 ?
|
Ooops ! As this box is a server I usually skip all the stuff in slackpkg install-new. I've just spotted the util-linux package in there. Panic over !
|
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 |
Good point, ponce. That's another nice gotcha.
The following worked for me: Code:
upgradepkg util-linux-ng%util-linux-2.19-x86_64-1.txz |
nice, that's a new trick for me! :)
|
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. :)
|
Upgradepkg accepts an input format of ' upgradepkg oldpkgname%newpkgname '. Achieving the same thing only in one step.
ppd |
Quote:
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.
|
Quote:
:) |
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.
|
----solved---
sorry |
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.
http://www.linuxquestions.org/questi...urrent-807996/ Another learning opportunity for me and another way to recover when util-linux needs to be reinstalled. |
Thank you very, very much. I have two headless machines running current and this post prevented a lot of pain =]
|
All times are GMT -5. The time now is 03:25 AM. |