subutai-io/ipfs-deb

2nd - ipfs repo migration

Opened this issue · 0 comments

Even configured with ipfs --migrate=true, ipfs daemon still asks for migration in some case:

root@vms0:~# subutai update rh
(Reading database ... 176169 files and directories currently installed.)
Preparing to unpack .../0-google-chrome-stable_68.0.3440.106-1_amd64.deb ...
Unpacking google-chrome-stable (68.0.3440.106-1) over (67.0.3396.99-1) ...
Preparing to unpack .../1-libwbclient0_2%3a4.5.12+dfsg-2+deb9u3_amd64.deb ...
Unpacking libwbclient0:amd64 (2:4.5.12+dfsg-2+deb9u3) over (2:4.5.12+dfsg-2+deb9u2) ...
Preparing to unpack .../2-libsmbclient_2%3a4.5.12+dfsg-2+deb9u3_amd64.deb ...
Unpacking libsmbclient:amd64 (2:4.5.12+dfsg-2+deb9u3) over (2:4.5.12+dfsg-2+deb9u2) ...
Preparing to unpack .../3-samba-libs_2%3a4.5.12+dfsg-2+deb9u3_amd64.deb ...
Unpacking samba-libs:amd64 (2:4.5.12+dfsg-2+deb9u3) over (2:4.5.12+dfsg-2+deb9u2) ...
Preparing to unpack .../4-ipfs_0.4.16+3_amd64.deb ...
Unpacking ipfs (0.4.16+3) over (0.4.15+6) ...
Preparing to unpack .../5-subutai-ovs_7.0.3+20180811030247_amd64.deb ...
Synchronizing state of dnsmasq.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable dnsmasq
Unpacking subutai-ovs (7.0.3+20180811030247) over (7.0.2+20180626123254) ...
Preparing to unpack .../6-subutai-nginx_0.1+20180807155851_all.deb ...
Unpacking subutai-nginx (0.1+20180807155851) over (0.1+20180626123059) ...
Preparing to unpack .../7-subutai_7.2.0+20180814065722_amd64.deb ...
Unpacking subutai (7.2.0+20180814065722) over (7.1.0+20180723021649) ...
Preparing to unpack .../8-subutai-control-center_7.1.520180802045436~jessie_all.deb ...
Unpacking subutai-control-center (7.1.520180802045436~jessie) over (7.1.1-0ubuntu1~trusty) ...
Preparing to unpack .../9-teamviewer_13.2.13582_amd64.deb ...
Removed /etc/systemd/system/multi-user.target.wants/teamviewerd.service.
Unpacking teamviewer (13.2.13582) over (13.1.8286) ...
Setting up libwbclient0:amd64 (2:4.5.12+dfsg-2+deb9u3) ...
Setting up samba-libs:amd64 (2:4.5.12+dfsg-2+deb9u3) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Setting up subutai-control-center (7.1.520180802045436~jessie) ...
Setting up subutai-ovs (7.0.3+20180811030247) ...
Synchronizing state of dnsmasq.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable dnsmasq
Setting up subutai-nginx (0.1+20180807155851) ...
Setting up libsmbclient:amd64 (2:4.5.12+dfsg-2+deb9u3) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up teamviewer (13.2.13582) ...
Setting up ipfs (0.4.16+3) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for gnome-menus (3.13.3-9) ...
Setting up google-chrome-stable (68.0.3440.106-1) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Setting up subutai (7.2.0+20180814065722) ...
Installing new version of config file /etc/subutai/agent.conf ...
Created symlink /etc/systemd/system/multi-user.target.wants/subutai-cop.service → /lib/systemd/system/subutai-cop.service.
Created symlink /etc/systemd/system/multi-user.target.wants/subutai-cop.timer → /lib/systemd/system/subutai-cop.timer.
Error: ipfs repo needs migration
Error: cannot acquire lock: Lock FcntlFlock of /var/lib/ipfs/node/repo.lock failed: resource temporarily unavailable
dpkg: error processing package subutai (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 subutai
E: Sub-process /usr/bin/dpkg returned an error code (1)
, exit status 100