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

proposal: have checksums of files installed by kiss from package to find changed/broken files #98

Open
apprehensions opened this issue Sep 5, 2022 · 6 comments
Labels

Comments

@apprehensions
Copy link

related: xbps-pkgdb -a, this utility uses the package manager's database of file checksums installed by a package and checks if they match, i used to find this quite useful on Void to easily find broken files or configuration files.

personally, i never found a use for this when i switched to kiss linux.

@aabacchus
Copy link
Member

This already happens for files in /etc, are you suggesting to checksum every file installed?

@apprehensions
Copy link
Author

Yes

@illiliti
Copy link
Member

illiliti commented Sep 7, 2022

We would have to switch to a more faster hash algo because sha256 is slow.

@aabacchus
Copy link
Member

Do you often find files to have been accidentally edited? Even if you do, storing checksums of every file can only tell you if a file has been changed, and can't help in restoring it. For some packages, this store would take a long time to make and be relatively large in size.

The existing manifest can be used to make sure no files have been deleted.

@apprehensions
Copy link
Author

and can't help in restoring it.

yes, I at least know what package the file belongs to and I can reinstall it.

@ioraff ioraff added the proposal label Sep 7, 2022
@git-bruh
Copy link
Member

@kiss-community kiss-community locked and limited conversation to collaborators Sep 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants