Update error

Asked by Sunilkumar

lw@leepconnect:~$ sudo gparted
[sudo] password for lw:
sudo: gparted: command not found
lw@leepconnect:~$ sudo apt-get install gparted
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_lucid_partner_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
lw@leepconnect:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for lw:
lw@leepconnect:~$ sudo fuser -vvv /var/lib/dpkg/lock
lw@leepconnect:~$ uname -a
Linux leepconnect 3.2.0-26-generic #41-Ubuntu SMP Thu Jun 14 16:26:01 UTC 2012 i686 i686 i386 GNU/Linux
lw@leepconnect:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04 LTS"
lw@leepconnect:~$ uname -a
Linux leepconnect 3.2.0-26-generic #41-Ubuntu SMP Thu Jun 14 16:26:01 UTC 2012 i686 i686 i386 GNU/Linux
lw@leepconnect:~$ sudo rm /var/lib/apt/lists/lock
lw@leepconnect:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
lw@leepconnect:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
lw@leepconnect:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
lw@leepconnect:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
lw@leepconnect:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
lw@leepconnect:~$ sudo rm -rf /var/lib/dpkg/updates/*
lw@leepconnect:~$ sudo rm -rf /var/lib/apt/lists
lw@leepconnect:~$ sudo rm /var/cache/apt/*.bin
lw@leepconnect:~$ sudo mkdir /var/lib/apt/lists
lw@leepconnect:~$ sudo mkdir /var/lib/apt/lists/partial
lw@leepconnect:~$ LANG=C;sudo apt-get clean
lw@leepconnect:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
lw@leepconnect:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  duplicity* libdee-1.0-1* libglewmx1.5* librsync1* libunity6* python-ldap*
  python-paramiko* tmux* ttf-sjfonts*
0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded.
49 not fully installed or removed.
After this operation, 10.4 MB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 358354 files and directories currently installed.)
Removing duplicity ...
Removing libunity6 ...
Purging configuration files for libunity6 ...
Removing libdee-1.0-1 ...
Purging configuration files for libdee-1.0-1 ...
Removing libglewmx1.5 ...
Purging configuration files for libglewmx1.5 ...
Removing librsync1 ...
Purging configuration files for librsync1 ...
Removing python-ldap ...
Removing python-paramiko ...
Removing tmux ...
Purging configuration files for tmux ...
Removing ttf-sjfonts ...
Purging configuration files for ttf-sjfonts ...
Processing triggers for man-db ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for doc-base ...
Processing 1 removed doc-base file...
Registering documents with scrollkeeper...
Processing triggers for fontconfig ...
Setting up foomatic-filters (4.0.16-0ubuntu0.2) ...
Setting up libgtk-3-common (3.4.2-0ubuntu0.4) ...
Setting up libgtk-3-0 (3.4.2-0ubuntu0.4) ...
Setting up libgail-3-0 (3.4.2-0ubuntu0.4) ...
Setting up libgstreamer-plugins-base0.10-0 (0.10.36-1ubuntu0.1) ...
Setting up gir1.2-gtk-3.0 (3.4.2-0ubuntu0.4) ...
Setting up python-ubuntu-sso-client (3.0.2-0ubuntu1) ...
Setting up ubuntu-sso-client (3.0.2-0ubuntu1) ...
Setting up ubuntu-sso-client-qt (3.0.2-0ubuntu1) ...
Setting up ubuntu-sso-client-gtk (3.0.2-0ubuntu1) ...
Setting up python-problem-report (2.0.1-0ubuntu11) ...
Setting up python-apport (2.0.1-0ubuntu11) ...
Setting up apport (2.0.1-0ubuntu11) ...
Setting up apport-gtk (2.0.1-0ubuntu11) ...
Setting up firefox (14.0.1+build1-0ubuntu0.12.04.1) ...
Please restart all running instances of firefox, or you will experience problems.
Setting up firefox-branding (14.0.1+build1-0ubuntu0.12.04.1) ...
Setting up firefox-globalmenu (14.0.1+build1-0ubuntu0.12.04.1) ...
Setting up firefox-gnome-support (14.0.1+build1-0ubuntu0.12.04.1) ...
Setting up firefox-locale-en (14.0.1+build1-0ubuntu0.12.04.1) ...
Setting up gir1.2-gst-plugins-base-0.10 (0.10.36-1ubuntu0.1) ...
Setting up libpanel-applet-4-0 (1:3.4.1-0ubuntu1.1) ...
Setting up gir1.2-panelapplet-4.0 (1:3.4.1-0ubuntu1.1) ...
Setting up gnome-accessibility-themes (3.4.1-0ubuntu1.1) ...
Setting up libgtk-3-bin (3.4.2-0ubuntu0.4) ...
Setting up gnome-icon-theme (3.4.0-0ubuntu1.1) ...
Setting up gnome-panel-data (1:3.4.1-0ubuntu1.1) ...
Setting up gnome-panel (1:3.4.1-0ubuntu1.1) ...
Setting up gstreamer0.10-alsa (0.10.36-1ubuntu0.1) ...
Setting up gstreamer0.10-plugins-base (0.10.36-1ubuntu0.1) ...
Setting up gstreamer0.10-plugins-base-apps (0.10.36-1ubuntu0.1) ...
Setting up gstreamer0.10-x (0.10.36-1ubuntu0.1) ...
Setting up gwibber-service (3.4.2-0ubuntu2) ...
Setting up libgwibber2 (3.4.2-0ubuntu2) ...
Setting up libgwibber-gtk2 (3.4.2-0ubuntu2) ...
Setting up gwibber (3.4.2-0ubuntu2) ...
Setting up gwibber-service-facebook (3.4.2-0ubuntu2) ...
Setting up gwibber-service-identica (3.4.2-0ubuntu2) ...
Setting up gwibber-service-twitter (3.4.2-0ubuntu2) ...
Setting up libgtkhtml-4.0-common (4.2.2-1ubuntu1.2) ...
Setting up libgtkhtml-4.0-0 (4.2.2-1ubuntu1.2) ...
Setting up libgtkhtml-editor-4.0-0 (4.2.2-1ubuntu1.2) ...
Setting up python-debtagshw (1.9+git20120320-0ubuntu1) ...
Setting up thunderbird (14.0+build1-0ubuntu0.12.04.1) ...
Setting up thunderbird-globalmenu (14.0+build1-0ubuntu0.12.04.1) ...
Setting up thunderbird-gnome-support (14.0+build1-0ubuntu0.12.04.1) ...
Setting up xserver-common (2:1.11.4-0ubuntu10.6) ...
Setting up xserver-xephyr (2:1.11.4-0ubuntu10.6) ...
Setting up xserver-xorg-core (2:1.11.4-0ubuntu10.6) ...
Setting up gnome-icon-theme-full (3.4.0-0ubuntu1.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
lw@leepconnect:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Ign cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429) lucid InRelease
Ign cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429) lucid Release.gpg
Ign cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429) lucid Release
Ign cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429) lucid/main TranslationIndex
Ign cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429) lucid/restricted TranslationIndex
Err cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429) lucid/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 10.04 LTS _Lucid Lynx_ - Release i386 (20100429) lucid/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 10.04 LTS _Lucid Lynx_ - Release i386 (20100429) lucid/main Translation-en_US
Ign cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429) lucid/main Translation-en
Ign cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429) lucid/restricted Translation-en_US
Ign cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429) lucid/restricted Translation-en
Ign http://dl.google.com stable InRelease
Ign http://download.nus.edu.sg precise InRelease
Ign http://download.nus.edu.sg precise-updates InRelease
Ign http://download.nus.edu.sg precise-security InRelease
Get:1 http://download.nus.edu.sg precise Release.gpg [198 B]
Get:2 http://dl.google.com stable Release.gpg [198 B]
Get:3 http://download.nus.edu.sg precise-updates Release.gpg [198 B]
Ign http://archive.canonical.com lucid InRelease
Ign http://archive.canonical.com precise InRelease
Ign http://ppa.launchpad.net oneiric InRelease
Get:4 http://download.nus.edu.sg precise-security Release.gpg [198 B]
Get:5 http://dl.google.com stable Release
Get:6 http://download.nus.edu.sg precise Release [49.6 kB]
Get:7 http://archive.canonical.com lucid Release.gpg [198 B]
Get:8 http://ppa.launchpad.net oneiric Release.gpg [316 B]
Get:9 http://dl.google.com stable/main i386 Packages [770 B]
Get:10 http://archive.canonical.com precise Release.gpg [198 B]
Get:11 http://ppa.launchpad.net oneiric Release [9757 B]
Get:12 http://download.nus.edu.sg precise-updates Release [49.6 kB]
Ign http://dl.google.com stable/main TranslationIndex
Get:13 http://archive.canonical.com lucid Release [8215 B]
Get:14 http://download.nus.edu.sg precise-security Release [49.6 kB]
Get:15 http://archive.canonical.com precise Release [7078 B]
Get:16 http://ppa.launchpad.net oneiric/main Sources [2200 B]
Get:17 http://download.nus.edu.sg precise/main Sources [934 kB]
Get:18 http://archive.canonical.com lucid/partner Sources [6731 B]
Get:19 http://archive.canonical.com lucid/partner i386 Packages [13.6 kB]
Get:20 http://ppa.launchpad.net oneiric/main i386 Packages [3312 B]
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Ign http://archive.canonical.com lucid/partner TranslationIndex
Get:21 http://archive.canonical.com precise/partner i386 Packages [5043 B]
Ign http://archive.canonical.com precise/partner TranslationIndex
Ign http://dl.google.com stable/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en
Ign http://ppa.launchpad.net oneiric/main Translation-en_US
Ign http://ppa.launchpad.net oneiric/main Translation-en
Ign http://archive.canonical.com lucid/partner Translation-en_US
Ign http://archive.canonical.com lucid/partner Translation-en
Ign http://archive.canonical.com precise/partner Translation-en_US
Ign http://archive.canonical.com precise/partner Translation-en
Get:22 http://download.nus.edu.sg precise/restricted Sources [5470 B]
Get:23 http://download.nus.edu.sg precise/universe Sources [5019 kB]
Get:24 http://download.nus.edu.sg precise/multiverse Sources [155 kB]
Get:25 http://download.nus.edu.sg precise/main i386 Packages [1274 kB]
Get:26 http://download.nus.edu.sg precise/restricted i386 Packages [8431 B]
Get:27 http://download.nus.edu.sg precise/universe i386 Packages [4796 kB]
Get:28 http://download.nus.edu.sg precise/multiverse i386 Packages [121 kB]
Get:29 http://download.nus.edu.sg precise/main TranslationIndex [3706 B]
Get:30 http://download.nus.edu.sg precise/multiverse TranslationIndex [2676 B]
Get:31 http://download.nus.edu.sg precise/restricted TranslationIndex [2596 B]
Get:32 http://download.nus.edu.sg precise/universe TranslationIndex [2922 B]
Get:33 http://download.nus.edu.sg precise-updates/main Sources [149 kB]
Get:34 http://download.nus.edu.sg precise-updates/restricted Sources [2431 B]
Get:35 http://download.nus.edu.sg precise-updates/universe Sources [46.2 kB]
Get:36 http://download.nus.edu.sg precise-updates/multiverse Sources [1058 B]
Get:37 http://download.nus.edu.sg precise-updates/main i386 Packages [364 kB]
Get:38 http://download.nus.edu.sg precise-updates/restricted i386 Packages [4430 B]
Get:39 http://download.nus.edu.sg precise-updates/universe i386 Packages [120 kB]
Get:40 http://download.nus.edu.sg precise-updates/multiverse i386 Packages [2540 B]
Get:41 http://download.nus.edu.sg precise-updates/main TranslationIndex [3564 B]
Get:42 http://download.nus.edu.sg precise-updates/multiverse TranslationIndex [2605 B]
Get:43 http://download.nus.edu.sg precise-updates/restricted TranslationIndex [2461 B]
Get:44 http://download.nus.edu.sg precise-updates/universe TranslationIndex [2850 B]
Get:45 http://download.nus.edu.sg precise-security/main Sources [36.2 kB]
Get:46 http://download.nus.edu.sg precise-security/restricted Sources [1950 B]
Get:47 http://download.nus.edu.sg precise-security/universe Sources [10.2 kB]
Get:48 http://download.nus.edu.sg precise-security/multiverse Sources [713 B]
Get:49 http://download.nus.edu.sg precise-security/main i386 Packages [133 kB]
Get:50 http://download.nus.edu.sg precise-security/restricted i386 Packages [3968 B]
Get:51 http://download.nus.edu.sg precise-security/universe i386 Packages [35.6 kB]
Get:52 http://download.nus.edu.sg precise-security/multiverse i386 Packages [1394 B]
Get:53 http://download.nus.edu.sg precise-security/main TranslationIndex [73 B]
Get:54 http://download.nus.edu.sg precise-security/multiverse TranslationIndex [71 B]
Get:55 http://download.nus.edu.sg precise-security/restricted TranslationIndex [71 B]
Get:56 http://download.nus.edu.sg precise-security/universe TranslationIndex [73 B]
Get:57 http://download.nus.edu.sg precise/main Translation-en [726 kB]
Get:58 http://download.nus.edu.sg precise/multiverse Translation-en [93.4 kB]
Get:59 http://download.nus.edu.sg precise/restricted Translation-en [2395 B]
Get:60 http://download.nus.edu.sg precise/universe Translation-en [3341 kB]
Get:61 http://download.nus.edu.sg precise-updates/main Translation-en [174 kB]
Get:62 http://download.nus.edu.sg precise-updates/multiverse Translation-en [1600 B]
Get:63 http://download.nus.edu.sg precise-updates/restricted Translation-en [1145 B]
Get:64 http://download.nus.edu.sg precise-updates/universe Translation-en [72.1 kB]
Get:65 http://download.nus.edu.sg precise-security/main Translation-en [66.4 kB]
Get:66 http://download.nus.edu.sg precise-security/multiverse Translation-en [587 B]
Get:67 http://download.nus.edu.sg precise-security/restricted Translation-en [978 B]
Get:68 http://download.nus.edu.sg precise-security/universe Translation-en [22.5 kB]
Fetched 18.0 MB in 1min 12s (249 kB/s)
W: Failed to fetch cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)/dists/lucid/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 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)/dists/lucid/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.
lw@leepconnect:~$ sudo dpkg --configure -a
lw@leepconnect:~$ sudo dpkg --clear-avail
lw@leepconnect:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 327 not upgraded.
lw@leepconnect:~$ 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 327 not upgraded.
lw@leepconnect:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Ign cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429) lucid InRelease
Ign cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429) lucid Release.gpg
Ign cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429) lucid Release
Ign cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429) lucid/main TranslationIndex
Ign cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429) lucid/restricted TranslationIndex
Err cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429) lucid/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 10.04 LTS _Lucid Lynx_ - Release i386 (20100429) lucid/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 10.04 LTS _Lucid Lynx_ - Release i386 (20100429) lucid/main Translation-en_US
Ign cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429) lucid/main Translation-en
Ign cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429) lucid/restricted Translation-en_US
Ign cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429) lucid/restricted Translation-en
Ign http://dl.google.com stable InRelease
Ign http://download.nus.edu.sg precise InRelease
Ign http://download.nus.edu.sg precise-updates InRelease
Ign http://download.nus.edu.sg precise-security InRelease
Hit http://download.nus.edu.sg precise Release.gpg
Hit http://download.nus.edu.sg precise-updates Release.gpg
Hit http://download.nus.edu.sg precise-security Release.gpg
Get:1 http://dl.google.com stable Release.gpg [198 B]
Ign http://archive.canonical.com lucid InRelease
Ign http://archive.canonical.com precise InRelease
Ign http://ppa.launchpad.net oneiric InRelease
Hit http://download.nus.edu.sg precise Release
Get:2 http://dl.google.com stable Release
Hit http://download.nus.edu.sg precise-updates Release
Hit http://archive.canonical.com lucid Release.gpg
Hit http://ppa.launchpad.net oneiric Release.gpg
Hit http://download.nus.edu.sg precise-security Release
Hit http://download.nus.edu.sg precise/main Sources
Hit http://download.nus.edu.sg precise/restricted Sources
Hit http://download.nus.edu.sg precise/universe Sources
Hit http://download.nus.edu.sg precise/multiverse Sources
Hit http://download.nus.edu.sg precise/main i386 Packages
Hit http://download.nus.edu.sg precise/restricted i386 Packages
Hit http://download.nus.edu.sg precise/universe i386 Packages
Hit http://download.nus.edu.sg precise/multiverse i386 Packages
Hit http://download.nus.edu.sg precise/main TranslationIndex
Get:3 http://dl.google.com stable/main i386 Packages [770 B]
Hit http://archive.canonical.com precise Release.gpg
Hit http://ppa.launchpad.net oneiric Release
Hit http://download.nus.edu.sg precise/multiverse TranslationIndex
Hit http://download.nus.edu.sg precise/restricted TranslationIndex
Hit http://download.nus.edu.sg precise/universe TranslationIndex
Hit http://download.nus.edu.sg precise-updates/main Sources
Hit http://download.nus.edu.sg precise-updates/restricted Sources
Hit http://download.nus.edu.sg precise-updates/universe Sources
Hit http://download.nus.edu.sg precise-updates/multiverse Sources
Hit http://download.nus.edu.sg precise-updates/main i386 Packages
Ign http://dl.google.com stable/main TranslationIndex
Hit http://download.nus.edu.sg precise-updates/restricted i386 Packages
Hit http://download.nus.edu.sg precise-updates/universe i386 Packages
Hit http://download.nus.edu.sg precise-updates/multiverse i386 Packages
Hit http://download.nus.edu.sg precise-updates/main TranslationIndex
Hit http://download.nus.edu.sg precise-updates/multiverse TranslationIndex
Hit http://download.nus.edu.sg precise-updates/restricted TranslationIndex
Hit http://archive.canonical.com lucid Release
Hit http://ppa.launchpad.net oneiric/main Sources
Hit http://download.nus.edu.sg precise-updates/universe TranslationIndex
Hit http://download.nus.edu.sg precise-security/main Sources
Hit http://download.nus.edu.sg precise-security/restricted Sources
Hit http://download.nus.edu.sg precise-security/universe Sources
Hit http://download.nus.edu.sg precise-security/multiverse Sources
Hit http://download.nus.edu.sg precise-security/main i386 Packages
Hit http://download.nus.edu.sg precise-security/restricted i386 Packages
Hit http://download.nus.edu.sg precise-security/universe i386 Packages
Hit http://download.nus.edu.sg precise-security/multiverse i386 Packages
Hit http://download.nus.edu.sg precise-security/main TranslationIndex
Hit http://download.nus.edu.sg precise-security/multiverse TranslationIndex
Hit http://download.nus.edu.sg precise-security/restricted TranslationIndex
Hit http://download.nus.edu.sg precise-security/universe TranslationIndex
Hit http://download.nus.edu.sg precise/main Translation-en
Hit http://archive.canonical.com precise Release
Hit http://download.nus.edu.sg precise/multiverse Translation-en
Hit http://download.nus.edu.sg precise/restricted Translation-en
Hit http://download.nus.edu.sg precise/universe Translation-en
Hit http://download.nus.edu.sg precise-updates/main Translation-en
Hit http://ppa.launchpad.net oneiric/main i386 Packages
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Hit http://download.nus.edu.sg precise-updates/multiverse Translation-en
Hit http://download.nus.edu.sg precise-updates/restricted Translation-en
Hit http://download.nus.edu.sg precise-updates/universe Translation-en
Hit http://download.nus.edu.sg precise-security/main Translation-en
Hit http://download.nus.edu.sg precise-security/multiverse Translation-en
Hit http://download.nus.edu.sg precise-security/restricted Translation-en
Hit http://download.nus.edu.sg precise-security/universe Translation-en
Hit http://archive.canonical.com lucid/partner Sources
Hit http://archive.canonical.com lucid/partner i386 Packages
Ign http://archive.canonical.com lucid/partner TranslationIndex
Hit http://archive.canonical.com precise/partner i386 Packages
Ign http://archive.canonical.com precise/partner TranslationIndex
Ign http://dl.google.com stable/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en
Ign http://ppa.launchpad.net oneiric/main Translation-en_US
Ign http://ppa.launchpad.net oneiric/main Translation-en
Ign http://archive.canonical.com lucid/partner Translation-en_US
Ign http://archive.canonical.com lucid/partner Translation-en
Ign http://archive.canonical.com precise/partner Translation-en_US
Ign http://archive.canonical.com precise/partner Translation-en
Fetched 2315 B in 3s (703 B/s)
W: Failed to fetch cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)/dists/lucid/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 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)/dists/lucid/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.
lw@leepconnect:~$

Question information

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

Run:

gksudo gedit /etc/apt/sources.list

Comment out the top 3 lines which reference the CD using a hash character, save the new file and close gedit, it should be smooth

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#2

Hi ,
I can see you have mixed up sources.list from Lucid (10.04) , Oneiric(11.10) and Presice (12.04).
I think you must clear up your sources list, completely.

If you want to do that , follow below commands with order .

After you apply commands maybe you must add - check from start , all your external PPAs .

================================================================
sudo wget "http://pastebin.com/raw.php?i=ezdTi09J" -O /etc/apt/sources.list
sudo rm /var/lib/apt/lists* -vf
sudo apt-get update
sudo apt-get dist-upgrade
================================================================
Copy - paste above commands from here to your terminal , for more accuracy.

First command will clear up all your sources list.. and replace them with Official Ubuntu 12.04 from Singapore Server.

Second command will delete all apt/lists , and third command will generate them again.
Hopefully last command will make the upgrade.
Thanks

Can you help with this problem?

Provide an answer of your own, or ask Sunilkumar for more information if necessary.

To post a message you must log in.