[SOLVED] Problems with “held packages”

Forum Forums Official Releases antiX-21/22 “Grup Yorum” [SOLVED] Problems with “held packages”

  • This topic has 11 replies, 4 voices, and was last updated Jul 3-9:16 am by anticapitalista.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #85499
    Member
    punranger

      NB: I’m splitting this into multiple posts to avoid forum software from blocking!

      1.) I am currently having a problem with software updates and installation in antiX 21. I can not install some software through the package installer, and I get errors using the terminal and Synaptic. For example, I’m trying to install VLC and Audacity. I’m puzzled, as for example Gimp installed just fine through Synaptic, and Simple Sreen recorder installed fine through the package manager. I’m not able to copy the code that is output from the package installer, as the window closes itself, so I show the terminal output instead.

      The machine I’m using is an iMac from 2007. I was able to install antiX 21 from USB just fine. It’s a vanilla install. I installed the 64 bit full version. Then, I set the fastest antiX and Debian repos in the Repo manager, and finally I ran a complete system update through the Control Centre. I’ve been having some network issues, such as Synaptic telling me I’m not connected to the internet, while Connman says I’m connected, but it seems to have been sorted as I have updated everything. (I’ll show a full inxi at the bottom.)

      • This topic was modified 10 months ago by punranger.

      antiX linux: The best way to revive an old computer - https://www.youtube.com/watch?v=JCTaUAP6sSg

      #85500
      Member
      punranger
        Helpful
        Up
        0
        ::

        2.) But here’s what happens when I try to install VLC from the terminal:

        APT-GET UPDATE IN TERMINAL

        First, I do an update, which yields no errors.


        $ sudo apt-get update
        Hit:1 h__p://security.debian.org bullseye-security InRelease
        Hit:2 h__p://deb.debian.org/debian bullseye-backports InRelease
        Get:3 h__p://ftp.acc.umu.se/mirror/mxlinux.org/packages/antix/bullseye bullseye InRelease [27.4 kB]
        Hit:4 h__p://www.deb-multimedia.org testing InRelease
        Hit:5 h__p://mirrors.xtom.de/debian bullseye-updates InRelease
        Hit:6 h__p://mirrors.xtom.de/debian bullseye InRelease
        Fetched 27.4 kB in 1s (34.4 kB/s)
        Reading package lists... Done

        antiX linux: The best way to revive an old computer - https://www.youtube.com/watch?v=JCTaUAP6sSg

        #85501
        Member
        punranger
          Helpful
          Up
          0
          ::

          3.) APT-GET UPDATE IN CLI

          However, if I try to do an update in CLI, it tells me one list file is missing:

          
          Checking source files ...
          It appears that at least one list file is missing
          You should probably run apt-get update now
                                                                                        
          Run apt-get update now?                                                       
          = yes                                                                         
          > no                                                                          
          Press <Enter> to select the highlighted entry                                 
          Use 'h' for help, 'r' to redraw, 'q' to quit                                  
          Doing apt-get update                                                          
          => apt-get update
          Hit:1 h__p://security.debian.org bullseye-security InRelease
          Hit:2 h__p://mirrors.xtom.de/debian bullseye-updates InRelease                 
          Hit:3 h__p://www.deb-multimedia.org testing InRelease                          
          Hit:4 h__p://ftp.acc.umu.se/mirror/mxlinux.org/packages/antix/bullseye bullseye InRelease
          Hit:5 h__p://mirrors.xtom.de/debian bullseye InRelease                         
          Hit:6 h__p://deb.debian.org/debian bullseye-backports InRelease                
          Reading package lists... Done                                  
          update took 10.14 seconds
          Checking source files ...
          It appears that at least one list file is missing
          You should probably run apt-get update now
          

          When I try to repeat the process, the same thing happens.

          • This reply was modified 10 months ago by punranger.

          antiX linux: The best way to revive an old computer - https://www.youtube.com/watch?v=JCTaUAP6sSg

          #85502
          Member
          punranger
            Helpful
            Up
            0
            ::

            4.) TRYING TO INSTALL VLC FROM CLI


            Checking source files ...
            It appears that at least one list file is missing
            You should probably run apt-get update now

            Run apt-get update now?
            > yes
            = no
            Press <Enter> to select the highlighted entry
            Use 'h' for help, 'r' to redraw, 'q' to quit
            Checking for package upgrades ...
            There are 21 packages that can be upgraded
            -------------------------------------------------------------------------------
            System Upgrade Menu
            -------------------------------------------------------------------------------

            Please select an action
            = Upgrade 21 packages now
            > View a list of packages to be upgraded
            > Ignore these upgrades for now
            > Update package index (last update Sat 02 Jul 2022 02:36:28 PM CEST)
            Press <Enter> to select the highlighted entry
            Use 'h' for help, 'r' to redraw, 'q' to go back to the main menu
            => apt-get dist-upgrade
            Reading package lists... Done
            Building dependency tree... Done
            Reading state information... Done
            Calculating upgrade... Done
            The following packages have been kept back:
            ffmpeg libavcodec-extra libpostproc55
            0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
            dist-upgrade took 1.39 seconds
            Creating database ...
            database generation took 1.97 seconds

            ===============================================================================
            antiX Command Line Package Installer
            ===============================================================================

            Main Menu
            = Search for packages to mark or install
            > View a list of 84 suggested Command Line packages
            > View a list of 165 suggested GUI packages
            > Search for antiX kernels
            > Search for all kernels
            > Update package index (last update Sat 02 Jul 2022 02:36:28 PM CEST)
            > Edit the repo source files
            > View or perform 21 upgrades now
            > Quit
            Press <Enter> to select the highlighted entry
            Use 'h' for help, 'r' to redraw, 'q' to quit

            -------------------------------------------------------------------------------
            Search for packages
            -------------------------------------------------------------------------------
            Please enter the term you want to search for
            Standard globbing wildcards '*' and '?' work

            Use an empty string or q<Enter> to return to main menu
            > vlc
            Found 1 exact name match
            ==> vlc - multimedia player and streamer
            Found 30 leading name matches
            Found 41 any name matches
            Found 42 name or description matches

            searches took 0.11 seconds

            Search Result Menu

            Please select an action
            > Show more information about package vlc
            > Mark package vlc
            = Install package vlc
            > View 30 leading results
            > View 41 any name results
            > View 42 description results
            > Do a different search
            Press <Enter> to select the highlighted entry
            Use 'h' for help, 'r' to redraw, 'q' to go back to the main menu
            -------------------------------------------------------------------------------
            Install package vlc
            -------------------------------------------------------------------------------
            ==> vlc - multimedia player and streamer
            found 5 dependencies
            found 5 unmet dependencies that will also get installed
            vlc-bin vlc-l10n vlc-plugin-base vlc-plugin-qt vlc-plugin-video-output
            This package and unmet dependencies will add 223.83 Meg

            Do you want to install this package now?
            = yes
            > no
            Press <Enter> to select the highlighted entry
            Use 'h' for help, 'r' to redraw, 'q' to go back to the main menu
            Installing vlc
            => apt-get install vlc vlc-bin vlc-l10n vlc-plugin-base vlc-plugin-qt
            vlc-plugin-video-output
            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:
            libvlccore9 : Depends: libc6 (>= 2.33) but 2.31-13+deb11u3 is to be installed
            Depends: libidn12 (>= 1.38) but it is not installable
            vlc-bin : Depends: libc6 (>= 2.32) but 2.31-13+deb11u3 is to be installed
            vlc-plugin-base : Depends: libavcodec59 (>= 10:5.0.1) but it is not going to be installed
            Depends: libavformat59 (>= 10:5.0.1) but it is not going to be installed
            Depends: libavutil57 (>= 10:5.0.1) but it is not going to be installed
            Depends: libbluray2 (>= 2:1.3.1) but 1:1.2.1-4+deb11u1 is to be installed
            Depends: libc6 (>= 2.33) but 2.31-13+deb11u3 is to be installed
            Depends: libchromaprint1 (>= 1:1.5.1) but 1.5.0-2 is to be installed
            Depends: libdav1d6 (>= 1:1.0.0) but it is not going to be installed
            Depends: libgcrypt20 (>= 1.10.0) but 1.8.7-6 is to be installed
            Depends: libgnutls30 (>= 3.7.5) but 3.7.1-5 is to be installed
            Depends: liblivemedia107 (>= 2:2022.06.16) but it is not going to be installed
            Depends: libmpg123-0 (>= 1.28.0) but 1.26.4-1 is to be installed
            Depends: libpostproc56 (>= 10:5.0.1) but it is not going to be installed
            Depends: libspeexdsp1 (>= 1.2.0) but it is not going to be installed
            Depends: libsrt1.4-gnutls (>= 1.4.4) but 1.4.2-1.3 is to be installed
            Depends: libstdc++6 (>= 11) but 10.2.1-6 is to be installed
            Depends: libswscale6 (>= 10:5.0.1) but it is not going to be installed
            Depends: libx264-164 (>= 4:0.164.3094+gitbfc87b7) but it is not going to be installed
            vlc-plugin-video-output : Depends: libavcodec59 (>= 10:5.0.1) but it is not going to be installed
            Depends: libavutil57 (>= 10:5.0.1) but it is not going to be installed
            Depends: libcaca0 (>= 0.99.beta20) but 0.99.beta19-2.2 is to be installed
            Depends: libplacebo192 (>= 2:4.192.1) but it is not going to be installed
            Depends: libwayland-client0 (>= 1.20.0) but 1.18.0-2~exp1.1 is to be installed
            E: Unable to correct problems, you have held broken packages.
            install took 1.18 seconds
            Warning: The apt-get command failed
            Updating database ...

            antiX linux: The best way to revive an old computer - https://www.youtube.com/watch?v=JCTaUAP6sSg

            #85503
            Member
            punranger
              Helpful
              Up
              0
              ::

              5. When trying to repeat, I get the same results, such as the 21 packages that can be updated. I’ve been trying to figure out this “held broken packages” problem, but I think it’s odd that I should have this problem on a vanilla updated install through the package manager. It’s the first time I’ve had this, so I’m thinking maybe it could be related to some incompatible hardware.

              Full system inxi below. Grateful for any help.

              • This reply was modified 10 months ago by punranger.

              antiX linux: The best way to revive an old computer - https://www.youtube.com/watch?v=JCTaUAP6sSg

              #85504
              Member
              punranger
                Helpful
                Up
                0
                ::

                So, the forum software flags the inxi output as spam, and says it contains contacts. Uploading as attachment instead.

                Attachments:

                antiX linux: The best way to revive an old computer - https://www.youtube.com/watch?v=JCTaUAP6sSg

                #85508
                Moderator
                caprea
                  Helpful
                  Up
                  1
                  ::

                  So sorry for the inconvenience with the spam filter
                  I tried to recover the post but it won’t let me post the content either.

                  The deb.multimedia repos is enabled in your repos, this is not recommended. Please disable it and try again to install vlc.

                  #85510
                  Member
                  punranger
                    Helpful
                    Up
                    0
                    ::

                    It worked, thank you so much!

                    But this begs another question: I enabled the multimedia repos from within the package installer itself, under the “Non-Free” category, because I sometimes work on all kinds of media. Why is the ability to enable these repos even included in the package manager if it is not recommended? I try to follow the general advice here, and install from the package installer if that is an available option, and I always assumed that everything in the package installer was safe and recommended to use. If it is not recommended to enable these repos, I think it would be a good idea for novice users like me to at least note a warning in the PI, or even consider not including this option at all. Again, thank you for your time.

                    antiX linux: The best way to revive an old computer - https://www.youtube.com/watch?v=JCTaUAP6sSg

                    #85513
                    Forum Admin
                    anticapitalista
                      Helpful
                      Up
                      1
                      ::

                      PI enables non-free ONLY to install the codecs and then it disables the deb-multimedia repo (at least that is what it is supposed to do).

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

                      antiX with runit - leaner and meaner.

                      #85521
                      Member
                      punranger
                        Helpful
                        Up
                        0
                        ::

                        Thanks for your reply. I think I didn’t change anything in Repo manager, but then I keep forgetting so many things I did these days. I don’t really knows what’s really happening sometimes when I mess around. Pretty shocking that just adding a repo can have such bad consequences across the entire OS.

                        antiX linux: The best way to revive an old computer - https://www.youtube.com/watch?v=JCTaUAP6sSg

                        #85532
                        Member
                        Wallon
                          Helpful
                          Up
                          0
                          ::

                          Thanks anticapitalista for the explanation.
                          I didn’t know if I should activate this “multimedia” repository either.

                          Best regards,
                          Wallon

                          #85540
                          Forum Admin
                          anticapitalista
                            Helpful
                            Up
                            0
                            ::

                            This is default in /etc/apt/sources.list.d/debian.list from the package apt-antix

                            # Multimedia Stable!
                            # ONLY use to install libdvdcss2 and codecs.
                            #deb http://www.deb-multimedia.org bullseye main non-free

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

                            antiX with runit - leaner and meaner.

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