loads of uninstallable dependencies on debian

I installed Debain 12 about a month ago, and kept having difficulties with the package manager. It seems to lack any sort of sources in its default configuration, so that I had to manually add some which I saw online to the sources file. By default, the sources file only refered to some cd-rom thing, even though I installed the OS with a usb stick. Currently I am trying to install blender with apt, but as many times before, apt finds the program, but not the dependencies. The output I get from sudo apt install blender is this:


<span style="color:#323232;">marty@MartyPC:~$ sudo apt install blender
</span><span style="color:#323232;">[sudo] Passwort für marty: 
</span><span style="color:#323232;">Paketlisten werden gelesen… Fertig
</span><span style="color:#323232;">Abhängigkeitsbaum wird aufgebaut… Fertig
</span><span style="color:#323232;">Statusinformationen werden eingelesen… Fertig
</span><span style="color:#323232;">Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
</span><span style="color:#323232;">Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
</span><span style="color:#323232;">Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
</span><span style="color:#323232;">nicht erstellt wurden oder Incoming noch nicht verlassen haben.
</span><span style="color:#323232;">Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;">Die folgenden Pakete haben unerfüllte Abhängigkeiten:
</span><span style="color:#323232;"> blender : Hängt ab von: libavcodec58 (>= 7:4.0)
</span><span style="color:#323232;">           Hängt ab von: libavdevice58 (>= 7:4.0) soll aber nicht installiert werden
</span><span style="color:#323232;">           Hängt ab von: libavformat58 (>= 7:4.1) soll aber nicht installiert werden
</span><span style="color:#323232;">           Hängt ab von: libboost-atomic1.67.0 ist aber nicht installierbar
</span><span style="color:#323232;">           Hängt ab von: libboost-chrono1.67.0 ist aber nicht installierbar
</span><span style="color:#323232;">           Hängt ab von: libboost-date-time1.67.0 ist aber nicht installierbar
</span><span style="color:#323232;">           Hängt ab von: libboost-filesystem1.67.0 ist aber nicht installierbar
</span><span style="color:#323232;">           Hängt ab von: libboost-iostreams1.67.0 ist aber nicht installierbar
</span><span style="color:#323232;">           Hängt ab von: libboost-locale1.67.0 ist aber nicht installierbar
</span><span style="color:#323232;">           Hängt ab von: libboost-regex1.67.0 (>= 1.67.0-10) ist aber nicht installierbar
</span><span style="color:#323232;">           Hängt ab von: libboost-system1.67.0 ist aber nicht installierbar
</span><span style="color:#323232;">           Hängt ab von: libboost-thread1.67.0 ist aber nicht installierbar
</span><span style="color:#323232;">           Hängt ab von: libglew2.1 (>= 1.12.0) ist aber nicht installierbar
</span><span style="color:#323232;">           Hängt ab von: libilmbase23 (>= 2.2.1) ist aber nicht installierbar
</span><span style="color:#323232;">           Hängt ab von: libopencolorio1v5 (>= 1.1.0~dfsg0) ist aber nicht installierbar
</span><span style="color:#323232;">           Hängt ab von: libopenexr23 soll aber nicht installiert werden
</span><span style="color:#323232;">           Hängt ab von: libopenimageio2.0 soll aber nicht installiert werden
</span><span style="color:#323232;">           Hängt ab von: libopenvdb5.2 ist aber nicht installierbar
</span><span style="color:#323232;">           Hängt ab von: libpython3.7 (>= 3.7.0) soll aber nicht installiert werden
</span><span style="color:#323232;">           Hängt ab von: libtbb2 (>= 2017~U7) ist aber nicht installierbar
</span><span style="color:#323232;">E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.
</span>

Im very sorry for the german output (if anyone knows how to change only the terminal language to english, I would appreciate if they could tell me how to). It essentially says this:


<span style="color:#323232;">Some packages cannot be installed. That can meean, that an impossible situation was requested, or that an unstable distro is used and that the required packages have not been created yet. The following information may help solve the problem:
</span><span style="color:#323232;">
</span><span style="color:#323232;">These packages need unmet dependencies:
</span><span style="color:#323232;">blender:
</span><span style="color:#323232;">   needs libavcodec58 (>= 7:4.0)
</span><span style="color:#323232;">   [...]
</span>

If anyone has suggestions for fixing this promblem, I would appreciate it very much if they could share their thoughts.

bizdelnick,

It’s hard to guess what is wrong with your configuration. Show your sources.list.

To disable translation for commands you run in terminal, do export LANG=C.

ChojinDSL,
@ChojinDSL@discuss.tchncs.de avatar

Well… Right off the bat, I can see what the problem is. You have totally mixed up entries for different releases of debian in there. It’s a wonder it hasn’t completely broken your system.

Smorty,

It kinda has multiple times. I tried installing a Wayland version of gnome and that ended up nuking the Desktop multiple times. Then to fix it, I just ran this in a TTY: sudo apt remove gnome sudo apt install gnome And that fixed the desktop (even my wallpaper and shortcuts were back, wow).

And yes, I will update my sources to suit my OS.

Smorty,

In case it is needed, here is my current sources.list content:


<span style="color:#323232;"># deb cdrom:[Official Debian GNU/Linux Live 12.1.0 gnome 2023-07-22T09:48:34Z]/ bookworm main non-free-fi>
</span><span style="color:#323232;"># deb http://ftp.us.debian.org/debian stretch main contrib non-free
</span><span style="color:#323232;">
</span><span style="color:#323232;">deb http://security.debian.org/debian-security buster/updates main contrib non-free
</span><span style="color:#323232;">
</span><span style="color:#323232;">deb http://deb.debian.org/debian buster-updates main contrib non-free
</span><span style="color:#323232;">
</span><span style="color:#323232;">deb https://deb.debian.org/debian/ trixie main non-free contrib non-free-firmware
</span><span style="color:#323232;">deb-src https://deb.debian.org/debian/ trixie main non-free contrib non-free-firmware
</span><span style="color:#323232;">
</span><span style="color:#323232;"># deb https://dl.winehq.org/wine-builds/debian/ buster main
</span>
  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #