Debian: downloader - ERROR: "The cache has no package named 'firmware-qlogic'"

Bug #1990596 reported by Yue Tao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
High
Yue Tao

Bug Description

Brief Description
-----------------
The required firmware is https://packages.debian.org/bullseye/firmware-qlogic

This would require a new entry in the tools base-bullseye.lst file:

firmware-qlogic 20210315-3 https://deb.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-qlogic_20210315-3_all.deb
Since this package is not directly available in the sources, probably because it is a "non free" package.

However, when adding the package the downloader fails:

downloader - ERROR: "The cache has no package named 'firmware-qlogic'"

Severity
--------
<Major: System/Feature is usable but degraded>

Expected Behavior
------------------
firmware-qlogic can be downloaded

Actual Behavior
----------------
downloader fails

Reproducibility
---------------
<Reproducible>

Yue Tao (wrytao)
Changed in starlingx:
assignee: nobody → Yue Tao (wrytao)
importance: Undecided → High
Yue Tao (wrytao)
Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to root (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/root/+/859007

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to root (master)

Reviewed: https://review.opendev.org/c/starlingx/root/+/859007
Committed: https://opendev.org/starlingx/root/commit/45ee30a95516ead5d393a6589998265ee9b268ec
Submitter: "Zuul (22348)"
Branch: master

commit 45ee30a95516ead5d393a6589998265ee9b268ec
Author: Yue Tao <email address hidden>
Date: Fri Sep 23 09:46:27 2022 +0800

    downloader: fix "The cache has no package named xxxx"

    downloader get the "arch" of a package via apt cache, that requests the
    package is available in Debian sources. However, some packages which
    have download url may not from Debian sources, that triggers an
    exception "The cache has no package named xxxx".

    Get the "arch" from filename other than apt cache for the packages
    which are downloaded via url.

    Test Plan:

    Pass: downloader -b

    Closes-Bug: 1990596

    Signed-off-by: Yue Tao <email address hidden>
    Change-Id: Ic30b64c69ae565b12571dab1472be15281e303ec

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
tags: added: stx.8.0 stx.build stx.tools
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.