downloader fails unless 'apt-get upgate' is run first

Bug #2015904 reported by Scott Little
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
New
Undecided
Unassigned

Bug Description

Brief Description
-----------------
On an existing workspace I ran 'repo sync'.
I then ran 'downloader -s -b' and it consistently failed. with

2023-04-11 16:37:54,063 - downloader - ERROR: Binary downloader failed
2023-04-11 16:37:54,063 - downloader - ERROR: Packages failed to download:
2023-04-11 16:37:54,063 - downloader - ERROR: libgnutls28-dev_3.7.1-5
2023-04-11 16:37:54,063 - downloader - ERROR: libpixman-1-dev_0.40.0-1
2023-04-11 16:37:54,063 - downloader - ERROR: libvirglrenderer-dev_0.8.2-5
2023-04-11 16:37:54,063 - downloader - ERROR: libvirglrenderer1_0.8.2-5
2023-04-11 16:37:54,063 - downloader - ERROR: xsltproc_1.1.34-4

After manually running 'sudo apt-get update', the next 'downloader -s -b' passed.
I think 'downloader' should be running 'apt-get update' automatically.

Severity
--------
Minor

Steps to Reproduce
------------------
In a pre-existing workspace that hasn't been used for several weeks,
run 'repo sync' followed by 'downloader -s -b'

Expected Behavior
------------------
Downloader passes

Actual Behavior
----------------
Downloader failes on several new packages.

Reproducibility
---------------
reproducible once triggered

System Configuration
--------------------
N/A

Branch/Pull Time/Commit
-----------------------
Apr 11, 2023

Last Pass
---------
N/A

Timestamp/Logs
--------------
2023-04-11 16:37:54,063 - downloader - ERROR: Binary downloader failed
2023-04-11 16:37:54,063 - downloader - ERROR: Packages failed to download:
2023-04-11 16:37:54,063 - downloader - ERROR: libgnutls28-dev_3.7.1-5
2023-04-11 16:37:54,063 - downloader - ERROR: libpixman-1-dev_0.40.0-1
2023-04-11 16:37:54,063 - downloader - ERROR: libvirglrenderer-dev_0.8.2-5
2023-04-11 16:37:54,063 - downloader - ERROR: libvirglrenderer1_0.8.2-5
2023-04-11 16:37:54,063 - downloader - ERROR: xsltproc_1.1.34-4

Test Activity
-------------
Build

Workaround
----------
'sudo apt-get update', then retry the downloader command

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.