PDA

View Full Version : [ubuntu] repositories problem



keedaiit
March 2nd, 2009, 03:34 PM
when i am trying ti upgrade my system using syanptic package manager.
i am always getting the same reply.
i want to make it clear i am using proxy and its working clearly.

WARNING: The following packages cannot be authenticated!
libbeecrypt6 libneon25 librpm4 python-elementtree python-celementtree
python-urlgrabber rpm python-rpm yum
Install these packages without verification [y/N]? y
Err http://ftp.iitm.ac.in gutsy/main libbeecrypt6 4.1.2-6build1
407 Proxy Authentication Required [IP: 10.94.0.32 3128]
Err http://in.archive.ubuntu.com gutsy/main libbeecrypt6 4.1.2-6build1
407 Proxy Authentication Required [IP: 10.94.0.31 3128]
Err http://in.archive.ubuntu.com gutsy/main libneon25 0.25.5.dfsg-6build1
407 Proxy Authentication Required [IP: 10.94.0.31 3128]
Err http://in.archive.ubuntu.com gutsy/main librpm4 4.4.1-14.1ubuntu2
407 Proxy Authentication Required [IP: 10.94.0.31 3128]
Err http://in.archive.ubuntu.com gutsy/universe python-elementtree 1.2.6-11ubuntu1
407 Proxy Authentication Required [IP: 10.94.0.31 3128]
Err http://in.archive.ubuntu.com gutsy/universe python-celementtree 1.0.5-9
407 Proxy Authentication Required [IP: 10.94.0.31 3128]
Err http://in.archive.ubuntu.com gutsy/universe python-urlgrabber 3.1.0-3
407 Proxy Authentication Required [IP: 10.94.0.31 3128]
Err http://in.archive.ubuntu.com gutsy/main rpm 4.4.1-14.1ubuntu2
407 Proxy Authentication Required [IP: 10.94.0.31 3128]
Err http://in.archive.ubuntu.com gutsy/universe python-rpm 4.4.1-14.1ubuntu2
407 Proxy Authentication Required [IP: 10.94.0.31 3128]
Err http://in.archive.ubuntu.com gutsy/universe yum 2.4.0-3.1
407 Proxy Authentication Required [IP: 10.94.0.31 3128]
Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/b/beecrypt/libbeecrypt6_4.1.2-6build1_i386.deb 407 Proxy Authentication Required [IP: 10.94.0.31 3128]
Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/n/neon/libneon25_0.25.5.dfsg-6build1_i386.deb 407 Proxy Authentication Required [IP: 10.94.0.31 3128]
Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/r/rpm/librpm4_4.4.1-14.1ubuntu2_i386.deb 407 Proxy Authentication Required [IP: 10.94.0.31 3128]
Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/e/elementtree/python-elementtree_1.2.6-11ubuntu1_all.deb 407 Proxy Authentication Required [IP: 10.94.0.31 3128]
Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/c/celementtree/python-celementtree_1.0.5-9_i386.deb 407 Proxy Authentication Required [IP: 10.94.0.31 3128]
Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/u/urlgrabber/python-urlgrabber_3.1.0-3_all.deb 407 Proxy Authentication Required [IP: 10.94.0.31 3128]
Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/r/rpm/rpm_4.4.1-14.1ubuntu2_i386.deb 407 Proxy Authentication Required [IP: 10.94.0.31 3128]
Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/r/rpm/python-rpm_4.4.1-14.1ubuntu2_i386.deb 407 Proxy Authentication Required [IP: 10.94.0.31 3128]
Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/y/yum/yum_2.4.0-3.1_all.deb 407 Proxy Authentication Required [IP: 10.94.0.31 3128]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

taurus
March 2nd, 2009, 03:37 PM
From synaptic, click Settings -> Repositories and use another server. Don't forget to click the Reload button once you have switched to another server. Use the Main Server if you can't decide which one to use.

keedaiit
March 2nd, 2009, 03:45 PM
i am using the main server.i am using evrything correctly.i dunno whats wrong.wait
also when i am trying to upgrade using synaptic upgrader i am getting following error.

Failed to fetch http://ftp.utexas.edu/ubuntu/dists/hardy-backports/restricted/source/Sources.gz 407 Proxy Authentication Required [IP: 10.94.0.31 3128]
Some index files failed to download, they have been ignored, or old ones used instead.

Edit : Output clipped. @ keedaiit (http://ubuntuforums.org/member.php?u=691677) : Use attachments for posting long output like that. Attach the output as a text file.

It is the same error over and over and over, we do not need to see it repeated 500 times :)

taurus
March 2nd, 2009, 03:56 PM
Are you running gutsy or hardy because you have both in your /etc/apt/sources.list?


lsb_release -a
Post your /etc/apt/sources.list.


cat /etc/apt/sources.list

keedaiit
March 2nd, 2009, 04:00 PM
the output for sources.list is

Edit : Output clipped. @ keedaiit (http://ubuntuforums.org/member.php?u=691677) : Use attachments for posting long output like that. Attach the output as a text file.


and the one for lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.04.1
Release: 8.04
Codename: hardy

what are the lsb modules?

taurus
March 2nd, 2009, 04:07 PM
You need to edit /etc/apt/sources.list


gksudo gedit /etc/apt/sources.list
and put a # in front of the first line to comment out the cdrom option.


#deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
Then, replace the word gutsy with hardy for all the repos in there since you are running hardy.

Also, remove the last two lines.



deb http://Ubuntu 5.10 "Breezy Badger" (Binary)
deb http://wine.sourceforge.net/apt/ binary/

Save it and run


sudo apt-get update
sudo apt-get upgrade

blackened
March 2nd, 2009, 04:15 PM
Wow, what a mess. Did you edit /etc/apt/sources.list by hand?

For future reference, it is sometimes ok to mix repos meant for different versions (sometimes even different distributions), but that should also be one of the first things you look at when apt goes sideways (depending on what it complains about, obviously).

keedaiit
March 2nd, 2009, 05:24 PM
problems more problems.........


W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/hardy-backports/multiverse/source/Sources.gz 407 Proxy Authentication Required [IP: 10.94.0.31 3128]

E: Some index files failed to download, they have been ignored, or old ones used instead.

well from next time the code you ask me to run.......please also tell what they do if you don't mind

Edit : Output clipped. @ keedaiit (http://ubuntuforums.org/member.php?u=691677) : Use attachments for posting long output like that. Attach the output as a text file.

It is the same error over and over and over, we do not need to see it repeated 500 times :)

blackened
March 2nd, 2009, 08:09 PM
lsb_relase -a just prints the version of Ubuntu you're running.

You've got something seriously out of whack. Please post your current sources.list.

silverglade00
March 2nd, 2009, 09:56 PM
407 Proxy Authentication Required [IP: 10.94.0.31 3128]

This is telling you what the issue is. A 10.x.x.x address is normally an internal network. It is asking you to authenticate to a web proxy. Do you normally have to log into something to access the Internet? That would be the first place to check. Your sources.list is(was) probably fine. It's the network connection that it is using that needs to be checked.

keedaiit
March 3rd, 2009, 07:00 PM
indeed i use proxy .i need to log on to the proxy server to access the internet.
but i am able to access internet very easily...like i am doing now!!!!!!!!1
dunno what the problem is
laso when i am trying to download using synaptic i am getting this error failed to fetch from ubntu pool etc........