You are not logged in.
Pages: 1
Noticed the following output from pacman -Su this morning:
(1/4) upgrading db [#####################] 100%
ATTENTION DB PACKAGE:
Please consider to run db_upgrade on Berkeley DB databases with a major db version number update.
I've never dealt with this before and there's no man page for db_upgrade. It seems to require several arguments though.
Does anyone know how to do this properly on an arch system, or how to tell if I should even do it?
Please explain the command and arguments you would recommend in case others have more to add.
Offline
maybe this helps: http://www.manpagez.com/man/1/db_upgrade/
also, google helps a lot
Offline
Note that you update probably was not a major db upgrade (e.g 4.6.x to 4.7.x) so then you can ignore that message.
Also, I do not think I have ever done anything with that message... But don't take that as good advise.
Offline
Thanks for the replies so far. In the interim I did manage to find some information (including the man page) via google.
As is often the case though, the information I found is only useful if you already know, or sort of know, what you are doing.
I also found an earlier posting in the arch forums from 2006. Following the recommended diagnostic steps, I see that I have about 20 Berkeley db files which might be candidates for an upgrade (whatever that means). Specifically, I have "Btree version 9" database files, "Hash version 2" database files, and "Hash version 9" database files.
All of this makes little sense, so for the moment I think ignoring the message altogther is the safest option.
If anyone knows more, please do post your suggestions...
Offline
I'm also not sure what to do. Can someone help? Just got this message today as well after running some updates. Thanks!
Offline
I also found an earlier posting in the arch forums from 2006. Following the recommended diagnostic steps,
you, sir, madam, or esteemed object, apparently have stronger search-fu than i. would you be so kind as to post the link to the old forum thread for all the world's enlightenment?
many thanks in advance of the event.
[23:00:16] dr_kludge | i want to invent an olfactory human-computer interface, integrate it into the web standards, then produce my own forked browser.
[23:00:32] dr_kludge | can you guess what i'd call it?
[23:01:16] dr_kludge | nosilla.
[23:01:32] dr_kludge | i really should be going to bed. i'm giggling madly about that.
Offline
It was not so hard, my first try was to look for "Please consider to run db_upgrade" and it worked :
http://bbs.archlinux.org/viewtopic.php?id=23217
The proposed method to look for berkeley db is unnecessary complicated, it can all be done in one step :
slocate \*.db | xargs file | grep -i berkeley
or
find -name \*.db | xargs file | grep -i berkeley
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
ah. thank you very much. i can't believe i didn't figure that out myself. in fact, i did, but without realizing that .db files are berkeley databases; some page i googled referred to .bdb files, of which i have none, so i got confused.
thanks much!
[23:00:16] dr_kludge | i want to invent an olfactory human-computer interface, integrate it into the web standards, then produce my own forked browser.
[23:00:32] dr_kludge | can you guess what i'd call it?
[23:01:16] dr_kludge | nosilla.
[23:01:32] dr_kludge | i really should be going to bed. i'm giggling madly about that.
Offline
Pages: 1