Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tinyos-release: Packages 'nesc', 'tinyos-tools' and 'msp430-46' throw errors; 'avr-tinyos' is not all installable #308

Closed
fossterer opened this issue Sep 5, 2014 · 6 comments

Comments

@fossterer
Copy link

commented Sep 5, 2014

None of the packages listed at the download page 'http://tinyprod.net/repos/debian/' are installable

Outputs:

  • sudo apt-get install nesc
    ...
    Error: Package X is trying to overwrite the file Y. File Y is already provided by package Z
    ...
  • sudo apt-get install tinyos-tools
    ...
    Unpacking tinyos-tools (1.4.2-tinyprod1) ...
    dpkg: error processing archive tinyos-tools_1.4.2-tinyprod1_i386.deb (--install):
    trying to overwrite '/usr/bin/uisp', which is also in package uisp 20050207-4.2ubuntu1
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    ...
  • sudo apt-get install msp430-46
    ...
    Error: Package X is trying to overwrite the file Y. File Y is already provided by package Z
    ...
  • sudo apt-get install avr-tinyos
    ...
    dpkg: dependency problems prevent configuration of avr-tinyos:
    avr-tinyos depends on avr-tinyos-base; however:
    Package avr-tinyos-base is not installed.
    avr-tinyos depends on avr-binutils-tinyos; however:
    Package avr-binutils-tinyos is not installed.
    avr-tinyos depends on avr-gcc-tinyos; however:
    Package avr-gcc-tinyos is not installed.
    avr-tinyos depends on avr-libc-tinyos; however:
    Package avr-libc-tinyos is not installed.
    avr-tinyos depends on avrdude-tinyos; however:
    Package avrdude-tinyos is not installed.
    ...
@cire831

This comment has been minimized.

Copy link
Member

commented Sep 5, 2014

Buried on the README page for the tinyprod.net repository are the following instructions for removing old packages first...

You may need to remove old *-tinyos packages. To do so, follow these instructions:

Remove previously installed -tinyos packages:
$ sudo dpkg -P dpkg -l nesc '*tinyos' | grep ^ii | awk '{ print $2 }' | xargs
$ sudo apt-get clean

You may also need to remove other packages that conflict.

The repository installs on a clean/fresh system.

The avr toolchain on tinyprod has known problems. You need to get the avr toolchain from the stanford site.

We are working on fixing this but it will take some time.

@cire831 cire831 closed this Sep 5, 2014

@fossterer

This comment has been minimized.

Copy link
Author

commented Sep 5, 2014

$ sudo dpkg -P dpkg -l nesc '*tinyos' | grep ^ii | awk '{ print $2 }' | xargs
-- reports that none are found to be removed

$ sudo apt-get clean
-- done

You may also need to remove other packages that conflict.
-- did even '$sudo apt-get autoremove --purge nesc tinyos-tools msp430-46 avr-tinyos'

verified on an i386 and an x64 system. The issue persists

@cire831

This comment has been minimized.

Copy link
Member

commented Sep 6, 2014

On Fri, Sep 5, 2014 at 4:41 PM, fossterer notifications@github.com wrote:

$ sudo dpkg -P dpkg -l nesc '*tinyos' | grep ^ii | awk '{ print $2 }' |
xargs
-- reports that none are found to be removed

$ sudo apt-get clean
-- done

You may also need to remove other packages that conflict.
-- did even '$sudo apt-get autoremove --purge nesc tinyos-tools msp430-46
avr-tinyos'

verified on an i386 and an x64 system. The issue persists

send me the actual output of the

apt-get install nesc tinyos-tools msp430-46

avr-tinyos doesn't work right from tinyprod.net. You need to get that
from stanford.

what processors are you actually developing for?


Reply to this email directly or view it on GitHub
#308 (comment).

Eric B. Decker
Senior (over 50 :-) Researcher

@danielemidi

This comment has been minimized.

Copy link

commented Sep 13, 2014

I'm experiencing the same issue. Actually, I seem to be able to install all packages but avr-tinyos.
Here's my output:

daniele@daniele-VirtualBox:~/repos/FGA/FGANode$ sudo apt-get install nesc tinyos-tools msp430-46 avr-tinyos
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 avr-tinyos : Depends: avr-tinyos-base but it is not going to be installed
              Depends: avr-binutils-tinyos but it is not going to be installed
              Depends: avr-gcc-tinyos but it is not going to be installed
              Depends: avr-libc-tinyos but it is not going to be installed
              Depends: avrdude-tinyos but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

If I try to individually install the packages, I can install all of them successfully except avr-tinyos.
You say to get that package from Stanford, but I don't know how to do it. Could you give me some instructions?

Thank you!

UPDATE: Reverting the repository source back to "squeeze" seems to let me install everything. However I'd like to use the new "wheezy". How can I solve this?

@enricorotundo

This comment has been minimized.

Copy link

commented Mar 19, 2015

@danielemidi i have same the problem. Ubuntu 13.10.
I solved following this:
http://www.cse.wustl.edu/~lu/cse467s/slides/tinyos-installation.pdf
Basically using squeeze repository instead of wheezy

@Nikolopoulos

This comment has been minimized.

Copy link

commented Sep 24, 2015

@tundo91 Holy $hit man, you save my life, THANKS A LOT!

@cire831 cire831 closed this Jan 22, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.