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

PPA installer removes existing data on package update #5192

Closed
kamilchodola opened this issue Jan 20, 2023 · 0 comments · Fixed by #6618
Closed

PPA installer removes existing data on package update #5192

kamilchodola opened this issue Jan 20, 2023 · 0 comments · Fixed by #6618
Assignees
Labels

Comments

@kamilchodola
Copy link
Contributor

Describe the bug
Noticed, that PPA scripts are removing entire directories /usr/share/nethermind and /usr/lib/nethermind.
We need to prevent from removing nethermind_db, keystore and configs directory in those location in case of users which are using only default values without moving DB to other place.

To Reproduce
Steps to reproduce the behavior:

  1. Install Nethermind with PPA
  2. Sync any chain just to have nethermind_db directory
  3. Execute sudo apt reinstall nethermind
  4. Observe: nethermind_db directory removed

Should be applied for apt remove and apt reinstall

@rubo rubo added the devops label Jan 20, 2023
@rubo rubo changed the title [PPA] Improve apt remove and apt reinstall to be more secure PPA installer removes existing data on package update Jan 21, 2023
@rubo rubo mentioned this issue Jan 25, 2024
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants