5

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?

1 Answer 1

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.

1
  • 1
    Why the downvote? Is there something wrong with this suggestion?
    – Newbyte
    Nov 29, 2021 at 15:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.