Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-126361

401 Unauthorized on apt update

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7.0
    • None
    • Ubuntu 22.04, debian:12.5-slim
    • Linux/Other display system

    Description

      My environment:
      Ubuntu 22.04

      Customer environment:
      Toradex Torizon Docker image based on debian:12.5-slim

       

      Both customer and I have followed documentation outlined on page [Enterprise Qt Debian Packages | Qt 6.7|https://doc.qt.io/qt-6/qt-debian-packages.html] to the line and faced the same issue - 401 Unauthorized.

       

      E: Failed to fetch https://debian-packages.qt.io/debian/enterprise/qt-6.7.0-arm64/dists/tqtc-jammy/InRelease  401  Unauthorized [IP: X.X.X.X 443]
      E: The repository 'https://debian-packages.qt.io/debian/enterprise/qt-6.7.0-arm64 tqtc-jammy InRelease' is not signed. 

      In both cases, I've verified tqtc.lists, auth.conf and gpg key to be correct. To solve the problem, I've removed signed-by from tqtc.lists and added the gpg key using apt-key add. This API is depreciated so we should find a viable solution and update the documentation. Potentially it would be just to copy gpg key to /etc/apt/keyrings

      Attachments

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

        Activity

          People

            iknd Iikka Eklund
            bruno.vunderl Bruno Vunderl
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes