Error installing gdb-arm-linux-gnueabi












1














I get an error when I try to install the gdb-arm-linux-gnueabi package.
This is the error that I obtain when I run apt-get install gdb-arm-linux-gnueabi:



$ env LC_ALL=C sudo apt-get install gdb-arm-linux-gnueabi 
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
gdb-doc
The following NEW packages will be installed:
gdb-arm-linux-gnueabi
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1848 kB of archives.
After this operation, 3887 kB of additional disk space will be used.
(Reading database ... 246473 files and directories currently installed.)
Unpacking gdb-arm-linux-gnueabi (from .../gdb-arm-linux-gnueabi_7.2-1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/gdb-arm-linux-gnueabi_7.2-1_amd64.deb (--unpack):
trying to overwrite '/usr/share/gdb/syscalls/sparc-linux.xml', which is also in package gdb 7.4.1+dfsg-0.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/gdb-arm-linux-gnueabi_7.2-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)









share|improve this question
















bumped to the homepage by Community 13 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Please re-run the installation in an English locale: env LC_ALL=C apt-get install gdb-arm-linux-gnueabi, and copy-paste the result (retaining the newlines).
    – Gilles
    Nov 10 '13 at 21:45
















1














I get an error when I try to install the gdb-arm-linux-gnueabi package.
This is the error that I obtain when I run apt-get install gdb-arm-linux-gnueabi:



$ env LC_ALL=C sudo apt-get install gdb-arm-linux-gnueabi 
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
gdb-doc
The following NEW packages will be installed:
gdb-arm-linux-gnueabi
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1848 kB of archives.
After this operation, 3887 kB of additional disk space will be used.
(Reading database ... 246473 files and directories currently installed.)
Unpacking gdb-arm-linux-gnueabi (from .../gdb-arm-linux-gnueabi_7.2-1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/gdb-arm-linux-gnueabi_7.2-1_amd64.deb (--unpack):
trying to overwrite '/usr/share/gdb/syscalls/sparc-linux.xml', which is also in package gdb 7.4.1+dfsg-0.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/gdb-arm-linux-gnueabi_7.2-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)









share|improve this question
















bumped to the homepage by Community 13 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Please re-run the installation in an English locale: env LC_ALL=C apt-get install gdb-arm-linux-gnueabi, and copy-paste the result (retaining the newlines).
    – Gilles
    Nov 10 '13 at 21:45














1












1








1







I get an error when I try to install the gdb-arm-linux-gnueabi package.
This is the error that I obtain when I run apt-get install gdb-arm-linux-gnueabi:



$ env LC_ALL=C sudo apt-get install gdb-arm-linux-gnueabi 
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
gdb-doc
The following NEW packages will be installed:
gdb-arm-linux-gnueabi
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1848 kB of archives.
After this operation, 3887 kB of additional disk space will be used.
(Reading database ... 246473 files and directories currently installed.)
Unpacking gdb-arm-linux-gnueabi (from .../gdb-arm-linux-gnueabi_7.2-1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/gdb-arm-linux-gnueabi_7.2-1_amd64.deb (--unpack):
trying to overwrite '/usr/share/gdb/syscalls/sparc-linux.xml', which is also in package gdb 7.4.1+dfsg-0.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/gdb-arm-linux-gnueabi_7.2-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)









share|improve this question















I get an error when I try to install the gdb-arm-linux-gnueabi package.
This is the error that I obtain when I run apt-get install gdb-arm-linux-gnueabi:



$ env LC_ALL=C sudo apt-get install gdb-arm-linux-gnueabi 
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
gdb-doc
The following NEW packages will be installed:
gdb-arm-linux-gnueabi
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1848 kB of archives.
After this operation, 3887 kB of additional disk space will be used.
(Reading database ... 246473 files and directories currently installed.)
Unpacking gdb-arm-linux-gnueabi (from .../gdb-arm-linux-gnueabi_7.2-1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/gdb-arm-linux-gnueabi_7.2-1_amd64.deb (--unpack):
trying to overwrite '/usr/share/gdb/syscalls/sparc-linux.xml', which is also in package gdb 7.4.1+dfsg-0.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/gdb-arm-linux-gnueabi_7.2-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)






apt arm gdb






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 2 '13 at 20:22









