slackpkg database corrupted
Hello,
I am running slackware-current (64-bit) and unfortunately I have corrupted slackpkg database during upgrade-all, llvm and gcc-go failed to upgrade. after all other packages upgraded, I issued slackpkg upgrade-all however slackpkg generated the error: FATAL! There is some problem in packages database or maybe an installation or upgrade in progress: gcc-go-7.1.0-x86_64-2-upgraded-2017-08-11,10:16:27 llvm-4.0.1-x86_64-1-upgraded-2017-08-11,10:17:20 If you continue you may corrupt packages database. Check or retry later I did install llvm and gcc-go with slackpkg install but the problem persists and I am not able to run slackpkg upgrade-all thank you for help |
slackpkg is just a frontend for the real Slackware package tools, mainly installpkg, upgradepkg, and removepkg. From the sounds of it, you might have two copies of gcc-go and llvm installed. Check under /var/log/packages to see if there's any duplicate packages in there. If there are, you'll want to use removepkg to remove them, and then reinstall the correct versions using installpkg. If you're curious on how to use these commands, check the man page for them.
|
Quote:
I had to modify your procedure a bit. Exactly following your suggestion did not fix the problem, however I noticed two extra files probably leftovers of corrupted installation of llvm and gcc-go: gcc-go-7.1.0-x86_64-2-upgraded-2017-08-11,10:16:27 llvm-4.0.1-x86_64-1-upgraded-2017-08-11,10:17:20 After I removed these, everything is back in order. Thank you again. |
All times are GMT -5. The time now is 09:08 PM. |