Skip to content

Ubuntu 20.02 dependency problems libqt5widgets5 #202

Closed
benreaves opened this issue Aug 10, 2020 · 3 comments
Closed

Ubuntu 20.02 dependency problems libqt5widgets5 #202

benreaves opened this issue Aug 10, 2020 · 3 comments

Comments

@benreaves

benreaves commented Aug 10, 2020

I'm migrating from ubuntu 18.04LTS to 20.04LTS and unable to install glogg on it. On AWS.

Preparing to unpack klogg-20.7.0-r650-Linux.deb ...
Unpacking klogg (20.7.0-r650) ...
dpkg: dependency problems prevent configuration of klogg:
 klogg depends on libqt5widgets5 (>= 5.9.5); however:
  Package libqt5widgets5 is not installed.
 klogg depends on libqt5concurrent5 (>= 5.9.5); however:
  Package libqt5concurrent5 is not installed.
 klogg depends on libqt5xml5 (>= 5.9.5); however:
  Package libqt5xml5 is not installed.

try installing the first of those dependencies:

Package libqt5widgets5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libqt5widgets5' has no installation candidate

I've gotten lost in the dependencies here... Getting a similar problem when running spyder and qt5 seems to be the problem. Any idea on installing qt5 on Ubuntu 20.04 on intel 64bit?
sudo apt install qt5-default also fails

@variar

Owner

variar commented Sep 13, 2020

Hi, looks like libqt5widgets5 should be in universe repository https://www.ubuntuupdates.org/package/core/focal/universe/base/libqt5widgets5

@benreaves

Author

benreaves commented Sep 22, 2020

I tried again today, I still get the error
klogg depends on libqt5widgets5 (>= 5.9.5)

and if you try installing that you get an error about a broken install
So this sequence of 3 commands works:

sudo apt --fix-broken install  # takes a while, lots of output
sudo apt install libqt5widgets5 libqt5xml5
sudo dpkg -i klogg-20.9.0-r672-Linux.deb

It's not the fault of klogg, but of of the 20.04 distribution or Amazon's AMI from which they expect us to install ubuntu 20.04. Anyway this works.

@variar

Owner

variar commented Sep 22, 2020

On fresh ubuntu docker containter this works as exptected installing all dependencies

docker run -ti --rm -v "$(pwd)":/usr/local ubuntu:focal /bin/bash
(inside container)
apt-get update
apt install /usr/local/packages/klogg-20.9.0-r0-Linux.deb
@benchegnzhou

Add a comment

Remember, contributions to this repository should follow its contributing guidelines, security policy, and code of conduct.
Show your support for variar by sponsoring them.
Projects
None yet
Development

No branches or pull requests

2 participants