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

Allow leapp packages to be removed #153

Closed
wants to merge 1 commit into from
Closed

Conversation

gothicx
Copy link

@gothicx gothicx commented Jan 29, 2024

Leapp packages that were installed with the Leapp utility are automatically added to the exclude list to prevent critical files from being removed

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/upgrading_from_rhel_7_to_rhel_8/performing-post-upgrade-tasks-rhel-7-to-rhel-8_upgrading-from-rhel-7-to-rhel-8#doc-wrapper

Copy link
Collaborator

@djdanielsson djdanielsson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think changing from package to yum and then using excludes option if passing blank excludes then allows it to be removed is a lot better then using a command to do this. if that doesn't work (someone would need to test to verify) then there are some other changes that would be required for lint... speaking of which.... just realized that isn't working....

Copy link
Collaborator

@djdanielsson djdanielsson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comment

@djdanielsson
Copy link
Collaborator

yum module actually has disable_excludes option which I think is better, if you update to use that then I will approve

@jeffmcutter
Copy link
Collaborator

@swapdisk
Copy link
Member

As Jeffery noted, the Clean dnf exclude list task earlier in this task file is already doing this.

@swapdisk swapdisk closed this Apr 30, 2024
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

Successfully merging this pull request may close these issues.

4 participants