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.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,086
Rep:
Trouble in Paradise.
Started slackpkg upgrade-up and went to bed. Woke up to find the power had gone out during the night. The computer booted up, but displayed a message that said something to the effect of, "Error occurred during root file system check. You will be given the option of doing maintenance......"
I can get to a command prompt, but regardless of what I do a message pops saying it can't find libblkid.so.1
So, now what?
What needs to be done to get it running again?
Thank you very much.
As I recall, you can use the slackware install CD/DVD as a boot disk if needed. However can you tell us more about the problem? Like what is it saying exactly? The closer to the message you can tell us, the easier it is to fix.
First thing I would do is fix the file system. Boot up with slack cd/dvd and run the appropriate fsck on the disk. You don't mention file system but e2fsck -f -y -v /dev/hdx ought to work.
Strangely enough the library libblkid.so.1 comes from a/e2fsprogs (in 13.0 anyway). If you can mount the partition, copy the package there and chroot into it you may be able to installpkg it. If not, try untarring it in / and sourcing /install/doinst.sh and try installpkg on it again.
If all goes well that ought to have things working and you can boot up and run slackpkg upgrade-all again.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,086
Original Poster
Rep:
Would You Like Jam Or Jelly With Your Toast?
Thanks to everyone for their help, but it is toast.
I've tried twice and it just isn't going to work. I'll put Slackware64-13 back on so I can get to my data, but will wait for the next release before trying again.
I've burned out on upgrading everytime I turn around just to get a usable version of KDE and KDE 4.2.4 isn't worth the time it takes to install it.
Thanks, again.
Last edited by cwizardone; 03-04-2010 at 04:44 PM.
Reason: Typo.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,086
Original Poster
Rep:
Back to Slackware64-13 and Xfce.
After trying to upgrade twice, a good many things are screwed up. Guess I'm going to have to remove a few packages and re-install them to get them to run correctly.
A clean install is in order, but I'm just not in the mood after the nonsense of the last couple of days.
Back to Slackware64-13 and Xfce.
After trying to upgrade twice, a good many things are screwed up. Guess I'm going to have to remove a few packages and re-install them to get them to run correctly.
A clean install is in order, but I'm just not in the mood after the nonsense of the last couple of days.
Have you tried creating an install DVD using alienBOB's -current install script. It works like a charm for me. That is another option if you want to try -current.
Of course, these are unofficial iso files but I've used them a couple of times (the last time being in January 2010). If you are interested, I would recommend that you wait until the next update of iso files (they are updated every Tuesday) because the ones dated 2nd March may not contain the latest updates of current (which happened on the same day).
@linus72
I don't think cwizardone's troubles are linked to any instability in Slackware current. It looks to me like an upgrade that was stopped due to power outage and I can understand it's a messy thing afterward because of the huge amount of packages to be upgraded (and new ones to be installed).
Mine borked too. I tried to reinstall the packages from my local copy of current but couldn't connect to anything.
Judging by some other posts I think I'll just reinstall with the latest iso that gegechris99 mentioned.
I had this exact same problem during the recent big upgrade. As people mention above, it's not due to the instability of Slackware and has more to do with the power outage during the upgrade. If you use some file systems, like ext4, some files may have also zero bytes and be damaged.
I booted from a rescue CD, checked the disk and updated my packages manually (as in running upgradepkg without any additional tool). Once I could at least boot my system, I checked the contents of /var/log/packages. I detected files with zero size in there and other damaged files, and reinstalled those packages. I searched for regular files in my system with size zero in /bin, /sbin, /usr/bin, /usr/sbin, /lib, /usr/lib, /usr/share, /etc and whatever other directory I considered interesting. Then I reinstalled every package that had any file with zero sized. I used slackroll to automate finding and reinstalling those packages.
Finally, I have to mention special trouble with the gzip package. Their programs were damaged and had zero size, and I needed gzip to reinstall the gzip package (it's a .tgz), so I had to manually extract and install that package from the rescue CD to restore it.
Next time I'll leave the laptop battery plugged in during the upgrade. God, what a mess.
There is at least one other thread about systems getting borked during recent upgrade to -current, so I doubt this has anything to do with power outages. A number of people in that thread reported the same problem with the file system. It's unlikely so many people are having power outages in the midst of their -current upgrade.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.