runner-images icon indicating copy to clipboard operation
runner-images copied to clipboard

Package qtbase5-dev:i386 can't be installed

Open SNMetamorph opened this issue 2 years ago • 3 comments

Description

This package can't be installed using apt, but it was working well on ubuntu-18.04 environment.

Platforms affected

  • [ ] Azure DevOps
  • [X] GitHub Actions - Standard Runners
  • [ ] GitHub Actions - Larger Runners

Runner images affected

  • [ ] Ubuntu 18.04
  • [X] Ubuntu 20.04
  • [ ] Ubuntu 22.04
  • [ ] macOS 10.15
  • [ ] macOS 11
  • [ ] macOS 12
  • [ ] Windows Server 2019
  • [ ] Windows Server 2022

Image version and build link

Image: ubuntu-20.04 Version: 20221002.2

Is it regression?

On environment ubuntu-18.04

Expected behavior

When trying to install package it should work without any errors.

Actual behavior

When trying to install package it throws error:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 qtbase5-dev:i386 : Depends: libqt5concurrent5:i386 (= 5.12.8+dfsg-0ubuntu2.1) but it is not going to be installed
                    Depends: libqt5core5a:i386 (= 5.12.8+dfsg-0ubuntu2.1) but it is not going to be installed
                    Depends: libqt5dbus5:i386 (= 5.12.8+dfsg-0ubuntu2.1) but it is not going to be installed
                    Depends: libqt5gui5:i386 (= 5.12.8+dfsg-0ubuntu2.1) but it is not going to be installed
                    Depends: libqt5network5:i386 (= 5.12.8+dfsg-0ubuntu2.1) but it is not going to be installed
                    Depends: libqt5printsupport5:i386 (= 5.12.8+dfsg-0ubuntu2.1) but it is not going to be installed
                    Depends: libqt5sql5:i386 (= 5.12.8+dfsg-0ubuntu2.1) but it is not going to be installed
                    Depends: libqt5test5:i386 (= 5.12.8+dfsg-0ubuntu2.1) but it is not going to be installed
                    Depends: libqt5widgets5:i386 (= 5.12.8+dfsg-0ubuntu2.1) but it is not going to be installed
                    Depends: libqt5xml5:i386 (= 5.12.8+dfsg-0ubuntu2.1) but it is not going to be installed
                    Recommends: libqt5opengl5-dev:i386 (= 5.12.8+dfsg-0ubuntu2.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Repro steps

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install qtbase5-dev:i386

SNMetamorph avatar Oct 14 '22 14:10 SNMetamorph

Hey @SNMetamorph. You could use ubuntu-22.04.

image

al-cheb avatar Oct 14 '22 14:10 al-cheb

Hey @SNMetamorph. You could use ubuntu-22.04.

image

Yes, I can use it. But why it doesn't work on ubuntu-20.04? But also it works on WSL2 with Ubuntu 20.04

SNMetamorph avatar Oct 14 '22 16:10 SNMetamorph

It works on Ubuntu 20.04:

- run: |
    sudo apt install -y --allow-downgrades libpcre2-8-0=10.34-7
- run: |
    sudo dpkg --add-architecture i386
    sudo apt-get update
    sudo apt-get install qtbase5-dev:i386

image

al-cheb avatar Oct 15 '22 21:10 al-cheb

@al-cheb so I just should use command sudo apt install -y --allow-downgrades libpcre2-8-0=10.34-7 and it will work as it should?

SNMetamorph avatar Nov 09 '22 01:11 SNMetamorph