Broken packages - can't upgrade from 9.10 to 10.04
Update: 07:30 PST 6/17/2011:
Manfred,
Thanks for your reply.
1) I had already removed the CD-Rom entries.
2) The command for getting the key worked nicely <Grin>
3) I succeeded in upgrading (fumbled my way through) by using the "Smart" upgrade option - probably due to 3rd party software
4) Terminal output is as follows:
dmg@krikit:~$ uname -a
Linux krikit 2.6.32-32-generic #62-Ubuntu SMP Wed Apr 20 21:54:21 UTC 2011 i686 GNU/Linux
dmg@krikit:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid
Looks goor to me <g> Many Thanks
Dave G.
Update: 21:00 6/16/2011 -Although the "fix broken packages" didn't work (hence the input below) executing the suggested trouble shooting sequence seems to have fixed the problem,
I successfully upgraded the Basic Ubuntu OS from 9.10 to 10.04 LTS using the Upgrade System in Package Manager..
I have not yet tried updating the non-canonical S/W or an online update.
More later...good or bad :)
Trying to upgrade a 9.10 installation to 10.04
No go !!
terminal output of command sequence per trouble shooting page follows:
dmg@krikit:~$ sudo fuser -vvv /var/lib/dpkg/lock
[sudo] password for dmg:
dmg@krikit:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
dmg@krikit:~$ uname -a
Linux krikit 2.6.31-23-generic #75-Ubuntu SMP Fri Mar 18 18:08:39 UTC 2011 i686 GNU/Linux
dmg@krikit:~$ sudo rm /var/lib/
dmg@krikit:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.back
dmg@krikit:~$
dmg@krikit:~$ sudo cp /var/lib/
dmg@krikit:~$ sudo cp /var/lib/
dmg@krikit:~$ sudo rm -rf /var/lib/
dmg@krikit:~$ sudo rm -rf /var/lib/apt/lists
dmg@krikit:~$ sudo rm /var/cache/
dmg@krikit:~$ sudo mkdir /var/lib/
mkdir: cannot create directory `/var/lib/
dmg@krikit:~$
dmg@krikit:~$
dmg@krikit:~$ sudo mkdir /var/lib/apt/lists/
dmg@krikit:~$ sudo mkdir /var/lib/
dmg@krikit:~$ LANG=C;sudo apt-get clean
dmg@krikit:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
dmg@krikit:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
couchdb-bin* desktopcouch* erlang-base* erlang-crypto* erlang-inets*
erlang-mnesia* erlang-public-key* erlang-
erlang-xmerl* python-avahi* python-couchdb* python-
python-
0 upgraded, 0 newly installed, 14 to remove and 0 not upgraded.
After this operation, 12.3MB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 5%
dpkg: warning: files list file for package `erlang-public-key' missing, assuming package has no files currently installed.
(Reading database ... 15%
dpkg: warning: files list file for package `erlang-xmerl' missing, assuming package has no files currently installed.
(Reading database ... 40%
dpkg: warning: files list file for package `erlang-inets' missing, assuming package has no files currently installed.
dpkg: warning: files list file for package `erlang-mnesia' missing, assuming package has no files currently installed.
(Reading database ... 45%
dpkg: warning: files list file for package `erlang-ssl' missing, assuming package has no files currently installed.
(Reading database ... 50%
dpkg: warning: files list file for package `python-avahi' missing, assuming package has no files currently installed.
(Reading database ... 65%
dpkg: warning: files list file for package `erlang-
(Reading database ... 80%
dpkg: warning: files list file for package `python-couchdb' missing, assuming package has no files currently installed.
(Reading database ... 85%
dpkg: warning: files list file for package `python-
(Reading database ... 90%
dpkg: warning: files list file for package `python-
(Reading database ... 95%
dpkg: warning: files list file for package `erlang-crypto' missing, assuming package has no files currently installed.
(Reading database ... 240056 files and directories currently installed.)
Removing python-desktopcouch ...
Removing desktopcouch ...
Purging configuration files for desktopcouch ...
Removing python-
Removing couchdb-bin ...
Purging configuration files for couchdb-bin ...
Removing erlang-inets ...
Removing erlang-ssl ...
Removing erlang-public-key ...
Removing erlang-crypto ...
Removing erlang-
Removing erlang-mnesia ...
Removing erlang-xmerl ...
Removing erlang-base ...
Purging configuration files for erlang-base ...
Removing python-avahi ...
Removing python-couchdb ...
Processing triggers for menu ...
dmg@krikit:~$ LANG=C;sudo apt-get update -o APT::Cache-
Ign cdrom://Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1) jaunty Release.gpg
Ign cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5) karmic Release.gpg
Ign cdrom://Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1) jaunty Release
Ign cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5) karmic Release
Ign cdrom://Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1) jaunty/main Packages
Ign cdrom://Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1) jaunty/restricted Packages
Ign cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5) karmic/main Packages
Ign cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5) karmic/restricted Packages
Ign cdrom://Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1) jaunty/main Packages
Ign cdrom://Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1) jaunty/restricted Packages
Ign cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5) karmic/main Packages
Ign cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5) karmic/restricted Packages
Err cdrom://Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1) jaunty/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://Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1) jaunty/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://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5) karmic/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://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5) karmic/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
Ign http://
Ign http://
Ign http://
Get:1 http://
Get:2 http://
Get:3 http://
Ign http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Ign http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Fetched 7928kB in 1min 2s (126kB/s)
W: GPG error: http://
W: Failed to fetch cdrom://Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.
W: Failed to fetch cdrom://Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.
W: Failed to fetch cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.
W: Failed to fetch cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.
E: Some index files failed to download, they have been ignored, or old ones used instead.
dmg@krikit:~$ sudo dpkg --clear-avail
dmg@krikit:~$ sudo dpkg --configure -a
Processing triggers for man-db ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
dmg@krikit:~$ 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 0 not upgraded.
dmg@krikit:~$ 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 0 not upgraded.
dmg@krikit:~$ LANG=C;sudo apt-get update -o APT::Cache-
Ign cdrom://Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1) jaunty Release.gpg
Ign cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5) karmic Release.gpg
Ign cdrom://Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1) jaunty Release
Ign cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5) karmic Release
Ign cdrom://Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1) jaunty/main Packages
Ign cdrom://Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1) jaunty/restricted Packages
Ign cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5) karmic/main Packages
Ign cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5) karmic/restricted Packages
Ign cdrom://Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1) jaunty/main Packages
Ign cdrom://Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1) jaunty/restricted Packages
Ign cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5) karmic/main Packages
Ign cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5) karmic/restricted Packages
Err cdrom://Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1) jaunty/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://Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1) jaunty/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://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5) karmic/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://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5) karmic/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
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:1 http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:2 http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Fetched 317B in 1s (268B/s)
W: GPG error: http://
W: Failed to fetch cdrom://Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.
W: Failed to fetch cdrom://Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.
W: Failed to fetch cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.
W: Failed to fetch cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.
E: Some index files failed to download, they have been ignored, or old ones used instead.
dmg@krikit:~$
I have Ubuntu 10.04 Alternative CD at hand.
Much user software is installed that I would prefer *not* to lose :)
mni thanx
dmg
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply: