how to configure mageia 1 urpmi as --distrib + Tainted?

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

how to configure mageia 1 urpmi as --distrib + Tainted?

Postby pfaff » Feb 13th, '12, 20:21

urpmi gurus, is there a straighforward command line method to configure mageia 1 urpmi media with the default distribution media (from $MIRRORLIST)
and also include "Tainted Release" and "Tainted Updates"?

The way I would do this now is with these three steps:

1) urpmi.removemedia -a
2) urpmi.addmedia --distrib --mirrorlist '$MIRRORLIST'
3) edit /etc/urpmi/urpmi.cfg and removed the "ignore" line from the "Tainted Release" and "Tainted Updates" entries.

Is there a way I can avoid doing step 3?
pfaff
 
Posts: 11
Joined: Feb 13th, '12, 20:13

Re: how to configure mageia 1 urpmi as --distrib + Tainted?

Postby doktor5000 » Feb 13th, '12, 22:04

Yup, you can use
Code: Select all
urpmi.update --no-ignore tainted
which would enable all tainted repos, maybe do the same for nonfree if not yet enabled, and then do
Code: Select all
urpmi.update --ignore backports && urpmi.update --ignore debug
which would disable all backports and testing repos. You could experiment with urpmi.update --no-ignore to see if you can directly enable tainted_release and tainted_updates repos. Maybe
Code: Select all
urpmi.update --no-ignore "tainted_release" && urpmi.update --no-ignore "tainted_updates"
already works? Just put the exact repo name between the quotes.
Can't check currently as i'm not sitting in front of a Mageia system, and writing this from the top of my head.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: how to configure mageia 1 urpmi as --distrib + Tainted?

Postby wilcal » Feb 17th, '12, 00:25

Lemme share the script that I use to set up my local repo.

First here's what I use to clear the sources from the local install:

urpmi.removemedia -a

that clears everything out. Then I run the following commands
in a su terminal as a script file. This is for 32-bit Mageia:

clear
urpmi.addmedia core ftp://mageia:xxxxx@192.168.1.2//distrib ... re/release with media_info/hdlist.cz
urpmi.addmedia --update core_updates ftp://mageia:xxxxx@192.168.1.2//distrib ... re/updates with media_info/hdlist.cz
urpmi.addmedia nonfree ftp://mageia:xxxxx@192.168.1.2//distrib ... ee/release with media_info/hdlist.cz
urpmi.addmedia --update nonfree_updates ftp://mageia:xxxxx@192.168.1.2//distrib ... ee/updates with media_info/hdlist.cz
urpmi.addmedia tainted ftp://mageia:xxxxx@192.168.1.2//distrib ... ed/release with media_info/hdlist.cz
urpmi.addmedia --update tainted_updates ftp://mageia:xxxxx@192.168.1.2//distrib ... ed/updates with media_info/hdlist.cz
clear
urpmi.update -a
sleep 10
exit
exit

The local repo is at an ftp server on 192.168.1.2. User Mageia. I've been using this for years.
The repo will now appear on:

MCC -> Configure media sources
"DISK BOOT FAILURE - INSERT SYSTEM DISK AND PRESS ENTER"
is my friend
wilcal
 
Posts: 567
Joined: Jun 20th, '11, 02:01
Location: San Diego CA

Re: how to configure mageia 1 urpmi as --distrib + Tainted?

Postby isadora » Feb 17th, '12, 12:56

Please all:

Use code-tags or quotation-tags to keep everything clear and readable!!!
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2766
Joined: Mar 25th, '11, 16:03
Location: Netherlands


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest

cron