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

Unlocking a previous deployment makes pacman database incoherent #930

Open
NeroReflex opened this issue Apr 7, 2024 · 0 comments
Open

Comments

@NeroReflex
Copy link
Contributor

One can end up in a state where pacman has a database not relevant to the current deployment and can break the system.

Steps to reproduce:

  1. start with a locked image
  2. deploy another image
  3. boot the old image
  4. unlock that one
  5. boot the new deployment

Option two:

  1. start with a locked image
  2. deploy another image
  3. unlock the currently-running image
  4. boot the new deployment

The result will be a locked deployment that has the pacman database of the older image. Attempting to update the system breaks it. Attempting to install a package will install something that might not work due to needed libraries not being ABI-compatible.

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