tech_log: Trouble apt-getting gdb-arm-linux-gnu

Sunday, February 22, 2009

Trouble apt-getting gdb-arm-linux-gnu

Package collided with already installed gdb (man pages).
  1. Marx:/usr/share/man/man1# apt-get install gdb-arm-linux-gnu
  2. Reading package lists... Done
  3. Building dependency tree      
  4. Reading state information... Done
  5. Suggested packages:
  6.   gdb-doc
  7. The following NEW packages will be installed:
  8.   gdb-arm-linux-gnu
  9. 0 upgraded, 1 newly installed, 0 to remove and 189 not upgraded.
  10. Need to get 0B/2348kB of archives.
  11. After this operation, 5046kB of additional disk space will be used.
  12. (Reading database ... 107197 files and directories currently installed.)
  13. Unpacking gdb-arm-linux-gnu (from .../gdb-arm-linux-gnu_6.8-3_i386.deb) ...
  14. dpkg: error processing /var/cache/apt/archives/gdb-arm-linux-gnu_6.8-3_i386.deb (--unpack):
  15.  trying to overwrite `/usr/share/man/man1/gdb.1.gz', which is also in package gdb
  16. dpkg-deb: subprocess paste killed by signal (Broken pipe)
  17. Processing triggers for man-db ...
  18. Errors were encountered while processing:
  19.  /var/cache/apt/archives/gdb-arm-linux-gnu_6.8-3_i386.deb
  20. E: Sub-process /usr/bin/dpkg returned an error code (1)
  21. Marx:/usr/share/man/man1#
Resolution:
dpkg -i --force-overwrite /var/cache/apt/archives/gdb-arm-linux-gnu_6.8-3_i386.deb


0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home