Debian 6을 Wheezy로 업그레이드한 후 버전을 테스트하려면 커널 업그레이드가 필요합니까?
본격적으로 업그레이드를 하고 있어요. 그런 다음 테스트를 시작했습니다. 각 단계에는 먼저 업그레이드한 다음 다시 업그레이드하는 작업이 포함됩니다. 제 생각에는 과하게 업그레이드된 것 같습니다.
그래도. 이제 아무것도 설치할 수 없습니다.
thw@chttl-90092eb8e95ecef8:~/node-v0.10.33-linux-x64$ sudo apt-get 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:
consolekit : Breaks: udev (< 204-1) but 175-7.2 is installed
libcairo-perl : Depends: perlapi-5.14.2 but it is not installable
libfont-freetype-perl : Depends: perlapi-5.14.2 but it is not installable
libglib-perl : Depends: perlapi-5.14.2 but it is not installable
libgtk2-perl : Depends: perlapi-5.14.2 but it is not installable
libhtml-parser-perl : Depends: perlapi-5.14.2 but it is not installable
liblocale-gettext-perl : PreDepends: perlapi-5.14.2 but it is not installable
libnet-dbus-perl : Depends: perlapi-5.14.2 but it is not installable
libnet-ssleay-perl : Depends: perlapi-5.14.2 but it is not installable
libpango-perl : Depends: perlapi-5.14.2 but it is not installable
libperl5.14 : Depends: perl-base (= 5.14.2-21+deb7u2) but 5.20.1-3 is installed
libtext-charwidth-perl : Depends: perlapi-5.14.2 but it is not installable
libtext-iconv-perl : Depends: perlapi-5.14.2 but it is not installable
libuuid-perl : Depends: perlapi-5.14.2 but it is not installable
libxml-parser-perl : Depends: perlapi-5.14.2 but it is not installable
lsof : Depends: libperl4-corelibs-perl but it is not installed or
perl (< 5.12.3-7) but 5.20.1-3 is installed
E: Unmet dependencies. Try using -f.
apt-get install -f
내가 얻는 대로
(Reading database ... 154815 files and directories currently installed.)
Preparing to unpack .../archives/udev_215-7_amd64.deb ...
Since release 198, udev requires support for the following features in
the running kernel:
- inotify(2) (CONFIG_INOTIFY_USER)
- signalfd(2) (CONFIG_SIGNALFD)
- accept4(2)
- open_by_handle_at(2) (CONFIG_FHANDLE)
- timerfd_create(2) (CONFIG_TIMERFD)
- epoll_create(2) (CONFIG_EPOLL)
Please upgrade your kernel before or while upgrading udev.
AT YOUR OWN RISK, you can force the installation of this version of udev
WHICH DOES NOT WORK WITH YOUR RUNNING KERNEL AND WILL BREAK YOUR SYSTEM
AT THE NEXT REBOOT by creating the /etc/udev/kernel-upgrade file.
There is always a safer way to upgrade, do not try this unless you
understand what you are doing!
dpkg: error processing archive /var/cache/apt/archives/udev_215-7_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Errors were encountered while processing:
/var/cache/apt/archives/udev_215-7_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
이를 위해 커널을 업그레이드해야 합니까? 이미 upgrade
and 로 이 작업을 수행 하지 않았나요 dist-upgrade
? 아니면 그냥 재부팅해야 하나요?
답변1
문제가 있거나 apt-get upgrade
커널 apt-get dist-upgrade
이미지가 업데이트된 것 같습니다. 그러나 새 커널은 재부팅 후에만 적용됩니다. udev 패키지 버전에는 새 커널이 필요합니다. 그래서 내 시스템이 현재 실행 중인 이전 이미지를 새 udev와 함께 사용할 수 없다는 경고 메시지가 표시되고 설치를 거부합니다.
새 커널을 사용하기 위해 시스템을 재부팅했습니다. 그런 다음 apt-get install -f
더 이상 문제없이 도망갔습니다 .