Bug 34661 - If mirrorlist site is not available, urpmi fails instead of using the cache
Summary: If mirrorlist site is not available, urpmi fails instead of using the cache
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard: MGA9TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-12 19:21 CEST by papoteur
Modified: 2025-12-31 14:06 CET (History)
0 users

See Also:
Source RPM: urpmi
CVE:
Status comment:
marja11: affects_mga9+


Attachments

Description papoteur 2025-10-12 19:21:53 CEST
urpmi download the mirrors list by calling mirrors.mageia.org and save it in a cache. It does consider that the cache is expired after 5 days.
But when it try to download and fails because the site is not available, urpmi fails.
Instead of failure, it could uses the cache anyway.

Version-Release number of selected component (if applicable):
urpmi v8.131

Code for determining the update is in urpmi/urpm/mirrors.pm in sub _cache__may_clean_if_outdated
papoteur 2025-10-12 19:22:25 CEST

Whiteboard: (none) => MGA9TOO

Comment 1 Lewis Smith 2025-10-12 21:05:26 CEST
Thanks for the suggestion.

Assignee: bugsquad => mageiatools

Comment 2 Marja Van Waes 2025-12-31 14:06:19 CET
Adding the flag: affects_mga9 +
to all bugs with MGA9TOO on the whiteboard, without removing MGA9TOO (for now).

Flags: (none) => affects_mga9+


Note You need to log in before you can comment on or make changes to this bug.