erros na instalação do ubuntu-app-launch

2

Eu tento atualizar meu Ubuntu para 17.04 depois de reiniciar se eu correr apt dist-upgrade me diga:

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.

se eu executar apt -f install ou apt-get -f install diga:

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)

de acordo com este link Erros do Dpkg após a atualização para 16.10 i tente apt autoremove -f click click-apparmor ubuntu-app-launch e diga-me

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).

O que posso fazer?

    
por amir.m ghazanfari 27.03.2017 / 21:58

0 respostas