Jump to content

Failed to add backports [solved]


boatman9
 Share

Recommended Posts

I am trying to add the backports section of the repository. Using the Software Management tool (Rpmdrake 2009.0) I opened

Options / Media Manager

Then I tried to tick the enable box for Mirror list Main Backports. Rpmdrake responded "This medium needs to be updated to be usable. Update it now?" I clicked yes, then a small window opened and a file appeared to download. After that nothing has changed. The box next to Main Backports is still not marked.

 

How does one add Backports? Can it be done from command console?

Edited by boatman9
Link to comment
Share on other sites

Unfortunately the only action buttons shown at easyurpmi.zarb.org are "Add official medias", "Add PLF medias", "Refresh commands", and two that are not recommended.

 

Switch to manual mirror selection (not recommended)

Switch to custom media selection (not recommended)

Link to comment
Share on other sites

Thanks. :thumbs: Seems like just the lower of the two options, "Switch to custom media selection (not recommended)", is required, no?

 

Below are the commands I intend to use.

 

urpmi.removemedia -a

urpmi.addmedia --mirrorlist 'http://plf.zarb.org/mirrors/2009.0.i586.list' 'PLF Free' '../../../2009.0/free/release/binary/i586'

urpmi.addmedia --mirrorlist 'http://plf.zarb.org/mirrors/2009.0.i586.list' 'PLF Non-free' '../../../2009.0/non-free/release/binary/i586'

urpmi.addmedia --mirrorlist 'http://plf.zarb.org/mirrors/2009.0.i586.list' 'PLF Free Backports' '../../../2009.0/free/backports/binary/i586'

urpmi.addmedia --mirrorlist 'http://plf.zarb.org/mirrors/2009.0.i586.list' 'PLF Non-free Backports' '../../../2009.0/non-free/backports/binary/i586'

urpmi.addmedia --mirrorlist 'http://api.mandriva.com/mirrors/basic.2009.0.i586.list' 'Main' 'media/main/release'

urpmi.addmedia --mirrorlist 'http://api.mandriva.com/mirrors/basic.2009.0.i586.list' 'Contrib' 'media/contrib/release'

urpmi.addmedia --mirrorlist 'http://api.mandriva.com/mirrors/basic.2009.0.i586.list' 'Non-free' 'media/non-free/release'

urpmi.addmedia --mirrorlist 'http://api.mandriva.com/mirrors/basic.2009.0.i586.list' 'Main Updates' 'media/main/updates'

urpmi.addmedia --mirrorlist 'http://api.mandriva.com/mirrors/basic.2009.0.i586.list' 'Contrib Updates' 'media/contrib/updates'

urpmi.addmedia --mirrorlist 'http://api.mandriva.com/mirrors/basic.2009.0.i586.list' 'Non-free Updates' 'media/non-free/updates'

urpmi.addmedia --mirrorlist 'http://api.mandriva.com/mirrors/basic.2009.0.i586.list' 'Main Backports' 'media/main/backports'

urpmi.addmedia --mirrorlist 'http://api.mandriva.com/mirrors/basic.2009.0.i586.list' 'Contrib Backports' 'media/contrib/backports'

urpmi.addmedia --mirrorlist 'http://api.mandriva.com/mirrors/basic.2009.0.i586.list' 'Non-free Backports' 'media/non-free/backports'

Edited by boatman9
Link to comment
Share on other sites

I'd also like to give SmartUrpmi a mention too. I like this site because it will produce a script at the end of your selection to automate the removal/adding of repos and, it will auto update your system after adding the repos.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...