I have installed Ubuntu 11.10 inside a virtual machine running inside Windows XP. I was trying to update Ubuntu using "sudo apt-get update" command for which i get some errors

Asked by Swathik

 I followed all the steps metioned in Ubuntu web site for updation. While I performed the "sudo apt-get update -o APT::Cache-Limit:25165624" command, i get the following errors.. The same errors occured while I used the "sudo apt-get update" command..

Here are the few things which i would like to describe:
1. Ubuntu 11.10 is installed and is running in Virtual machine inside Win XP.
2. In Update manager after i select the server to Main Server, update manager says "This computer has been updated three days ago" and the update list is empty. Before doing this setting, it showed 331 updates.
3. I run the laptop behind a proxy, and have provide the ip address and the port no in the system settings and pushed the "Apply System Wide" button and authenticated it.
4. I tried updating in my home (i.e without a proxy) then, update gets stuck by saying "Waiting for headers"
5. I tried updating through update manager, with source as "Server for India", i get 331 updates to be installed, when i click the install button, it says "requires installation from restricted sources"

 407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-backports/multiverse i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-security/main Sources
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-security/universe Sources
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-security/restricted Sources
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-security/multiverse Sources
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-security/main i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-security/restricted i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-security/multiverse i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-security/universe i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-proposed/universe i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-proposed/main i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-proposed/restricted i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-proposed/multiverse i386 Packages
  407 Proxy Authentication Required
Ign http://archive.ubuntu.com oneiric/main Translation-en_US
Ign http://archive.ubuntu.com oneiric/main Translation-en
Ign http://archive.ubuntu.com oneiric/multiverse Translation-en_US
Ign http://archive.ubuntu.com oneiric/multiverse Translation-en
Ign http://archive.ubuntu.com oneiric/restricted Translation-en_US
Ign http://archive.ubuntu.com oneiric/restricted Translation-en
Ign http://archive.ubuntu.com oneiric/universe Translation-en_US
Ign http://archive.ubuntu.com oneiric/universe Translation-en
Ign http://archive.ubuntu.com oneiric-updates/main Translation-en_US
Ign http://archive.ubuntu.com oneiric-updates/main Translation-en
Ign http://archive.ubuntu.com oneiric-updates/multiverse Translation-en_US
Ign http://archive.ubuntu.com oneiric-updates/multiverse Translation-en
Ign http://archive.ubuntu.com oneiric-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com oneiric-updates/restricted Translation-en
Ign http://archive.ubuntu.com oneiric-updates/universe Translation-en_US
Ign http://archive.ubuntu.com oneiric-updates/universe Translation-en
Ign http://archive.ubuntu.com oneiric-backports/main Translation-en_US
Ign http://archive.ubuntu.com oneiric-backports/main Translation-en
Ign http://archive.ubuntu.com oneiric-backports/multiverse Translation-en_US
Ign http://archive.ubuntu.com oneiric-backports/multiverse Translation-en
Ign http://archive.ubuntu.com oneiric-backports/restricted Translation-en_US
Ign http://archive.ubuntu.com oneiric-backports/restricted Translation-en
Ign http://archive.ubuntu.com oneiric-backports/universe Translation-en_US
Ign http://archive.ubuntu.com oneiric-backports/universe Translation-en
Ign http://archive.ubuntu.com oneiric-security/main Translation-en_US
Ign http://archive.ubuntu.com oneiric-security/main Translation-en
Ign http://archive.ubuntu.com oneiric-security/multiverse Translation-en_US
Ign http://archive.ubuntu.com oneiric-security/multiverse Translation-en
Ign http://archive.ubuntu.com oneiric-security/restricted Translation-en_US
Ign http://archive.ubuntu.com oneiric-security/restricted Translation-en
Ign http://archive.ubuntu.com oneiric-security/universe Translation-en_US
Ign http://archive.ubuntu.com oneiric-security/universe Translation-en
Ign http://archive.ubuntu.com oneiric-proposed/main Translation-en_US
Ign http://archive.ubuntu.com oneiric-proposed/main Translation-en
Ign http://archive.ubuntu.com oneiric-proposed/multiverse Translation-en_US
Ign http://archive.ubuntu.com oneiric-proposed/multiverse Translation-en
Ign http://archive.ubuntu.com oneiric-proposed/restricted Translation-en_US
Ign http://archive.ubuntu.com oneiric-proposed/restricted Translation-en
Ign http://archive.ubuntu.com oneiric-proposed/universe Translation-en_US
Ign http://archive.ubuntu.com oneiric-proposed/universe Translation-en
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/main/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/universe/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/restricted/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/multiverse/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/main/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/restricted/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/multiverse/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/universe/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/main/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/universe/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/restricted/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/multiverse/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/main/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/restricted/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/multiverse/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/universe/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-backports/main/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-backports/universe/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-backports/restricted/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-backports/multiverse/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-backports/main/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-backports/universe/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-backports/restricted/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-backports/multiverse/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/main/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/universe/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/restricted/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/main/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/restricted/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/universe/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-proposed/universe/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-proposed/main/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-proposed/restricted/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-proposed/multiverse/binary-i386/Packages 407 Proxy Authentication Required

