Synaptic won't start, updates don't install

Asked by Mark John WIlton

Synaptic wouldn't start,
Update manager wouldn't install updates.

Did steps in PackageManagerTroubleshootingProcedure,
said to post Terminal Output.

Here it is

mark@GlassLTSP:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS"
mark@GlassLTSP:~$ uname -a
Linux GlassLTSP 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:58:24 UTC 2010 x86_64 GNU/Linux
mark@GlassLTSP:~$ sudo rm /var/lib/apt/lists/lock
mark@GlassLTSP:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
mark@GlassLTSP:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
mark@GlassLTSP:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
mark@GlassLTSP:~$ sudo rm -rf /var/lib/dpkg/updates/*
mark@GlassLTSP:~$ sudo rm -rf /var/lib/apt/lists
mark@GlassLTSP:~$ sudo mkdir /var/lib/apt/lists
mark@GlassLTSP:~$ sudo mkdir /var/lib/apt/lists/partial
mark@GlassLTSP:~$ sudo rm /var/cache/apt/*.bin
mark@GlassLTSP:~$ LANG=C;sudo apt-get clean
mark@GlassLTSP:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
mark@GlassLTSP:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  linux-headers-2.6.32-21* linux-headers-2.6.32-21-generic*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 85.3MB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ...
dpkg: warning: files list file for package `linux-headers-2.6.32-21' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `linux-headers-2.6.32-21-generic' missing, assuming package has no files currently installed.
(Reading database ... 178044 files and directories currently installed.)
Removing linux-headers-2.6.32-21-generic ...
Removing linux-headers-2.6.32-21 ...
mark@GlassLTSP:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Ign cdrom://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid Release.gpg
Ign cdrom://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid Release
Ign cdrom://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid/main Packages
Ign cdrom://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid/multiverse Packages
Ign cdrom://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid/restricted Packages
Ign cdrom://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid/universe Packages
Ign cdrom://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid/main Packages
Ign cdrom://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid/multiverse Packages
Ign cdrom://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid/restricted Packages
Ign cdrom://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid/universe Packages
Err cdrom://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid/main 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://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid/multiverse 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://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid/restricted 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://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid/universe Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Get:1 http://security.ubuntu.com lucid-security Release.gpg [198B]
Get:2 http://security.ubuntu.com lucid-security Release [38.5kB]
Get:3 http://nz.archive.ubuntu.com lucid Release.gpg [189B]
Get:4 http://nz.archive.ubuntu.com lucid-updates Release.gpg [198B]
Get:5 http://nz.archive.ubuntu.com lucid Release [57.2kB]
Get:6 http://security.ubuntu.com lucid-security/main Packages [87.9kB]
Get:7 http://security.ubuntu.com lucid-security/restricted Packages [14B]
Get:8 http://security.ubuntu.com lucid-security/main Sources [32.0kB]
Get:9 http://security.ubuntu.com lucid-security/restricted Sources [14B]
Get:10 http://security.ubuntu.com lucid-security/universe Packages [42.9kB]
Get:11 http://security.ubuntu.com lucid-security/universe Sources [10.4kB]
Get:12 http://security.ubuntu.com lucid-security/multiverse Packages [1869B]
Get:13 http://security.ubuntu.com lucid-security/multiverse Sources [656B]
Get:14 http://nz.archive.ubuntu.com lucid-updates Release [44.7kB]
Get:15 http://nz.archive.ubuntu.com lucid/main Packages [1383kB]
Get:16 http://nz.archive.ubuntu.com lucid/restricted Packages [6193B]
Get:17 http://nz.archive.ubuntu.com lucid/main Sources [659kB]
Get:18 http://nz.archive.ubuntu.com lucid/restricted Sources [3775B]
Get:19 http://nz.archive.ubuntu.com lucid/universe Packages [5430kB]
Get:20 http://nz.archive.ubuntu.com lucid/universe Sources [3165kB]
Get:21 http://nz.archive.ubuntu.com lucid/multiverse Packages [176kB]
Get:22 http://nz.archive.ubuntu.com lucid/multiverse Sources [119kB]
Get:23 http://nz.archive.ubuntu.com lucid-updates/main Packages [320kB]
Get:24 http://nz.archive.ubuntu.com lucid-updates/restricted Packages [3267B]
Get:25 http://nz.archive.ubuntu.com lucid-updates/main Sources [124kB]
Get:26 http://nz.archive.ubuntu.com lucid-updates/restricted Sources [1443B]
Get:27 http://nz.archive.ubuntu.com lucid-updates/universe Packages [123kB]
Get:28 http://nz.archive.ubuntu.com lucid-updates/universe Sources [49.2kB]
Get:29 http://nz.archive.ubuntu.com lucid-updates/multiverse Packages [3651B]
Get:30 http://nz.archive.ubuntu.com lucid-updates/multiverse Sources [1739B]
Fetched 11.9MB in 32min 5s (6174B/s)
W: Failed to fetch cdrom://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1)/dists/lucid/main/binary-amd64/Packages.gz 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://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1)/dists/lucid/multiverse/binary-amd64/Packages.gz 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://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1)/dists/lucid/restricted/binary-amd64/Packages.gz 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://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1)/dists/lucid/universe/binary-amd64/Packages.gz 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.
mark@GlassLTSP:~$ sudo dpkg --clear-avail
[sudo] password for mark:
mark@GlassLTSP:~$ sudo dpkg --configure -a
mark@GlassLTSP:~$ 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 3 not upgraded.
mark@GlassLTSP:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Ign cdrom://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid Release.gpg
Ign cdrom://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid Release
Ign cdrom://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid/main Packages
Ign cdrom://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid/multiverse Packages
Ign cdrom://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid/restricted Packages
Ign cdrom://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid/universe Packages
Ign cdrom://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid/main Packages
Ign cdrom://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid/multiverse Packages
Ign cdrom://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid/restricted Packages
Ign cdrom://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid/universe Packages
Err cdrom://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid/main 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://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid/multiverse 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://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid/restricted 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://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1) lucid/universe Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Hit http://security.ubuntu.com lucid-security Release.gpg
Hit http://security.ubuntu.com lucid-security Release
Hit http://security.ubuntu.com lucid-security/main Packages
Hit http://security.ubuntu.com lucid-security/restricted Packages
Hit http://security.ubuntu.com lucid-security/main Sources
Hit http://security.ubuntu.com lucid-security/restricted Sources
Hit http://security.ubuntu.com lucid-security/universe Packages
Hit http://security.ubuntu.com lucid-security/universe Sources
Hit http://nz.archive.ubuntu.com lucid Release.gpg
Hit http://nz.archive.ubuntu.com lucid-updates Release.gpg
Hit http://nz.archive.ubuntu.com lucid Release
Hit http://nz.archive.ubuntu.com lucid-updates Release
Hit http://nz.archive.ubuntu.com lucid/main Packages
Hit http://nz.archive.ubuntu.com lucid/restricted Packages
Hit http://nz.archive.ubuntu.com lucid/main Sources
Hit http://security.ubuntu.com lucid-security/multiverse Packages
Hit http://nz.archive.ubuntu.com lucid/restricted Sources
Hit http://nz.archive.ubuntu.com lucid/universe Packages
Hit http://nz.archive.ubuntu.com lucid/universe Sources
Hit http://nz.archive.ubuntu.com lucid/multiverse Packages
Hit http://nz.archive.ubuntu.com lucid/multiverse Sources
Hit http://nz.archive.ubuntu.com lucid-updates/main Packages
Hit http://nz.archive.ubuntu.com lucid-updates/restricted Packages
Hit http://nz.archive.ubuntu.com lucid-updates/main Sources
Hit http://nz.archive.ubuntu.com lucid-updates/restricted Sources
Hit http://nz.archive.ubuntu.com lucid-updates/universe Packages
Hit http://nz.archive.ubuntu.com lucid-updates/universe Sources
Hit http://nz.archive.ubuntu.com lucid-updates/multiverse Packages
Hit http://nz.archive.ubuntu.com lucid-updates/multiverse Sources
Hit http://security.ubuntu.com lucid-security/multiverse Sources
W: Failed to fetch cdrom://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1)/dists/lucid/main/binary-amd64/Packages.gz 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://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1)/dists/lucid/multiverse/binary-amd64/Packages.gz 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://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1)/dists/lucid/restricted/binary-amd64/Packages.gz 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://Edubuntu 10.04 _Lucid Lynx_ - Release amd64 (20100429.1)/dists/lucid/universe/binary-amd64/Packages.gz 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.
mark@GlassLTSP:~$

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu synaptic Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1

Did the PackageManagerTroubleshootingProcedure solve the issue?

Are you able to start up Synaptic now?

The Terminal output you sent us, looks good enough....

Revision history for this message
Soul-Sing (soulzing) said :
#2

you have to "uncheck" or disable the cd/dvd option, via softwaresources, i think that is "erroring".

Revision history for this message
Mark John Wilton (m-wilton-hadencustance) said :
#3

PackageManagerTroubleshootingProcedure didn't solve the issue.
Unchecking cdrom in other software fixed it.
Cheers.

p.s. this machine has been up for a fair while and has had updates before, is there any reason it would "select" cdrom at this point???

Revision history for this message
Soul-Sing (soulzing) said :
#4

no idea mark john....

Revision history for this message
Soul-Sing (soulzing) said :
#5

Mark John is your problem solved now?

Revision history for this message
Mark John Wilton (m-wilton-hadencustance) said :
#6

Yep, everything is functional again.
thanks for the help.

Can you help with this problem?

Provide an answer of your own, or ask Mark John WIlton for more information if necessary.

To post a message you must log in.