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

Add a postinst script that safely transitions to the new package formats #536

Closed
natanjunges opened this issue Sep 22, 2022 · 0 comments · Fixed by #540
Closed

Add a postinst script that safely transitions to the new package formats #536

natanjunges opened this issue Sep 22, 2022 · 0 comments · Fixed by #540

Comments

@natanjunges
Copy link
Contributor

Expected behavior

The update to a next version should be as uneventful as possible, with previously installed packages correctly detected and set up.

Actual behavior

Since many packages were changed since last release (the global ASCII keys were replaced by local binary keys, with PPAs greatly affected by this, appimagelauncher no longer uses an apt repository), if deb-get is updated without properly handling those changes, many previously installed packages will leave behind potentially harmful stale files.

Proposed solution

A postinst script could be added to detect the previously installed packages, filter which ones are affected by the breaking changes and clean up any files that they left behind.

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 a pull request may close this issue.

1 participant