Debian 7(wheezy)을 8(jessie)로 업데이트하는 중 오류 발생, plymouth 0.9.0-9 절반 구성

Debian 7(wheezy)을 8(jessie)로 업데이트하는 중 오류 발생, plymouth 0.9.0-9 절반 구성

내 wheezy 서버를 Debian 8 jessie로 업그레이드하려고 합니다.

나는 /etc/apt/sources.list다음과 같이 변경했습니다 :

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

명령:

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

dpkg이로 인해 오류 코드 1 반환 에 대한 짧은 메시지가 표시되었습니다 .

나는 명령에 의해 생성된 프로토콜을 가지고 있습니다 script. 거기서 내가 발견한 것:

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.

나는 이것을 고치려고 노력했다:

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

플리머스에 관한 정보:

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

따라서 plymouth를 구성할 수 없습니다. 구성된 버전이 설치된 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)

업데이트 2: 더 많은 시도를 했지만 도움이 되지 않았습니다.

apt-get dist-upgrade udev plymouth
apt-get install -f plymouth
dpkg --configure -a
apt-get install upgrade-system; upgrade-system

답변1

시스템이 없는 wheezy 서버에서도 동일한 문제가 발생했습니다. 해결책은 다음과 같습니다.

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

답변2

버그780443당신의 문제인 것 같습니다. 간단히 말해서 누군가가 달리기를 해결했습니다.

apt dist-upgrade udev plymouth

나도 찾았어이것upgrade-system: 제안된 솔루션은 명령을 사용하여 Wheezy에서 Jessie로 업그레이드하기 위한 패키지를 설치하는 것입니다 upgrade-system.

답변3

업데이트하기 전에 이 패키지를 제거하려고 시도하셨나요?

:~# apt-get remove plymouth

또는

:~# apt-get purge plymouth

그것을 시도한 다음 시스템을 업그레이드하십시오. 문제가 해결되면 회신하거나 화면에 표시되는 내용을 붙여넣으세요.

답변4

source.list를 우리 서버로 전환하십시오. 독일 미러는 종종 동기화되지 않습니다. rm -rf /var/lib/apt/lists/* apt-get clean apt-get update && apt-get -f install그리고apt-get dist-upgrade

관련 정보