the update manager won't install updates because it has package error

Asked by lovelife

Get:38 http://archive.ubuntu.com quantal-backports/multiverse Sources [781 B]
Get:39 http://archive.ubuntu.com quantal-backports/main i386 Packages [14 B]
Get:40 http://archive.ubuntu.com quantal-backports/restricted i386 Packages [14 B]
Get:41 http://archive.ubuntu.com quantal-backports/universe i386 Packages [12.8 kB]
Get:42 http://archive.ubuntu.com quantal-backports/multiverse i386 Packages [1,118 B]
Get:43 http://archive.ubuntu.com quantal-backports/main Translation-en [14 B]
Get:44 http://archive.ubuntu.com quantal-backports/multiverse Translation-en [594 B]
Get:45 http://archive.ubuntu.com quantal-backports/restricted Translation-en [14 B]
Get:46 http://archive.ubuntu.com quantal-backports/universe Translation-en [10.3 kB]
Get:47 http://archive.ubuntu.com quantal-security/restricted Sources [1,833 B]
Get:48 http://archive.ubuntu.com quantal-security/main Sources [38.7 kB]
Get:49 http://archive.ubuntu.com quantal-security/multiverse Sources [704 B]
Get:50 http://archive.ubuntu.com quantal-security/universe Sources [16.1 kB]
Get:51 http://archive.ubuntu.com quantal-security/main i386 Packages [104 kB]
Get:52 http://archive.ubuntu.com quantal-security/restricted i386 Packages [3,531 B]
Get:53 http://archive.ubuntu.com quantal-security/universe i386 Packages [45.8 kB]
Get:54 http://archive.ubuntu.com quantal-security/multiverse i386 Packages [1,402 B]
Get:55 http://archive.ubuntu.com quantal-security/main Translation-en [55.7 kB]
Get:56 http://archive.ubuntu.com quantal-security/multiverse Translation-en [587 B]
Get:57 http://archive.ubuntu.com quantal-security/restricted Translation-en [1,066 B]
Get:58 http://archive.ubuntu.com quantal-security/universe Translation-en [28.1 kB]
Get:59 http://archive.ubuntu.com quantal-proposed/restricted i386 Packages [14 B]
Get:60 http://archive.ubuntu.com quantal-proposed/main i386 Packages [49.2 kB]
Get:61 http://archive.ubuntu.com quantal-proposed/multiverse i386 Packages [14 B]
Get:62 http://archive.ubuntu.com quantal-proposed/universe i386 Packages [18.9 kB]
Get:63 http://archive.ubuntu.com quantal-proposed/main Translation-en [26.9 kB]
Get:64 http://archive.ubuntu.com quantal-proposed/multiverse Translation-en [14 B]
Get:65 http://archive.ubuntu.com quantal-proposed/restricted Translation-en [14 B]
Get:66 http://archive.ubuntu.com quantal-proposed/universe Translation-en [10.4 kB]
Ign http://archive.ubuntu.com quantal/main Translation-en_US
Ign http://archive.ubuntu.com quantal/multiverse Translation-en_US
Ign http://archive.ubuntu.com quantal/restricted Translation-en_US
Ign http://archive.ubuntu.com quantal/universe Translation-en_US
Ign http://archive.ubuntu.com quantal-updates/main Translation-en_US
Ign http://archive.ubuntu.com quantal-updates/multiverse Translation-en_US
Ign http://archive.ubuntu.com quantal-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com quantal-updates/universe Translation-en_US
Ign http://archive.ubuntu.com quantal-backports/main Translation-en_US
Ign http://archive.ubuntu.com quantal-backports/multiverse Translation-en_US
Ign http://archive.ubuntu.com quantal-backports/restricted Translation-en_US
Ign http://archive.ubuntu.com quantal-backports/universe Translation-en_US
Ign http://archive.ubuntu.com quantal-security/main Translation-en_US
Ign http://archive.ubuntu.com quantal-security/multiverse Translation-en_US
Ign http://archive.ubuntu.com quantal-security/restricted Translation-en_US
Ign http://archive.ubuntu.com quantal-security/universe Translation-en_US
Ign http://archive.ubuntu.com quantal-proposed/main Translation-en_US
Ign http://archive.ubuntu.com quantal-proposed/multiverse Translation-en_US
Ign http://archive.ubuntu.com quantal-proposed/restricted Translation-en_US
Ign http://archive.ubuntu.com quantal-proposed/universe Translation-en_US
Fetched 19.0 MB in 1min 3s (298 kB/s)
Reading package lists... Done
user1@user1-ThinkPad-T61:~$ sudo grep -R proxy /etc/apt/*
user1@user1-ThinkPad-T61:~$ grep proxy /etc/environment
user1@user1-ThinkPad-T61:~$ echo $http_proxy

user1@user1-ThinkPad-T61:~$ echo $ftp_proxy

user1@user1-ThinkPad-T61:~$ grep proxy /etc/bash.bashrc
user1@user1-ThinkPad-T61:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
user1@user1-ThinkPad-T61:~$ sudo fuser -vv /var/lib/dpkg/lock
user1@user1-ThinkPad-T61:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.10
DISTRIB_CODENAME=quantal
DISTRIB_DESCRIPTION="Ubuntu 12.10"
user1@user1-ThinkPad-T61:~$ uname -a
Linux user1-ThinkPad-T61 3.5.0-27-generic #46-Ubuntu SMP Mon Mar 25 20:00:05 UTC 2013 i686 i686 i686 GNU/Linux
user1@user1-ThinkPad-T61:~$ sudo rm /var/lib/apt/lists/lock
user1@user1-ThinkPad-T61:~$ sudo rm /var/lib/dpkg/lock
user1@user1-ThinkPad-T61:~$ sudo cp -arf /var/lib/dpkg/var/lib/dpkg.backup
cp: missing destination file operand after `/var/lib/dpkg/var/lib/dpkg.backup'
Try `cp --help' for more information.
user1@user1-ThinkPad-T61:~$ ^C
user1@user1-ThinkPad-T61:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || syuser1@user1-ThinkPad-d61:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-ba
user1@user1-ThinkPad-T61:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0/var/lib/dpkg/status
user1@user1-ThinkPad-T61:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
user1@user1-ThinkPad-T61:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
user1@user1-ThinkPad-T61:~$ sudp rm -rf /var/lib/dpkg/updates/*
No command 'sudp' found, did you mean:
 Command 'sup' from package 'sup' (universe)
 Command 'sudo' from package 'sudo' (main)
 Command 'sudo' from package 'sudo-ldap' (universe)
 Command 'sfdp' from package 'graphviz' (main)
sudp: command not found
user1@user1-ThinkPad-T61:~$ sudo rm -rf /var/lib/dpkg/updates/*
user1@user1-ThinkPad-T61:~$ sudo rm -rf /var/lib/apt/lists
user1@user1-ThinkPad-T61:~$ sudo rm /var/cache/apt/*.bin
user1@user1-ThinkPad-T61:~$ sudo mkdir /var/lib/apt/lists
user1@user1-ThinkPad-T61:~$ sudo mkdir /var/lib/apt/lists/partial
user1@user1-ThinkPad-T61:~$ LANG=C;sudo apt-get clean
user1@user1-ThinkPad-T61:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
user1@user1-ThinkPad-T61:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 python3 : Depends: python3-minimal (= 3.2.3-5ubuntu1) but 3.2.3-5ubuntu1.1 is installed
E: Unmet dependencies. Try using -f.
user1@user1-ThinkPad-T61:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Ign cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423) precise Release.gpg
Ign cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423) precise Release
Err cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423) precise/main i386 Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423) precise/restricted i386 Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Ign cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423) precise/main Translation-en
Ign cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423) precise/restricted Translation-en
Get:1 http://dl.google.com stable Release.gpg [198 B]
Get:2 http://dl.google.com stable Release [1347 B]
Get:3 http://dl.google.com stable/main i386 Packages [1226 B]
Ign http://dl.google.com stable/main Translation-en
Get:4 http://archive.ubuntu.com quantal Release.gpg [933 B]
Get:5 http://archive.ubuntu.com quantal-updates Release.gpg [933 B]
Get:6 http://archive.ubuntu.com quantal-backports Release.gpg [933 B]
Get:7 http://archive.ubuntu.com quantal-security Release.gpg [933 B]
Get:8 http://archive.ubuntu.com quantal-proposed Release.gpg [933 B]
Get:9 http://archive.ubuntu.com quantal Release [49.6 kB]
Get:10 http://archive.ubuntu.com quantal-updates Release [49.6 kB]
Get:11 http://archive.ubuntu.com quantal-backports Release [49.6 kB]
Get:12 http://archive.ubuntu.com quantal-security Release [49.6 kB]
Get:13 http://archive.ubuntu.com quantal-proposed Release [49.6 kB]
Get:14 http://archive.ubuntu.com quantal/restricted Sources [5646 B]
Get:15 http://archive.ubuntu.com quantal/main Sources [872 kB]
Get:16 http://archive.ubuntu.com quantal/multiverse Sources [166 kB]
Get:17 http://archive.ubuntu.com quantal/universe Sources [5522 kB]
Get:18 http://archive.ubuntu.com quantal/main i386 Packages [1136 kB]
Get:19 http://archive.ubuntu.com quantal/restricted i386 Packages [8387 B]
Get:20 http://archive.ubuntu.com quantal/universe i386 Packages [5285 kB]
Get:21 http://archive.ubuntu.com quantal/multiverse i386 Packages [133 kB]
Get:22 http://archive.ubuntu.com quantal/main Translation-en [660 kB]
Get:23 http://archive.ubuntu.com quantal/multiverse Translation-en [100 kB]
Get:24 http://archive.ubuntu.com quantal/restricted Translation-en [2575 B]
Get:25 http://archive.ubuntu.com quantal/universe Translation-en [3648 kB]
Get:26 http://archive.ubuntu.com quantal-updates/restricted Sources [2564 B]
Get:27 http://archive.ubuntu.com quantal-updates/main Sources [88.2 kB]
Get:28 http://archive.ubuntu.com quantal-updates/multiverse Sources [3661 B]
Get:29 http://archive.ubuntu.com quantal-updates/universe Sources [81.8 kB]
Get:30 http://archive.ubuntu.com quantal-updates/main i386 Packages [225 kB]
Get:31 http://archive.ubuntu.com quantal-updates/restricted i386 Packages [4841 B]
Get:32 http://archive.ubuntu.com quantal-updates/universe i386 Packages [179 kB]
Get:33 http://archive.ubuntu.com quantal-updates/multiverse i386 Packages [10.8 kB]
Get:34 http://archive.ubuntu.com quantal-updates/main Translation-en [108 kB]
Get:35 http://archive.ubuntu.com quantal-updates/multiverse Translation-en [5817 B]
Get:36 http://archive.ubuntu.com quantal-updates/restricted Translation-en [1477 B]
Get:37 http://archive.ubuntu.com quantal-updates/universe Translation-en [94.3 kB]
Get:38 http://archive.ubuntu.com quantal-backports/main Sources [14 B]
Get:39 http://archive.ubuntu.com quantal-backports/restricted Sources [14 B]
Get:40 http://archive.ubuntu.com quantal-backports/universe Sources [8509 B]
Get:41 http://archive.ubuntu.com quantal-backports/multiverse Sources [781 B]
Get:42 http://archive.ubuntu.com quantal-backports/main i386 Packages [14 B]
Get:43 http://archive.ubuntu.com quantal-backports/restricted i386 Packages [14 B]
Get:44 http://archive.ubuntu.com quantal-backports/universe i386 Packages [12.8 kB]
Get:45 http://archive.ubuntu.com quantal-backports/multiverse i386 Packages [1118 B]
Get:46 http://archive.ubuntu.com quantal-backports/main Translation-en [14 B]
Get:47 http://archive.ubuntu.com quantal-backports/multiverse Translation-en [594 B]
Get:48 http://archive.ubuntu.com quantal-backports/restricted Translation-en [14 B]
Get:49 http://archive.ubuntu.com quantal-backports/universe Translation-en [10.3 kB]
Get:50 http://archive.ubuntu.com quantal-security/restricted Sources [1833 B]
Get:51 http://archive.ubuntu.com quantal-security/main Sources [38.7 kB]
Get:52 http://archive.ubuntu.com quantal-security/multiverse Sources [704 B]
Get:53 http://archive.ubuntu.com quantal-security/universe Sources [16.1 kB]
Get:54 http://archive.ubuntu.com quantal-security/main i386 Packages [104 kB]
Get:55 http://archive.ubuntu.com quantal-security/restricted i386 Packages [3531 B]
Get:56 http://archive.ubuntu.com quantal-security/universe i386 Packages [45.8 kB]
Get:57 http://archive.ubuntu.com quantal-security/multiverse i386 Packages [1402 B]
Get:58 http://archive.ubuntu.com quantal-security/main Translation-en [55.7 kB]
Get:59 http://archive.ubuntu.com quantal-security/multiverse Translation-en [587 B]
Get:60 http://archive.ubuntu.com quantal-security/restricted Translation-en [1066 B]
Get:61 http://archive.ubuntu.com quantal-security/universe Translation-en [28.1 kB]
Get:62 http://archive.ubuntu.com quantal-proposed/restricted i386 Packages [14 B]
Get:63 http://archive.ubuntu.com quantal-proposed/main i386 Packages [49.2 kB]
Get:64 http://archive.ubuntu.com quantal-proposed/multiverse i386 Packages [14 B]
Get:65 http://archive.ubuntu.com quantal-proposed/universe i386 Packages [18.9 kB]
Get:66 http://archive.ubuntu.com quantal-proposed/main Translation-en [26.9 kB]
Get:67 http://archive.ubuntu.com quantal-proposed/multiverse Translation-en [14 B]
Get:68 http://archive.ubuntu.com quantal-proposed/restricted Translation-en [14 B]
Get:69 http://archive.ubuntu.com quantal-proposed/universe Translation-en [10.4 kB]
Fetched 19.0 MB in 44s (425 kB/s)
W: Failed to fetch cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)/dists/precise/main/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)/dists/precise/restricted/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

E: Some index files failed to download. They have been ignored, or old ones used instead.
user1@user1-ThinkPad-T61:~$ sudo dpkg --configure -a
Setting up python2.7-minimal (2.7.3-5ubuntu4.1) ...
Setting up flashplugin-installer (11.2.202.280ubuntu0.12.10.1) ...
Setting up python3.2-minimal (3.2.3-6ubuntu3.2) ...
Setting up python3-minimal (3.2.3-5ubuntu1.1) ...
Setting up python-apt-common (0.8.7ubuntu4.1) ...
Setting up python-minimal (2.7.3-0ubuntu7.1) ...
Setting up python3-apt (0.8.7ubuntu4.1) ...
Setting up python2.7 (2.7.3-5ubuntu4.1) ...
Setting up python3.2 (3.2.3-6ubuntu3.2) ...
Setting up libpython2.7 (2.7.3-5ubuntu4.1) ...
Setting up python (2.7.3-0ubuntu7.1) ...
Setting up libpython3.2 (3.2.3-6ubuntu3.2) ...
Setting up python-apt (0.8.7ubuntu4.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
user1@user1-ThinkPad-T61:~$ sudo dpkg --clear-avail
user1@user1-ThinkPad-T61:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  python3 python3-minimal
Suggested packages:
  python3-doc python3-tk
The following packages will be upgraded:
  python3 python3-minimal
2 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
Need to get 46.0 kB of archives.
After this operation, 34.8 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://archive.ubuntu.com/ubuntu/ quantal-proposed/main python3 i386 3.2.3-5ubuntu1.2 [32.7 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ quantal-proposed/main python3-minimal i386 3.2.3-5ubuntu1.2 [13.3 kB]
Fetched 46.0 kB in 0s (71.4 kB/s)
(Reading database ... 185077 files and directories currently installed.)
Preparing to replace python3 3.2.3-5ubuntu1 (using .../python3_3.2.3-5ubuntu1.2_i386.deb) ...
running python pre-rtupdate hooks for python3.2...
Unpacking replacement python3 ...
Preparing to replace python3-minimal 3.2.3-5ubuntu1.1 (using .../python3-minimal_3.2.3-5ubuntu1.2_i386.deb) ...
Unpacking replacement python3-minimal ...
Processing triggers for man-db ...
Setting up python3-minimal (3.2.3-5ubuntu1.2) ...
Setting up python3 (3.2.3-5ubuntu1.2) ...
running python rtupdate hooks for python3.2...
running python post-rtupdate hooks for python3.2...
user1@user1-ThinkPad-T61:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
user1@user1-ThinkPad-T61:~$ LANG=C;sudo apy-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
sudo: apy-get: command not found
user1@user1-ThinkPad-T61:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Ign cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423) precise Release.gpg
Ign cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423) precise Release
Err cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423) precise/main i386 Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423) precise/restricted i386 Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Ign cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423) precise/main Translation-en
Ign cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423) precise/restricted Translation-en
Hit http://dl.google.com stable Release.gpg
Hit http://dl.google.com stable Release
Hit http://dl.google.com stable/main i386 Packages
Ign http://dl.google.com stable/main Translation-en
Hit http://archive.ubuntu.com quantal Release.gpg
Get:1 http://archive.ubuntu.com quantal-updates Release.gpg [933 B]
Hit http://archive.ubuntu.com quantal-backports Release.gpg
Get:2 http://archive.ubuntu.com quantal-security Release.gpg [933 B]
Get:3 http://archive.ubuntu.com quantal-proposed Release.gpg [933 B]
Hit http://archive.ubuntu.com quantal Release
Get:4 http://archive.ubuntu.com quantal-updates Release [49.6 kB]
Hit http://archive.ubuntu.com quantal-backports Release
Get:5 http://archive.ubuntu.com quantal-security Release [49.6 kB]
Get:6 http://archive.ubuntu.com quantal-proposed Release [49.6 kB]
Hit http://archive.ubuntu.com quantal/restricted Sources
Hit http://archive.ubuntu.com quantal/main Sources
Hit http://archive.ubuntu.com quantal/multiverse Sources
Hit http://archive.ubuntu.com quantal/universe Sources
Hit http://archive.ubuntu.com quantal/main i386 Packages
Hit http://archive.ubuntu.com quantal/restricted i386 Packages
Hit http://archive.ubuntu.com quantal/universe i386 Packages
Hit http://archive.ubuntu.com quantal/multiverse i386 Packages
Hit http://archive.ubuntu.com quantal/main Translation-en
Hit http://archive.ubuntu.com quantal/multiverse Translation-en
Hit http://archive.ubuntu.com quantal/restricted Translation-en
Hit http://archive.ubuntu.com quantal/universe Translation-en
Get:7 http://archive.ubuntu.com quantal-updates/restricted Sources [2564 B]
Get:8 http://archive.ubuntu.com quantal-updates/main Sources [88.2 kB]
Get:9 http://archive.ubuntu.com quantal-updates/multiverse Sources [3661 B]
Get:10 http://archive.ubuntu.com quantal-updates/universe Sources [81.8 kB]
Get:11 http://archive.ubuntu.com quantal-updates/main i386 Packages [225 kB]
Get:12 http://archive.ubuntu.com quantal-updates/restricted i386 Packages [4841 B]
Get:13 http://archive.ubuntu.com quantal-updates/universe i386 Packages [179 kB]
Get:14 http://archive.ubuntu.com quantal-updates/multiverse i386 Packages [10.8 kB]
Hit http://archive.ubuntu.com quantal-updates/main Translation-en
Hit http://archive.ubuntu.com quantal-updates/multiverse Translation-en
Hit http://archive.ubuntu.com quantal-updates/restricted Translation-en
Hit http://archive.ubuntu.com quantal-updates/universe Translation-en
Hit http://archive.ubuntu.com quantal-backports/main Sources
Hit http://archive.ubuntu.com quantal-backports/restricted Sources
Hit http://archive.ubuntu.com quantal-backports/universe Sources
Hit http://archive.ubuntu.com quantal-backports/multiverse Sources
Hit http://archive.ubuntu.com quantal-backports/main i386 Packages
Hit http://archive.ubuntu.com quantal-backports/restricted i386 Packages
Hit http://archive.ubuntu.com quantal-backports/universe i386 Packages
Hit http://archive.ubuntu.com quantal-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com quantal-backports/main Translation-en
Hit http://archive.ubuntu.com quantal-backports/multiverse Translation-en
Hit http://archive.ubuntu.com quantal-backports/restricted Translation-en
Hit http://archive.ubuntu.com quantal-backports/universe Translation-en
Get:15 http://archive.ubuntu.com quantal-security/restricted Sources [1833 B]
Get:16 http://archive.ubuntu.com quantal-security/main Sources [38.7 kB]
Get:17 http://archive.ubuntu.com quantal-security/multiverse Sources [704 B]
Get:18 http://archive.ubuntu.com quantal-security/universe Sources [16.1 kB]
Get:19 http://archive.ubuntu.com quantal-security/main i386 Packages [104 kB]
Get:20 http://archive.ubuntu.com quantal-security/restricted i386 Packages [3531 B]
Get:21 http://archive.ubuntu.com quantal-security/universe i386 Packages [45.8 kB]
Get:22 http://archive.ubuntu.com quantal-security/multiverse i386 Packages [1402 B]
Hit http://archive.ubuntu.com quantal-security/main Translation-en
Hit http://archive.ubuntu.com quantal-security/multiverse Translation-en
Hit http://archive.ubuntu.com quantal-security/restricted Translation-en
Hit http://archive.ubuntu.com quantal-security/universe Translation-en
Get:23 http://archive.ubuntu.com quantal-proposed/restricted i386 Packages [14 B]
Get:24 http://archive.ubuntu.com quantal-proposed/main i386 Packages [49.2 kB]
Get:25 http://archive.ubuntu.com quantal-proposed/multiverse i386 Packages [14 B]
Get:26 http://archive.ubuntu.com quantal-proposed/universe i386 Packages [18.9 kB]
Hit http://archive.ubuntu.com quantal-proposed/main Translation-en
Hit http://archive.ubuntu.com quantal-proposed/multiverse Translation-en
Hit http://archive.ubuntu.com quantal-proposed/restricted Translation-en
Hit http://archive.ubuntu.com quantal-proposed/universe Translation-en
Fetched 1027 kB in 13s (74.8 kB/s)
W: Failed to fetch cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)/dists/precise/main/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)/dists/precise/restricted/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

E: Some index files failed to download. They have been ignored, or old ones used instead.
user1@user1-ThinkPad-T61:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list.d/google-chrome.list

     1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2 # You may comment out this entry, but any other modifications may be lost.
     3 deb http://dl.google.com/linux/chrome/deb/ stable main

/etc/apt/sources.list.d/opera.list

     1 # This file makes sure that Opera Browser is kept up-to-date
     2 # as part of regular system upgrades
     3
     4
     5 # The line above will make sure you get all final public releases.
     6 # Uncomment the following line if you want to get alpha and beta
     7 # releases, too.
     8

/etc/apt/sources.list

     1 deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)]/ precise main restricted
     2
     3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4 # newer versions of the distribution.
     5 deb http://archive.ubuntu.com/ubuntu quantal main restricted
     6 deb-src http://archive.ubuntu.com/ubuntu quantal restricted main multiverse universe #Added by software-properties
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://archive.ubuntu.com/ubuntu quantal-updates main restricted
    11 deb-src http://archive.ubuntu.com/ubuntu quantal-updates restricted main multiverse universe #Added by software-properties
    12
    13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14 ## team. Also, please note that software in universe WILL NOT receive any
    15 ## review or updates from the Ubuntu security team.
    16 deb http://archive.ubuntu.com/ubuntu quantal universe
    17 deb http://archive.ubuntu.com/ubuntu quantal-updates universe
    18
    19 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    20 ## team, and may not be under a free licence. Please satisfy yourself as to
    21 ## your rights to use the software. Also, please note that software in
    22 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    23 ## security team.
    24 deb http://archive.ubuntu.com/ubuntu quantal multiverse
    25 deb http://archive.ubuntu.com/ubuntu quantal-updates multiverse
    26
    27 ## N.B. software from this repository may not have been tested as
    28 ## extensively as that contained in the main release, although it includes
    29 ## newer versions of some applications which may provide useful features.
    30 ## Also, please note that software in backports WILL NOT receive any review
    31 ## or updates from the Ubuntu security team.
    32 deb http://archive.ubuntu.com/ubuntu quantal-backports main restricted universe multiverse
    33 deb-src http://archive.ubuntu.com/ubuntu quantal-backports main restricted universe multiverse #Added by software-properties
    34
    35 deb http://archive.ubuntu.com/ubuntu quantal-security main restricted
    36 deb-src http://archive.ubuntu.com/ubuntu quantal-security restricted main multiverse universe #Added by software-properties
    37 deb http://archive.ubuntu.com/ubuntu quantal-security universe
    38 deb http://archive.ubuntu.com/ubuntu quantal-security multiverse
    39
    40 ## Uncomment the following two lines to add software from Canonical's
    41 ## 'partner' repository.
    42 ## This software is not part of Ubuntu, but is offered by Canonical and the
    43 ## respective vendors as a service to Ubuntu users.
    44 # deb http://archive.canonical.com/ubuntu precise partner
    45 # deb-src http://archive.canonical.com/ubuntu precise partner
    46
    47 ## This software is not part of Ubuntu, but is offered by third-party
    48 ## developers who want to ship their latest software.
    49 # deb http://extras.ubuntu.com/ubuntu quantal main
    50 # deb-src http://extras.ubuntu.com/ubuntu quantal main
    51 deb http://archive.ubuntu.com/ubuntu quantal-proposed restricted main multiverse universe

It tells you to post this here in the instructions followed to resolve it.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
lovelife
Solved:
Last query:
Last reply:
Revision history for this message
lovelife (rosemary0) said :
#1

This issue was remedial by following the steps provided in the link referenced by Manfred.
https://answers.launchpad.net/ubuntu/+source/apt/+question/226295