이전에 심각한 문제가 있었지만 마침내 해결되었습니다. 참고하세요.SSH에서 충족되지 않은 종속성 오류.
이제 시스템은 건강하고 신선한 14.04 신뢰할 수 있는 시스템으로 보입니다. 이제 한 가지 문제만 남았습니다.
실행한 후에는 apt-get update
오류가 반환되지 않았습니다. 를 실행하면 apt-get upgrade
아래가 먼저 표시됩니다.
root@ubuntu:/# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
apt apt-utils aptitude base-passwd byobu command-not-found cpp cpp-4.6 dconf-gsettings-backend docbook-xml dpkg fontconfig fontconfig-config
foomatic-db-compressed-ppds gcc-4.6-base gcc-4.6-base:i386 gettext-base ghostscript grub-common grub-pc grub-pc-bin grub2-common install-info iputils-ping
landscape-common language-pack-zh-hans language-pack-zh-hans-base language-pack-zh-hant language-pack-zh-hant-base lib32stdc++6 libasound2 libcairo2 libcupsimage2
libdbd-mysql-perl libdbi-perl libfontconfig1 libgs9 libgs9-common libjpeg-progs libjpeg8 libjson0 liblocale-gettext-perl libmediainfo0 libnss3 libnss3-1d
libpango1.0-0 libplymouth2 libpolkit-gobject-1-0 libquadmath0 libstdc++6 libstdc++6:i386 libsub-name-perl libtext-iconv-perl libuuid-perl libv4l-0 libxft2 libxml2
linux-headers-generic linux-headers-server lsb-release man-db module-init-tools nvidia-common openjdk-6-jre-headless openprinting-ppds passwd perl perl-base
perl-modules plymouth poppler-utils procps python-apport python-apt python-dbus python-debian python-keyring qemu-common sgml-base sgml-data ssh-import-id
sysvinit-utils ttf-dejavu-core ttf-freefont ttf-kacst-one ttf-liberation ttf-unfonts-core ttf-wqy-microhei update-manager-core update-notifier-common upstart
xml-core xz-utils
The following packages will be upgraded:
app-install-data apt-xapian-index avahi-autoipd binutils ca-certificates cups-common doc-base dosfstools firefox-locale-zh-hans firefox-locale-zh-hant gnupg iproute
iproute2 isc-dhcp-client isc-dhcp-common jhead lib32gcc1 libglib2.0-data libjbig2dec0 libpam-runtime linux-firmware linux-libc-dev locales lshw ltrace mime-support
multiarch-support mysql-common net-tools openjdk-6-jre-lib os-prober patch policykit-desktop-privileges python-apt-common python-chardet python-crypto
python-httplib2 python-launchpadlib python-lazr.restfulclient python-lazr.uri python-oauth python-openssl python-pexpect python-pkg-resources python-problem-report
python-serial python-simplejson python-twisted-bin python-twisted-core python-wadllib python-xapian python-xdg python-zope.interface rsync seabios sensible-utils
shared-mime-info sudo tcpdump udev unzip usbutils uuid-runtime vim vim-common vim-runtime vim-tiny w3m wget x11-common
70 upgraded, 0 newly installed, 0 to remove and 93 not upgraded.
67 not fully installed or removed.
Need to get 0 B/75.3 MB of archives.
After this operation, 64.7 MB of additional disk space will be used.
Do you want to continue [Y/n]?
답변 이후 Y
출력, 준비, 포장 풀기 등의 과정을 모두 거쳤으나 최종적으로 아래와 같은 오류가 발생했습니다.
Unpacking replacement libxrender1 ...
Preparing to replace gpgv 1.4.16-1ubuntu2 (using .../gpgv_1.4.16-1ubuntu2.4_amd64.deb) ...
Unpacking replacement gpgv ...
Processing triggers for doc-base ...
Processing 2 changed doc-base files...
Registering documents with scrollkeeper...
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/udev_204-5ubuntu20.28_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
일반 소프트웨어를 설치하면 오류가 발생하지 않습니다(예: apt-get install openssh-client openssh-server
매력처럼 작동함).
또한 오류는 udev_204-5ubuntu20.28_amd64.deb에 대해 불평하고 있습니다. packages.ubuntu.com에서 확인했습니다. 14.04 trusty의 경우 패키지는 udev_204-5ubuntu20.26_amd64.deb여야 합니다(버전 관리에 약간의 차이가 있습니다). .
감사합니다. 이 문제를 해결하기 위한 올바른 방향을 알려줄 수 있기를 바랍니다(apt-get 업그레이드).
감사합니다, 데니스톤
답변1
다음의 간단한 해결 방법을 시도해 보세요.
sudo apt-get clean
sudo dpkg --clear-avail
sudo apt-get -f install