adonis@ubuntu10:~$ sudo apt-get dist-upgrade
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:
libdbd-mysql-perl: Depends: perl (>= 5.10.1-12) but 5.10.1-8ubuntu2 is installed
Depends: libdbi-perl (>= 1.610.90) but 1.50-1 is installed
Depends: perl-dbdabi-94 but it is not installable
libdbi-perl: Depends: perlapi-5.8.4 but it is not installable
Depends: libplrpc-perl but it is not installed
openwebmail: Depends: perl-suid but it is not installed
Depends: libnet-ldap-perl but it is not installed
Depends: libpgperl but it is not installable or
libpg-perl but it is not installed
Depends: wwwconfig-common but it is not installed
Recommends: spamassassin but it is not installed
Recommends: clamav but it is not installed
E: Unmet dependencies. Try using -f.
安裝某些套件後出現錯誤訊息,意思是要在生級套件,可以先下指令先移除
$ sudo aptitude reinstall