LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 08-25-2007, 07:53 AM   #1
Tank Jr
Member
 
Registered: May 2007
Location: United States
Distribution: Ubuntu 10.10 Maverick Meerkat, Mandriva 2010.2
Posts: 39

Rep: Reputation: 15
Cannot install updates to Mandriva from the Internet


Hi everyone,
It is me again. I am using Mandriva Linux 2006, and I am unable to use urpmi to update the installed packages.
The problem is that I connect to the Internet through a http proxy that requires authentication. How can I configure the settings so that I can access the mirrors and so for urpmi?
Any help will be appreciated.
Thank you in advance.
 
Old 08-26-2007, 12:51 PM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
There should be a file in /etc/urpmi/ called proxy.cfg. Usually, you have to define the following:
Code:
http_proxy=<url>:<port>
proxy_user=<user>:<password>
anyway, see man proxy.cfg for details.
 
Old 08-27-2007, 12:29 AM   #3
Tank Jr
Member
 
Registered: May 2007
Location: United States
Distribution: Ubuntu 10.10 Maverick Meerkat, Mandriva 2010.2
Posts: 39

Original Poster
Rep: Reputation: 15
Thank you for the reply, Colucix. I have actually managed to configure the things and I added the mirrors from the command line. Some things downloaded themselves and added themselves as sources. So far, so good. But when I try to update, I get an error like unable to update, or the mirror unavailable. How to know which mirrors are working?
 
Old 08-27-2007, 12:47 AM   #4
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Did you add mirrors for all repositories from here, if so, make sure to select a mirror closest to you in the drop down menus.
 
Old 08-27-2007, 03:01 AM   #5
Sheridan
Member
 
Registered: Aug 2007
Location: Hungary
Distribution: Fedora, CentOS
Posts: 91

Rep: Reputation: 21
Hi,

Actually, you could also try this source (I hear it's better than the zarb one, but who knows). I use it though:

http://www.mandrivauser.de/smarturpmi/
 
Old 09-01-2007, 07:36 AM   #6
Tank Jr
Member
 
Registered: May 2007
Location: United States
Distribution: Ubuntu 10.10 Maverick Meerkat, Mandriva 2010.2
Posts: 39

Original Poster
Rep: Reputation: 15
Thank you, everyone

Hi Everyone,
Thank you for reading my post and trying to help me out. I actually upgraded to Mandriva 2007 Spring and added the corresponding sources. Now urpmi works just fine.
So I guess everything is fine now. I do have a couple of issues with Mandriva 2007 though, but I will post them in a new thread.
Thank you again. May God bless the Linux community.
 
  


Reply



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
Dell Inspiron 5150 will not install internet connexion using Mandriva 2007 Tyronz Linux - Laptop and Netbook 1 06-15-2007 03:58 AM
linux 10.0 desktop connected to internet during install for updates so why not now? dicedaniels Linux - Newbie 3 11-05-2006 07:41 PM
Mandriva updates metallica1973 Mandriva 2 09-05-2006 01:27 AM
Mandriva, updates, wireless, and the nx9010 laptop eqisow Linux - Wireless Networking 0 08-25-2005 06:39 PM
Install Fedora Core 4 Extras or Updates without Internet Connection. jkuzenka Linux - Newbie 7 07-15-2005 08:14 AM

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

All times are GMT -5. The time now is 11:46 AM.

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