sysbox: ubuntu-20.04 Can't install
System info:
snowfox@snowfox-work:~$ cat /etc/issue
KDE neon 5.22 \n \l
snowfox@snowfox-work:~$ cat /proc/version
Linux version 5.4.0-74-generic (buildd@lgw01-amd64-038) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #83-Ubuntu SMP Sat May 8 02:35:39 UTC 2021
Docker status:
snowfox@snowfox-work:~$ docker -v
Docker version 20.10.7, build f0df350
snowfox@snowfox-work:~$ sudo service docker status
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2021-06-11 16:50:43 CST; 24min ago
TriggeredBy: ● docker.socket
Docs: https://docs.docker.com
Main PID: 13716 (dockerd)
Tasks: 26
Memory: 48.3M
CGroup: /system.slice/docker.service
└─13716 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
6月 11 16:50:43 snowfox-work dockerd[13716]: time="2021-06-11T16:50:43.039576835+08:00" level=warning msg="Your kernel does not support CPU realtime scheduler"
6月 11 16:50:43 snowfox-work dockerd[13716]: time="2021-06-11T16:50:43.039580783+08:00" level=warning msg="Your kernel does not support cgroup blkio weight"
6月 11 16:50:43 snowfox-work dockerd[13716]: time="2021-06-11T16:50:43.039583934+08:00" level=warning msg="Your kernel does not support cgroup blkio weight_device"
6月 11 16:50:43 snowfox-work dockerd[13716]: time="2021-06-11T16:50:43.039671243+08:00" level=info msg="Loading containers: start."
6月 11 16:50:43 snowfox-work dockerd[13716]: time="2021-06-11T16:50:43.085417485+08:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used >
6月 11 16:50:43 snowfox-work dockerd[13716]: time="2021-06-11T16:50:43.103022127+08:00" level=info msg="Loading containers: done."
6月 11 16:50:43 snowfox-work dockerd[13716]: time="2021-06-11T16:50:43.113019538+08:00" level=info msg="Docker daemon" commit=b0f5bc3 graphdriver(s)=overlay2 version=20.10.7
6月 11 16:50:43 snowfox-work dockerd[13716]: time="2021-06-11T16:50:43.113047570+08:00" level=info msg="Daemon has completed initialization"
6月 11 16:50:43 snowfox-work systemd[1]: Started Docker Application Container Engine.
6月 11 16:50:43 snowfox-work dockerd[13716]: time="2021-06-11T16:50:43.124760115+08:00" level=info msg="API listen on /run/docker.sock"
snowfox@snowfox-work:~$ sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
snowfox@snowfox-work:~$
Installing:
snowfox@snowfox-work:~$ sudo apt-get install ./sysbox-ce_0.3.0-0.ubuntu-focal_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'sysbox-ce' instead of './sysbox-ce_0.3.0-0.ubuntu-focal_amd64.deb'
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following additional packages will be installed:
jq libjq1 libonig5
The following NEW packages will be installed:
jq libjq1 libonig5 sysbox-ce
0 upgraded, 4 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/27.1 MB of archives.
After this operation, 73.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 /home/snowfox/Script/sysbox-ce_0.3.0-0.ubuntu-focal_amd64.deb sysbox-ce amd64 0.3.0-0.ubuntu-focal [26.7 MB]
Preconfiguring packages ...
Selecting previously unselected package libonig5:amd64.
(Reading database ... 172040 files and directories currently installed.)
Preparing to unpack .../libonig5_6.9.4-1_amd64.deb ...
Unpacking libonig5:amd64 (6.9.4-1) ...
Selecting previously unselected package libjq1:amd64.
Preparing to unpack .../libjq1_1.6-1ubuntu0.20.04.1_amd64.deb ...
Unpacking libjq1:amd64 (1.6-1ubuntu0.20.04.1) ...
Selecting previously unselected package jq.
Preparing to unpack .../jq_1.6-1ubuntu0.20.04.1_amd64.deb ...
Unpacking jq (1.6-1ubuntu0.20.04.1) ...
Setting up libonig5:amd64 (6.9.4-1) ...
Setting up libjq1:amd64 (1.6-1ubuntu0.20.04.1) ...
Setting up jq (1.6-1ubuntu0.20.04.1) ...
(Reading database ... 172057 files and directories currently installed.)
Preparing to unpack .../sysbox-ce_0.3.0-0.ubuntu-focal_amd64.deb ...
Unsupported linux distribution: Neon 20.04
dpkg: error processing archive /home/snowfox/Script/sysbox-ce_0.3.0-0.ubuntu-focal_amd64.deb (--unpack):
new sysbox-ce package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/home/snowfox/Script/sysbox-ce_0.3.0-0.ubuntu-focal_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17 (9 by maintainers)
I tried to install sysbox without downloaded the binary before 🤦♂️ Thanks for your quick responses.
@dr0i, this is expected behavior, as we only support kernel 5.4 in Ubuntu distro. For other distros you need at least kernel 5.5. Please see here for more details.
@AMoreaux, we have done this process several times, but to double-check that nothing has changed I just went ahead and tried to install Sysbox in an EC2 instance and everything ran smoothly there.
As @ctalledo mentioned above I suspect that your Sysbox image was corrupted somehow.
Hi Antoine,
That looks to be a different problem with the same effect (can’t install sysbox); what’s the
sha256sumthat you see for the sysbox-ce_0.3.0 package?I just tried this on my host without problem:
Thanks.