DC-DeepComputing / DC-ROMA_Pad_II_RV-P1B

2 stars 2 forks source link

Broken dependencies prevent toolchain installation #9

Closed Haui1112 closed 3 weeks ago

Haui1112 commented 3 weeks ago

Problem

While attempting to port apps to riscv using the ROMA PAD II, I am getting issues with broken dependencies. sudo unminimize helped with being unable to update at all but has not solved this issue.

Expected behavior

sudo apt install clang succeeds sudo apt install libgtk-3-dev succeeds

Observed behavior

Both fail with unmet dependencies.

Steps to reproduce

  1. install ubuntu
  2. sudo unminimize
  3. sudo apt install clang libgtk-dev
  4. see error

Log/Error message

haui@haui-romapad:~/Development/dart-sdk$ sudo apt install clang
Reading package lists... Done
Building dependency tree... Done
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:
 libgcc-13-dev : Depends: gcc-13-base (= 13.2.0-23ubuntu4) but 13.2.0-23ubuntu4bb2 is to be installed
 libobjc-13-dev : Depends: gcc-13-base (= 13.2.0-23ubuntu4) but 13.2.0-23ubuntu4bb2 is to be installed
 libstdc++-13-dev : Depends: gcc-13-base (= 13.2.0-23ubuntu4) but 13.2.0-23ubuntu4bb2 is to be installed
N: Ignoring file 'bianbu.sources.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Unable to correct problems, you have held broken packages.
haui@haui-romapad:~/Development/dart-sdk$ sudo apt install libgtk-3-dev
Reading package lists... Done
Building dependency tree... Done
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:
 libgdk-pixbuf-2.0-dev : Depends: libjpeg-dev
 libpng-dev : Depends: libpng16-16t64 (= 1.6.43-5build1) but 1.6.43-5build1bb1 is to be installed
              Recommends: libpng-tools but it is not going to be installed
 libtiff-dev : Depends: libjpeg-dev
N: Ignoring file 'bianbu.sources.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Unable to correct problems, you have held broken packages.
ppenzin commented 3 weeks ago

This fixed the dependencies for me: https://github.com/DC-DeepComputing/DC-ROMA_Pad_II_RV-P1B/issues/1#issuecomment-2444654035 (not sure you want to upgrade, though there is another suggestion on that two messages down).

The gist of the change is that bianbu sources point to non-existent repository instead of spacemit.

Haui1112 commented 3 weeks ago

its official: after changing the sources like suggested in the other issue #1, I was able to successfully install the two toolchain components. Thanks to everyone involved.