Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refs #17325 #17326

Closed
wants to merge 20 commits into from
Closed

refs #17325 #17326

wants to merge 20 commits into from

Conversation

timotheecour
Copy link
Member

@timotheecour timotheecour commented Mar 10, 2021

refs #17325

after instrumenting ci code:

Fetched 11.5 MB in 3s (3,601 kB/s)
Reading package lists...
ok4
Reading package lists...
Building dependency tree...
Reading state information...
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:
 g++-multilib : Depends: g++-5-multilib (>= 5.3.1-3~) but it is not going to be installed
 gcc-multilib : Depends: gcc-5-multilib (>= 5.3.1-3~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
##[error]Bash exited with code '100'.
Finishing: Install dependencies (i386 Linux)

/cc @alaviss since you introduced this in #11337; help welcome; looks like g++-multilib is now causing problems on i386

links

@timotheecour
Copy link
Member Author

The following packages have unmet dependencies:
 g++-multilib : Depends: gcc-multilib (>= 4:5.3.1-1ubuntu1) but it is not going to be installed
                Depends: g++-5-multilib (>= 5.3.1-3~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

@timotheecour
Copy link
Member Author

\nsudo apt show gcc-multilib

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Package: gcc-multilib
Version: 4:5.3.1-1ubuntu1
Priority: optional
Section: devel
Source: gcc-defaults (1.150ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 8,192 B
Depends: cpp (>= 4:5.3.1-1ubuntu1), gcc (>= 4:5.3.1-1ubuntu1), gcc-5-multilib (>= 5.3.1-3~), linux-libc-dev (>= 3.0.0-2)
Conflicts: gcc-4.9-aarch64-linux-gnu, gcc-4.9-alpha-linux-gnu, gcc-4.9-arm-linux-gnueabi, gcc-4.9-arm-linux-gnueabihf, gcc-4.9-hppa-linux-gnu, gcc-4.9-m68k-linux-gnu, gcc-4.9-mips-linux-gnu, gcc-4.9-mips64-linux-gnuabi64, gcc-4.9-mips64el-linux-gnuabi64, gcc-4.9-mipsel-linux-gnu, gcc-4.9-powerpc-linux-gnu, gcc-4.9-powerpc-linux-gnuspe, gcc-4.9-powerpc64-linux-gnu, gcc-4.9-powerpc64le-linux-gnu, gcc-4.9-s390x-linux-gnu, gcc-4.9-sh4-linux-gnu, gcc-4.9-sparc-linux-gnu, gcc-4.9-sparc64-linux-gnu, gcc-5-aarch64-linux-gnu, gcc-5-alpha-linux-gnu, gcc-5-arm-linux-gnueabi, gcc-5-arm-linux-gnueabihf, gcc-5-hppa-linux-gnu, gcc-5-m68k-linux-gnu, gcc-5-mips-linux-gnu, gcc-5-mips64-linux-gnuabi64, gcc-5-mips64el-linux-gnuabi64, gcc-5-mipsel-linux-gnu, gcc-5-powerpc-linux-gnu, gcc-5-powerpc-linux-gnuspe, gcc-5-powerpc64-linux-gnu, gcc-5-powerpc64le-linux-gnu, gcc-5-s390x-linux-gnu, gcc-5-sh4-linux-gnu, gcc-5-sparc-linux-gnu, gcc-5-sparc64-linux-gnu, gcc-6-aarch64-linux-gnu, gcc-6-alpha-linux-gnu, gcc-6-arm-linux-gnueabi, gcc-6-arm-linux-gnueabihf, gcc-6-hppa-linux-gnu, gcc-6-m68k-linux-gnu, gcc-6-mips-linux-gnu, gcc-6-mips64-linux-gnuabi64, gcc-6-mips64el-linux-gnuabi64, gcc-6-mipsel-linux-gnu, gcc-6-powerpc-linux-gnu, gcc-6-powerpc-linux-gnuspe, gcc-6-powerpc64-linux-gnu, gcc-6-powerpc64le-linux-gnu, gcc-6-s390x-linux-gnu, gcc-6-sh4-linux-gnu, gcc-6-sparc-linux-gnu, gcc-6-sparc64-linux-gnu
Supported: 5y
Download-Size: 1,212 B
APT-Sources: http://azure.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
Description: GNU C compiler (multilib files)
 This is the GNU C compiler, a fairly portable optimizing compiler for C.
 .
 A dependency package on architectures with multilib support; the package
 contains dependencies for the non-default multilib architecture(s).

@timotheecour
Copy link
Member Author

timotheecour commented Mar 11, 2021

sudo apt-get upgrade takes 5mn50 and then fails with: ERROR: The EULA was not accepted. Installation aborted.

ditto with sudo apt-get upgrade -y

2021-03-11T00:38:45.0279571Z sudo apt-get upgrade
2021-03-11T00:38:45.6037760Z The following packages have been kept back:
2021-03-11T00:38:45.6040338Z   cpp-9 g++-9 gcc-9 gcc-9-base gfortran-9 lib32gcc1 lib32stdc++6 libasan5
2021-03-11T00:38:45.6044740Z   libatomic1 libcc1-0 libgcc-9-dev libgcc1 libgd3 libgfortran-9-dev
2021-03-11T00:38:45.6047173Z   libgfortran5 libgomp1 libitm1 liblsan0 libobjc4 libquadmath0 libstdc++-9-dev
2021-03-11T00:38:45.6052631Z   libstdc++6 libtsan0 libubsan1
2021-03-11T00:38:45.6057317Z The following packages will be upgraded:
2021-03-11T00:38:45.6058690Z   aspnetcore-runtime-3.1 aspnetcore-runtime-5.0 dotnet-apphost-pack-3.1
2021-03-11T00:38:45.6059558Z   dotnet-apphost-pack-5.0 dotnet-host dotnet-hostfxr-3.1 dotnet-hostfxr-5.0
2021-03-11T00:38:45.6060443Z   dotnet-runtime-3.1 dotnet-runtime-5.0 dotnet-runtime-deps-3.1
2021-03-11T00:38:45.6062884Z   dotnet-runtime-deps-5.0 dotnet-sdk-3.1 dotnet-sdk-5.0 google-chrome-stable
2021-03-11T00:38:45.6064323Z   google-cloud-sdk heroku icu-devtools libglib2.0-0 libglib2.0-bin
2021-03-11T00:38:45.6065133Z   libglib2.0-data libglib2.0-dev libicu-dev libjbig-dev libjbig0
2021-03-11T00:38:45.6067003Z   libmemcached11 libpython2.7 libpython2.7-dev libpython2.7-minimal
2021-03-11T00:38:45.6067848Z   libpython2.7-stdlib libssl-doc libxml2 libxml2-dev libzstd1 moby-cli
2021-03-11T00:38:45.6068652Z   moby-containerd moby-engine msbuild msbuild-sdkresolver msodbcsql17
2021-03-11T00:38:45.6069387Z   php-memcache php-xdebug php7.4 php7.4-bcmath php7.4-bz2 php7.4-cgi
2021-03-11T00:38:45.6070153Z   php7.4-cli php7.4-common php7.4-curl php7.4-dba php7.4-dev php7.4-enchant
2021-03-11T00:38:45.6070984Z   php7.4-fpm php7.4-gd php7.4-gmp php7.4-imap php7.4-interbase php7.4-intl
2021-03-11T00:38:45.6071723Z   php7.4-json php7.4-ldap php7.4-mbstring php7.4-mysql php7.4-odbc
2021-03-11T00:38:45.6072476Z   php7.4-opcache php7.4-pgsql php7.4-phpdbg php7.4-pspell php7.4-readline
2021-03-11T00:38:45.6077924Z   php7.4-snmp php7.4-soap php7.4-sqlite3 php7.4-sybase php7.4-tidy php7.4-xml
2021-03-11T00:38:45.6078764Z   php7.4-xmlrpc php7.4-xsl php7.4-zip php8.0 php8.0-bcmath php8.0-bz2
2021-03-11T00:38:45.6079539Z   php8.0-cgi php8.0-cli php8.0-common php8.0-curl php8.0-dba php8.0-dev
2021-03-11T00:38:45.6080358Z   php8.0-enchant php8.0-fpm php8.0-gd php8.0-gmp php8.0-imap php8.0-interbase
2021-03-11T00:38:45.6081107Z   php8.0-intl php8.0-ldap php8.0-mbstring php8.0-memcache php8.0-mysql
2021-03-11T00:38:45.6081853Z   php8.0-odbc php8.0-opcache php8.0-pgsql php8.0-phpdbg php8.0-pspell
2021-03-11T00:38:45.6088594Z   php8.0-readline php8.0-snmp php8.0-soap php8.0-sqlite3 php8.0-sybase
2021-03-11T00:38:45.6089612Z   php8.0-tidy php8.0-xdebug php8.0-xml php8.0-xsl php8.0-zip python2.7
2021-03-11T00:38:45.6090360Z   python2.7-dev python2.7-minimal zstd
2021-03-11T00:38:46.6428260Z 115 upgraded, 0 newly installed, 0 to remove and 24 not upgraded.
2021-03-11T00:38:46.6429382Z Need to get 498 MB of archives.
...
2021-03-11T00:43:50.7425138Z Unpacking php8.0-xsl (8.0.3-1+ubuntu16.04.1+deb.sury.org+1) over (8.0.2-7+ubuntu16.04.1+deb.sury.org+1) ...
2021-03-11T00:43:50.8956434Z Preparing to unpack .../msodbcsql17_17.7.2.1-1_amd64.deb ...
2021-03-11T00:43:51.1337649Z ERROR: The EULA was not accepted. Installation aborted.
2021-03-11T00:43:51.1998955Z dpkg: error processing archive /var/cache/apt/archives/msodbcsql17_17.7.2.1-1_amd64.deb (--unpack):
2021-03-11T00:43:51.2000034Z  subprocess new pre-installation script returned error exit status 1
2021-03-11T00:43:51.3360646Z Processing triggers for man-db (2.7.5-1) ...
2021-03-11T00:44:11.9449338Z Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
2021-03-11T00:44:12.1735219Z Processing triggers for mime-support (3.59ubuntu1) ...
2021-03-11T00:44:12.3418763Z Processing triggers for ureadahead (0.100.0-19.1) ...
2021-03-11T00:44:12.5955555Z Processing triggers for systemd (229-4ubuntu21.29) ...
2021-03-11T00:44:13.0132641Z Errors were encountered while processing:
2021-03-11T00:44:13.0134306Z  /var/cache/apt/archives/msodbcsql17_17.7.2.1-1_amd64.deb
2021-03-11T00:44:14.8738705Z E: Sub-process /usr/bin/dpkg returned an error code (1)
2021-03-11T00:44:14.8807540Z ##[error]Bash exited with code '100'.

@timotheecour
Copy link
Member Author

sudo apt-get install --no-install-recommends --allow-downgrades -y gcc-5-multilib
Reading package lists...
Building dependency tree...
Reading state information...
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:
 gcc-5-multilib : Depends: lib32gcc-5-dev (= 5.5.0-12ubuntu1~16.04) but it is not going to be installed
                  Depends: libx32gcc-5-dev (= 5.5.0-12ubuntu1~16.04) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
##[error]Bash exited with code '100'.
Finishing: Install dependencies (i386 Linux)

@timotheecour
Copy link
Member Author

https://dev.azure.com/nim-lang/255dfe86-e590-40bb-a8a2-3c0295ebdeb1/_apis/build/builds/14108/logs/5

this didn't help:

        # set -e
        echo_run () {
          echo ""
          echo "$@"
	@@ -56,13 +56,25 @@ jobs:
        # DEBIAN_FRONTEND='noninteractive' echo_run sudo apt-get upgrade -y
        DEBIAN_FRONTEND='noninteractive' \
          echo_run sudo apt-get install --allow-downgrades -y \
            gcc-5-multilib
        DEBIAN_FRONTEND='noninteractive' \
          echo_run sudo apt-get install --allow-downgrades -y \
            g++-5-multilib
        DEBIAN_FRONTEND='noninteractive' \
          echo_run sudo apt-get install -y \
            gcc-5-multilib
        DEBIAN_FRONTEND='noninteractive' echo_run sudo apt-get upgrade -y
        DEBIAN_FRONTEND='noninteractive' \
          echo_run sudo apt-get install --allow-downgrades -y \
            gcc-multilib
        set -e

@timotheecour
Copy link
Member Author

timotheecour commented Mar 11, 2021

nothing i tried (keeping ubuntu 16.04) works, so going for the simpler #17327 instead

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

Successfully merging this pull request may close these issues.

1 participant