Comment 8 for bug 1557205

moriarty (alexander-moriarty) wrote :

I also started having increased issues after running the nvidia jetson setup

I downloaded the packages as mentioned by Sean Jones and ran the commands mentioned by sfe1012, however they did not solve the issue.

However, it lead to more useful error messages and in the end I was able get everything working.

Here is what worked:

    wget http://de.archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.8-armhf-cross/gcc-4.8-arm-linux-gnueabihf-base_4.8.4-2ubuntu1~14.04.1cross0.11.1_amd64.deb
    wget http://de.archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.8-armhf-cross/libgcc-4.8-dev-armhf-cross_4.8.4-2ubuntu1~14.04.1cross0.11.1_all.deb
    wget http://de.archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.8-armhf-cross/libgcc1-armhf-cross_4.8.4-2ubuntu1~14.04.1cross0.11.1_all.deb
    sudo dpkg -i gcc-4.8-arm-linux-gnueabihf-base_4.8.4-2ubuntu1~14.04.1cross0.11.1_amd64.deb
    sudo dpkg -i libgcc1-armhf-cross_4.8.4-2ubuntu1~14.04.1cross0.11.1_all.deb
    sudo dpkg -i libstdc++6-armhf-cross_4.8.4-2ubuntu1~14.04.1cross0.11.1_all.deb
    sudo apt-get install -f

First tried:

    wget http://de.archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.8-armhf-cross/libstdc++6-armhf-cross_4.8.4-2ubuntu1~14.04.1cross0.11.1_all.deb
    wget http://de.archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.8-armhf-cross/libstdc++-4.8-dev-armhf-cross_4.8.4-2ubuntu1~14.04.1cross0.11.1_all.deb
    sudo dpkg -i --force-overwrite libstdc++6-armhf-cross*
    sudo dpkg -i --force-overwrite libstdc++-4.8-dev-armhf-cross*

Output:

$ sudo dpkg -i --force-overwrite libstdc++6-armhf-cross*
(Reading database ... 469933 files and directories currently installed.)
Preparing to unpack libstdc++6-armhf-cross_4.8.4-2ubuntu1~14.04.1cross0.11.1_all.deb ...
Unpacking libstdc++6-armhf-cross (4.8.4-2ubuntu1~14.04.1cross0.11.1) over (4.8.2-16ubuntu4cross0.11) ...
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/usr/share/gcc-4.8/python/libstdcxx/__init__.py', which is also in package libstdc++6:amd64 4.8.4-2ubuntu1~14.04.1
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/usr/share/gcc-4.8/python/libstdcxx/v6/printers.py', which is also in package libstdc++6:amd64 4.8.4-2ubuntu1~14.04.1
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/usr/share/gcc-4.8/python/libstdcxx/v6/__init__.py', which is also in package libstdc++6:amd64 4.8.4-2ubuntu1~14.04.1
dpkg: dependency problems prevent configuration of libstdc++6-armhf-cross:
 libstdc++6-armhf-cross depends on gcc-4.8-arm-linux-gnueabihf-base (= 4.8.4-2ubuntu1~14.04.1cross0.11.1); however:
  Package gcc-4.8-arm-linux-gnueabihf-base is not configured yet.
 libstdc++6-armhf-cross depends on libgcc1-armhf-cross; however:
  Package libgcc1-armhf-cross is not configured yet.

dpkg: error processing package libstdc++6-armhf-cross (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libstdc++6-armhf-cross

$ sudo dpkg -i --force-overwrite libstdc++-4.8-dev-armhf-cross*
(Reading database ... 469935 files and directories currently installed.)
Preparing to unpack libstdc++-4.8-dev-armhf-cross_4.8.4-2ubuntu1~14.04.1cross0.11.1_all.deb ...
Unpacking libstdc++-4.8-dev-armhf-cross (4.8.4-2ubuntu1~14.04.1cross0.11.1) over (4.8.4-2ubuntu1~14.04.1cross0.11.1) ...
dpkg: dependency problems prevent configuration of libstdc++-4.8-dev-armhf-cross:
 libstdc++-4.8-dev-armhf-cross depends on gcc-4.8-arm-linux-gnueabihf-base (= 4.8.4-2ubuntu1~14.04.1cross0.11.1); however:
  Package gcc-4.8-arm-linux-gnueabihf-base is not configured yet.
 libstdc++-4.8-dev-armhf-cross depends on libgcc-4.8-dev-armhf-cross (= 4.8.4-2ubuntu1~14.04.1cross0.11.1); however:
  Package libgcc-4.8-dev-armhf-cross is not configured yet.
 libstdc++-4.8-dev-armhf-cross depends on libstdc++6-armhf-cross (>= 4.8.4-2ubuntu1~14.04.1cross0.11.1); however:
  Package libstdc++6-armhf-cross is not configured yet.

dpkg: error processing package libstdc++-4.8-dev-armhf-cross (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libstdc++-4.8-dev-armhf-cross