E: Some index files failed to download. They have been ignored, or old ones used instead.
swathik@swathik-UbuntuVM:/var/lib$ sudo dpkg --configure -a
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.0.0-12-generic
Processing triggers for desktop-file-utils ...
Processing triggers for man-db ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for software-center ...
INFO:softwarecenter.db.update:no translation information in database needed
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
swathik@swathik-UbuntuVM:/var/lib$ sudo dpkg --clear-avail
swathik@swathik-UbuntuVM:/var/lib$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  language-pack-pt language-pack-xh language-pack-zh-hans
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 111 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ...
dpkg: warning: files list file for package `libecryptfs0' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `reiserfsprogs' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `language-pack-pt' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-pyicu' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libtimezonemap1' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-argparse' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `python-xklavier' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libnss3-1d' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libdebian-installer4' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `rdate' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `language-pack-xh' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `libdebconfclient0' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `ubiquity-casper' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `ubiquity-ubuntu-artwork' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `language-pack-zh-hans' missing, assuming package has no files currently installed.
(Reading database ... 125571 files and directories currently installed.)
Removing language-pack-pt ...
Removing language-pack-xh ...
Removing language-pack-zh-hans ...
swathik@swathik-UbuntuVM:/var/lib$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Ign http://archive.ubuntu.com oneiric InRelease
Ign http://archive.ubuntu.com oneiric-updates InRelease
Ign http://archive.ubuntu.com oneiric-backports InRelease
Ign http://archive.ubuntu.com oneiric-security InRelease
Ign http://archive.ubuntu.com oneiric-proposed InRelease
Ign http://archive.ubuntu.com oneiric Release.gpg
Ign http://archive.ubuntu.com oneiric-updates Release.gpg
Ign http://archive.ubuntu.com oneiric-backports Release.gpg
Ign http://archive.ubuntu.com oneiric-security Release.gpg
Ign http://archive.ubuntu.com oneiric-proposed Release.gpg
Ign http://archive.ubuntu.com oneiric Release
Ign http://archive.ubuntu.com oneiric-updates Release
Ign http://archive.ubuntu.com oneiric-backports Release
Ign http://archive.ubuntu.com oneiric-security Release
Ign http://archive.ubuntu.com oneiric-proposed Release
Ign http://archive.ubuntu.com oneiric/main TranslationIndex
Ign http://archive.ubuntu.com oneiric/multiverse TranslationIndex
Ign http://archive.ubuntu.com oneiric/restricted TranslationIndex
Ign http://archive.ubuntu.com oneiric/universe TranslationIndex
Ign http://archive.ubuntu.com oneiric-updates/main TranslationIndex
Ign http://archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Ign http://archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Ign http://archive.ubuntu.com oneiric-updates/universe TranslationIndex
Ign http://archive.ubuntu.com oneiric-backports/main TranslationIndex
Ign http://archive.ubuntu.com oneiric-backports/multiverse TranslationIndex
Ign http://archive.ubuntu.com oneiric-backports/restricted TranslationIndex
Ign http://archive.ubuntu.com oneiric-backports/universe TranslationIndex
Ign http://archive.ubuntu.com oneiric-security/main TranslationIndex
Ign http://archive.ubuntu.com oneiric-security/multiverse TranslationIndex
Ign http://archive.ubuntu.com oneiric-security/restricted TranslationIndex
Ign http://archive.ubuntu.com oneiric-security/universe TranslationIndex
Ign http://archive.ubuntu.com oneiric-proposed/main TranslationIndex
Ign http://archive.ubuntu.com oneiric-proposed/multiverse TranslationIndex
Ign http://archive.ubuntu.com oneiric-proposed/restricted TranslationIndex
Ign http://archive.ubuntu.com oneiric-proposed/universe TranslationIndex
Err http://archive.ubuntu.com oneiric/main Sources
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric/universe Sources
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric/restricted Sources
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric/multiverse Sources
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric/main i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric/restricted i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric/multiverse i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric/universe i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-updates/main Sources
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-updates/universe Sources
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-updates/restricted Sources
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-updates/multiverse Sources
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-updates/main i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-updates/restricted i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-updates/multiverse i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-updates/universe i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-backports/main Sources
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-backports/universe Sources
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-backports/restricted Sources
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-backports/multiverse Sources
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-backports/main i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-backports/universe i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-backports/restricted i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-backports/multiverse i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-security/main Sources
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-security/universe Sources
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-security/restricted Sources
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-security/multiverse Sources
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-security/main i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-security/restricted i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-security/multiverse i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-security/universe i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-proposed/universe i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-proposed/main i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-proposed/restricted i386 Packages
  407 Proxy Authentication Required
