appimaged icon indicating copy to clipboard operation
appimaged copied to clipboard

Cannot install appimaged on openSUSE due to broken dependency

Open probonopd opened this issue 5 years ago • 6 comments

@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): 

probonopd avatar May 25 '19 05:05 probonopd

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.

azubieta avatar May 26 '19 05:05 azubieta

iirc one can specify dependencies in RPMs not only using package names but also .so names. Maybe this helps?

probonopd avatar May 26 '19 06:05 probonopd

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

eatsfoobars avatar May 26 '19 11:05 eatsfoobars

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).

azubieta avatar May 30 '19 22:05 azubieta

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.

azubieta avatar May 30 '19 22:05 azubieta

Thank you very much @azubieta, highly appreciated!

probonopd avatar Jun 02 '19 05:06 probonopd