[Tinyos-help] TinyOS-1.x installation problem in Ubuntu Gutsy
Eric Decker
cire831 at gmail.com
Mon Jun 22 10:40:38 PDT 2009
Why are you using Gutsy. That is getting quite dated.
deb http://tinyos.stanford.edu/tinyos/dists/ubuntu hardy main
points at 8.04/8.10 packages that you can install directly using apt-get or
friends.
And by the way to force the installation you are trying to do you can use
one of the
--force switched to dpkg. I think --force-overwrite will do the trick.
And can I ask why you are using tinyos 1.x rather than 2.1?
e
On Mon, Jun 22, 2009 at 4:33 AM, bharat naik <bharat.2511 at gmail.com> wrote:
> Hi,
>
> I was installing TinyOS-1.x on Ubuntu 7.10 when I encountered the
> following problems:
>
> 1. I converted the avr-insight-pre6.0cvs.tinyos-1.3.i386.rpm<http://webs.cs.berkeley.edu/tos/dist-1.1.0/tools/linux/avr-insight-pre6.0cvs.tinyos-1.3.i386.rpm>into .deb using alien -d -c and then did dpkg -i avr-insight-.....deb.
> However, it gave me the following errors:
>
> *(Reading database ... 93081 files and directories currently installed.)
> Unpacking avr-insight (from avr-insight_pre6.0cvs.tinyos-2.3_i386.deb) ...
> dpkg: error processing avr-insight_pre6.0cvs.tinyos-2.3_i386.deb
> (--install):
> trying to overwrite `/usr/local/share/locale/sv/LC_MESSAGES/opcodes.mo',
> which is also in package avr-binutils
> dpkg-deb: subprocess paste killed by signal (Broken pipe)
> Errors were encountered while processing:
> avr-insight_pre6.0cvs.tinyos-2.3_i386.deb
>
> *How to rectify the above error?*
>
> *2. I went ahead, ignoring the above error and installing other packages.
> After I installed tinyos-tools-1.1.0-1.i386.rpm<http://webs.cs.berkeley.edu/tos/dist-1.1.0/tinyos/linux/tinyos-tools-1.1.0-1.i386.rpm>,
> I went on to install tinyos-1.1.0-1.noarch.rpm and it gave me the following
> errors:
> *(Reading database ... 93081 files and directories currently installed.)
> Preparing to replace tinyos 1.1.0-2 (using tinyos_1.1.0-2_all.deb) ...
> Unpacking replacement tinyos ...
> Setting up tinyos (1.1.0-2) ...
> /var/lib/dpkg/info/tinyos.postinst: 7: cannot create
> /etc/profile.d/tinyos.sh: Directory nonexistent
> .: 25: Can't open /etc/profile.d/tinyos.sh
> dpkg: error processing tinyos (--install):
> subprocess post-installation script returned error exit status 2
> Errors were encountered while processing:
> tinyos
>
> *Is it a simple matter of creating the directory: /etc/profile.d ? Should
> it already have been present?
>
> Thanks,
> Bharat.
>
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
--
Eric B. Decker
Senior (over 50 :-) Researcher
Autonomous Systems Lab
Jack Baskin School of Engineering
UCSC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090622/5d5fd260/attachment.htm
More information about the Tinyos-help
mailing list