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

Ubuntu Installation from PPA Encounters Errors #581

Closed
vraoresearch opened this issue Sep 21, 2016 · 2 comments
Closed

Ubuntu Installation from PPA Encounters Errors #581

vraoresearch opened this issue Sep 21, 2016 · 2 comments

Comments

@vraoresearch
Copy link

Test System:

  • Distributor ID: Ubuntu
  • Description: Ubuntu 16.04.1 LTS
  • Release: 16.04
  • Codename: xenial

PPA was added according to documentation and keyring was successfully updated.

sudo apt-get install libmraa1 libmraa-dev mraa-gpio mraa-tools python2-mraa python3-mraa
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package python2-mraa

After removing the two Python packages from the command:

sudo apt-get install libmraa1 libmraa-dev mraa-gpio mraa-tools
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libpango1.0-0 libpangox-1.0-0
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  libmraa-dev libmraa1 mraa-gpio mraa-tools
0 upgraded, 4 newly installed, 0 to remove and 4 not upgraded.
Need to get 0 B/90.6 kB of archives.
After this operation, 404 kB of additional disk space will be used.
Selecting previously unselected package libmraa1.
(Reading database ... 172733 files and directories currently installed.)
Preparing to unpack .../libmraa1_1.3.0-2_amd64.deb ...
Unpacking libmraa1 (1.3.0-2) ...
Selecting previously unselected package libmraa-dev.
Preparing to unpack .../libmraa-dev_1.3.0-2_amd64.deb ...
Unpacking libmraa-dev (1.3.0-2) ...
Selecting previously unselected package mraa-gpio.
Preparing to unpack .../mraa-gpio_1.2.3-1_amd64.deb ...
Unpacking mraa-gpio (1.2.3-1) ...
Preparing to unpack .../mraa-tools_1.3.0-2_amd64.deb ...
Unpacking mraa-tools (1.3.0-2) ...
dpkg: error processing archive /var/cache/apt/archives/mraa-tools_1.3.0-2_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/mraa-gpio', which is also in package mraa-gpio 1.2.3-1
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Errors were encountered while processing:
 /var/cache/apt/archives/mraa-tools_1.3.0-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
@tingleby
Copy link
Member

tingleby commented Sep 21, 2016

Yes, those instructions are not the best.

The first is because the packages plain don't exist.....
Second, mraa-gpio was replaced by the mraa-tools package as it contains mraa-i2c too!

Let me commit and fix this doc issue.

@vraoresearch
Copy link
Author

Thanks Tom
Works perfectly now...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants