I'm having some issues with my system and I would like to reinstall packages to see if that resolves it, but I'm not sure how I'd go about doing this. How do I reinstall all installed packages in Alpine Linux?
Asked
Active
Viewed 3,020 times
1 Answers
5
You can do this by using a combination of apk info and apk fix:
$ apk info | xargs sudo apk fix
Be careful however as this may break your system if you do not have enough storage available to reinstall every package.
Newbyte
- 856
- 1
- 9
- 31
-
1Why the downvote? Is there something wrong with this suggestion? – Newbyte Nov 29 '21 at 15:51