slackware 14.2 repair installation
Hi everyone,
5.10.17 is there a way to fix a bad installation? I probably removed some packages or I did not installed properly or both and I have a next to nothing system, no ping/dhclient/slackpkg/wget/curl and so on. There are lots of packages in /var/log/packages mostly for X (X broken obviously) installpkg and pkgtool works btw. Tried upgradepkg --reinstall no output can not raise up network I can fix it with a live media but I am wondering if this can be repaired as is. Thanks a lot! |
Given the number of issues you mention, it's probably best to back up any crucial data to external media and reinstall, especially as you report that you cannot connect to your network. You might be able to repair it manually, but it's likely to be more effort than it's worth.
Just my two cents. |
I agree with you but I have another good standing slack on VM. I would like to spend some resources to try fixing this broken one as a learning experience. I am relatively new in BSD-like world therefore anything will be much appreciated. Thanks so much!
|
If you have a working Slackware, you can install missing packages in the crippled one by using installpkg with an alternative root. Either set $ROOT to the root directory of your shot system or use the --root option to set it.
|
Quote:
Is your working Slackware on VM on the same computer on another OS? Simplest solution would be a data backup and reinstall, select to not format the / partition during the install which should retain functioning software and personal data. |
I would install the missing packages but I do not know which ones are missing.
Yes, the slackware guests are on VM |
There is no learning experience here. Crashes time to time happen. But usually for different reasons. If you fix this now - it will not give you benefit in next crash. Learning experience is only in repetitive tasks. So save yourself time gaining worthless knowledge and reinstall system.
|
Quote:
While I agree that the reinstall would be quickest and easiest, that is the lazy mans way of avoiding a challenge. The man already said he did things that broke the system so let him learn how to fix what was done instead of throwing water on his eagerness to learn. |
From your first post it looks like your missing packages from n and ap and maybe l. If you insist on attempting to fix without reinstalling the whole system, reinstall all of n and ap and maybe l using the install medium.
|
Quote:
|
Quote:
my 14.2 kernel is 4.4.261 Did you update your mkinitrd file and does lilo point to it? Quote:
But I don't know what it is. And as others have suggested a reinstall is probably the easiest way out. Quote:
Quote:
If installpkg works you are connecting to a mirror, so why you are not raising a network is beyond my knowledge. Quote:
|
1 Attachment(s)
installpkg command is available but I can not connect to a mirror. I said ping command not found, the same dhclient.
The ultimate question: Is slackpkg upgrade-all safe? Is anything that can prevent to break the slack? I wanted to perform a Full system upgrade To perform a full system upgrade, please follow these steps (as root user): Code:
slackpkg update |
Post the output of
Code:
df -h |
Quote:
Code:
bash-5.1$ df -TH |
What lines do you have un-commented in /etc/slackpkg/mirrors
|
All times are GMT -5. The time now is 02:34 PM. |