Trying to reinstall libc6-dev: Subprocess was killed by signal
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
I'm trying to reinstall libc6-dev since I accidentally removed /usr/include/stdio.h, and I'm getting the following message:
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu artful-updates/main amd64 libc6-dev amd64 2.26-0ubuntu2.1 [2,526 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu artful-updates/main i386 libc6-dev i386 2.26-0ubuntu2.1 [2,144 kB]
Fetched 4,669 kB in 1s (4,293 kB/s)
(Reading database ... 910409 files and directories currently installed.)
Preparing to unpack .../libc6-dev_2.26-0ubuntu2.1_amd64.deb ...
Unpacking libc6-dev:amd64 (2.26-0ubuntu2.1) over (2.26-0ubuntu2.1) ...
dpkg: error processing archive /var/cache/apt/archives/libc6-dev_2.26-0ubuntu2.1_amd64.deb (--unpack):
trying to overwrite shared '/usr/include/stdlib.h', which is different from other instances of package libc6-dev:amd64
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to unpack .../libc6-dev_2.26-0ubuntu2.1_i386.deb ...
Unpacking libc6-dev:i386 (2.26-0ubuntu2.1) over (2.26-0ubuntu2.1) ...
dpkg: error processing archive /var/cache/apt/archives/libc6-dev_2.26-0ubuntu2.1_i386.deb (--unpack):
trying to overwrite shared '/usr/include/stdlib.h', which is different from other instances of package libc6-dev:i386
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libc6-dev_2.26-0ubuntu2.1_amd64.deb
/var/cache/apt/archives/libc6-dev_2.26-0ubuntu2.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I've searched for solutions, but those deal with using apt install -f
, rather than reïnstalling packages.
apt 17.10 dpkg
add a comment |Â
up vote
0
down vote
favorite
I'm trying to reinstall libc6-dev since I accidentally removed /usr/include/stdio.h, and I'm getting the following message:
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu artful-updates/main amd64 libc6-dev amd64 2.26-0ubuntu2.1 [2,526 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu artful-updates/main i386 libc6-dev i386 2.26-0ubuntu2.1 [2,144 kB]
Fetched 4,669 kB in 1s (4,293 kB/s)
(Reading database ... 910409 files and directories currently installed.)
Preparing to unpack .../libc6-dev_2.26-0ubuntu2.1_amd64.deb ...
Unpacking libc6-dev:amd64 (2.26-0ubuntu2.1) over (2.26-0ubuntu2.1) ...
dpkg: error processing archive /var/cache/apt/archives/libc6-dev_2.26-0ubuntu2.1_amd64.deb (--unpack):
trying to overwrite shared '/usr/include/stdlib.h', which is different from other instances of package libc6-dev:amd64
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to unpack .../libc6-dev_2.26-0ubuntu2.1_i386.deb ...
Unpacking libc6-dev:i386 (2.26-0ubuntu2.1) over (2.26-0ubuntu2.1) ...
dpkg: error processing archive /var/cache/apt/archives/libc6-dev_2.26-0ubuntu2.1_i386.deb (--unpack):
trying to overwrite shared '/usr/include/stdlib.h', which is different from other instances of package libc6-dev:i386
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libc6-dev_2.26-0ubuntu2.1_amd64.deb
/var/cache/apt/archives/libc6-dev_2.26-0ubuntu2.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I've searched for solutions, but those deal with using apt install -f
, rather than reïnstalling packages.
apt 17.10 dpkg
2
Looks like your two packages both provide/dev/include/stdlib.h
. Do you really mean to be installing libc6-dev for both amd64 and i386 architectures? This is not a typical thing to do.
â Martin W
Apr 17 at 20:15
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm trying to reinstall libc6-dev since I accidentally removed /usr/include/stdio.h, and I'm getting the following message:
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu artful-updates/main amd64 libc6-dev amd64 2.26-0ubuntu2.1 [2,526 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu artful-updates/main i386 libc6-dev i386 2.26-0ubuntu2.1 [2,144 kB]
Fetched 4,669 kB in 1s (4,293 kB/s)
(Reading database ... 910409 files and directories currently installed.)
Preparing to unpack .../libc6-dev_2.26-0ubuntu2.1_amd64.deb ...
Unpacking libc6-dev:amd64 (2.26-0ubuntu2.1) over (2.26-0ubuntu2.1) ...
dpkg: error processing archive /var/cache/apt/archives/libc6-dev_2.26-0ubuntu2.1_amd64.deb (--unpack):
trying to overwrite shared '/usr/include/stdlib.h', which is different from other instances of package libc6-dev:amd64
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to unpack .../libc6-dev_2.26-0ubuntu2.1_i386.deb ...
Unpacking libc6-dev:i386 (2.26-0ubuntu2.1) over (2.26-0ubuntu2.1) ...
dpkg: error processing archive /var/cache/apt/archives/libc6-dev_2.26-0ubuntu2.1_i386.deb (--unpack):
trying to overwrite shared '/usr/include/stdlib.h', which is different from other instances of package libc6-dev:i386
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libc6-dev_2.26-0ubuntu2.1_amd64.deb
/var/cache/apt/archives/libc6-dev_2.26-0ubuntu2.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I've searched for solutions, but those deal with using apt install -f
, rather than reïnstalling packages.
apt 17.10 dpkg
I'm trying to reinstall libc6-dev since I accidentally removed /usr/include/stdio.h, and I'm getting the following message:
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu artful-updates/main amd64 libc6-dev amd64 2.26-0ubuntu2.1 [2,526 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu artful-updates/main i386 libc6-dev i386 2.26-0ubuntu2.1 [2,144 kB]
Fetched 4,669 kB in 1s (4,293 kB/s)
(Reading database ... 910409 files and directories currently installed.)
Preparing to unpack .../libc6-dev_2.26-0ubuntu2.1_amd64.deb ...
Unpacking libc6-dev:amd64 (2.26-0ubuntu2.1) over (2.26-0ubuntu2.1) ...
dpkg: error processing archive /var/cache/apt/archives/libc6-dev_2.26-0ubuntu2.1_amd64.deb (--unpack):
trying to overwrite shared '/usr/include/stdlib.h', which is different from other instances of package libc6-dev:amd64
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to unpack .../libc6-dev_2.26-0ubuntu2.1_i386.deb ...
Unpacking libc6-dev:i386 (2.26-0ubuntu2.1) over (2.26-0ubuntu2.1) ...
dpkg: error processing archive /var/cache/apt/archives/libc6-dev_2.26-0ubuntu2.1_i386.deb (--unpack):
trying to overwrite shared '/usr/include/stdlib.h', which is different from other instances of package libc6-dev:i386
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libc6-dev_2.26-0ubuntu2.1_amd64.deb
/var/cache/apt/archives/libc6-dev_2.26-0ubuntu2.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I've searched for solutions, but those deal with using apt install -f
, rather than reïnstalling packages.
apt 17.10 dpkg
apt 17.10 dpkg
asked Apr 17 at 20:05
bb94
189110
189110
2
Looks like your two packages both provide/dev/include/stdlib.h
. Do you really mean to be installing libc6-dev for both amd64 and i386 architectures? This is not a typical thing to do.
â Martin W
Apr 17 at 20:15
add a comment |Â
2
Looks like your two packages both provide/dev/include/stdlib.h
. Do you really mean to be installing libc6-dev for both amd64 and i386 architectures? This is not a typical thing to do.
â Martin W
Apr 17 at 20:15
2
2
Looks like your two packages both provide
/dev/include/stdlib.h
. Do you really mean to be installing libc6-dev for both amd64 and i386 architectures? This is not a typical thing to do.â Martin W
Apr 17 at 20:15
Looks like your two packages both provide
/dev/include/stdlib.h
. Do you really mean to be installing libc6-dev for both amd64 and i386 architectures? This is not a typical thing to do.â Martin W
Apr 17 at 20:15
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
If you are sure that this is really want to do (see comment above), you can do
sudo apt-get -o Dpkg::Options::="--force-overwrite" install libc6-dev-amd64 libc6-dev-i386
This passes the --force-overwrite flag to dpkg which allows one package to overwrite another one's file. Of course, if you have the deb files, you can using the underlying dpkg
command directly as:
sudo dpkg -i --force-overwrite libc6-dev-amd64 libc6-dev-dev-i386
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
If you are sure that this is really want to do (see comment above), you can do
sudo apt-get -o Dpkg::Options::="--force-overwrite" install libc6-dev-amd64 libc6-dev-i386
This passes the --force-overwrite flag to dpkg which allows one package to overwrite another one's file. Of course, if you have the deb files, you can using the underlying dpkg
command directly as:
sudo dpkg -i --force-overwrite libc6-dev-amd64 libc6-dev-dev-i386
add a comment |Â
up vote
1
down vote
accepted
If you are sure that this is really want to do (see comment above), you can do
sudo apt-get -o Dpkg::Options::="--force-overwrite" install libc6-dev-amd64 libc6-dev-i386
This passes the --force-overwrite flag to dpkg which allows one package to overwrite another one's file. Of course, if you have the deb files, you can using the underlying dpkg
command directly as:
sudo dpkg -i --force-overwrite libc6-dev-amd64 libc6-dev-dev-i386
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
If you are sure that this is really want to do (see comment above), you can do
sudo apt-get -o Dpkg::Options::="--force-overwrite" install libc6-dev-amd64 libc6-dev-i386
This passes the --force-overwrite flag to dpkg which allows one package to overwrite another one's file. Of course, if you have the deb files, you can using the underlying dpkg
command directly as:
sudo dpkg -i --force-overwrite libc6-dev-amd64 libc6-dev-dev-i386
If you are sure that this is really want to do (see comment above), you can do
sudo apt-get -o Dpkg::Options::="--force-overwrite" install libc6-dev-amd64 libc6-dev-i386
This passes the --force-overwrite flag to dpkg which allows one package to overwrite another one's file. Of course, if you have the deb files, you can using the underlying dpkg
command directly as:
sudo dpkg -i --force-overwrite libc6-dev-amd64 libc6-dev-dev-i386
answered Apr 17 at 20:45
Martin W
74238
74238
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1025919%2ftrying-to-reinstall-libc6-dev-subprocess-was-killed-by-signal%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
2
Looks like your two packages both provide
/dev/include/stdlib.h
. Do you really mean to be installing libc6-dev for both amd64 and i386 architectures? This is not a typical thing to do.â Martin W
Apr 17 at 20:15