apt-get stuck em strongswan-starter_5.5.1 depois de atualizar meu Ubuntu para 17.10

0

Estou tentando instalar o certbot depois de atualizar meu Ubuntu. No entanto, estou preso ao erro

You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: strongswan-starter : Depends: libstrongswan (= 5.5.1-1ubuntu3.2) but 5.5.1-4ubuntu2.2 is installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Eu tentei executar

apt --fix-broken install

mas o que obtenho é

Errors were encountered while processing:

/var/cache/apt/archives/strongswan-starter_5.5.1-4ubuntu2.2_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

A verdade é que não quero strongswan e nenhum pacote relacionado no meu sistema. Mas quando tento desfeito, recebo o mesmo erro que quero atualizá-lo.

Alguma dica?

obrigado

my sources.list (alguns são ocultados)

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://hk.archive.ubuntu.com/ubuntu/ artful main restricted
# deb-src http://hk.archive.ubuntu.com/ubuntu/ yakkety main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://hk.archive.ubuntu.com/ubuntu/ artful-updates main restricted
# deb-src http://hk.archive.ubuntu.com/ubuntu/ yakkety-updates main restricted

mais informações são encontradas na execução do dpkg --list

ii  strongswan                    5.5.1-1ubuntu3.2    all                 IPsec VPN solution metapackage
ii  strongswan-charon             5.5.1-4ubuntu2.2    amd64               strongSwan Internet Key Exchange daemon
ii  strongswan-libcharon          5.5.1-4ubuntu2.2    amd64               strongSwan charon library
ii  strongswan-starter            5.5.1-1ubuntu3.2    amd64               strongSwan daemon starter and configuration file parser

depois da execução sudo apt remove libstrongswan i tenho o seguinte erro: - (

sudo apt remove libstrongswan
Reading package lists... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libcharon-standard-plugins : Depends: libstrongswan (= 5.5.1-4ubuntu2.2) but it is not going to be installed
 libstrongswan-standard-plugins : Depends: libstrongswan (= 5.5.1-4ubuntu2.2) but it is not going to be installed
 strongswan-libcharon : Depends: libstrongswan (= 5.5.1-4ubuntu2.2) but it is not going to be installed
 strongswan-starter : Depends: libstrongswan (= 5.5.1-1ubuntu3.2) but it is not going to be installed

Eu tentei executar o dpkg -P strongswan- * no comando, mas o strongswan-libcharon e o strongswan-starter me causaram erros de qualquer maneira.

aqui é log

dpkg -P strongswan-starter
(Reading database ... 148684 files and directories currently installed.)
Removing strongswan-starter (5.5.1-1ubuntu3.2) ...
Failed to stop strongswan.service: Unit strongswan.service not loaded.
Failed to stop strongswan.service: Unit strongswan.service not loaded.
dpkg: error processing package strongswan-starter (--purge):
 subprocess installed pre-removal script returned error exit status 5
/usr/bin/deb-systemd-helper: error: unable to read strongswan.service
Failed to get unit file state for strongswan.service: No such file or directory
strongswan.service is a disabled or a static unit, not starting it.
/usr/bin/deb-systemd-helper: error: unable to read strongswan.service
Failed to get unit file state for strongswan.service: No such file or directory
strongswan.service is a disabled or a static unit, not starting it.
Errors were encountered while processing:
 strongswan-starter
    
por efexemus 22.01.2018 / 04:16

0 respostas