LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-13-2009, 06:02 AM   #1
Nabeel
Member
 
Registered: Nov 2009
Location: Pakistan
Distribution: Ubuntu
Posts: 291

Rep: Reputation: 17
Question I am having trouble installing software through MCC


Iget this error when i try to add any new packages through Mandriva control Center.


"Unable to add medium, errors reported:

mirror list not found
...retrieving failed:
unable to access the distribution medium (no media.cfg file found)

Medium: Official2010.0- ()"


And since i am a newcomer I don't know any thing about linux Konsole
 
Old 12-13-2009, 03:28 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,926

Rep: Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587
Method 1. : Please open a terminal window ...
a) su password
b) urpmi.update -a

Method 2. http://www.linuxquestions.org/questi...4/?highlight#8
.. post # 8.

.....

Some other useful info ..
http://wiki.linuxquestions.org/wiki/URPMI_or_rpmdrake
http://wiki.mandriva.com/en/Tools/urpmi
http://club.mandriva.com/xwiki/bin/view/KB/BasicsBrpm3
http://www.cs.utexas.edu/users/walte...rpm-howto.html
> > urpmq --fuzzy "name"
.....
 
Old 12-14-2009, 03:00 AM   #3
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
MCC uses the Mandriva Software Package Manager to install software packages on your system. The Mandriva Software Package Manager gets those packages from a software repository (aka a Software Media Source) located (by default) on the disk you used to install Mandriva. To be able to install updates, you will have to configure the Package Manager to use a Mandriva ftp mirror on the Internet. Fortunately, this is a fairly easy thing to do.

Step 1

We will start by checking to see if any media sources are already configured:

Open the Mandriva Software Package Manager (Install & Remove Software in the menu system).

Open the Options menu (menu bar - top-left) and select Media Manager.

If any media sources are configured, they should be listed with a check mark in the Enabled column. If any enabled media sources are of the type ftp, you have already configured updates - Go to Step 3. If you have not yet configured updates, continue with Step 2.

Step 2

Open the File menu (menu bar - top-left) and select Add a specific media mirror.

The resulting dialog provides two choices. You can add Update media sources only, or a full set of media sources. The full set of media sources gives you access to all the software packaged for use with Mandriva Linux (far more than can fit on a disk), a good choice if your Internet connection is fast and unlimited (not metered). If your Internet service charges by bandwidth used, you may prefer to choose to add Update sources only.

Step 3

Update your media sources:

Open the File menu (menu bar - top-left) and select Update.

Click the Select All button (bottom - center) to select all configured media sources for update.

Click the Update button (bottom - right) to perform the update.

A Please Wait dialog will open. On my system it displays no information, but secondary dialogs open when a media source is updated. When the Please Wait dialog closes, the update is complete (may take several minutes).

Click the OK button (bottom) to close the Media Manager.

The Package Manager will re-initialize its lists, and you should be able to add software packages now.

Note: A simple way to update media sources:

Open a terminal window

At the command prompt, enter su and press the ENTER key to execute the command.

Enter your root password and press the ENTER key.

Execute the following command: urpmi.update -a to update all configured software media sources.

HTH,

Last edited by ernie; 12-14-2009 at 03:02 AM. Reason: Added formatting for clarity
 
1 members found this post helpful.
Old 12-14-2009, 10:52 AM   #4
Nabeel
Member
 
Registered: Nov 2009
Location: Pakistan
Distribution: Ubuntu
Posts: 291

Original Poster
Rep: Reputation: 17
Unhappy

Quote:
Originally Posted by ernie View Post
MCC uses the Mandriva Software Package Manager to install software packages on your system. The Mandriva Software Package Manager gets those packages from a software repository (aka a Software Media Source) located (by default) on the disk you used to install Mandriva. To be able to install updates, you will have to configure the Package Manager to use a Mandriva ftp mirror on the Internet. Fortunately, this is a fairly easy thing to do.

Step 1

We will start by checking to see if any media sources are already configured:

Open the Mandriva Software Package Manager (Install & Remove Software in the menu system).

Open the Options menu (menu bar - top-left) and select Media Manager.

If any media sources are configured, they should be listed with a check mark in the Enabled column. If any enabled media sources are of the type ftp, you have already configured updates - Go to Step 3. If you have not yet configured updates, continue with Step 2.

