LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-09-2009, 08:01 PM   #1
wheel
Member
 
Registered: Sep 2003
Posts: 33

Rep: Reputation: 16
Mandriva PWP adding medium


I've got Mandriva 10 powerpack installed, so it wants to add the powerpack medium as part of my available packages. Unfortunately when I enter my user information and password I get a nondescript error message - there was an error adding the medium.

It's not my password as I tried using a different password and it then gives me a message saying my password is incorrect. When I use the right password, I just the an error adding the medium.

THoughts? Could it be because I subscribed to powerpack 2009?

SOLVED: Solution, as root, in a command terminal, run the following:
mdkapplet-restricted-helper 2010.0

Last edited by wheel; 11-09-2009 at 08:08 PM. Reason: solved
 
Old 11-10-2009, 03:28 AM   #2
jkerr82508
Member
 
Registered: Dec 2006
Location: Fife, Scotland
Posts: 268

Rep: Reputation: 69
Redundant post deleted - OP has found the solution.

Jim

Last edited by jkerr82508; 11-10-2009 at 03:30 AM.
 
Old 11-17-2009, 02:07 PM   #3
wheel
Member
 
Registered: Sep 2003
Posts: 33

Original Poster
Rep: Reputation: 16
Follow up question - related.

I've got Mandriva 2010 PWP installed on a web server and want to add the powerpack distribution medium.

I can't use the solution I posted above; the mdkapplet isn't installed on my system. I suspect that's because I didn't install KDE or GNOME (it's a webserver, so no UI installed).

So question - how do I add mandriva pwp medium from a command prompt without having mdkapplet installed.
 
Old 11-18-2009, 12:14 AM   #4
rolf
Member
 
Registered: Jul 2001
Location: Oakland, CA
Distribution: Mageia 5 x86_64
Posts: 187

Rep: Reputation: 33
Yes, mdkapplet needs X, a gui.

The console command to use is urpmi.addmedia. See

Code:
man urpmi.addmedia
for reference.

On the machine where you have the gui, do, as root, for example:

Code:
[root@localhost Pan]# urpmq --list-url
[..]
Restricted x86_64 50991 https://user%40myisp.com:xxx@dl.mandriva.com/rpm/comm/2010.0/x86_64
Restricted Updates x86_64 92264 https://user%40myisp.com:xxx@dl.mandriva.com/rpm/comm/2010.0/updates/x86_64
Restricted i586 90575 https://user%40myisp.com:xxx@dl.mandriva.com/rpm/comm/2010.0/i586
Restricted Updates i586 88956 https://user%40myisp.com:xxx@dl.mandriva.com/rpm/comm/2010.0/updates/i586
[root@localhost Pan]#
Run as root, this urpmq query will echo the login password for your account, which makes it easy to copy/paste. You might want to print it out to use on the server.

This is on a 64-bit installation, which adds both architectures. For i586, you just need the 32-bit repos.

From the manual:

Code:
SYNOPSIS
           urpmi.addmedia [options] <name> <url>
You can use any unique <name> just, if spaces are in it, it makes it a pita to use it on cl, imo. I think you can just wrap quotes "" around a name with spaces but I avoid them, personally.

So, for example,

Code:
urpmi.addmedia restricted https://user%40myisp.com:xxx@dl.mandriva.com/rpm/comm/2010.0/i586

urpmi.addmedia --update restricted_updates https://user%40myisp.com:xxx@dl.mandriva.com/rpm/comm/2010.0/updates/i586
See the manual. The --update option causes MandrivaUpdate to look in such a repository for updates. Note the use of %40 for @ in your log in email addy. Adjust for your situation.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandriva 2009.1 pwp JJV Mandriva 3 05-07-2009 09:25 AM
hiss sound is coming when i use mandriva 2008 pwp ghanareddy Linux - Newbie 6 09-10-2008 09:17 AM
no wireless internet in mandriva pwp 2008 rock0night Linux - Newbie 2 03-29-2008 03:09 PM
Adding a directory returns "no medium found" error JcN Linux - Newbie 7 02-01-2006 08:40 PM
"Adding a Medium" in Medium Manager???? kymystic Mandriva 1 03-07-2005 03:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 03:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration