Erro ao atualizar o Debian 7 (wheezy) para 8 (jessie), plymouth 0.9.0-9 meio configurado

2

Estou tentando atualizar meu servidor wheezy para o Debian 8 jessie.

Alterei /etc/apt/sources.list para:

deb http://debian.mirror.serverloft.de/debian/ jessie main contrib non-free
deb http://debian.mirror.serverloft.de/debian-security/ jessie/updates main contrib non-free

Comandos:

apt-get update
apt-get upgrade
apt-get dist-upgrade

Isso resultou em uma mensagem curta sobre dpkg retornando um código de erro 1.

Eu tenho um protocolo, criado pelo comando script ; lá encontrei:

Calculating upgrade... Failed
The following packages have unmet dependencies:
 udev : Breaks: plymouth (< 0.9.0-7) but 0.8.5.1-5 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Eu tentei reparar isso:

root@myhost:~# apt-get install udev
Reading package lists... Done
Building dependency tree
Reading state information... Done
udev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 73 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up plymouth (0.9.0-9) ...
update-initramfs: deferring update (trigger activated)
update-rc.d: error: expected NN after start
usage: update-rc.d [-n] [-f] <basename> remove
   update-rc.d [-n] <basename> defaults [NN | SS KK]
   update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
   update-rc.d [-n] <basename> disable|enable [S|2|3|4|5]
        -n: not really
        -f: force

The disable|enable API is not stable and might change in the future.
dpkg: error processing package plymouth (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools (0.120+deb8u2) ...
Errors were encountered while processing:
 plymouth
**E: Sub-process /usr/bin/dpkg returned an error code (1)**

Informações sobre o plymouth:

root@myhost:~# dpkg -s plymouth
Package: plymouth
Status: install ok **half-configured**
Priority: optional
Section: misc
Installed-Size: 801
Maintainer: Laurent Bigonville <[email protected]>
Architecture: amd64
**Version: 0.9.0-9**
**Config-Version: 0.8.5.1-5**
Replaces: plymouth-drm (<< 0.9.0-6~), plymouth-themes (<< 0.9.0-8~)
Depends: libc6 (>= 2.14), libdrm2 (>= 2.4.25), libpng12-0 (>= 1.2.13-4), libudev1 (>= 183), initramfs-tools | dracut, init-system-helpers (>= 1.18)
Pre-Depends: multiarch-support
Suggests: desktop-base, plymouth-themes
Breaks: plymouth-drm (<< 0.9.0-6~), plymouth-themes (<< 0.9.0-8~)
Conflicts: console-common
Conffiles:
 /etc/init.d/plymouth e1440675aa15e8e43da91575295fd2d1
 /etc/init.d/plymouth-log 0f1be14b21796a952e115c03a86787e0
 /etc/plymouth/plymouthd.conf 5c2a5b4b4cb7cbbad0beaab8558200ce
Description: boot animation, logger and I/O multiplexer
 Plymouth provides a boot-time I/O multiplexing framework

Assim, o plymouth não pode ser configurado; a versão configurada é menor que a versão instalada do plymouth.

O que pode fazer para corrigir isso? Obrigada!

Atualização: tentei remover o plymouth:

root@myhost:~# LANG=C apt-get remove plymouth
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 upstart : Depends: mountall but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
root@myhost:~# LANG=C apt-get purge plymouth
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 upstart : Depends: mountall but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

root@myhost:~# LANG=C apt-get dist-upgrade
...
Get:150 http://debian.mirror.serverloft.de/debian/ jessie/main lynx all 2.8.9dev1-2+deb8u1 [232 kB]
Fetched 69.6 MB in 4s (15.6 MB/s)
Reading changelogs... Done
apt-listchanges: Mailing root: apt-listchanges: news for myhost
Extracting templates from packages: 100%
Preconfiguring packages ...
Setting up plymouth (0.9.0-9) ...
update-initramfs: deferring update (trigger activated)
update-rc.d: error: expected NN after start
usage: update-rc.d [-n] [-f] <basename> remove
   update-rc.d [-n] <basename> defaults [NN | SS KK]
   update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
   update-rc.d [-n] <basename> disable|enable [S|2|3|4|5]
        -n: not really
        -f: force

The disable|enable API is not stable and might change in the future.
dpkg: error processing package plymouth (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools (0.120+deb8u2) ...
Errors were encountered while processing:
 plymouth
E: Sub-process /usr/bin/dpkg returned an error code (1)

Atualização 2 : mais coisas que eu tentei, mas que não ajudaram:

apt-get dist-upgrade udev plymouth
apt-get install -f plymouth
dpkg --configure -a
apt-get install upgrade-system; upgrade-system
    
por Tobias 24.10.2016 / 00:23

5 respostas

1

Bug780443 parece o seu problema. Resumidamente, alguém resolveu a execução:

apt dist-upgrade udev plymouth

Também encontrei este : a solução proposta é instalar o pacote upgrade-system para atualizar de Wheezy para Jessie com o comando upgrade-system .

    
por 27.10.2016 / 23:21
1

Eu tive o mesmo problema em um servidor wheezy sem systemd. A solução foi:

apt-get remove plymouth   # also removes upstart and mountall
apt-get -f install        # not sure this is necessary
apt-get upgrade
apt-get dist-upgrade
apt-get install plymouth upstart mountall  # removes systemd-sysv
apt-get remove systemd
    
por 22.10.2017 / 10:51
0

Você tentou antes de atualizar remover este pacote?

:~# apt-get remove plymouth

ou

:~# apt-get purge plymouth

Tente fazê-lo e, em seguida, atualize o sistema. Responda se isso resolve o problema ou cole o que é mostrado na tela.

    
por 24.10.2016 / 10:52
0

Não é a resposta, mas informações úteis;

a maneira usual de atualizar é:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
> (now change the apt/sources)
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

ou seja, você deve sempre garantir que está no último estábulo antes de trocar qualquer repo.

e como primeiro contato para resolver problemas do dpkg, você pode tentar isto:

sudo dpkg --configure -a

para consertar / tentar novas ações com falha do dpkg, e você pode pedir ao apt para tentar corrigir qualquer problema no pacote executando:

sudo apt-get -f install

isto irá obter dependências ausentes ou irá reverter uma instalação com falha.

De qualquer forma, ele tentará consertar seu banco de dados do apt para você.

ATUALIZAÇÃO:

não sei porque -1, debian afirma o mesmo com a adição de "apt full-upgrade".

link

também o OP deve ser capaz de resolver o problema usando o dpkg configure / apt-get --fix-quebrado.

    
por 28.10.2016 / 03:00
0

Mude seu arquivo sources.list para nós. Os espelhos alemães geralmente não são sincronizados. rm -rf /var/lib/apt/lists/* apt-get clean apt-get update && apt-get -f install e apt-get dist-upgrade

    
por 30.10.2016 / 11:16