Bug 31240

Summary: Drakconf feature request (Configure media sources on terminal)
Product: Mageia Reporter: Ezequiel Partida <ezequiel_partida>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: davidwhodgins
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Ezequiel Partida 2022-12-07 21:34:56 CET
Hello,

I´ve been searching for a way to check which repositories are active / disabled inside the shell or konsole, probably there is a way to check and enabled them, but the only way is to run drakrpm-editmedia with GUI.

The reason is that I do mageia updates via ssh and sometimes I get errors since some repositories (Mostly main) have been disabled when an error was found on past updates.. This is really annoying, it would be great to have an option to "Avoid repository disable when error found", it would also be handy to have the configure media sources in text mode.

I have mageia running for digital signaging and I get connected thru ssh, make changes or updates then restart it without getting noticed.

Regards
Comment 1 Dave Hodgins 2022-12-07 23:36:09 CET
See the man page for urpmq.
"urpmq --list-media" lists all media.
"urpmq --list-media active" lists just the active media

"urpmq --list-url" will show which mirror is being used.

The "urpmi.addmedia" command can be used to add a mirror.

Using the command line to enable/disable media requires using a text editor
such as mcedit to alter /etc/urpmi/urpmi.cfg

Add the ignore keyword for media that is not used, update for media that
is searched for updates.

Closing as invalid as bugzilla is not the place for user education.

Status: NEW => RESOLVED
CC: (none) => davidwhodgins
Resolution: (none) => INVALID

Comment 2 sturmvogel 2022-12-08 07:48:30 CET
We have also a wiki with informations (surprise):
https://wiki.mageia.org/en/URPMI
Comment 3 Ezequiel Partida 2022-12-13 18:47:56 CET
(In reply to sturmvogel from comment #2)
> We have also a wiki with informations (surprise):
> https://wiki.mageia.org/en/URPMI

Thank You Sturmvogel