CLI APT-based package manager – “at least one list file is missing”

Forum › Forums › New users › New Users and General Questions › CLI APT-based package manager – “at least one list file is missing”

Tagged: ,

  • This topic has 27 replies, 6 voices, and was last updated Nov 11-10:56 pm by Picotin.
Viewing 15 posts - 1 through 15 (of 28 total)
  • Author
    Posts
  • #186450
    magnet helper
    Member

      hi all, i’ve tried a number of suggestions from the forums, but nothing seems to be working. i am running antiX-base (runit) and wanted to install some more icewm packages, but i think this list file problem is preventing those from working, too:

      Installing icewm-goodies-antix
      => apt-get install icewm-goodies-antix 
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      E: Unable to locate package icewm-goodies-antix
      E: Couldn't find any package by glob 'icewm-goodies-antix'
      E: Regex compilation error - Invalid range end
      E: Couldn't find any package by regex 'icewm-goodies-antix'
      install took 0.67 seconds
      Warning: The apt-get command failed

      and the error i get from apt-get is:

      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? 

      thanks!

      • This topic was modified 11 months, 4 weeks ago by magnet helper.
      • This topic was modified 11 months, 4 weeks ago by magnet helper.
      #186452
      stevesr0
      Member

        Hi magnet helper,

        I assume that by “list file”, the message indicates that you need to add a repository file to your /etc/apt/sources.list.d directory.

        Please check what repository files you have in that directory. If it doesn’t become obvious to you (missing antix.list for example), then post your list here.

        #186455
        magnet helper
        Member

          that directory contains:

          antix.list
          bookworm-backports.list
          debian-stable-updates.list
          liquorix.list
          backups (directory)
          debian.list
          librewolf.list

          #186461
          BobC
          Moderator

            Post the contents of the antix.list file.

            What version of antiX are you running?

            Here is the link to SEARCH THE FORUM >> http://www.antixforum.com/search-forums

            #186463
            Robin
            Member

              Please check whether you are also affected from this issue I have currently here:

              http://www.antixforum.com/forums/topic/strange-release-file-issue/

              Does

              $ sudo apt-get update

              return an error message about “antix_bookworm_dists_bookworm_InRelease” like described over there?

              Are all the antiX specific packages in

              $ apt list --installed

              marked for you also as locally installed merely?

              Windows is like a submarine. Open a window and serious problems will start.

              #186467
              magnet helper
              Member

                Post the contents of the antix.list file.

                What version of antiX are you running?

                version 23.2 runit

                # Use with Debian Bookworm repositories. 
                deb [signed-by=/etc/apt/keyrings/antix-archive-keyring.gpg] http://ftp.osuosl.o>
                #deb-src http://ftp.osuosl.org/pub/mxlinux/antix/bookworm bookworm main nosyste>
                
                # Use with Debian Testing/'rolling' repositories.
                #deb http://ftp.osuosl.org/pub/mxlinux/antix/testing testing main nosystemd non>
                #deb-src http://ftp.osuosl.org/pub/mxlinux/antix/testing testing main nosystemd>
                
                # Use with Debian Sid repositories. 
                #deb http://ftp.osuosl.org/pub/mxlinux/antix/sid sid main nosystemd nonfree 
                #deb-src http://ftp.osuosl.org/pub/mxlinux/antix/sid sid main nosystemd nonfree

                Please check whether you are also affected from this issue I have currently here:

                http://www.antixforum.com/forums/topic/strange-release-file-issue/

                Does

                $ sudo apt-get update

                return an error message about “antix_bookworm_dists_bookworm_InRelease” like described over there?

                Are all the antiX specific packages in

                $ apt list --installed

                marked for you also as locally installed merely?

                no, sudo apt-get update does not return a specific error message, just keeps saying that at least one list file is missing

                #186468
                stevesr0
                Member

                  Hi magnet helper,

                  The list you posted appears ”cut off” (“>”) before displaying all the sections (main, nosystemd, etc).
                  Is that what it looks like when you display them in a text editor (nano, leafpad, etc)?

                  If there is more than the posted list displays, please repost with all the sections showing.

                  (**Because different applications come from different sections.)

                  • This reply was modified 12 months ago by stevesr0.
                  #186477
                  magnet helper
                  Member

                    oops, here’s the list

                    # Use with Debian Bookworm repositories. 
                    deb [signed-by=/etc/apt/keyrings/antix-archive-keyring.gpg] http://ftp.osuosl.org/pub/mxlinux/antix/bookworm bookworm main nonfree nosystemd  
                    #deb-src http://ftp.osuosl.org/pub/mxlinux/antix/bookworm bookworm main nosystemd nonfree  
                    
                    # Use with Debian Testing/'rolling' repositories.
                    #deb http://ftp.osuosl.org/pub/mxlinux/antix/testing testing main nosystemd nonfree 
                    #deb-src http://ftp.osuosl.org/pub/mxlinux/antix/testing testing main nosystemd nonfree 
                    
                    # Use with Debian Sid repositories. 
                    #deb http://ftp.osuosl.org/pub/mxlinux/antix/sid sid main nosystemd nonfree 
                    #deb-src http://ftp.osuosl.org/pub/mxlinux/antix/sid sid main nosystemd nonfree 

                    edited to add: i have tried multiple repositories through repo-manager

                    2nd edit: this is basically a fresh install. i am a little worried i did some kind of updating out of order in the live install process. it wouldn’t be a huge setback to do a fresh install, but if it can be helped, that’s preferable i suppose. i have thought of going back and doing a core install – i have managed to set up Arch on another machine so it doesn’t feel too overwhelming – or doing a full install and removing what i don’t see myself using.

                    • This reply was modified 12 months ago by magnet helper.
                    • This reply was modified 12 months ago by magnet helper.
                    #186579
                    stevesr0
                    Member

                      I checked with aptitude on my antiX-23 install and that package is listed as coming from
                      http://la.mxrepo.com/antix/bookworm/pool/main/i/icewm-goodies-antix_0.2.6_all.deb

                      I suggest you use aptitude or synaptic (install one if neither is installed) to check the package location.

                      You can also try switching to the repo (la.mxrepo.com) that aptitude reported on my system as holding that package.

                      On my antiX-23 full runit install, I simulated the install of this package and got no error message.

                      P.S. You wrote

                      apt install icewm-goodies-antix

                      I assume you prefaced that with “sudo”?

                      • This reply was modified 11 months, 4 weeks ago by stevesr0.
                      • This reply was modified 11 months, 4 weeks ago by stevesr0.
                      #186587
                      magnet helper
                      Member

                        pretty sure i included “sudo” but either way, i decided to reinstall from the “full” image. closing topic

                        #186634
                        magnet helper
                        Member

                          sorry to reopen this thread – realized that this still happens when using the “CLI APT-based package manager” option, which is when i was getting this problem last time around. everything updates fine with the “antiX Updater” option – but it’s weird to get this error from the CLI option specifically and not from a standard roxterm window doing “sudo apt update”

                          #186638
                          BobC
                          Moderator

                            The updater runs the same commands for you.

                            Since it’s a fresh install, and what’s happening is irrational, I think the easiest way to fix it would be redo the install carefully, including checking the install media and making a note of all defaults changed, and after the install is completed use the updater to bring it up to date.

                            Date and time must be correct for the time zone selected or update has trouble.

                            Internet connection needs to be good and working.

                            Are you installing the base or full version?

                            Unless you are absolutely desperate for disk space, I’d suggest installing the full version because it includes a lot of little things that needed to be removed to make the base version fit on a CD.

                            Just my 2 cents worth of ideas.

                            Maybe someone else knows what is really wrong?

                            • This reply was modified 11 months, 4 weeks ago by BobC.

                            Here is the link to SEARCH THE FORUM >> http://www.antixforum.com/search-forums

                            #186642
                            magnet helper
                            Member

                              i did reinstall the full version, carefully following the directions. perhaps the date/time zone were a bit off, but everything updated normally through the GUI tools and “sudo apt update” and “sudo apt upgrade” in roxterm say i’m up to date. yet the CLI APT-based package manager still gives this message. i did notice that tool runs apt-get while the other tools seem to run plain apt – is there really a difference there?

                              #186645
                              BobC
                              Moderator

                                apt and apt-get both come from the apt package.

                                As I said, the time zone and time/date have to be correct or updates don’t work. Its a common problem.

                                Sorry, I still don’t know exactly which system version you installed (the ISO filename and datestamp would tell us), but I don’t have ANY runit 23.2 system to test with, so can’t duplicate it myself without downloading it and installing it.

                                It just seems very odd to me that you are the only person with the problem, especially because the error is irrational, and it leaves me suspecting something else could be wrong.

                                At this point, if you want to continue trying to fix what’s installed, you should provide the details of what version it is, and copy/paste starting at the sudo the text on the roxterm screen into a code block here so people can see exactly what was typed and exactly what the system responded with. Maybe someone will be able to make sense of it or duplicate it.

                                PS: I’ve usually used sudo apt dist-upgrade, because that’s what the usual instructions I remember for antiX, but not sure the difference or what effect it would have for you.

                                • This reply was modified 11 months, 4 weeks ago by BobC.

                                Here is the link to SEARCH THE FORUM >> http://www.antixforum.com/search-forums

                                #186654
                                stevesr0
                                Member

                                  Hi magnet helper,

                                  Is the following correct:

                                  (1) Your new full install seems to update and upgrade ok when you run

                                  sudo apt update && sudo apt upgrade

                                  (2) Your new full install seems to WORK OK

                                  If the answer to these is “YES”, it seems all is well except for “package manager”.

                                  If the answer is “NO”, please let us know this.

                                  (N.B. I just ran

                                  sudo apt-get install -s icewm-goodies-antix

                                  and the response was

                                  The following NEW packages will be installed:
                                  icewm-goodies-antix 

                                  with no error messages.)

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