Error when upgrading to testing

Forum Forums General Software Error when upgrading to testing

  • This topic has 10 replies, 5 voices, and was last updated Feb 23-6:35 pm by Brian Masinick.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #100337
    Member
    xanthian

      Hello,
      Thanks for sharing and keeping Antix Linux!
      I have been using version 22 for a while now on my laptop. Recently I tried to switch to testing, by changing the repositories in Synaptic, then using “apt upgrade” and then “apt dist-upgrade”.
      I got an error that I am not confortable with:

      installed linux-image-5.10.142-antix.2-amd64-smp package post-installation script subprocess returned error exit status 1

      I also tried “apt install –reinstall linux-image-5.10.142-antix.2-amd64-smp”, but I get the same error
      The system itself is working just as before (I use few apps), but I felt that I’d better report this issue, as I could not find anything by searching for it.
      Thanks and keep up the good work!

      #100341
      Moderator
      Brian Masinick
        Helpful
        Up
        0
        ::

        Hello,
        Thanks for sharing and keeping Antix Linux!
        I have been using version 22 for a while now on my laptop. Recently I tried to switch to testing, by changing the repositories in Synaptic, then using “apt upgrade” and then “apt dist-upgrade”.
        I got an error that I am not confortable with:

        installed linux-image-5.10.142-antix.2-amd64-smp package post-installation script subprocess returned error exit status 1

        I also tried “apt install –reinstall linux-image-5.10.142-antix.2-amd64-smp”, but I get the same error
        The system itself is working just as before (I use few apps), but I felt that I’d better report this issue, as I could not find anything by searching for it.
        Thanks and keep up the good work!

        I’m not sure what the conflict is with the 5.10 kernel, but I will say that going from Stable to Testing right now is a moderately risky proposition. It’s not impossible to do, but you really do have to pay close attention, not only to the kernel packages, but also to the entire infrastructure. It’s entirely possible that you’ve caught the overall Testing environment in the middle of a change, because Debian is currently working on the next release, “Bookworm”, which will eventually become Debian Version 12.

        Our antiX project is also currently working on our next release, antiX 23 “Alpha 1”, which uses Bookworm. A lot of things work now, but there are plenty of things that need work now and several more that will need additional work.

        If you are using your system as an “every day” system, I’d suggest keeping multiple copies around, and a few backups. For me, when I experiment, I always have several other distributions installed, and I am fortunate to have multiple computers upon which I can test, plus numerous USB devices and even ancient CDs and DVDs of old distributions.

        On my newest hardware, I don’t even have a CD/DVD drive, and the hardware requires me to use kernels and wireless drivers that are two years old or less. But I do have a few older devices where I can occasionally use old software and old hardware, or use light, efficient software like ours, and so in these ways I can experiment and test, plus I’ve also indicated I have LOTS of alternatives and ways to get my information back.

        IF that is not enough, I have combinations of physical backups nearby and cloud based software and backups. No one single source keeps me completely offline except for a network outage where I’m located, and if I can find a network elsewhere, I can overcome that. I recently discovered that there are ZERO Ethernet based networks anywhere nearby anymore so I must have a way to utilize wireless networking. Fortunately the wireless networking around me is pretty solid and reliable, but it is probably the one thing that can disrupt access for me, though that’s not the worst thing in the world; when that happens it is a reminder that there is much more around me than sitting at a computer all the time.

        I remembered this today and I’ve already exercised and done some domestic activity around the house too! 🙂

        --
        Brian Masinick

        #100343
        Member
        sybok
          Helpful
          Up
          1
          ::

          Never had such an issue AND I have never seen linux image installed during updates in antiX.
          I suspect you specifically installed this package by synaptic or by other means; nevertheless, the error message is surprising to me.

          You may try sudo apt install --fix-broken.

          #100344
          Member
          Xunzi_23
            Helpful
            Up
            0
            ::

            Hi xanthian,
            Please post your /etc/apt/sources.list.d.
            At present the state of sid is pretty solid but as Brian pointed out no warranty.

            I hope you have a separate home partition, should things go wrong you can then,
            with care, reinstall and keep yor working area intact. But if you want to have the
            most up to date system wait a while.
            Sometime soon another antiX 23 testing ISO will become available, There are many
            changes and improvements. I recommend to use that either live or do a full
            reinstall so latest configuration files become available to you.

            #100349
            Member
            sybok
              Helpful
              Up
              0
              ::

              @xanthian: Output of ‘inxi -zr’ command is roughly equivalent of the content of the files requested by @Xunzi_23.

              #100371
              Moderator
              Brian Masinick
                Helpful
                Up
                0
                ::

                sudo apt install –fix-broken
                and
                sudo apt-get -f install
                are equivalent, and as mentioned inxi -zr reports which repositories are active, which is functionally equivalent to posting the contents of /etc/apt/sources.list.d. I think inxi -zr is faster because /etc/apt/sources.list.d often has several files to copy, and inxi -zr will list them for you on the output and you can simply copy and share the result.

                --
                Brian Masinick

                #100400
                Member
                xanthian
                  Helpful
                  Up
                  0
                  ::

                  Thanks for the multiple feedback! I really appreciate your help.
                  My repository is simple: only all the testing sources are active (except multimedia), along with Opera stable.
                  The situation is not so bad as the system boots into the kernel 5.10…-142 and works as usual. Of course I took all precautions (live USB, separate home, another AntiX).
                  Actually, I would appreciate it if somebody let me know what is the latest kernel version usable in AntiX? (up to Bookworm).
                  I can live with the idea that my present kernel is the latest usable in AntiX.

                  #100402
                  Member
                  Xunzi_23
                    Helpful
                    Up
                    0
                    ::

                    Hi xanthian, maybe have a try with 6 series kernel, uses more RAM but brings other improvements.
                    Please read in antiX 23 testing thread from below post onwards.
                    https://www.antixforum.com/forums/topic/antix-23-alpha1-runit-full-64bit-for-testing/page/14/#post-99421

                    #100409
                    Member
                    xanthian
                      Helpful
                      Up
                      0
                      ::

                      Thanks for the info, Xunzi_23!
                      By the way, re-upgrading or using options as –fix-broken go into the same error.
                      Is it OK to consider that the kernel 5.10.142 is state-of-the-art in AntiX?
                      In this case, I would consider my little situation as “solved”, as long as most of my application packages seem to be in testing version.

                      • This reply was modified 2 months, 2 weeks ago by xanthian.
                      #100416
                      Moderator
                      caprea
                        Helpful
                        Up
                        0
                        ::

                        Hi Xanthian, the 5.10.142-kernel is up to date, but like already mentioned a newer kernel is available, linux-image-6.1.11-antix.1-amd64-smp.
                        If you don’t need the rtl8821ce-dkms and exfat-dkms, you can remove them and use this newer kernel, which has enjoyed great favor here so far.
                        When updating to testing , I have seen errors like the one you experienced, if an “apt-get autoremove” is needed.
                        So it would be interesting what’s the output of apt autoremove.
                        By inxi -r or inxi -zr we are asking for the output from terminal and not a file.It shows your sources.Because experience has taught us, even if a user vehemently says his sources are absolutely fine, sometimes an error has crept in there.

                        #100470
                        Moderator
                        Brian Masinick
                          Helpful
                          Up
                          0
                          ::

                          I agree with caprea. Please type in inxi -r, copy the contents of the output and paste it here.

                          The results should have this format (including just a couple of lines from my output).

                          inxi -r
                          Repos:
                            Active apt repos in: /etc/apt/sources.list.d/antix.list
                              1: deb http://mirrors.rit.edu/mxlinux/mx-packages/antix/bullseye/ bullseye main nosystemd nonfree
                            Active apt repos in: /etc/apt/sources.list.d/bullseye-backports.list
                              1: deb http://deb.debian.org/debian/ bullseye-backports main contrib non-free
                            Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
                              1: deb http://atl.mirrors.clouvider.net/debian/ bullseye-updates main contrib non-free
                            Active apt repos in: /etc/apt/sources.list.d/debian.list
                              1: deb http://atl.mirrors.clouvider.net/debian/ bullseye main contrib non-free
                              2: deb http://security.debian.org/ bullseye-security main contrib non-free

                          --
                          Brian Masinick

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