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

Going from using local-rpm to upstream version of a specific package. #772

Open
postmannen opened this issue Sep 1, 2020 · 3 comments
Open

Comments

@postmannen
Copy link

postmannen commented Sep 1, 2020

We want to ditch a custom package and replace it with the same but newer version upstream.

I've tried searching for info about this and also asking on the IRC but so far it seems it is not possible based on the answers I've got.

In my mixer an earlier version of NetworkManager v1.20.4 was installed with local packages in local-rpms. I try to remove the files in the local-rpms, and keep the include(NetworkManager) entry in the local-bundles, do a version update --upstream-version latest, and rebuild. But it still continues to keep the 1.20.4 version and do not pick the latest upstream.

  1. Is this possible, and in case how, and preferably with a detailed routine of how to do it ?
  2. Could this be built into the mixer-tools ? We got mixer add-rpms today, could there also be a remove-rpm which let us go back to using the default upstream bundles/packages ?
@postmannen
Copy link
Author

Seems like deleting the package rpm files both under local-rpms and local-yum removes all the traces of the custom package, and then after a new build it switches to using the latest upstream version.

If anyone can confirm that this is the right procedure it would be really great.

@postmannen
Copy link
Author

A little odd..
Did the first testing in a lab environment where the deletion seemed to work ok.
But when testing on my prod server building the mix after deleting the NetworkManager-* from both local-rpms and local-yum, then building the bundles give the following error
Error: Error building bundles: rpm not found for pkg: NetworkManager-config-1.20.4-61.x86_64

Any help or advice would be highly appreciated.

@postmannen
Copy link
Author

postmannen commented Sep 2, 2020

Seem like the trick was to do a mixer add-rpms after deleting the files in the local-rpms and local-yum directories. Then the build worked, and the latest upstream version of NetworkManager was used.

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

1 participant