$ sudo urpmi bcompare-4.2.2.22384.x86_64.rpm
A requested package cannot be installed:
bcompare-4.2.2-22384.x86_64 (due to unsatisfied qt-x11)
Normally in a situation like this the urpmi utility would offer to install the missing dependency, but it did not. Apparently nothing in Mageia 6 fulfills something called "qt-x11", so it is left to me to resolve missing dependencies. Use of the tarball allows me to use tools that show which shared objects are missing:
$ tar -xzf bcompare-4.2.2.22384.x86_64.tar.gz
$ cd bcompare-4.2.2.22384
$ ./BCompare
./BCompare: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory
$ strace ./BCompare
...
open("/usr/lib64/lib7z.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
...
$ ls -l /usr/lib64/libbz2*
lrwxrwxrwx 1 root root 15 Nov 24 2016 /usr/lib64/libbz2.so.1 -> libbz2.so.1.0.6*
-rwxr-xr-x 1 root root 68232 Nov 24 2016 /usr/lib64/libbz2.so.1.0.6*
$ sudo ln -s /usr/lib64/libbz2.so.1.0.6 /usr/lib64/libbz2.so.1.0
$ ./BCompare
./BCompare: error while loading shared libraries: lib7z.so: cannot open shared object file: No such file or directory
$ strace ./BCompare
...
open("/usr/lib64/lib7z.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
...
$ urpmq --fuzzy 7z
j7z
j7z-kde4
j7z-plasma5
p7zip
$ urpmq -l p7zip
...
/usr/lib64/p7zip/7z.so
...
$ sudo urpmi p7zip
Package p7zip-16.02-2.mga6.x86_64 is already installed
Marking p7zip as manually installed, it won't be auto-orphaned
writing /var/lib/rpm/installed-through-deps.list
$ sudo ln -s /usr/lib64/p7zip/7z.so /usr/lib64/lib7z.so
$ ./BCompare
./BCompare: error while loading shared libraries: libQt4Pas.so.5: cannot open shared object file: No such file or directory
$ urpmq --fuzzy qt4
...
qt4pas
...
$ sudo urpmq -l qt4pas
http://mirrors.kernel.org/mageia/dis...files.xml.lzma
http://mirrors.kernel.org/mageia/dis...files.xml.lzma
$MIRRORLIST: media/core/release/media_info/20170714-192548-files.xml.lzma
/usr/lib64/libQt4Pas.so.5
$ sudo urpmi qt4pas
$ ./BCompare
Success...
It seems preferable to use the RPM, so attempt installation now that dependencies are resolved:
$ sudo urpmi bcompare-4.2.2.22384.x86_64.rpm
A requested package cannot be installed:
bcompare-4.2.2-22384.x86_64 (due to unsatisfied qt-x11)
Unfortunately, even though I resolved the dependencies, the bcompare RPM does not realize I have done so... It appears, then, that --allow-nodeps, is the most straight-forward workaround since I have proven I have all the required dependencies installed:
$ sudo urpmi --allow-nodeps bcompare-4.2.2.22384.x86_64.rpm
WARNING: --allow-nodeps option is in use. Some strange problems may happen
warning: bcompare-4.2.2.22384.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7f8840ce: NOKEY
The following package has bad signature:
bcompare-4.2.2.22384.x86_64.rpm: Invalid signature (NOT OK (no key): bcompare-4.2.2.22384.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7f8840ce: NOKEY)
Do you want to continue installation ? (y/N) Y
installing bcompare-4.2.2.22384.x86_64.rpm
Installation failed:
qt-x11 is needed by bcompare-4.2.2-22384.x86_64
Try installation without checking dependencies? (y/N) y
Preparing... ################################################## ################
1/1: bcompare ################################################## ################
error: can't create transaction lock on /var/lib/rpm/__db.000 (Resource temporarily unavailable)
error: /usr/lib64/beyondcompare/RPM-GPG-KEY-scootersoftware: key 1 import failed.
Since error messages occurred, determine whether installation succeeded:
$ rpm -qa | grep -i compare
bcompare-4.2.2-22384
Remove the expanded tarball because use of the RPM is preferred:
$ cd ..
$ rm -rf bcompare-4.2.2.22384
Test the RPM installation...
$ bcompare
Success...
A requested package cannot be installed:
bcompare-4.2.2-22384.x86_64 (due to unsatisfied qt-x11)
Normally in a situation like this the urpmi utility would offer to install the missing dependency, but it did not. Apparently nothing in Mageia 6 fulfills something called "qt-x11", so it is left to me to resolve missing dependencies. Use of the tarball allows me to use tools that show which shared objects are missing:
$ tar -xzf bcompare-4.2.2.22384.x86_64.tar.gz
$ cd bcompare-4.2.2.22384
$ ./BCompare
./BCompare: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory
$ strace ./BCompare
...
open("/usr/lib64/lib7z.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
...
$ ls -l /usr/lib64/libbz2*
lrwxrwxrwx 1 root root 15 Nov 24 2016 /usr/lib64/libbz2.so.1 -> libbz2.so.1.0.6*
-rwxr-xr-x 1 root root 68232 Nov 24 2016 /usr/lib64/libbz2.so.1.0.6*
$ sudo ln -s /usr/lib64/libbz2.so.1.0.6 /usr/lib64/libbz2.so.1.0
$ ./BCompare
./BCompare: error while loading shared libraries: lib7z.so: cannot open shared object file: No such file or directory
$ strace ./BCompare
...
open("/usr/lib64/lib7z.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
...
$ urpmq --fuzzy 7z
j7z
j7z-kde4
j7z-plasma5
p7zip
$ urpmq -l p7zip
...
/usr/lib64/p7zip/7z.so
...
$ sudo urpmi p7zip
Package p7zip-16.02-2.mga6.x86_64 is already installed
Marking p7zip as manually installed, it won't be auto-orphaned
writing /var/lib/rpm/installed-through-deps.list
$ sudo ln -s /usr/lib64/p7zip/7z.so /usr/lib64/lib7z.so
$ ./BCompare
./BCompare: error while loading shared libraries: libQt4Pas.so.5: cannot open shared object file: No such file or directory
$ urpmq --fuzzy qt4
...
qt4pas
...
$ sudo urpmq -l qt4pas
http://mirrors.kernel.org/mageia/dis...files.xml.lzma
http://mirrors.kernel.org/mageia/dis...files.xml.lzma
$MIRRORLIST: media/core/release/media_info/20170714-192548-files.xml.lzma
/usr/lib64/libQt4Pas.so.5
$ sudo urpmi qt4pas
$ ./BCompare
Success...
It seems preferable to use the RPM, so attempt installation now that dependencies are resolved:
$ sudo urpmi bcompare-4.2.2.22384.x86_64.rpm
A requested package cannot be installed:
bcompare-4.2.2-22384.x86_64 (due to unsatisfied qt-x11)
Unfortunately, even though I resolved the dependencies, the bcompare RPM does not realize I have done so... It appears, then, that --allow-nodeps, is the most straight-forward workaround since I have proven I have all the required dependencies installed:
$ sudo urpmi --allow-nodeps bcompare-4.2.2.22384.x86_64.rpm
WARNING: --allow-nodeps option is in use. Some strange problems may happen
warning: bcompare-4.2.2.22384.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7f8840ce: NOKEY
The following package has bad signature:
bcompare-4.2.2.22384.x86_64.rpm: Invalid signature (NOT OK (no key): bcompare-4.2.2.22384.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7f8840ce: NOKEY)
Do you want to continue installation ? (y/N) Y
installing bcompare-4.2.2.22384.x86_64.rpm
Installation failed:
qt-x11 is needed by bcompare-4.2.2-22384.x86_64
Try installation without checking dependencies? (y/N) y
Preparing... ################################################## ################
1/1: bcompare ################################################## ################
error: can't create transaction lock on /var/lib/rpm/__db.000 (Resource temporarily unavailable)
error: /usr/lib64/beyondcompare/RPM-GPG-KEY-scootersoftware: key 1 import failed.
Since error messages occurred, determine whether installation succeeded:
$ rpm -qa | grep -i compare
bcompare-4.2.2-22384
Remove the expanded tarball because use of the RPM is preferred:
$ cd ..
$ rm -rf bcompare-4.2.2.22384
Test the RPM installation...
$ bcompare
Success...
Comment