When i was upgrade from hoary to edgy, I was stuck, when level upgrade from breezy to dapper.
Errors were encountered while processing: /var/cache/apt/archives/ lvm2_2.02.02-1ubuntu1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
So when i was
1 2 | sudo apt-get remove lvm2 sudo dpkg --purge lvm2 |
I got an error "cant remove coz lvm2 wasn't installed..n directory was empty..",
So?
The conclusion was just change the repository back to breezy,
then do the command bellow.
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
After finished the upgrade, change the repository to dapper and then do the command bellow.
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
After that you should now what you're doing.
cheers
gandalf@isengard:~$ lsb_release -a Distributor ID: Ubuntu Description: Ubuntu 6.10 Release: 6.10 Codename: edgy