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.
Hm, well my best guess is that either an update was interrupted or some misbehaving software or user has accidentally (or intentionally) deleted some of your symlinks
Does installpkg hang with other packages or just Firefox?
It hangs with every package I've tried. No one else uses this computer.
Did you try rebooting and running fsck like Pat and Bob suggested? If I'm not mistaken, you can force fsck to run on the next reboot by running `touch /etc/forcefsck` or you can go into single-user mode and do it from there
No I haven't had time, didn't want to risk a reboot while working, and didn't have the install disk. Dropping into user level 1 wouldn't allow me to check the root filesystem if I'm not mistaken. Also are you sure the forcefsck file should go in /etc? I thought it should be in the root directory.
My usual method with unexpected hangs in shell scripts to add a lot of debugging lines with echo to find where its getting stuck in the script. It should be much easier to understand what is going wrong if we can see how far its getting. Or you could try using "bash -x /path/to/script" which will produce more noisy output while more or less achieving the same.
No I haven't had time, didn't want to risk a reboot while working, and didn't have the install disk. Dropping into user level 1 wouldn't allow me to check the root filesystem if I'm not mistaken. Also are you sure the forcefsck file should go in /etc? I thought it should be in the root directory.
If /etc isn't in the same file system as /, you will have lots of problems at boot.
And you can indeed run fsck from single-user mode, but you'll probably have to remount your / partition read-only first
That's good to know! Pretty much everything online states it should be in the root directory, but when I tried that on one of my machines a few months ago, it didn't work. It must be distro specific (or maybe init specific).
So I did run the fsck via /etc/forcefsck and it did identify disk errors. I told it to fix the errors. I then reran fsck before rebooting and it declared the disk clean. But after rebooting it ran the check again (I thought forecefsck was supposed to be automatically deleted) and came up with the same errors. So even though it showed everything fixed before reboot it seems that nothing was.
That's starting to look like a bad disk. You should look into smartctl and see if your disk has logged any errors. Something like `smartctl -a /dev/sda`
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.