Unmet Dependencies Woes -Again

Forum Forums New users New Users and General Questions Unmet Dependencies Woes -Again

  • This topic has 33 replies, 5 voices, and was last updated Nov 24-1:40 pm by Anonymous.
Viewing 15 posts - 1 through 15 (of 34 total)
  • Author
    Posts
  • #71316
    Member
    dukester

      The following packages have unmet dependencies:
      libgtk2.0-dev : Depends: libgtk2.0-0 (= 2.24.32-3) but 2.24.33-2 is to be installed
      E: Unable to correct problems, you have held broken packages.

      WTF!! I don’t SEE held broken packages anywhere!!
      This is a recurring problem! Always “a dollar short or a day late” with this Debian-based stuff. Is there anyway to keep current? NOT “bleeding edge” but “latest stable” e.g. ? Thx …

      BTW, do I need to upgrade from “Manolis Glezos” to fix this? Can it it done w/o trashing my system?

      inxi -S
      System: Host: antixbox Kernel: 4.9.235-antix.1-amd64-smp x86_64 bits: 64 Desktop: Fluxbox 1.3.7
      Distro: antiX-19.3_x64-full Manolis Glezos 15 October 2020

      inxi -r
      Repos: Active apt repos in: /etc/apt/sources.list
      1: deb http://deb.debian.org/debian/ buster non-free contrib main
      No active apt repos in: /etc/apt/sources.list.d/antix.list
      No active apt repos in: /etc/apt/sources.list.d/bullseye-backports.list
      Active apt repos in: /etc/apt/sources.list.d/buster-backports.list
      1: deb http://deb.debian.org/debian/ buster-backports non-free contrib main
      No active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
      No active apt repos in: /etc/apt/sources.list.d/debian.list
      No active apt repos in: /etc/apt/sources.list.d/erlang-solutions.list
      No active apt repos in: /etc/apt/sources.list.d/onion.list
      No active apt repos in: /etc/apt/sources.list.d/various.list

      --
      dukester

      #71331
      Moderator
      caprea
        Helpful
        Up
        0
        ::

        No active apt repos in: /etc/apt/sources.list.d/antix.list

        No active apt repos in: /etc/apt/sources.list.d/debian.list

        Repos: Active apt repos in: /etc/apt/sources.list
        1: deb http://deb.debian.org/debian/ buster non-free contrib main

        The whole thing looks a bit messed up.The /etc/apt/sources.list should be an empty list, normally.

        In: /etc/apt/sources.list.d/debian.list should be
        deb http://debian.otenet.gr/debian/ buster main contrib non-free
        deb http://security.debian.org/ buster/updates main contrib non-free

        in: /etc/apt/sources.list.d/debian-stable-updates.list should be
        deb http://mirror.eu.oneandone.net/debian/ buster-updates main contrib non-free

        The most important, you do not have any antiX-list.In /etc/apt/sources.list.d/antix.list should be
        deb http://ftp.cc.uoc.gr/mirrors/linux/mx/antix/buster/ buster main nonfree nosystemd

        #71332
        Member
        dukester
          Helpful
          Up
          1
          ::

          Thx! Just updated the files you commented on!

          What should be my very next move to bring my system up-to-date?
          I don’t want to blow it at this point! LOL
          One false command and I’m total toast!! 😀

          --
          dukester

          #71333
          Moderator
          caprea
            Helpful
            Up
            1
            ::

            sudo apt update

            should be the next.If there are no errors followed by

            sudo apt full-upgrade

            #71334
            Member
            dukester
              Helpful
              Up
              0
              ::

              Awesome! One of these days I’ll get my “shit” in one bag – I hope! Thx again ..

              --
              dukester

              #71338
              Member
              PPC
                Helpful
                Up
                1
                ::

                Is there anyway to keep current? NOT “bleeding edge” but “latest stable” e.g. ?

                Yes, there is!
                First- don’t ever mess with your Repos. As you noticed, you’ll end up, sooner or later, breaking your system!
                Second- If you want to use the “latest” software available in Debian, update to the latest version of your OS- back up everything and install antiX 21- there are many apps that do not offer their latest versions under Debian 10 (antiX 19), only under Debian 11 (antiX 21)
                Third- Do you want to use the latest version of your apps and not risk breaking your system? There are some very nice options: use Flatpaks, or Appimage versions of those apps, if they are available. Also, if the app is available under an executable binary format (ex: firefox, telegram), download and use those- but you may have to create/adapt their .desktop files to run them from the menu or desktop/toolbar icons…

                P.

                #71357
                Member
                dukester
                  Helpful
                  Up
                  0
                  ::

                  Worked liked a charm! No errors! Thx again ..

                  --
                  dukester

                  #71359
                  Member
                  dukester
                    Helpful
                    Up
                    0
                    ::

                    Got it! As long as I’m on a Debian-based system, I’ll never touch the repos again!

                    install antiX 21

                    I’ll look for the installation Howto to get this done correctly. Thx ..

                    use Flatpaks, or Appimage versions ….. executable binary format

                    Never heard of Flatpaks or Appimage, but sounds like a plan! Using pre-compiled binaries has always been an obvious option for me.

                    Thx again for your input!!

                    --
                    dukester

                    #71364
                    Member
                    dukester
                      Helpful
                      Up
                      0
                      ::

                      So after, after following all the great advice above, here’s what I still have to deal with. I haven’t upgraded to antiX 21 yet~

                      › sudo apt-get install libgtk2.0-dev
                      [sudo] password for dnormandin:
                      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:
                      libgtk2.0-dev : Depends: libgtk2.0-0 (= 2.24.32-4.0antix1) but 2.24.33-2 is to be installed
                      E: Unable to correct problems, you have held broken packages.

                      How can that be!? What a PITA!

                      --
                      dukester

                      #71365
                      Moderator
                      caprea
                        Helpful
                        Up
                        0
                        ::

                        On antiX19 here now, same repos like yours now.

                        $ apt-cache policy libgtk2.0-0
                        libgtk2.0-0:
                          Installiert:           2.24.32-4.0antix1
                          Installationskandidat: 2.24.32-4.0antix1
                          Versionstabelle:
                         *** 2.24.32-4.0antix1 500
                                500 http://ftp.cc.uoc.gr/mirrors/linux/mx/antix/buster buster/main amd64 Packages
                                500 http://ftp.cc.uoc.gr/mirrors/linux/mx/antix/buster buster/dev amd64 Packages
                                100 /var/lib/dpkg/status
                             2.24.32-3 500
                                500 http://debian.otenet.gr/debian buster/main amd64 Packages
                        

                        If apt on your sytem still wants to install the version 2.24.33-2 , there must be still an error in your sources lists.Please post again
                        inxi -r

                        The version 2.24.33-2 is from bullseye, which is antiX21.
                        Please also post the output of apt-cache policy libgtk2.0-0

                        • This reply was modified 1 year, 5 months ago by caprea.
                        #71383
                        Member
                        dukester
                          Helpful
                          Up
                          0
                          ::

                          The forum choked on the contents of the following:

                          https://controlc.com/ae130c34

                          Forum now fixed!! WOOHOO

                          • This reply was modified 1 year, 5 months ago by dukester.

                          --
                          dukester

                          #71386
                          Moderator
                          caprea
                            Helpful
                            Up
                            0
                            ::

                            Please post also output
                            apt-cache policy libgtk2.0-0

                            #71387
                            Member
                            dukester
                              Helpful
                              Up
                              0
                              ::

                              apt-cache policy libgtk2.0-0

                              libgtk2.0-0:
                              Installed: 2.24.33-2
                              Candidate: 2.24.33-2
                              Version table:
                              *** 2.24.33-2 100
                              100 /var/lib/dpkg/status
                              2.24.32-4.0antix1 500
                              500 http://ftp.cc.uoc.gr/mirrors/linux/mx/antix/buster buster/main amd64 Packages
                              2.24.32-3 500
                              500 http://debian.otenet.gr/debian buster/main amd64 Packages

                              --
                              dukester

                              #71388
                              Forum Admin
                              anticapitalista
                                Helpful
                                Up
                                0
                                ::

                                You had this at one time and this has probably messed it all up

                                No active apt repos in: /etc/apt/sources.list.d/antix.list

                                Philosophers have interpreted the world in many ways; the point is to change it.

                                antiX with runit - leaner and meaner.

                                #71390
                                Member
                                dukester
                                  Helpful
                                  Up
                                  0
                                  ::

                                  OK! Now what?

                                  --
                                  dukester

                                Viewing 15 posts - 1 through 15 (of 34 total)
                                • You must be logged in to reply to this topic.