Hi all,after successfull installation of openSUSE-15.3(LEAP) onto my Desktop, I am unable to add/install/update any software in openSUSE 15.3
Please help me out.
ocalhost:/etc # zypper install lsb
warning: Found BDB Packages database while attempting ndb backend: using bdb_ro backend.
warning: Found BDB Packages database while attempting ndb backend: using bdb_ro backend.
warning: Found BDB Packages database while attempting ndb backend: using bdb_ro backend.
Loading repository data…
Reading installed packages…
warning: Found BDB Packages database while attempting ndb backend: using bdb_ro backend.
Resolving package dependencies…
The following NEW package is going to be installed:
lsb
1 new package to install.
Overall download size: 14.1 KiB. Already cached: 0 B. After the operation, additional 110.0 B will be used.
Continue? [y/n/v/…? shows all options] (y): Y
Retrieving package lsb-4.0.fake-lp153.2.3.1.x86_64 (1/1), 14.1 KiB ( 110 B unpacked)
Retrieving: lsb-4.0.fake-lp153.2.3.1.x86_64.rpm …[done (8.3 KiB/s)]
Checking for file conflicts: --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]warning: Found BDB Packages database while attempting ndb backend: using bdb_ro backend.
Checking for file conflicts: …[done]
(1/1) Installing: lsb-4.0.fake-lp153.2.3.1.x86_64 …[error]
Installation of lsb-4.0.fake-lp153.2.3.1.x86_64 failed: Error: Subprocess failed. Error: RPM failed: warning: Found BDB Packages database while attempting ndb backend: using bdb_ro backend.
warning: Found BDB Packages database while attempting ndb backend: using bdb_ro backend.
error: cannot open Packages index using unknown db - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
Abort, retry, ignore? [a/r/i] (a): a
warning: Found BDB Packages database while attempting ndb backend: using bdb_ro backend.
Problem occurred during or after installation or removal of packages:
Installation has been aborted as directed.
Please see the above error message for a hint.
localhost:/etc #
Do you have any non-standard repos enabled. I’m thinking you probably must to cause any db message. If yes, please provide output from sudo zypper lr -d | susepaste.
First, using all capitals is considered very rude - it is the same as shouting loud. Please, do not do it. Demanding answer 15 minutes after your post is not polite either - we all visit this forum in out spare time.
I follow your instructions,Friend.
Please look at this:—>
localhost:/home/kgtabon29 # which rpm
/bin/rpm
localhost:/home/kgtabon29 # rpm -qif "$(which rpm)"
file /bin/rpm is not owned by any package
localhost:/home/kgtabon29 #
All three having a problem with rpm dbs? There might be something wrong with your installation media. Try using the NET installer instead of the DVD installer, or re-downloading the DVD .iso with a downloader (e.g. curl or wget) instead of web browser, verifying the download is good, and burning a different USB or DVD.
OK I was wrong. bdb_ro was backported and there are two variants of rpm package - plain “rpm” (without bdb_ro and with default backend bdb) and “rpm-ndb” (with bdb_ro, without bdb and with default backend ndb). So the problem may theoretically happen if for some reasons rpm-ndb was installed instead of normal rpm. It is very unlikely that it happened post-installation (rpm-ndb conflicts with rpm and cannot be installed if bdb database is present, so using zypper it first removes rpm, then installation of rpm-ndb fails and we are left without any package management tool).
So more information about installation is needed (exact image used during installation, link to this image will certainly be helpful), whether any software was selected manually. Result of save_y2logs immediately after installation would also be needed (it will contain full logs of yast2 activity during installation including what packages have been installed).
Found out the culprit.
This is my 4th successful installation of openSUSE Leap-15.3 onto my Desktop-PC.
This time there was no mistake.
While installing packages,under the basic packages under package management of installer,there were two packages rpm and **rpm-nbd
Just we have to be careful of not installing the rpm-nbd package and rpm package simultaneously.
**In fact selecting rpm-nbd,deselects the rpm package.But you could select rpm package along with rpm-nbd without any error message of dependency problems/issues.
Now openSUSE is functioning as usual,normal like a breeze.
The defaults should install RPM you should not mess with basic install defaults until you have successfully installed OS unless you truly know what you are doing.