Public bug reported: Hi,
Just ran into an issue where snapd fails to install: | ubuntu@juju-blah-3:~$ sudo apt-get install snapd | Reading package lists... Done | Building dependency tree | 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: | snapd : Depends: systemd (>= 204-5ubuntu20.20) but it is not going to be installed | E: Unable to correct problems, you have held broken packages. The systemd version it wants is available though: | ubuntu@juju-blah-3:~$ apt-cache policy snapd systemd | snapd: | Installed: (none) | Candidate: 2.25~14.04 | Version table: | 2.25~14.04 0 | 500 http://nova.clouds.archive.ubuntu.com/ubuntu/ trusty-updates/universe amd64 Packages | systemd: | Installed: (none) | Candidate: 204-5ubuntu20.24 | Version table: | 204-5ubuntu20.24 0 | 500 http://nova.clouds.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages So if I manually install systemd, I'm able to then install snapd. | ubuntu@juju-blah-3:~$ sudo apt-get install systemd snapd | Reading package lists... Done | Building dependency tree | Reading state information... Done | The following extra packages will be installed: | cgroup-lite crda liblzo2-2 libnl-3-200 libnl-genl-3-200 libseccomp2 | libsystemd-journal0 linux-firmware linux-generic-lts-xenial | linux-headers-4.4.0-81 linux-headers-4.4.0-81-generic | linux-headers-generic-lts-xenial linux-image-4.4.0-81-generic | linux-image-extra-4.4.0-81-generic linux-image-generic-lts-xenial | squashfs-tools wireless-regdb | Suggested packages: | fdutils linux-lts-xenial-tools systemd-ui | Recommended packages: | iw thermald | The following packages will be REMOVED: | ubuntu-minimal ureadahead | The following NEW packages will be installed: | cgroup-lite crda liblzo2-2 libnl-3-200 libnl-genl-3-200 libseccomp2 | libsystemd-journal0 linux-firmware linux-generic-lts-xenial | linux-headers-4.4.0-81 linux-headers-4.4.0-81-generic | linux-headers-generic-lts-xenial linux-image-4.4.0-81-generic | linux-image-extra-4.4.0-81-generic linux-image-generic-lts-xenial snapd | squashfs-tools systemd wireless-regdb | 0 upgraded, 19 newly installed, 2 to remove and 0 not upgraded. | Need to get 112 MB of archives. | After this operation, 492 MB of additional disk space will be used. | Do you want to continue? [Y/n] y ** Affects: snapd (Ubuntu) Importance: Undecided Status: New ** Description changed: Hi, Just ran into an issue where snapd fails to install: | ubuntu@juju-blah-3:~$ sudo apt-get install snapd | Reading package lists... Done | Building dependency tree | 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: | snapd : Depends: systemd (>= 204-5ubuntu20.20) but it is not going to be installed | E: Unable to correct problems, you have held broken packages. The systemd version it wants is available though: | ubuntu@juju-blah-3:~$ apt-cache policy snapd systemd | snapd: | Installed: (none) | Candidate: 2.25~14.04 | Version table: | 2.25~14.04 0 | 500 http://nova.clouds.archive.ubuntu.com/ubuntu/ trusty-updates/universe amd64 Packages | systemd: | Installed: (none) | Candidate: 204-5ubuntu20.24 | Version table: | 204-5ubuntu20.24 0 | 500 http://nova.clouds.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages So if I manually install systemd, I'm able to then install snapd. + + | ubuntu@juju-blah-3:~$ sudo apt-get install systemd snapd + | Reading package lists... Done + | Building dependency tree + | Reading state information... Done + | The following extra packages will be installed: + | cgroup-lite crda liblzo2-2 libnl-3-200 libnl-genl-3-200 libseccomp2 + | libsystemd-journal0 linux-firmware linux-generic-lts-xenial + | linux-headers-4.4.0-81 linux-headers-4.4.0-81-generic + | linux-headers-generic-lts-xenial linux-image-4.4.0-81-generic + | linux-image-extra-4.4.0-81-generic linux-image-generic-lts-xenial + | squashfs-tools wireless-regdb + | Suggested packages: + | fdutils linux-lts-xenial-tools systemd-ui + | Recommended packages: + | iw thermald + | The following packages will be REMOVED: + | ubuntu-minimal ureadahead + | The following NEW packages will be installed: + | cgroup-lite crda liblzo2-2 libnl-3-200 libnl-genl-3-200 libseccomp2 + | libsystemd-journal0 linux-firmware linux-generic-lts-xenial + | linux-headers-4.4.0-81 linux-headers-4.4.0-81-generic + | linux-headers-generic-lts-xenial linux-image-4.4.0-81-generic + | linux-image-extra-4.4.0-81-generic linux-image-generic-lts-xenial snapd + | squashfs-tools systemd wireless-regdb + | 0 upgraded, 19 newly installed, 2 to remove and 0 not upgraded. + | Need to get 112 MB of archives. + | After this operation, 492 MB of additional disk space will be used. + | Do you want to continue? [Y/n] y -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1699986 Title: snapd fails to install on Trusty (wants systemd even though available) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1699986/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
