Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Gentoo > current. Have used: Red Hat 7.3, 9, Gentoo 1.4
Posts: 400
Rep:
RPM Problems
Well, first the apt-get function wouldn't read my package list, then RPM wouldn't read my database, then I attempted to rebuild the RPM database and it gave this error after about 3 minutes:
error: db4 error(16) from dbenv->remove: Device or resource busy
the database may well have become locked, a stale file may be sitting there. try adding a couple of extra -v's to the commend line for a stupid amount of information.
Distribution: Gentoo > current. Have used: Red Hat 7.3, 9, Gentoo 1.4
Posts: 400
Original Poster
Rep:
Well, there was about 10,000 lines of output, but I gave the last 20 or so that looked important:
D: read h# 818 Header V3 DSA signature: OK, key ID db42a60e
D: +++ h# 820 Header V3 DSA signature: OK, key ID db42a60e
D: adding "switchdesk-gnome" to Name index.
D: adding "switchdesk-gnome" to Basenames index.
D: adding "User Interface/Desktops" to Group index.
D: adding 13 entries to Requirename index.
D: adding "switchdesk-gnome" to Providename index.
D: adding "/usr/bin/" to Dirnames index.
D: adding 13 entries to Requireversion index.
D: adding "3.9.8-15" to Provideversion index.
D: adding 1 entries to Installtid index.
D: adding 1 entries to Sigmd5 index.
D: adding "d0d20802fbb7306159ca28db14c44a0dad149086" to Sha1header index.
D: adding 1 entries to Filemd5s index.
D: closed db index /var/lib/rpm/Packages
D: closed db environment /var/lib/rpm/Packages
error: db4 error(16) from dbenv->remove: Device or resource busy
D: removed db environment /var/lib/rpm/Packages
D: closed db index /var/lib/rpmrebuilddb.3231/Pubkeys
D: closed db index /var/lib/rpmrebuilddb.3231/Filemd5s
D: closed db index /var/lib/rpmrebuilddb.3231/Sha1header
D: closed db index /var/lib/rpmrebuilddb.3231/Sigmd5
D: closed db index /var/lib/rpmrebuilddb.3231/Installtid
D: closed db index /var/lib/rpmrebuilddb.3231/Provideversion
D: closed db index /var/lib/rpmrebuilddb.3231/Requireversion
D: closed db index /var/lib/rpmrebuilddb.3231/Dirnames
D: closed db index /var/lib/rpmrebuilddb.3231/Triggername
D: closed db index /var/lib/rpmrebuilddb.3231/Conflictname
D: closed db index /var/lib/rpmrebuilddb.3231/Providename
D: closed db index /var/lib/rpmrebuilddb.3231/Requirename
D: closed db index /var/lib/rpmrebuilddb.3231/Group
D: closed db index /var/lib/rpmrebuilddb.3231/Basenames
D: closed db index /var/lib/rpmrebuilddb.3231/Name
D: closed db index /var/lib/rpmrebuilddb.3231/Packages
D: closed db environment /var/lib/rpmrebuilddb.3231/Packages
D: removed db environment /var/lib/rpmrebuilddb.3231/Packages
D: removing directory /var/lib/rpmrebuilddb.3231
D: closed db index /var/lib/rpm/Pubkeys
D: closed db index /var/lib/rpm/Packages
D: closed db environment /var/lib/rpm/Packages
Distribution: Gentoo > current. Have used: Red Hat 7.3, 9, Gentoo 1.4
Posts: 400
Original Poster
Rep:
Well, I have slightly different output now:
D: adding 14 entries to Filemd5s index.
D: read h# 818 Header V3 DSA signature: OK, key ID db42a60e
D: +++ h# 820 Header V3 DSA signature: OK, key ID db42a60e
D: adding "libgcj" to Name index.
D: adding 20 entries to Basenames index.
D: adding "System Environment/Libraries" to Group index.
D: adding 26 entries to Requirename index.
D: adding 2 entries to Providename index.
D: adding "kaffe" to Conflictname index.
D: adding 7 entries to Dirnames index.
D: adding 26 entries to Requireversion index.
D: adding 2 entries to Provideversion index.
D: adding 1 entries to Installtid index.
D: adding 1 entries to Sigmd5 index.
D: adding "e844ca9218e078e4fa3f8dee6e1781d5c75cb211" to Sha1header index.
D: adding 20 entries to Filemd5s index.
D: closed db index /var/lib/rpm/Packages
D: closed db environment /var/lib/rpm/Packages
error: db4 error(16) from dbenv->remove: Device or resource busy
D: removed db environment /var/lib/rpm/Packages
D: closed db index /var/lib/rpmrebuilddb.4000/Pubkeys
D: closed db index /var/lib/rpmrebuilddb.4000/Filemd5s
D: closed db index /var/lib/rpmrebuilddb.4000/Sha1header
D: closed db index /var/lib/rpmrebuilddb.4000/Sigmd5
D: closed db index /var/lib/rpmrebuilddb.4000/Installtid
D: closed db index /var/lib/rpmrebuilddb.4000/Provideversion
D: closed db index /var/lib/rpmrebuilddb.4000/Requireversion
D: closed db index /var/lib/rpmrebuilddb.4000/Dirnames
D: closed db index /var/lib/rpmrebuilddb.4000/Triggername
D: closed db index /var/lib/rpmrebuilddb.4000/Conflictname
D: closed db index /var/lib/rpmrebuilddb.4000/Providename
D: closed db index /var/lib/rpmrebuilddb.4000/Requirename
D: closed db index /var/lib/rpmrebuilddb.4000/Group
D: closed db index /var/lib/rpmrebuilddb.4000/Basenames
D: closed db index /var/lib/rpmrebuilddb.4000/Name
D: closed db index /var/lib/rpmrebuilddb.4000/Packages
D: closed db environment /var/lib/rpmrebuilddb.4000/Packages
D: removed db environment /var/lib/rpmrebuilddb.4000/Packages
D: removing directory /var/lib/rpmrebuilddb.4000
D: closed db index /var/lib/rpm/Pubkeys
D: closed db index /var/lib/rpm/Packages
D: closed db environment /var/lib/rpm/Packages
Well I have to go to work now, I'll check back around midnight or so. Thanks in advance!!
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637
Rep:
Not that I'm experienced in any way, but can you find out which "Device or resource" is busy now? I mean, that's an awful difference, there, device or resource. Maybe then you see where it is locked.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.