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:

marty@MartyPC:~$ sudo apt install blender
[sudo] Passwort für marty: 
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:


Die folgenden Pakete haben unerfüllte Abhängigkeiten:
 blender : Hängt ab von: libavcodec58 (>= 7:4.0)
           Hängt ab von: libavdevice58 (>= 7:4.0) soll aber nicht installiert werden
           Hängt ab von: libavformat58 (>= 7:4.1) soll aber nicht installiert werden
           Hängt ab von: libboost-atomic1.67.0 ist aber nicht installierbar
           Hängt ab von: libboost-chrono1.67.0 ist aber nicht installierbar
           Hängt ab von: libboost-date-time1.67.0 ist aber nicht installierbar
           Hängt ab von: libboost-filesystem1.67.0 ist aber nicht installierbar
           Hängt ab von: libboost-iostreams1.67.0 ist aber nicht installierbar
           Hängt ab von: libboost-locale1.67.0 ist aber nicht installierbar
           Hängt ab von: libboost-regex1.67.0 (>= 1.67.0-10) ist aber nicht installierbar
           Hängt ab von: libboost-system1.67.0 ist aber nicht installierbar
           Hängt ab von: libboost-thread1.67.0 ist aber nicht installierbar
           Hängt ab von: libglew2.1 (>= 1.12.0) ist aber nicht installierbar
           Hängt ab von: libilmbase23 (>= 2.2.1) ist aber nicht installierbar
           Hängt ab von: libopencolorio1v5 (>= 1.1.0~dfsg0) ist aber nicht installierbar
           Hängt ab von: libopenexr23 soll aber nicht installiert werden
           Hängt ab von: libopenimageio2.0 soll aber nicht installiert werden
           Hängt ab von: libopenvdb5.2 ist aber nicht installierbar
           Hängt ab von: libpython3.7 (>= 3.7.0) soll aber nicht installiert werden
           Hängt ab von: libtbb2 (>= 2017~U7) ist aber nicht installierbar
E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.

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:

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:

These packages need unmet dependencies:
blender:
   needs libavcodec58 (>= 7:4.0)
   [...]

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

  • bizdelnick@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    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.

  • Smorty [she/her]@lemmy.blahaj.zoneOP
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

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

    # deb cdrom:[Official Debian GNU/Linux Live 12.1.0 gnome 2023-07-22T09:48:34Z]/ bookworm main non-free-fi>
    # deb http://ftp.us.debian.org/debian stretch main contrib non-free
    
    deb http://security.debian.org/debian-security buster/updates main contrib non-free
    
    deb http://deb.debian.org/debian buster-updates main contrib non-free
    
    deb https://deb.debian.org/debian/ trixie main non-free contrib non-free-firmware
    deb-src https://deb.debian.org/debian/ trixie main non-free contrib non-free-firmware
    
    # deb https://dl.winehq.org/wine-builds/debian/ buster main
    
  • ChojinDSL@discuss.tchncs.de
    link
    fedilink
    arrow-up
    0
    ·
    8 months ago

    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 [she/her]@lemmy.blahaj.zoneOP
      link
      fedilink
      arrow-up
      1
      ·
      8 months ago

      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.