Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-7361

Debian packagekit fails in provisioning

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P0: Blocker P0: Blocker
    • None
    • dev, 6.5, 6.8, 6.9, 6.10
    • None
    • Linux/X11
    • c552aa4aa (tqtc/lts-6.8), d65754337 (6.9), a836ac854 (dev), 7394584ab (6.10), 3745eeddb (dev), 1ec744199 (tqtc/lts-6.5)

      Debian provisioning fails in integration continuously - Blocks Debian provisioning until fixed.

      target: jammy-arm64-debian-pkg-packaging

       

      Running update for apt
      + waitLoop
      + sudo fuser /var/lib/dpkg/lock
      + sudo apt-get update
      Reading package lists...
      E: Could not get lock /var/lib/apt/lists/lock. It is held by process 930 (packagekitd)
      E: Unable to lock directory /var/lib/apt/lists/ 

      And we have code which detects lock from different path

       

      while sudo fuser /var/lib/dpkg/lock >/dev/null 2>&1 ; do
          echo "Waiting for other software managers to finish..."
          sleep 0.5
      done 

      Earlier fix for SLES 15 SP5 could be extend to be used here:

      Confirmed: Other branches are having this same issue.

      Update:

      • Seems that earlier fix is not suitable for this
      • but instead extend lock detecting with new path: /var/lib/apt/lists/lock

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            teheikki Tero Heikkinen
            teheikki Tero Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: