Announcement

Collapse
No announcement yet.

Konsole Issue(s)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Konsole Issue(s)

    Finally got my 22.04 updated to 24.04 but not without issues.

    Tried to install my HP Toolbox (with Konsole) and when I got to sudo apt upgrade​ It went in to a loop and kept saying Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 11896 (synaptic)

    How do I fix that?

    Thanks
    G
    Greg
    W9WD

    #2
    Exit synaptic (if you actually have it open). If is isn't open, do a normal logout and restart. That in itself will normally clear lock files.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      So far so good.

      Actually trying to install the HP Toolbox (cups). I did their suggests and got this.....





      greg@OptiPlex-9020:~$ sudo apt install hplip-gui
      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:
      hplip : Depends: hplip-data (= 3.23.12+dfsg0-0ubuntu5) but 3.23.12+dfsg0-0ubuntu5+klbkjammy is to be installed
      Depends: libhpmud0 (= 3.23.12+dfsg0-0ubuntu5) but 3.23.12+dfsg0-0ubuntu5+klbkjammy is to be installed
      Depends: libsane-hpaio (= 3.23.12+dfsg0-0ubuntu5) but 3.23.12+dfsg0-0ubuntu5+klbkjammy is to be installed
      Depends: printer-driver-hpcups (= 3.23.12+dfsg0-0ubuntu5) but 3.23.12+dfsg0-0ubuntu5+klbkjammy is to be installed
      E: Unable to correct problems, you have held broken packages.
      greg@OptiPlex-9020:~$

      Suggestions?



      Greg
      W9WD

      Comment


        #4
        You appear to still have 22.04 (Jammy) active repositories in /etc/apt/sources.list.d/, which you shouldn't after upgrading to 24.04 (Noble). That is creating the conflict in package versions.

        What do you have in /etc/apt/sources.list.d
        In a konsole run: ls -la /etc/apt/sources.list.d/
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          greg@OptiPlex-9020:~$ ls -la /etc/apt/sources.list.d/
          total 48
          drwxr-xr-x 2 root root 4096 Dec 6 06:16 .
          drwxr-xr-x 8 root root 4096 Dec 6 06:12 ..
          -rw-r--r-- 1 root root 189 Dec 6 06:12 audio-recorder-ubuntu-ppa-jammy.list
          -rw-r--r-- 1 root root 156 Dec 6 06:12 audio-recorder-ubuntu-ppa-jammy.list.distUpgrade
          -rw-r--r-- 1 root root 185 Dec 6 06:12 kelebek333-ubuntu-hplip-jammy.list
          -rw-r--r-- 1 root root 152 Dec 6 06:12 kelebek333-ubuntu-hplip-jammy.list.distUpgrade
          -rw-r--r-- 1 root root 105 Dec 6 06:12 mozilla.list
          -rw-r--r-- 1 root root 105 Dec 6 06:12 mozilla.list.distUpgrade
          -rw-r--r-- 1 root root 183 Dec 6 06:12 mozillateam-ubuntu-ppa-jammy.list
          -rw-r--r-- 1 root root 150 Dec 6 06:12 mozillateam-ubuntu-ppa-jammy.list.distUpgrade
          -rw-r--r-- 1 root root 188 Dec 6 06:16 vivaldi.list
          -rw-r--r-- 1 root root 187 Dec 6 06:12 vivaldi.list.distUpgrade
          greg@OptiPlex-9020:~$

          Greg
          W9WD

          Comment


            #6
            You need to examine each of the .list files to see which one(s) have jammy referenced. Easiest way is to run:

            grep jammy /etc/apt/sources.list.d/*

            Just copy/paste the results here.
            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              reg@OptiPlex-9020:~$ grep jammy /etc/apt/sources.list.d/*
              /etc/apt/sources.list.d/audio-recorder-ubuntu-ppa-jammy.list:# deb-src https://ppa.launchpadcontent.net/aud...er/ppa/ubuntu/ jamm
              y main
              /etc/apt/sources.list.d/audio-recorder-ubuntu-ppa-jammy.list.distUpgrade:deb https://ppa.launchpadcontent.net/aud...der/ppa/ubuntu
              / jammy main
              /etc/apt/sources.list.d/audio-recorder-ubuntu-ppa-jammy.list.distUpgrade:# deb-src https://ppa.launchpadcontent.net/audio-recorder/ppa/
              ubuntu/ jammy main
              /etc/apt/sources.list.d/kelebek333-ubuntu-hplip-jammy.list:# deb-src https://ppa.launchpadcontent.net/kel.../hplip/ubuntu/ jammy ma
              in
              /etc/apt/sources.list.d/kelebek333-ubuntu-hplip-jammy.list.distUpgrade:deb https://ppa.launchpadcontent.net/kel.../hplip/ubuntu/ ja
              mmy main
              /etc/apt/sources.list.d/kelebek333-ubuntu-hplip-jammy.list.distUpgrade:# deb-src https://ppa.launchpadcontent.net/kelebek333/hplip/ubun
              tu/ jammy main
              /etc/apt/sources.list.d/mozillateam-ubuntu-ppa-jammy.list:# deb-src https://ppa.launchpadcontent.net/moz...am/ppa/ubuntu/ jammy main
              /etc/apt/sources.list.d/mozillateam-ubuntu-ppa-jammy.list.distUpgrade:deb https://ppa.launchpadcontent.net/moz...am/ppa/ubuntu/ jamm
              y main
              /etc/apt/sources.list.d/mozillateam-ubuntu-ppa-jammy.list.distUpgrade:# deb-src https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu
              / jammy main
              greg@OptiPlex-9020:~$


              Here you go.
              Greg
              W9WD

              Comment


                #8
                Originally posted by GregM View Post
                Finally got my 22.04 updated to 24.04 but not without issues.
                Exactly how did you do this supposed upgrade? From what is in /etc/apt/sources.list.d, it seems to me that the upgrade process didn't finish.

                Hmm. Let me rethink that statement for a moment.
                Last edited by Snowhog; Dec 06, 2024, 01:42 PM.
                Windows no longer obstructs my view.
                Using Kubuntu Linux since March 23, 2007.
                "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                Comment


                  #9
                  I used Discover.
                  Greg
                  W9WD

                  Comment


                    #10
                    Lets see the full contents of those files. In the konsole run: cat /etc/apt/sources.list.d/*

                    Copy and paste the output.
                    Windows no longer obstructs my view.
                    Using Kubuntu Linux since March 23, 2007.
                    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                    Comment


                      #11
                      greg@OptiPlex-9020:~$ cat /etc/apt/sources.list.d/*
                      # deb https://ppa.launchpadcontent.net/aud...er/ppa/ubuntu/ noble main # disabled on upgrade to noble
                      # deb-src https://ppa.launchpadcontent.net/aud...er/ppa/ubuntu/ jammy main
                      deb https://ppa.launchpadcontent.net/aud...er/ppa/ubuntu/ jammy main
                      # deb-src https://ppa.launchpadcontent.net/aud...er/ppa/ubuntu/ jammy main
                      # deb https://ppa.launchpadcontent.net/kel.../hplip/ubuntu/ noble main # disabled on upgrade to noble
                      # deb-src https://ppa.launchpadcontent.net/kel.../hplip/ubuntu/ jammy main
                      deb https://ppa.launchpadcontent.net/kel.../hplip/ubuntu/ jammy main
                      # deb-src https://ppa.launchpadcontent.net/kel.../hplip/ubuntu/ jammy main
                      deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main
                      deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main
                      # deb https://ppa.launchpadcontent.net/moz...am/ppa/ubuntu/ noble main # disabled on upgrade to noble
                      # deb-src https://ppa.launchpadcontent.net/moz...am/ppa/ubuntu/ jammy main
                      deb https://ppa.launchpadcontent.net/moz...am/ppa/ubuntu/ jammy main
                      # deb-src https://ppa.launchpadcontent.net/moz...am/ppa/ubuntu/ jammy main
                      ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
                      # You may comment out this entry, but any other modifications may be lost.
                      deb [arch=amd64] https://repo.vivaldi.com/stable/deb/ stable main
                      ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
                      # You may comment out this entry, but any other modifications may be lost.
                      deb [arch=amd64] https://repo.vivaldi.com/stable/deb/ stable main
                      greg@OptiPlex-9020:~$

                      Greg
                      W9WD

                      Comment


                        #12
                        Yeah, it doesn't appear that the upgrade to 24.04 finished. The active (lines without a preceding # sign) repositories are all still referencing jammy.

                        The repositories for Audio Recorder and kelebek333 hplip, both referencing jammy, haven't (yet) been updated by their maintainer for use with noble.

                        I need to see the content of the file /etc/apt/sources.list, if you have it. I suspect maybe you do, as you don't have /etc/apt/sources.list.d/ubuntu.sources
                        Windows no longer obstructs my view.
                        Using Kubuntu Linux since March 23, 2007.
                        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                        Comment


                          #13
                          Where would that be?
                          Greg
                          W9WD

                          Comment


                            #14
                            greg@OptiPlex-9020:~$ /etc/apt/sources.list
                            bash: /etc/apt/sources.list: Permission denied
                            greg@OptiPlex-9020:~$


                            Greg
                            W9WD

                            Comment


                              #15
                              cat /etc/apt/sources.list
                              Windows no longer obstructs my view.
                              Using Kubuntu Linux since March 23, 2007.
                              "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                              Comment

                              Working...
                              X