Comment 2 for bug 1990596

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