appimaged
appimaged copied to clipboard
Cannot install appimaged on openSUSE due to broken dependency
@azubieta please check whether the dependencies are accurately reflected in the rpm and deb packages.
linux@localhost:~> sudo zypper in Downloads/appimaged-appimaged-1_alpha-git23a3b00.travis197.x86_64.rpm
Loading repository data...
Reading installed packages...
Resolving package dependencies...
Problem: nothing provides libglib2.0-0 needed by appimaged-appimaged-1_alpha-git23a3b00~travis197.x86_64
Solution 1: do not install appimaged-appimaged-1_alpha-git23a3b00~travis197.x86_64
Solution 2: break appimaged-appimaged-1_alpha-git23a3b00~travis197.x86_64 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c] (c):
Distro makers LOVE to change libraries names: in openSUSE you can find glib2 under the name of libglib2.0_0
notice the change of '-' by '_'.
We would need to spin another rpm package just for openSUSE.
iirc one can specify dependencies in RPMs not only using package names but also .so names. Maybe this helps?
To add to this, it also fails on Fedora 30 (using dnf
):
Error:
Problem: conflicting requests
- nothing provides libarchive13 needed by appimaged-appimaged-1_alpha-git23a3b00~travis197.x86_64
- nothing provides libglib2.0-0 needed by appimaged-appimaged-1_alpha-git23a3b00~travis197.x86_64
- nothing provides zlib1g needed by appimaged-appimaged-1_alpha-git23a3b00~travis197.x86_64
- nothing provides libc6 >= 2.4 needed by appimaged-appimaged-1_alpha-git23a3b00~travis197.x86_64
libarchive
as different so names in Fedora and openSuse, the solution here is to spin two different packages. Or suggest user to ignore missing package (that worked for me).
Fount that it's possible to declare boolean dependencies on rpm packages but this feature is available after RPM 4.13. We are using an older one.
Thank you very much @azubieta, highly appreciated!