Docker-ce Failed Package Update Results in All Updates Failing

My YunoHost server
Hardware: Dell R720
YunoHost version: 11.0.9.14 (stable).
I have access to my server : SSH, direct access
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : not really. I have a RAID server, where /home = ~2TB and /var = 20TB so most of my storage needs to be on /var

Logs: https://paste.yunohost.org/raw/mujeqekabo

I tried updating a docker package. It seemed to succeed but then when I went to update an app I get an error and it tells me to try sudo apt install --fix-broken and/or sudo dpkg --configure -a. Neither work, it starts to do somethng with docker and then fails again

admin@domain:~$ sudo apt install --fix-broken                                                                                            
Reading package lists... Done                                                                                                              
Building dependency tree... Done                                                                                                           
Reading state information... Done                                                                                                          
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.                                                                             
1 not fully installed or removed.                                                                                                          
After this operation, 0 B of additional disk space will be used.                                                                           
Setting up docker-ce (5:20.10.18~3-0~debian-bullseye) ...                                                                                  
A dependency job for docker.service failed. See 'journalctl -xe' for details.                                                              
invoke-rc.d: initscript docker, action "restart" failed.                                                                                   
● docker.service - Docker Application Container Engine                                                                                     
     Loaded: loaded (;;file://DOMAIN.TLD/lib/systemd/system/docker.service/lib/systemd/system/docker.service;;; enabled; vendor preset: en
abled)                                                                                                                                     
     Active: inactive (dead) (Result: exit-code) since Fri 2022-09-09 12:37:22 EDT; 13h ago                                                
TriggeredBy: ● docker.socket
       Docs: ;;https://docs.docker.comhttps://docs.docker.com;;                                                                            
   Main PID: 1805 (code=exited, status=1/FAILURE)                                                                                          
        CPU: 301ms                                                                                                                         
                                                                                                                                           
Sep 09 12:37:19 DOMAIN.TLD systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE                                 
Sep 09 12:37:19 DOMAIN.TLD systemd[1]: docker.service: Failed with result 'exit-code'.
Sep 09 12:37:22 DOMAIN.TLD systemd[1]: docker.service: Scheduled restart job, restart counter is at 1.                                    
Sep 09 12:37:22 DOMAIN.TLD systemd[1]: Stopped Docker Application Container Engine.                                                       
Sep 09 12:37:24 DOMAIN.TLD systemd[1]: Dependency failed for Docker Application Container Engine.
Sep 09 12:37:24 DOMAIN.TLD systemd[1]: docker.service: Job docker.service/start failed with result 'dependency'.                          
Sep 10 01:39:48 DOMAIN.TLD systemd[1]: Dependency failed for Docker Application Container Engine.
Sep 10 01:39:48 DOMAIN.TLD systemd[1]: docker.service: Job docker.service/start failed with result 'dependency'.                          
Sep 10 01:50:07 DOMAIN.TLD systemd[1]: Dependency failed for Docker Application Container Engine.
Sep 10 01:50:07 DOMAIN.TLD systemd[1]: docker.service: Job docker.service/start failed with result 'dependency'.                          
dpkg: error processing package docker-ce (--configure):                                                                                    
 installed docker-ce package post-installation script subprocess returned error exit status 1                                              
Errors were encountered while processing:                                                                                                  
 docker-ce                                               

Why don’t you install yunohost and docker in proxmox containers?

everytime I’ve tried proxmox I’ve failed somewhere around the setting ip ranges stage. But this q is about how to make YUNH work :slight_smile:

update: still can’t update anything, packages included now. would removing docker fix this? I suspect there are some services that depend on docker?

I am not sure if its fixed, but I ssh’d into server and removed docker-ce and docker and then tried updating again and it seems to have worked

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.