[go: up one dir, main page]

I’ve been trying the COSMIC store and it looks like it killed my apt somehow. Apt says that there is a version mismatch between some libc6 packages, but I checked with dpkg and it all looks correct. Apt says that I’ve a newer version of some packages but that is not true. Is there any way to fix this?

  • Black616Angel@discuss.tchncs.de
    link
    fedilink
    arrow-up
    4
    ·
    4 months ago

    Try all the cleanup commands, so:

    apt autoremove; apt clean; apt autoclean; apt update
    

    Then reboot and try again.

    But yes, it looks weird.

      • Black616Angel@discuss.tchncs.de
        link
        fedilink
        arrow-up
        1
        ·
        4 months ago

        Okay, I’ve read into your post a bit more and something is fishy. You have libc6 for different CPU-architectures installed.

        Programs for i368 and amd64 should not be installed on the same machine. The error probably stems from that.

        Run the following to find out the architecture:

        uname -p
        

        If it says ‘x86_64’ then it’s amd64 and if it’s something like 'i368’ then it’s that. Otherwise, your system might be really borked…

        And then remove the wrong one.

        • TechnoCat@piefed.social
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 months ago

          FWIW, installing steam used to also install both architectures on my Fedora machine. I use the flatpak version now because it kept causing conflicts years ago.

  • Dingaling@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 months ago

    Has it added repos that are conflicting with your distro’s main ones?

    Check /etc/apt/sources.list and all the files in /etc/apt/sources.list.d/

    Move anything that looks sus to somewhere else and then “apt-get clean” and retry.

  • pewpew@feddit.itOP
    link
    fedilink
    arrow-up
    1
    ·
    4 months ago

    My best guess is that the Debian Unstable repository doesn’t have all the libc6 packages updated to the same version. I might just have to wait and see what happens

    • monovergent@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      4 months ago

      Can also endorse aptitude, but hopefully OP already has it installed prior to this issue. May have to manually install using dpkg if not. Whenever I run into issues like this, aptitude solves it 95% of the time, makes regular apt look like a baby helplessly crying.

      • pewpew@feddit.itOP
        link
        fedilink
        arrow-up
        0
        ·
        4 months ago

        Somehow I can’t even install aptitude trough dpkg because it says that the filesystem is read-only

          • pewpew@feddit.itOP
            link
            fedilink
            arrow-up
            2
            ·
            4 months ago

            No, I just figured it out. I had to enable a systemd service to test Cosmic. I have disabled it and now dpkg works and I manually installed Aptitude with its dependencies.

            I tried to do an upgrade with Aptitude but it won’t do anything. I’ll look into it more later

    • pewpew@feddit.itOP
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      What’s the output of apt —fix-broken install, like the big red error message suggests?

      You can see it in the post image. I’m using Debian Unstable

      • stupid_asshole69 [none/use name]@hexbear.net
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        4 months ago

        Good looking out. I only saw the one inline with your post body.

        You’re on sid, using cosmic and have a read only root filesystem. Is there anything else out of the ordinary with your computer? You replied to another post that you removed additional repos from sources but did you get the ones in sources.d/?

        E: sources.list.d, not sources.d

        • pewpew@feddit.itOP
          link
          fedilink
          arrow-up
          0
          ·
          4 months ago

          Correction: My filesystem is not read only. Dpkg can install .deb packages just fine

          My guess is that I tried to update packages in a specific time that there was a dependency issue in the Debian Unstable repository.

          Cosmic actually compiled and installed perfectly and the system still works and runs stable. It is a problem with Apt

  • nil@piefed.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 months ago

    I suggest you install the stable version (since stability and predictability are the main features of Debian). If you need the latest packages go Arch (or any other rolling-release distro).

    • pewpew@feddit.itOP
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      4 months ago

      I’ve been using Debian Unstable for about one year since I wanted Plasma 6 so bad. Even after Trixie came out I didn’t switch back to Stable because it runs good and gets frequent updates.

      The experience was actually quite smooth, better than what my friend has with Kubuntu, which for every distro update has a 50% chance of breaking