Step 2

Open the File menu (menu bar - top-left) and select Add a specific media mirror.

The resulting dialog provides two choices. You can add Update media sources only, or a full set of media sources. The full set of media sources gives you access to all the software packaged for use with Mandriva Linux (far more than can fit on a disk), a good choice if your Internet connection is fast and unlimited (not metered). If your Internet service charges by bandwidth used, you may prefer to choose to add Update sources only.

Step 3

Update your media sources:

Open the File menu (menu bar - top-left) and select Update.

Click the Select All button (bottom - center) to select all configured media sources for update.

Click the Update button (bottom - right) to perform the update.

A Please Wait dialog will open. On my system it displays no information, but secondary dialogs open when a media source is updated. When the Please Wait dialog closes, the update is complete (may take several minutes).

Click the OK button (bottom) to close the Media Manager.

The Package Manager will re-initialize its lists, and you should be able to add software packages now.

Note: A simple way to update media sources:

Open a terminal window

At the command prompt, enter su and press the ENTER key to execute the command.

Enter your root password and press the ENTER key.

Execute the following command: urpmi.update -a to update all configured software media sources.

HTH,



I got this error when i did step 2 with any of the buttons



"There was an error downloading the mirror list:

retrival of [/var/cache/urpmi/basic.2010.0.i586.list?product=One]failed

The network or Mandriva website may not be unavailable.Please try again later
 
Old 12-15-2009, 01:11 AM   #5
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mandriva, CentOS, Ubuntu
Posts: 456

Rep: Reputation: 69
Make sure you are connected to the internet. Can you surf the web with Firefox?
 
Old 12-15-2009, 06:49 AM   #6
Wifi-Fanatux
Member
 
Registered: Mar 2009
Location: Northwest
Distribution: LAPTOP->DreamStudio & Saline-Debian
Posts: 70

Rep: Reputation: 19
cd rom

Also, if the first set of sources is your cdrom, then you must have your cd/dvd that you installed Mandriva with in your cdrom drie. And of course if you want to add the other sources, as ongte stated, you must have an internet connection.
 
Old 12-15-2009, 08:39 AM   #7
Nabeel
Member
 
Registered: Nov 2009
Location: Pakistan
Distribution: Ubuntu
Posts: 291

Original Poster
Rep: Reputation: 17
Question

Quote:
Originally Posted by Wifi-Fanatux View Post
Also, if the first set of sources is your cdrom, then you must have your cd/dvd that you installed Mandriva with in your cdrom drie. And of course if you want to add the other sources, as ongte stated, you must have an internet connection.


I am replying via same PC,and i have tried it when i was logged in and got the same error
 
Old 12-15-2009, 08:55 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,926

Rep: Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587
*

How about using the command # urpmi.update -a
.. and see what happens.

The command line could be more efficient than the "rpmdrake GUI".

.....
 
Old 12-15-2009, 11:41 AM   #9
Nabeel
Member
 
Registered: Nov 2009
Location: Pakistan
Distribution: Ubuntu
Posts: 291

Original Poster
Rep: Reputation: 17
Question

Quote:
Originally Posted by knudfl View Post
*

How about using the command # urpmi.update -a
.. and see what happens.

The command line could be more efficient than the "rpmdrake GUI".

.....

this is what happens
Attached Images
File Type: png snapshot3.png (136.8 KB, 7 views)
File Type: png snapshot2.png (131.7 KB, 6 views)
 
Old 12-16-2009, 02:43 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,926

Rep: Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587
Looks OK.

Then try installing a package with 'urpmi' or 'rpmdrake'.

# urpmi <package>

You can also ask / search with urpmq :
# urpmq --fuzzy <name>
.. or part of package name.
.....
 
Old 12-16-2009, 04:43 AM   #11
Nico77
LQ Newbie
 
Registered: Aug 2007
Posts: 5

Rep: Reputation: 1
reply

First things first. Here is a possible way to solve your "locale" problem.
http://www.linuxquestions.org/questi...locale-775309/

Secondly I would suggest you flush all your sources, do it command line style. Then go to easyurpmi (internet) and put your version and architecture by hand and get your sources. You get your information by typing "cat /etc/issue" in a konsole. See if that helps.
 
