Posts: 21
TianLan
Joined: 24 May 2014
#1
Hello,

I updated and upgraded antiX16 via Synaptic and got at the end the following error Message
E: /var/cache/apt/archives/init-system-helpers_1.28+nmu1.0nosystemd1_all.deb: trying to overwrite '/usr/sbin/service', which is also in package sysvinit-utils 2.88dsf-59
Can you help? What do I need to provide, so that you can help?

LG
TianLan
Last edited by TianLan on 22 Aug 2017, 20:40, edited 1 time in total.
Posts: 21
TianLan
Joined: 24 May 2014
#2
Forgot these lines:
(synaptic:26714): GLib-CRITICAL **: g_child_watch_add_full: assertion 'pid > 0' failed
(Reading database ... 129245 files and directories currently installed.)
Preparing to unpack .../init-system-helpers_1.28+nmu1.0nosystemd1_all.deb ...
Unpacking init-system-helpers (1.28+nmu1.0nosystemd1) over (1.22+nosystemd1) ...
dpkg: error processing archive /var/cache/apt/archives/init-system-helpers_1.28+nmu1.0nosystemd1_all.deb (--unpack):
trying to overwrite '/usr/sbin/service', which is also in package sysvinit-utils 2.88dsf-59
Errors were encountered while processing:
/var/cache/apt/archives/init-system-helpers_1.28+nmu1.0nosystemd1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#3
Try this in a root terminal

apt-get -f install

If that fails to solve the issue try this

dpkg -i --force-overwrite /var/cache/apt/archives/iniinit-system-helpers_1.28+nmu1.0nosystemd1_all.deb
Posts: 21
TianLan
Joined: 24 May 2014
#4
I applied both and
root@antix1:/home/toshiba# dpkg -i --force-overwrite /var/cache/apt/archives/iniinit-system-helpers_1.28+nmu1.0nosystemd1_all.deb
dpkg: error processing archive /var/cache/apt/archives/iniinit-system-helpers_1.28+nmu1.0nosystemd1_all.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
/var/cache/apt/archives/iniinit-system-helpers_1.28+nmu1.0nosystemd1_all.deb
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#5
Typo

dpkg -i --force-overwrite /var/cache/apt/archives/init-system-helpers_1.28+nmu1.0nosystemd1_all.deb
Posts: 21
TianLan
Joined: 24 May 2014
#6
I tried that too, and got:
root@antix1:/home/toshiba# dpkg -i --force-overwrite /var/cache/apt/archives/init-system-helpers_1.28+nmu1.0nosystemd1_all.deb
dpkg: error processing archive /var/cache/apt/archives/init-system-helpers_1.28+nmu1.0nosystemd1_all.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
/var/cache/apt/archives/init-system-helpers_1.28+nmu1.0nosystemd1_all.deb
I changed the repositories. I had
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://nl.mxrepo.com/antix/testing/"
linktext was:"http://nl.mxrepo.com/antix/testing/"
====================================
ticked, after removing I was able to install /init-system-helpers_1.22

After that synaptic was running without an error message.

A few weeks ago I chose 'testing' for a newer package, but did not untick it.

Thanks for helping
Tian Lan