Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have read URPMI from Mageia wiki but there seems to be no mention of how I can check the currently enabled media using urpmi command. There is urpmi.addmedia and urmpi.removemedia. So I tried doing urpmi.listmedia but it obviously isn't an existing command.

Any way I can check this? Do note that I don't have any X Windows installed so I need to do this via command line.

share|improve this question

2 Answers 2

up vote 0 down vote accepted

Checking the file /etc/urpmi/urpmi.cfg works as @slafat01 mentioned.

There is also the command:

[user@localhost ~]# urpmq --list-media
...<list of media>...

From man urpmq

--list-media [type]
    List available media. You can optionally add a type selector: all will list all
    media (the default), update to list update media, or active to list only
    active media.
share|improve this answer

The file you are looking for is /etc/urpmi/urpmi.cfg. If the file is not enabled, the entry will list 'ignore' as an option. If it does not state 'ignore', then it is enabled.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.