-
Notifications
You must be signed in to change notification settings - Fork 278
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
pkgng database corrupt, can't seem to fix it. #633
Comments
any details would be great ;) otherwise what version of pkg are you using, |
Thanks, that worked. I found the old issue with that and was just about to post it. Thanks so much. Thomas Burgess On Saturday, November 2, 2013 at 6:04 PM, Baptiste Daroussin wrote:
|
I keep this open as we need to detect and fix this properly |
I just came across this also. @bapt 's suggestion to remove /var/db/pkg/repo-* did the trick for me. Corruption happened when I interrupted with C-c during a (seemingly) infinite loop of scrolling messages from 'pkg update'. |
Same here, I too was impatient and assumed that the scrolling message during the pkg update was an unrecoverable error. It was scrolling with:
After I C-c'd, the db was corrupt and rm'ing /var/db/pkg-repo-* worked. If when doing the pkg update you get the same stuff scrolling by, be patient, and let it complete! |
@SirScott aye, I realised this after I’d deleted |
Fixed |
I get this error when i try to use pkgng
pkg: sqlite: database disk image is malformed (pkgdb.c:3069)
pkg: Unable to query repository
The text was updated successfully, but these errors were encountered: