I'd suggest changing the name of the tinyos-specific AVR toolchain
packages.  This will prevent the namespace collisions within the package
manager.  If the managers of the Stanford repository aren't interested
in doing this, you can do it yourself.  I don't remember the exact
syntax off the top of my head, but it goes along the lines of:

* extract the current package files with dpkg -x pkg.deb
* extract the current package control info with dpkg -e pkg.deb
* update DEBIAN/control
* repack the deb using dpkg-deb -b

tony

Anne van Rossum wrote:
> Dear list members,
> 
> This regards the recent Ubuntu package at the debian repository: deb
> http://tinyos.stanford.edu/tinyos/dists/ubuntu edgy main
> 
> My current Ubuntu installation does already have binutils-avr, gcc-avr
> and avr-libc packages. (I already cross-compile for avr's and arm's
> microcontrollers.)
> 
> This leads to problems in installing them, see *****. What I can do is
> remove the references to the files in the binutils-avr, etc. packages
> (remove the lines in /var/lib/dpkg/info/binutils-avr.list). However, I
> don't know what will be put in those directories in that case. 
> 
> Is not possible to use other folders, if the files are different. And
> else, rely upon the default avr-libc, gcc-avr, binutils-avr, etc.
> packages?
> 
> Kind regards,
> 
> Anne
> 
> 
> ********************************************************************
> Unpacking avr-binutils-tinyos
> (from .../avr-binutils-tinyos_2.15-4_i386.deb) ...
> 
> dpkg: error
> processing /var/cache/apt/archives/avr-binutils-tinyos_2.15-4_i386.deb
> (--unpack):
> trying to overwrite `/usr/share/man/man1/avr-addr2line.1.gz', which is
> also in package binutils-avr
> dpkg-deb: subprocess paste killed by signal (Broken pipe)
> 
> Unpacking avr-gcc-tinyos (from .../avr-gcc-tinyos_3.4.3-2_i386.deb) ...
> 
> dpkg: error
> processing /var/cache/apt/archives/avr-gcc-tinyos_3.4.3-2_i386.deb
> (--unpack):
> trying to overwrite `/usr/share/man/man1/avr-gcc.1.gz', which is also in
> package gcc-avr
> dpkg-deb: subprocess paste killed by signal (Broken pipe)
> 
> Selecting previously deselected package avr-insight.
> Unpacking avr-insight (from .../avr-insight_6.3-2_i386.deb) ...
> 
> Unpacking avr-libc-tinyos
> (from .../avr-libc-tinyos_1.2.3-2_i386.deb) ...
> dpkg: error
> processing /var/cache/apt/archives/avr-libc-tinyos_1.2.3-2_i386.deb
> (--unpack):
> trying to overwrite `/usr/avr/include/avr/crc16.h', which is also in
> package avr-libc
> dpkg-deb: subprocess paste killed by signal (Broken pipe)
> 
> Selecting previously deselected package msp430tools-base.
> Unpacking msp430tools-base
> (from .../msp430tools-base_0.1-20050608_i386.deb) ...
> Selecting previously deselected package msp430tools-binutils.
> Unpacking msp430tools-binutils
> (from .../msp430tools-binutils_2.17_i386.deb) ...
> Selecting previously deselected package msp430tools-gcc.
> Unpacking msp430tools-gcc
> (from .../msp430tools-gcc_3.2.3-20050608_i386.deb) ...
> Selecting previously deselected package msp430tools-gdb.
> Unpacking msp430tools-gdb
> (from .../msp430tools-gdb_6.0-20050610_i386.deb) ...
> Selecting previously deselected package msp430tools-jtag-lib.
> Unpacking msp430tools-jtag-lib
> (from .../msp430tools-jtag-lib_20031101cvs-20050611_i386.deb) ...
> Selecting previously deselected package msp430tools-libc.
> Unpacking msp430tools-libc
> (from .../msp430tools-libc_20050308cvs-20050609_i386.deb) ...
> Selecting previously deselected package msp430tools-python-tools.
> Unpacking msp430tools-python-tools
> (from .../msp430tools-python-tools_1.0-2_all.deb) ...
> Selecting previously deselected package nesc.
> Unpacking nesc (from .../nesc_1.2.8a-2_i386.deb) ...
> Selecting previously deselected package tinyos-tools.
> Unpacking tinyos-tools (from .../tinyos-tools_1.2.3-2_i386.deb) ...
> Selecting previously deselected package tinyos.
> Unpacking tinyos (from .../archives/tinyos_2.0-1_i386.deb) ...
> Selecting previously deselected package tinyos-avr.
> Unpacking tinyos-avr (from .../tinyos-avr_2.0-1_i386.deb) ...
> Selecting previously deselected package tinyos-msp430.
> Unpacking tinyos-msp430 (from .../tinyos-msp430_2.0-1_i386.deb) ...
> 
> Unpacking gdb-avr (from .../gdb-avr_6.4-1_i386.deb) ...
> dpkg: error processing /var/cache/apt/archives/gdb-avr_6.4-1_i386.deb
> (--unpack):
> trying to overwrite `/usr/bin/avr-gdbtui', which is also in package
> avr-insight
> dpkg-deb: subprocess paste killed by signal (Broken pipe)
> 
> Errors were encountered while processing:
> /var/cache/apt/archives/avr-binutils-tinyos_2.15-4_i386.deb
> /var/cache/apt/archives/avr-gcc-tinyos_3.4.3-2_i386.deb
> /var/cache/apt/archives/avr-libc-tinyos_1.2.3-2_i386.deb
> /var/cache/apt/archives/gdb-avr_6.4-1_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> ...
> 
> Errors were encountered while processing:
> tinyos-avr
> 
> 
> _______________________________________________
> Tinyos-help mailing list
> [EMAIL PROTECTED]
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

_______________________________________________
Tinyos-help mailing list
[EMAIL PROTECTED]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to