Zelda

4,7621526




4,7621526










asked Nov 10 '13 at 20:21









David Martínez

65111223




65111223





bumped to the homepage by Community 13 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 13 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • Please re-run the installation in an English locale: env LC_ALL=C apt-get install gdb-arm-linux-gnueabi, and copy-paste the result (retaining the newlines).
    – Gilles
    Nov 10 '13 at 21:45


















  • Please re-run the installation in an English locale: env LC_ALL=C apt-get install gdb-arm-linux-gnueabi, and copy-paste the result (retaining the newlines).
    – Gilles
    Nov 10 '13 at 21:45
















Please re-run the installation in an English locale: env LC_ALL=C apt-get install gdb-arm-linux-gnueabi, and copy-paste the result (retaining the newlines).
– Gilles
Nov 10 '13 at 21:45




Please re-run the installation in an English locale: env LC_ALL=C apt-get install gdb-arm-linux-gnueabi, and copy-paste the result (retaining the newlines).
– Gilles
Nov 10 '13 at 21:45










1 Answer
1






active

oldest

votes


















0














This happens when there are some files which are provided by two packages.



What you can do is to remove the package you already have, in order to avoid the conflict.



In your case as a workaround you can try removing gdb (if you don't actually need it), then apt should allow you to install the gdb-arm-linux-gnueabi package that you were trying to install.



For the long term you should submit a bug to your distribution's bugtracker so the packagers come up with a proper fix.






share|improve this answer





















  • Unfortunately, I still need gdb for amd64. Is there any way to install the arm version without remove gdb-amd64?
    – David Martínez
    Nov 10 '13 at 22:17






  • 1




    It looks like you have two options: 1) recompile either of the two packages and remove the file from the control file and 2) try to download the deb file from the archive and use the --force-overwrite flag when installing it from the command line with dpkg. The question is knowing which version of the conflicting file you actually need, but in your case it seems to be a SPARC-related file which I think you could just ignore. I would go for option 2 which is much easier and faster.
    – Cristian Măgherușan-Stanciu
    Nov 10 '13 at 22:27












  • Yeahh, your second option works!! Thank you very much, Cristian.
    – David Martínez
    Nov 10 '13 at 22:47











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f100692%2ferror-installing-gdb-arm-linux-gnueabi%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














This happens when there are some files which are provided by two packages.



What you can do is to remove the package you already have, in order to avoid the conflict.



In your case as a workaround you can try removing gdb (if you don't actually need it), then apt should allow you to install the gdb-arm-linux-gnueabi package that you were trying to install.



For the long term you should submit a bug to your distribution's bugtracker so the packagers come up with a proper fix.






share|improve this answer





















  • Unfortunately, I still need gdb for amd64. Is there any way to install the arm version without remove gdb-amd64?
    – David Martínez
    Nov 10 '13 at 22:17






  • 1




    It looks like you have two options: 1) recompile either of the two packages and remove the file from the control file and 2) try to download the deb file from the archive and use the --force-overwrite flag when installing it from the command line with dpkg. The question is knowing which version of the conflicting file you actually need, but in your case it seems to be a SPARC-related file which I think you could just ignore. I would go for option 2 which is much easier and faster.
    – Cristian Măgherușan-Stanciu
    Nov 10 '13 at 22:27












  • Yeahh, your second option works!! Thank you very much, Cristian.
    – David Martínez
    Nov 10 '13 at 22:47
















0














This happens when there are some files which are provided by two packages.



What you can do is to remove the package you already have, in order to avoid the conflict.



In your case as a workaround you can try removing gdb (if you don't actually need it), then apt should allow you to install the gdb-arm-linux-gnueabi package that you were trying to install.



For the long term you should submit a bug to your distribution's bugtracker so the packagers come up with a proper fix.






share|improve this answer





















  • Unfortunately, I still need gdb for amd64. Is there any way to install the arm version without remove gdb-amd64?
    – David Martínez
    Nov 10 '13 at 22:17






  • 1




    It looks like you have two options: 1) recompile either of the two packages and remove the file from the control file and 2) try to download the deb file from the archive and use the --force-overwrite flag when installing it from the command line with dpkg. The question is knowing which version of the conflicting file you actually need, but in your case it seems to be a SPARC-related file which I think you could just ignore. I would go for option 2 which is much easier and faster.
    – Cristian Măgherușan-Stanciu
    Nov 10 '13 at 22:27












  • Yeahh, your second option works!! Thank you very much, Cristian.
    – David Martínez
    Nov 10 '13 at 22:47














