Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Cannot install appimaged on openSUSE due to broken dependency #89

Open
probonopd opened this issue May 25, 2019 · 6 comments
Open

Cannot install appimaged on openSUSE due to broken dependency #89

probonopd opened this issue May 25, 2019 · 6 comments

Comments

@probonopd
Copy link
Member

@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): 
@azubieta
Copy link
Contributor

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.

@probonopd
Copy link
Member Author

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

@eatsfoobars
Copy link

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

@azubieta
Copy link
Contributor

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
Copy link
Contributor

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.

@probonopd
Copy link
Member Author

Thank you very much @azubieta, highly appreciated!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants