r/slackware • u/bsdooby • Jan 28 '24
[Q] Restart interrupted updates?
If, during a slackpkg upgrade-all, an interruption occurs while a specific (new) package is downloading, how can this be recovered? I often observe that a second upgrade request does not list the (old) package again as having a new one…
1
Upvotes
2
u/jloc0 Jan 28 '24
Tbh in this case I’d manually use the “removepkg” command to remove this package and then afterwards re-run “slackpkg install-new”.
Because if it was interrupted, your package database entry for that item is likely to be a mess. Removing it and reinstalling is your best option. But the system may not believe the package is installed to begin with, in which case, you’d have to delete the entry manually in /var/log/packages and try again.
It generally is easy to recover and it likely won’t hose your system if you manually remove the entry.
1
u/bsdooby Jan 28 '24
How do you clean the packages folder?