1 members found this post helpful.
Old 12-18-2009, 02:07 AM   #12
HmNtr
LQ Newbie
 
Registered: Jun 2009
Location: South and West of Phoenix Arizona
Distribution: Mandriva Spring 2009 RC1
Posts: 28

Rep: Reputation: 15
Quote:
Originally Posted by Nabeel View Post
I got this error when i did step 2 with any of the buttons



"There was an error downloading the mirror list:

retrival of [/var/cache/urpmi/basic.2010.0.i586.list?product=One]failed

The network or Mandriva website may not be unavailable.Please try again later

Nabeel, I get the same problem, except I tried the Free Dual RC2 of 2010.

My error message was "There was an error downloading the mirror list:

retrival of [/var/cache/urpmi/basic.2010.0.i586.list?product=Free]failed

The network or Mandriva website may not be unavailable.Please try again later"

I tried going konsole and su > pw > urpmi --auto-update but failed, tried graphically (add/remove software via MCC) and only media configured is the CDROM, which is when I get that error...I am going to try some of the above suggestions and I will let you know what I find...
 
Old 12-18-2009, 10:26 AM   #13
Cage47
Member
 
Registered: Feb 2003
Location: Pasadena, TX
Distribution: Debian Lenny
Posts: 220

Rep: Reputation: 31
I've been getting the same errors. I am connected now through firefox. I can download some packages but can't download others. Basically anything on the main repository. It won't download or update the $mirrorlist
 
Old 12-23-2009, 12:10 AM   #14
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mandriva, CentOS, Ubuntu
Posts: 456

Rep: Reputation: 69
Could it be IPv6 related? I had a desktop that also refused to connect to the repos. Firefox worked but was very slow. I solved it by disabling IPv6.

How to do it:
Left-click the network icon in the system tray this will open the Network Center, now open Advanced Settings and check Disable IPv6, then click OK and restart the system.
 
Old 12-23-2009, 03:59 AM   #15
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
I have had no such problems, But have always disabled ipv6
(few years now, good idea, but not real popular yet).

Sometimes I have found that -updates repos give this error as the repo is written to with new versions of the packages, and is in-accessible during this time (sometimes hours).

The other thing I can think of, (aside from the locale stuff, check glibc ver),
is the downloaders used, like curl, aria2 and wget, among others.

Once you have it working, consider using the Smart Package Manager, why?, because

Smart has some nice gui tools, like check, reinstall, lock version (for specific packages)
and fix, but also install and uninstall.

smart --help
Quote:
glenn@GamesBox:~$ smart --help (23-12 19:49)
Usage: smart command [options] [arguments]

Action commands:
update
install
reinstall
upgrade
remove
check
fix
download
clean

Query commands:
search
query
info
stats

Setup commands:
config
channel
priority
mirror
flag

Run "smart command --help" for more information.

Options:
--version Show program's version number and exit
--config-file=FILE Configuration file (default is <data-dir>/config)
--data-dir=DIR Data directory (default is /var/lib/smart/)
--log-level=LEVEL Set the log level to level (debug, info, warning,
error)
--gui Use the default graphic interface
--shell Use the default shell interface
--interface=NAME Use the given interface
--ignore-locks Don't respect locking
-o OPT, --option=OPT Set the option given by a name=value pair

Examples:
smart install --help
smart install pkgname
smart --gui
smart --gui install pkgname
smart --shell

glenn@GamesBox:~$
(imitating zsh console colours)

Please post back with your success story, or questions.

Cheers, Glenn
 
  


Reply

Tags
rpmdrake, urpmi


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
how to install software downloaded through MCC? addie_goodvibes Linux - Software 1 03-23-2009 09:51 PM
Installing Programs from Command Line Using MCC TGWDNGHN Mandriva 3 06-27-2005 05:38 PM
why there is so much of trouble in installing any software in linux? amolgupta Linux - Software 2 04-11-2005 12:18 PM
trouble installing software with yast UGT001 Linux - Software 1 12-24-2004 01:30 AM
trouble installing some software vr6stress Linux - Newbie 6 03-23-2004 12:02 AM


All times are GMT -5. The time now is 02:06 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration