Announcement

Collapse
No announcement yet.

Having issues with dpkg --configure -a error.

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

    Having issues with dpkg --configure -a error.

    Yesterday I entered sudo dpkg --configure -a it fixed most of the updates but there's one that still wont update. Here's the error message I got when I entered sudo dpkg --configure -a. dpkg: error processing package packagekit-tools (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:

    I tried to look up what to do with no luck so thanks in advance.

    ​Oops I meant put this under Kubuntu 22.04.
    Last edited by SuperSapien64; Dec 14, 2024, 11:14 AM.

    #2
    Originally posted by SuperSapien64 View Post
    it fixed most of the updates but there's one that still wont update.
    Context on this? May be useful.

    run
    Code:
    sudo apt update
    and
    Code:
    sudo apt upgrade
    to see the full errors, including more specifics about the dependency issue.

    if you are using any PPAs, particularly for upgrading Plasma to a newer major version, try using
    Code:
    sudo apt full-upgrade
    This shouldn't be a factor, but it won't hurt in any case.

    if you still have issue, show us info about the offending package
    Code:
    apt policy  packagekit-tools
    Last edited by claydoh; Dec 14, 2024, 07:13 PM.

    Comment


      #3
      Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
      Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
      Hit:3 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
      Hit:4 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
      Hit:5 https://dl.google.com/linux/chrome/deb stable InRelease
      Hit:6 https://ppa.launchpadcontent.net/deki/firejail/ubuntu jammy InRelease
      Hit:7 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy InRelease
      Hit:8 https://ppa.launchpadcontent.net/pho...epassxc/ubuntu jammy InRelease
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      1 package can be upgraded. Run 'apt list --upgradable' to see it.


      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      You might want to run 'apt --fix-broken install' to correct these.
      The following packages have unmet dependencies:
      packagekit-tools : Depends: packagekit (= 1.2.5-2ubuntu3) but 1.2.5-2ubuntu2 is installed
      E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

      Comment


        #4
        Originally posted by SuperSapien64 View Post
        E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
        Have you tried what apt is suggesting?

        sudo apt --fix-broken install
        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
          Originally posted by Snowhog View Post
          Have you tried what apt is suggesting?

          sudo apt --fix-broken install
          No luck I even tried
          Code:
          apt list --upgradable
          I also tried
          Code:
          sudo apt --fix-broken install packagekit = 1.2.5-2ubuntu3
          ​
          Last edited by Snowhog; Dec 15, 2024, 08:22 AM. Reason: Removed TAGS from CODE block

          Comment


            #6
            Don't specify a package (as apt suggests). Just run: sudo apt --fix-broken install
            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
              Originally posted by Snowhog View Post
              Don't specify a package (as apt suggests). Just run: sudo apt --fix-broken install
              Strange the first time I tried that command it didn't work but now its all good thanks.

              Comment


                #8
                Tried sudo apt --fix-broken install

                Got



                greg@greg-OptiPlex-990:~$ sudo apt --fix-broken install
                [sudo] password for greg:
                Reading package lists... Done
                Building dependency tree... Done
                Reading state information... Done
                Correcting dependencies... Done
                The following additional packages will be installed:
                packagekit
                The following packages will be upgraded:
                packagekit
                1 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
                2 not fully installed or removed.
                Need to get 0 B/442 kB of archives.
                After this operation, 0 B of additional disk space will be used.
                Do you want to continue? [Y/n] y
                (Reading database ... 335936 files and directories currently installed.)
                Preparing to unpack .../packagekit_1.2.5-2ubuntu3_amd64.deb ...
                Unpacking packagekit (1.2.5-2ubuntu3) over (1.2.5-2ubuntu2) ...
                Setting up packagekit (1.2.5-2ubuntu3) ...
                Setting up packagekit-tools (1.2.5-2ubuntu3) ...
                Processing triggers for dbus (1.12.20-2ubuntu4.1) ...
                libdvd-pkg: Checking orig.tar integrity...
                /usr/src/libdvd-pkg/libdvdcss_1.4.3.orig.tar.bz2: OK
                libdvd-pkg: `apt-get check` failed, you may have broken packages. Aborting...
                greg@greg-OptiPlex-990:~$



                Greg
                W9WD

                Comment


                  #9
                  When I try to start Synaptic I get this message.....

                  E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
                  E: _cache->open() failed, cannot continue.​

                  tried to run dpkg --configure -a
                  tried to run sudo dpkg --configure -a

                  It also says grub is not installed on this drive but it was before I updated

                  Spectacle no longer works

                  A real nightmare
                  Greg
                  W9WD

                  Comment


                    #10
                    Says grub is not installed.......




                    Package configuration

                    ┌─────────────────────────────────────────┤ Configuring grub-pc ├─────────────────────────────────────────┐
                    │ The GRUB boot loader was previously installed to a disk that is no longer present, or whose unique │
                    │ identifier has changed for some reason. It is important to make sure that the installed GRUB core │
                    │ image stays in sync with GRUB modules and grub.cfg. Please check again to make sure that GRUB is │
                    │ written to the appropriate boot devices. │
                    │ │
                    │ If you're unsure which drive is designated as boot drive by your BIOS, it is often a good idea to │
                    │ install GRUB to all of them. │
                    │ │
                    │ Note: it is possible to install GRUB to partition boot records as well, and some appropriate │
                    │ partitions are offered here. However, this forces GRUB to use the blocklist mechanism, which makes it │
                    │ less reliable, and therefore is not recommended. │
                    │ │
                    │ GRUB install devices: │
                    │ │
                    │ [ ] /dev/sda (480103 MB; KINGSTON_SQ500S37480G) │
                    │ [ ] - /dev/sda1 (480102 MB; /) │
                    │ [ ] /dev/sdb (6001175 MB; WDC_WD60EFZX-68B3FN0) │
                    │ │
                    │ │
                    │ <Ok> │
                    │ │
                    └───────────────────────────────────────────────── ────────────────────────────────────────────────── ──────┘




                    Greg
                    W9WD

                    Comment


                      #11
                      You could just run Boot-repair, let it sort this out, which you would have to do manually (kind of a PITA).

                      https://help.ubuntu.com/community/Boot-Repair
                      An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                      Comment


                        #12
                        Given the magnitude of this mess, I think tomorrow I will remove the 24.04 drive and replace it with the backup of the 22.04 drive I thankfully made before I started.
                        Greg
                        W9WD

                        Comment

                        Working...
                        X