0












0








0






This happens when there are some files which are provided by two packages.



What you can do is to remove the package you already have, in order to avoid the conflict.



In your case as a workaround you can try removing gdb (if you don't actually need it), then apt should allow you to install the gdb-arm-linux-gnueabi package that you were trying to install.



For the long term you should submit a bug to your distribution's bugtracker so the packagers come up with a proper fix.






share|improve this answer












This happens when there are some files which are provided by two packages.



What you can do is to remove the package you already have, in order to avoid the conflict.



In your case as a workaround you can try removing gdb (if you don't actually need it), then apt should allow you to install the gdb-arm-linux-gnueabi package that you were trying to install.



For the long term you should submit a bug to your distribution's bugtracker so the packagers come up with a proper fix.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 10 '13 at 21:33









Cristian Măgherușan-Stanciu

59936




59936












  • Unfortunately, I still need gdb for amd64. Is there any way to install the arm version without remove gdb-amd64?
    – David Martínez
    Nov 10 '13 at 22:17






  • 1




    It looks like you have two options: 1) recompile either of the two packages and remove the file from the control file and 2) try to download the deb file from the archive and use the --force-overwrite flag when installing it from the command line with dpkg. The question is knowing which version of the conflicting file you actually need, but in your case it seems to be a SPARC-related file which I think you could just ignore. I would go for option 2 which is much easier and faster.
    – Cristian Măgherușan-Stanciu
    Nov 10 '13 at 22:27












  • Yeahh, your second option works!! Thank you very much, Cristian.
    – David Martínez
    Nov 10 '13 at 22:47


















  • Unfortunately, I still need gdb for amd64. Is there any way to install the arm version without remove gdb-amd64?
    – David Martínez
    Nov 10 '13 at 22:17






  • 1




    It looks like you have two options: 1) recompile either of the two packages and remove the file from the control file and 2) try to download the deb file from the archive and use the --force-overwrite flag when installing it from the command line with dpkg. The question is knowing which version of the conflicting file you actually need, but in your case it seems to be a SPARC-related file which I think you could just ignore. I would go for option 2 which is much easier and faster.
    – Cristian Măgherușan-Stanciu
    Nov 10 '13 at 22:27












  • Yeahh, your second option works!! Thank you very much, Cristian.
    – David Martínez
    Nov 10 '13 at 22:47
















Unfortunately, I still need gdb for amd64. Is there any way to install the arm version without remove gdb-amd64?
– David Martínez
Nov 10 '13 at 22:17




Unfortunately, I still need gdb for amd64. Is there any way to install the arm version without remove gdb-amd64?
– David Martínez
Nov 10 '13 at 22:17




1




1




It looks like you have two options: 1) recompile either of the two packages and remove the file from the control file and 2) try to download the deb file from the archive and use the --force-overwrite flag when installing it from the command line with dpkg. The question is knowing which version of the conflicting file you actually need, but in your case it seems to be a SPARC-related file which I think you could just ignore. I would go for option 2 which is much easier and faster.
– Cristian Măgherușan-Stanciu
Nov 10 '13 at 22:27






It looks like you have two options: 1) recompile either of the two packages and remove the file from the control file and 2) try to download the deb file from the archive and use the --force-overwrite flag when installing it from the command line with dpkg. The question is knowing which version of the conflicting file you actually need, but in your case it seems to be a SPARC-related file which I think you could just ignore. I would go for option 2 which is much easier and faster.
– Cristian Măgherușan-Stanciu
Nov 10 '13 at 22:27














Yeahh, your second option works!! Thank you very much, Cristian.
– David Martínez
Nov 10 '13 at 22:47




Yeahh, your second option works!! Thank you very much, Cristian.
– David Martínez
Nov 10 '13 at 22:47


















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f100692%2ferror-installing-gdb-arm-linux-gnueabi%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

サソリ

広島県道265号伴広島線

Accessing regular linux commands in Huawei's Dopra Linux