Err http://archive.ubuntu.com oneiric-proposed/multiverse i386 Packages
  407 Proxy Authentication Required
Ign http://archive.ubuntu.com oneiric/main Translation-en_US
Ign http://archive.ubuntu.com oneiric/main Translation-en
Ign http://archive.ubuntu.com oneiric/multiverse Translation-en_US
Ign http://archive.ubuntu.com oneiric/multiverse Translation-en
Ign http://archive.ubuntu.com oneiric/restricted Translation-en_US
Ign http://archive.ubuntu.com oneiric/restricted Translation-en
Ign http://archive.ubuntu.com oneiric/universe Translation-en_US
Ign http://archive.ubuntu.com oneiric/universe Translation-en
Ign http://archive.ubuntu.com oneiric-updates/main Translation-en_US
Ign http://archive.ubuntu.com oneiric-updates/main Translation-en
Ign http://archive.ubuntu.com oneiric-updates/multiverse Translation-en_US
Ign http://archive.ubuntu.com oneiric-updates/multiverse Translation-en
Ign http://archive.ubuntu.com oneiric-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com oneiric-updates/restricted Translation-en
Ign http://archive.ubuntu.com oneiric-updates/universe Translation-en_US
Ign http://archive.ubuntu.com oneiric-updates/universe Translation-en
Ign http://archive.ubuntu.com oneiric-backports/main Translation-en_US
Ign http://archive.ubuntu.com oneiric-backports/main Translation-en
Ign http://archive.ubuntu.com oneiric-backports/multiverse Translation-en_US
Ign http://archive.ubuntu.com oneiric-backports/multiverse Translation-en
Ign http://archive.ubuntu.com oneiric-backports/restricted Translation-en_US
Ign http://archive.ubuntu.com oneiric-backports/restricted Translation-en
Ign http://archive.ubuntu.com oneiric-backports/universe Translation-en_US
Ign http://archive.ubuntu.com oneiric-backports/universe Translation-en
Ign http://archive.ubuntu.com oneiric-security/main Translation-en_US
Ign http://archive.ubuntu.com oneiric-security/main Translation-en
Ign http://archive.ubuntu.com oneiric-security/multiverse Translation-en_US
Ign http://archive.ubuntu.com oneiric-security/multiverse Translation-en
Ign http://archive.ubuntu.com oneiric-security/restricted Translation-en_US
Ign http://archive.ubuntu.com oneiric-security/restricted Translation-en
Ign http://archive.ubuntu.com oneiric-security/universe Translation-en_US
Ign http://archive.ubuntu.com oneiric-security/universe Translation-en
Ign http://archive.ubuntu.com oneiric-proposed/main Translation-en_US
Ign http://archive.ubuntu.com oneiric-proposed/main Translation-en
Ign http://archive.ubuntu.com oneiric-proposed/multiverse Translation-en_US
Ign http://archive.ubuntu.com oneiric-proposed/multiverse Translation-en
Ign http://archive.ubuntu.com oneiric-proposed/restricted Translation-en_US
Ign http://archive.ubuntu.com oneiric-proposed/restricted Translation-en
Ign http://archive.ubuntu.com oneiric-proposed/universe Translation-en_US
Ign http://archive.ubuntu.com oneiric-proposed/universe Translation-en
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/main/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/universe/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/restricted/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/multiverse/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/main/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/restricted/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/multiverse/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/universe/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/main/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/universe/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/restricted/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/multiverse/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/main/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/restricted/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/multiverse/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-updates/universe/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-backports/main/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-backports/universe/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-backports/restricted/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-backports/multiverse/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-backports/main/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-backports/universe/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-backports/restricted/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-backports/multiverse/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/main/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/universe/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/restricted/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/source/Sources 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/main/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/restricted/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-security/universe/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-proposed/universe/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-proposed/main/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-proposed/restricted/binary-i386/Packages 407 Proxy Authentication Required

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric-proposed/multiverse/binary-i386/Packages 407 Proxy Authentication Required

E: Some index files failed to download. They have been ignored, or old ones used instead.
swathik@swathik-UbuntuVM:/var/lib$

Kindly check if my update is OK or not.

Also, there is one more problem which I face, the system time doesnt update correctly. There is always a time difference between the host time (windows) and the virtual machine (ubuntu).

Please help.

Thanks and Regards,
Swathik

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Swathik
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1
Revision history for this message
mfauzirahman (mfauzirahman) said :
#2

can you change to main server?

Revision history for this message
Swathik (swathiktk) said :
#3

Hi,

Thanks for your answers. I learnt that we need to change the apt.conf file in etc/ap/apt.conf to reflect the username password and the proxy host name. After this the apt-get update worked fine.

thanks,
swathik