Can’t run snapd on Codenvy 5.22.0
Bug #1740851 reported by
Pranav Avva
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
I am running snapd on Codenvy 5.22.0 in a Ubuntu 16.04.3 LTS workspace. Codenvy is based off of Eclipse Che.
When I try to run
sudo snap install my-snap-
I get the error
error: cannot communicate with server: Post http://
snapcraft-ing works normally, but I can't install them using snap install
I'm getting the same error building any of my Snap packages on the s390x architecture. For example, the build of OpenJDK on s390x fails:
s390x build of openjdk-beta snap package (openjdk) in ubuntu bionic-updates /launchpad. net/~jgneff/ openjdk- snap/+snap/ openjdk- beta/+build/ 2183753
https:/
The tail end of the build log file shows the following:
Setting up apparmor (2.12-4ubuntu5.3) ... system/ sysinit. target. wants/apparmor. service → /lib/systemd/ system/ apparmor. service. parser: cannot use or update cache, disable, or force-complain via stdin krb5-2: s390x (1.16-2ubuntu0.4) ... heimdal: s390x (7.5.0+ dfsg-1ubuntu0. 4) ... 4ubuntu0. 7) ... system/ multi-user. target. wants/snapd. aa-prompt- listener. service → /lib/systemd/ system/ snapd.aa- prompt- listener. service. system/ multi-user. target. wants/snapd. apparmor. service → /lib/systemd/ system/ snapd.apparmor. service. system/ multi-user. target. wants/snapd. autoimport. service → /lib/systemd/ system/ snapd.autoimpor t.service. system/ multi-user. target. wants/snapd. core-fixup. service → /lib/systemd/ system/ snapd.core- fixup.service. system/ multi-user. target. wants/snapd. recovery- chooser- trigger. service → /lib/systemd/ system/ snapd.recovery- chooser- trigger. service. system/ multi-user. target. wants/snapd. seeded. service → /lib/systemd/ system/ snapd.seeded. service. system/ cloud-final. service. wants/snapd. seeded. service → /lib/systemd/ system/ snapd.seeded. service. system/ multi-user. target. wants/snapd. service → /lib/systemd/ system/ snapd.service. system/ timers. target. wants/snapd. snap-repair. timer → /lib/systemd/ system/ snapd.snap- repair. timer. system/ sockets. target. wants/snapd. socket → /lib/systemd/ system/ snapd.socket. system/ final.target. wants/snapd. system- shutdown. service → /lib/systemd/ system/ snapd.system- shutdown. service. dfsg-1ubuntu1. 11) ... gnutls: s390x (7.58.0- 2ubuntu3. 24) ... 1-1ubuntu0. 18) ... localhost/ v2/snaps/ snapcraft: dial unix /run/snapd.socket: connect: no such file or directory python3/ dist-packages/ lpbuildd/ target/ build_snap. py", line 259, in run python3/ dist-packages/ lpbuildd/ target/ build_snap. py", line 165, in install backend. run( python3/ dist-packages/ lpbuildd/ target/ lxd.py" , line 716, in run check_call( cmd, **kwa...
Created symlink /etc/systemd/
find: ‘’: No such file or directory
Warning from stdin (line 1): /sbin/apparmor_
Warning failed to create cache: (null)
Setting up dbus-user-session (1.12.2-1ubuntu1.4) ...
Setting up libgssapi-
Setting up libgssapi3-
Setting up openssh-client (1:7.6p1-
Setting up snapd (2.58+18.04.1) ...
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Setting up libldap-2.4-2:s390x (2.4.45+
Setting up libcurl3-
Setting up git (1:2.17.
Processing triggers for systemd (237-3ubuntu10.57) ...
Processing triggers for libc-bin (2.27-3ubuntu1.6) ...
error: cannot communicate with server: Post http://
Install failed
Traceback (most recent call last):
File "/usr/lib/
self.install()
File "/usr/lib/
self.
File "/usr/lib/
subprocess.