Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No option to re-install a package #34

Closed
jtudelag opened this issue Mar 1, 2018 · 3 comments
Closed

No option to re-install a package #34

jtudelag opened this issue Mar 1, 2018 · 3 comments
Assignees

Comments

@jtudelag
Copy link

jtudelag commented Mar 1, 2018

Currently microdnf does not implement any option to reinstall a package. So let's say someone removes a file installed by a given package.

The only option to re-install it, would be to remove it with rpm and run a microdnf install again.
IMHO adding "reinstall" or "install --force" would be a good approach.

@esamattis
Copy link

esamattis commented Dec 4, 2019

For anyone coming from google the rpm remove goes like this

rpm --erase --nodeps tzdata && microdnf install tzdata

I had to do this to fix broken tzdata package on the ubi8 minimal image.

@jrohel
Copy link
Contributor

jrohel commented Dec 6, 2019

OK. I started work on the reinstall command. PR #61

@jrohel
Copy link
Contributor

jrohel commented Jan 17, 2020

Command reinstall implemented in #61

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants