سلام دوستان من با دستور
sudo do-release-upgrade -d
خواستم اوبونتو رو به نسخه 17.04 ارتقا بدم بعد از reboot وقتی من
apt 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:
libubuntu-app-launch4 : Depends: ubuntu-app-launch (= 0.11+17.04.20170321-0ubuntu1) but 0.9+16.10.20160928-0ubuntu1 is installed
ubuntu-app-launch-tools : Depends: ubuntu-app-launch (= 0.11+17.04.20170321-0ubuntu1) but 0.9+16.10.20160928-0ubuntu1 is installed
E: Unmet dependencies. Try using -f.
و وقتی
apt -f install
یا
apt-get -f install
رو میزنم پیغام زیر رو نشون میده
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
ubuntu-app-launch
The following packages will be upgraded:
ubuntu-app-launch
1 upgraded, 0 newly installed, 0 to remove and 1103 not upgraded.
187 not fully installed or removed.
Need to get 0 B/14.3 kB of archives.
After this operation, 101 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 441897 files and directories currently installed.)
Preparing to unpack .../ubuntu-app-launch_0.11+17.04.20170321-0ubuntu1_amd64.deb ...
Traceback (most recent call last):
File "/usr/bin/click", line 55, in <module>
from click import commands
ImportError: cannot import name 'commands'
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
dpkg: error processing archive /var/cache/apt/archives/ubuntu-app-launch_0.11+17.04.20170321-0ubuntu1_amd64.deb (--unpack):
there is no script in the new version of the package - giving up
Errors were encountered while processing:
/var/cache/apt/archives/ubuntu-app-launch_0.11+17.04.20170321-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
اول خواستم طبق
http://askubuntu.com/questions/837775/dpkg-errors-after-update-to-16-10برم جلو ولی بعد از زدن این کد
apt autoremove -f click click-apparmor ubuntu-app-launch
بهم این رو نمایش داد
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:
libubuntu-app-launch4 : Depends: ubuntu-app-launch (= 0.11+17.04.20170321-0ubuntu1) but it is not going to be installed
ubuntu-app-launch-tools : Depends: ubuntu-app-launch (= 0.11+17.04.20170321-0ubuntu1) but it is not going to be installed
unity8-desktop-session : Depends: ubuntu-app-launch but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
در ضمن سیستمم هم ۶۴ بیت هست
سوالمو توی ask ubuntu هم پرسیدم
http://askubuntu.com/questions/897537/errors-in-install-ubuntu-app-launchممنون میشم کمکم کنید