Package dependency issue on standard Ubuntu 21.04 Hirsute Hippo on Rpi4 Aarch64
gerwindehaan opened this issue · 2 comments
Running my Raspberry Pi rpi4 on Ubuntu 21.04 Hirsute Hippo (Aarch64 version):
$ uname -a
Linux rpi4 5.11.0-1007-raspi #7-Ubuntu SMP PREEMPT Wed Apr 14 22:08:05 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 21.04
Release: 21.04
Codename: hirsute
Attempt to install through apt
:
$ curl -s https://packagecloud.io/install/repositories/swift-arm/release/script.deb.sh | sudo bash
$ sudo apt-get install swiftlang
fails in the following way:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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:
swiftlang : Depends: libpython3.8 but it is not installable
E: Unable to correct problems, you have held broken packages.
It appears (some) dependencies are not up-to-date for the default packages this release.
In particular libpython3.8
fails (which is now on 3.9, 3.8 is not supported anymore https://launchpad.net/ubuntu/hirsute/amd64/libpython3.8).
@gerwindehaan I have just uploaded a new package that fixes this problem. There was a typo for the libpython install. It should have been libpython3.9
This release is the first for 21.04 so there may been other issues that haven't been found yet.
That did the job ✅
Thanks for your help and efforts @futurejones , much appreciated.
$ swift --version
Swift version 5.4 (swift-5.4-RELEASE)
Target: aarch64-unknown-linux-gnu
$ swift
Welcome to Swift version 5.4 (swift-5.4-RELEASE).
Type :help for assistance.
1> print ("Hello world")
Hello world
Full Log for those searching and/or interested
$ sudo apt-get install swiftlang
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
cryptsetup-bin dctrl-tools dmeventd dmraid dpkg-repack efibootmgr gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common grub-efi-arm64
grub-efi-arm64-bin grub-efi-arm64-signed grub2-common kpartx kpartx-boot libdebian-installer4 libdevmapper-event1.02.1 libdmraid1.0.0.rc16
liblvm2cmd2.03 libtimezonemap-data libtimezonemap1 lvm2 os-prober python3-icu python3-pam rdate thin-provisioning-tools
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
gcc-9-base git git-man gnupg2 libasan5 libatomic1 libc-dev-bin libc-devtools libc6-dev libcrypt-dev liberror-perl libgcc-9-dev libitm1 liblsan0
libnsl-dev libstdc++-9-dev libtirpc-dev libtsan0 libubsan1 libz3-4 libz3-dev linux-libc-dev manpages-dev rpcsvc-proto zlib1g-dev
Suggested packages:
git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn glibc-doc libstdc++-9-doc
The following NEW packages will be installed:
gcc-9-base git git-man gnupg2 libasan5 libatomic1 libc-dev-bin libc-devtools libc6-dev libcrypt-dev liberror-perl libgcc-9-dev libitm1 liblsan0
libnsl-dev libstdc++-9-dev libtirpc-dev libtsan0 libubsan1 libz3-4 libz3-dev linux-libc-dev manpages-dev rpcsvc-proto swiftlang zlib1g-dev
0 upgraded, 26 newly installed, 0 to remove and 0 not upgraded.
Need to get 324 MB of archives.
After this operation, 1.756 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ports.ubuntu.com/ubuntu-ports hirsute/universe arm64 gcc-9-base arm64 9.3.0-23ubuntu2 [19,7 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports hirsute/main arm64 liberror-perl all 0.17029-1 [26,5 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports hirsute/main arm64 git-man all 1:2.30.2-1ubuntu1 [931 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports hirsute/main arm64 git arm64 1:2.30.2-1ubuntu1 [3.345 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports hirsute/universe arm64 libasan5 arm64 9.3.0-23ubuntu2 [2.683 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports hirsute/main arm64 libatomic1 arm64 11-20210417-1ubuntu1 [9.864 B]
Get:8 http://ports.ubuntu.com/ubuntu-ports hirsute/main arm64 libc-dev-bin arm64 2.33-0ubuntu5 [18,3 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports hirsute/main arm64 libc-devtools arm64 2.33-0ubuntu5 [25,7 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports hirsute/main arm64 linux-libc-dev arm64 5.11.0-16.17 [1.181 kB]
Get:11 http://ports.ubuntu.com/ubuntu-ports hirsute/main arm64 libcrypt-dev arm64 1:4.4.17-1ubuntu3 [109 kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports hirsute/main arm64 rpcsvc-proto arm64 1.4.2-0ubuntu4 [59,7 kB]
Get:13 http://ports.ubuntu.com/ubuntu-ports hirsute/main arm64 libtirpc-dev arm64 1.3.1-1build1 [185 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports hirsute/main arm64 libnsl-dev arm64 1.3.0-0ubuntu3 [65,6 kB]
Get:15 http://ports.ubuntu.com/ubuntu-ports hirsute/main arm64 libc6-dev arm64 2.33-0ubuntu5 [1.719 kB]
Get:16 http://ports.ubuntu.com/ubuntu-ports hirsute/main arm64 libitm1 arm64 11-20210417-1ubuntu1 [24,2 kB]
Get:17 http://ports.ubuntu.com/ubuntu-ports hirsute/main arm64 liblsan0 arm64 11-20210417-1ubuntu1 [858 kB]
Get:6 https://packagecloud.io/swift-arm/release/ubuntu hirsute/main arm64 swiftlang arm64 5.4-4-ubuntu-hirsute [299 MB]
Get:18 http://ports.ubuntu.com/ubuntu-ports hirsute/main arm64 libtsan0 arm64 11-20210417-1ubuntu1 [2.060 kB]
Get:19 http://ports.ubuntu.com/ubuntu-ports hirsute/main arm64 libubsan1 arm64 11-20210417-1ubuntu1 [824 kB]
Get:20 http://ports.ubuntu.com/ubuntu-ports hirsute/universe arm64 libgcc-9-dev arm64 9.3.0-23ubuntu2 [917 kB]
Get:21 http://ports.ubuntu.com/ubuntu-ports hirsute/universe arm64 libstdc++-9-dev arm64 9.3.0-23ubuntu2 [1.681 kB]
Get:22 http://ports.ubuntu.com/ubuntu-ports hirsute/main arm64 manpages-dev all 5.10-1 [2.309 kB]
Get:23 http://ports.ubuntu.com/ubuntu-ports hirsute/universe arm64 gnupg2 all 2.2.20-1ubuntu3 [4.588 B]
Get:24 http://ports.ubuntu.com/ubuntu-ports hirsute/universe arm64 libz3-4 arm64 4.8.10-1ubuntu1 [6.083 kB]
Get:25 http://ports.ubuntu.com/ubuntu-ports hirsute/universe arm64 libz3-dev arm64 4.8.10-1ubuntu1 [70,1 kB]
Get:26 http://ports.ubuntu.com/ubuntu-ports hirsute/main arm64 zlib1g-dev arm64 1:1.2.11.dfsg-2ubuntu6 [154 kB]
Fetched 324 MB in 44s (7.332 kB/s)
Selecting previously unselected package gcc-9-base:arm64.
(Reading database ... 139397 files and directories currently installed.)
Preparing to unpack .../00-gcc-9-base_9.3.0-23ubuntu2_arm64.deb ...
Unpacking gcc-9-base:arm64 (9.3.0-23ubuntu2) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../01-liberror-perl_0.17029-1_all.deb ...
Unpacking liberror-perl (0.17029-1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../02-git-man_1%3a2.30.2-1ubuntu1_all.deb ...
Unpacking git-man (1:2.30.2-1ubuntu1) ...
Selecting previously unselected package git.
Preparing to unpack .../03-git_1%3a2.30.2-1ubuntu1_arm64.deb ...
Unpacking git (1:2.30.2-1ubuntu1) ...
Selecting previously unselected package libasan5:arm64.
Preparing to unpack .../04-libasan5_9.3.0-23ubuntu2_arm64.deb ...
Unpacking libasan5:arm64 (9.3.0-23ubuntu2) ...
Selecting previously unselected package libatomic1:arm64.
Preparing to unpack .../05-libatomic1_11-20210417-1ubuntu1_arm64.deb ...
Unpacking libatomic1:arm64 (11-20210417-1ubuntu1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../06-libc-dev-bin_2.33-0ubuntu5_arm64.deb ...
Unpacking libc-dev-bin (2.33-0ubuntu5) ...
Selecting previously unselected package libc-devtools.
Preparing to unpack .../07-libc-devtools_2.33-0ubuntu5_arm64.deb ...
Unpacking libc-devtools (2.33-0ubuntu5) ...
Selecting previously unselected package linux-libc-dev:arm64.
Preparing to unpack .../08-linux-libc-dev_5.11.0-16.17_arm64.deb ...
Unpacking linux-libc-dev:arm64 (5.11.0-16.17) ...
Selecting previously unselected package libcrypt-dev:arm64.
Preparing to unpack .../09-libcrypt-dev_1%3a4.4.17-1ubuntu3_arm64.deb ...
Unpacking libcrypt-dev:arm64 (1:4.4.17-1ubuntu3) ...
Selecting previously unselected package rpcsvc-proto.
Preparing to unpack .../10-rpcsvc-proto_1.4.2-0ubuntu4_arm64.deb ...
Unpacking rpcsvc-proto (1.4.2-0ubuntu4) ...
Selecting previously unselected package libtirpc-dev:arm64.
Preparing to unpack .../11-libtirpc-dev_1.3.1-1build1_arm64.deb ...
Unpacking libtirpc-dev:arm64 (1.3.1-1build1) ...
Selecting previously unselected package libnsl-dev:arm64.
Preparing to unpack .../12-libnsl-dev_1.3.0-0ubuntu3_arm64.deb ...
Unpacking libnsl-dev:arm64 (1.3.0-0ubuntu3) ...
Selecting previously unselected package libc6-dev:arm64.
Preparing to unpack .../13-libc6-dev_2.33-0ubuntu5_arm64.deb ...
Unpacking libc6-dev:arm64 (2.33-0ubuntu5) ...
Selecting previously unselected package libitm1:arm64.
Preparing to unpack .../14-libitm1_11-20210417-1ubuntu1_arm64.deb ...
Unpacking libitm1:arm64 (11-20210417-1ubuntu1) ...
Selecting previously unselected package liblsan0:arm64.
Preparing to unpack .../15-liblsan0_11-20210417-1ubuntu1_arm64.deb ...
Unpacking liblsan0:arm64 (11-20210417-1ubuntu1) ...
Selecting previously unselected package libtsan0:arm64.
Preparing to unpack .../16-libtsan0_11-20210417-1ubuntu1_arm64.deb ...
Unpacking libtsan0:arm64 (11-20210417-1ubuntu1) ...
Selecting previously unselected package libubsan1:arm64.
Preparing to unpack .../17-libubsan1_11-20210417-1ubuntu1_arm64.deb ...
Unpacking libubsan1:arm64 (11-20210417-1ubuntu1) ...
Selecting previously unselected package libgcc-9-dev:arm64.
Preparing to unpack .../18-libgcc-9-dev_9.3.0-23ubuntu2_arm64.deb ...
Unpacking libgcc-9-dev:arm64 (9.3.0-23ubuntu2) ...
Selecting previously unselected package libstdc++-9-dev:arm64.
Preparing to unpack .../19-libstdc++-9-dev_9.3.0-23ubuntu2_arm64.deb ...
Unpacking libstdc++-9-dev:arm64 (9.3.0-23ubuntu2) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../20-manpages-dev_5.10-1_all.deb ...
Unpacking manpages-dev (5.10-1) ...
Selecting previously unselected package gnupg2.
Preparing to unpack .../21-gnupg2_2.2.20-1ubuntu3_all.deb ...
Unpacking gnupg2 (2.2.20-1ubuntu3) ...
Selecting previously unselected package libz3-4:arm64.
Preparing to unpack .../22-libz3-4_4.8.10-1ubuntu1_arm64.deb ...
Unpacking libz3-4:arm64 (4.8.10-1ubuntu1) ...
Selecting previously unselected package libz3-dev:arm64.
Preparing to unpack .../23-libz3-dev_4.8.10-1ubuntu1_arm64.deb ...
Unpacking libz3-dev:arm64 (4.8.10-1ubuntu1) ...
Selecting previously unselected package zlib1g-dev:arm64.
Preparing to unpack .../24-zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu6_arm64.deb ...
Unpacking zlib1g-dev:arm64 (1:1.2.11.dfsg-2ubuntu6) ...
Selecting previously unselected package swiftlang.
Preparing to unpack .../25-swiftlang_5.4-4-ubuntu-hirsute_arm64.deb ...
Unpacking swiftlang (5.4-4-ubuntu-hirsute) ...
Setting up manpages-dev (5.10-1) ...
Setting up gnupg2 (2.2.20-1ubuntu3) ...
Setting up linux-libc-dev:arm64 (5.11.0-16.17) ...
Setting up liberror-perl (0.17029-1) ...
Setting up libz3-4:arm64 (4.8.10-1ubuntu1) ...
Setting up libtirpc-dev:arm64 (1.3.1-1build1) ...
Setting up rpcsvc-proto (1.4.2-0ubuntu4) ...
Setting up libatomic1:arm64 (11-20210417-1ubuntu1) ...
Setting up libubsan1:arm64 (11-20210417-1ubuntu1) ...
Setting up libnsl-dev:arm64 (1.3.0-0ubuntu3) ...
Setting up libcrypt-dev:arm64 (1:4.4.17-1ubuntu3) ...
Setting up git-man (1:2.30.2-1ubuntu1) ...
Setting up libc-dev-bin (2.33-0ubuntu5) ...
Setting up liblsan0:arm64 (11-20210417-1ubuntu1) ...
Setting up libitm1:arm64 (11-20210417-1ubuntu1) ...
Setting up libc-devtools (2.33-0ubuntu5) ...
Setting up gcc-9-base:arm64 (9.3.0-23ubuntu2) ...
Setting up libtsan0:arm64 (11-20210417-1ubuntu1) ...
Setting up libz3-dev:arm64 (4.8.10-1ubuntu1) ...
Setting up libasan5:arm64 (9.3.0-23ubuntu2) ...
Setting up git (1:2.30.2-1ubuntu1) ...
Setting up libc6-dev:arm64 (2.33-0ubuntu5) ...
Setting up libgcc-9-dev:arm64 (9.3.0-23ubuntu2) ...
Setting up zlib1g-dev:arm64 (1:1.2.11.dfsg-2ubuntu6) ...
Setting up libstdc++-9-dev:arm64 (9.3.0-23ubuntu2) ...
Setting up swiftlang (5.4-4-ubuntu-hirsute) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.33-0ubuntu5) ...