I stopped a slackpkg upgrade-all in midstream and now I cannot slackpkg upgrade-all
Here it is.
root@jkh-box:/etc/slackpkg# slackpkg upgrade binutils-2.38-x86_64-1 FATAL! There is some problem in packages database or maybe an installation or upgrade in progress: binutils-2.37-x86_64-1-upgraded-2022-02-11,19:13:10 If you continue you may corrupt packages database. Check or retry later Slackpkg search says that I have binutils-2.38 but it is not installed. How do I fix this? TIA. John. |
Have you tried : reinstall ?
|
What I did was to search /var/log/packages for the offending lines, removed the old package data, and I was good to go.
Reinstall would really be a heavy lift for this. |
It's a shot in the dark, but maybe try
Code:
slackpkg clean-system |
I found this when I did a grep for binutils: binutils-2.37-x86_64-1-upgraded-2022-02-11,19:13:10. Slackpkg would not upgrade or remove, but removepkg binutils-2.37 worked like a charm, and slackpkg was again ready to slackpkg upgrade-all without missing a beat.
|
Quote:
|
All times are GMT -5. The time now is 11:46 PM. |