한동안 업데이트되지 않은 Ubuntu 12.04.5 LTS 상자에서 apt-get 업그레이드를 수행 중이었고 '장치에 남은 공간 없음'으로 인해 업그레이드가 실패했습니다. 잠시 후 나는 inode를 의미하는 공간을 알아냈고 일부를 해제했지만 불행하게도 상황이 뭔가 비스듬하게 남아 있었습니다. dpkg -i를 사용하여 언급된 이전 버전의 패키지를 수동으로 설치하려고 시도했지만 도움이 되지 않습니다.
apt-get 업그레이드와 apt-get -f install을 시도했지만 아무 소용이 없습니다. 결과는 아래와 같습니다. 문제를 해결하는 방법에 대한 아이디어가 있나요?
결정된:
dpkg -i를 통해 이전 버전을 수동으로 다시 설치한 다음 apt-get -f install을 통해 작업이 완료되었습니다. 왜 이것이 처음에는 작동하지 않았는지 잘 모르겠습니다. 문제의 패키지는 아래에 나열되어 있지만 아마도 다를 수 있습니다.
libssl1.0.0_1.0.1-4ubuntu5.14_i386.deb
linux-headers-3.2.0-64-generic-pae_3.2.0-64.97_i386.deb
linux-image-generic-pae_3.2.0.64.76_i386.deb
linux-headers-3.2.0-64_3.2.0-64.97_all.deb linux-headers-generic-pae_3.2.0.64.76_i386.deb
root@unlinked:/tmp# 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.
libssl-dev : Depends: libssl1.0.0 (= 1.0.1-4ubuntu5.14) but 1.0.1-4ubuntu5.17 is installed
linux-generic-pae : Depends: linux-image-generic-pae (= 3.2.0.64.76) but 3.2.0.67.79 is installed
Depends: linux-headers-generic-pae (= 3.2.0.64.76) but 3.2.0.67.79 is installed
E: Unmet dependencies. Try using -f.
root@unlinked:/tmp# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
linux-headers-3.2.0-43-generic-pae linux-headers-3.2.0-38-generic-pae linux-headers-3.2.0-41-generic-pae linux-headers-3.2.0-36-generic-pae
linux-headers-3.2.0-63-generic-pae linux-headers-3.2.0-58-generic-pae linux-headers-3.2.0-60-generic-pae linux-headers-3.2.0-55-generic-pae linux-headers-3.2.0-40
linux-headers-3.2.0-41 linux-headers-3.2.0-36 linux-headers-3.2.0-37 linux-headers-3.2.0-43 linux-headers-3.2.0-38 linux-headers-3.2.0-44 linux-headers-3.2.0-39
linux-headers-3.2.0-45 linux-headers-3.2.0-51 linux-headers-3.2.0-52 linux-headers-3.2.0-53 linux-headers-3.2.0-48 linux-headers-3.2.0-54 linux-headers-3.2.0-60
linux-headers-3.2.0-55 linux-headers-3.2.0-61 linux-headers-3.2.0-56 linux-headers-3.2.0-57 linux-headers-3.2.0-63 linux-headers-3.2.0-58 linux-headers-3.2.0-59
linux-headers-3.2.0-52-generic-pae linux-headers-3.2.0-44-generic-pae linux-headers-3.2.0-39-generic-pae linux-headers-3.2.0-37-generic-pae
linux-headers-3.2.0-59-generic-pae linux-headers-3.2.0-61-generic-pae linux-headers-3.2.0-56-generic-pae linux-headers-3.2.0-53-generic-pae
linux-headers-3.2.0-48-generic-pae linux-headers-3.2.0-45-generic-pae linux-headers-3.2.0-40-generic-pae linux-headers-3.2.0-57-generic-pae
linux-headers-3.2.0-54-generic-pae linux-headers-3.2.0-51-generic-pae
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libssl-dev linux-generic-pae
The following packages will be upgraded:
libssl-dev linux-generic-pae
2 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
2 not fully installed or removed.
Need to get 0 B/1,427 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Do you want to continue [Y/n]? y
dpkg: dependency problems prevent configuration of libssl-dev:
libssl-dev depends on libssl1.0.0 (= 1.0.1-4ubuntu5.14); however:
Version of libssl1.0.0 on system is 1.0.1-4ubuntu5.17.
dpkg: error processing libssl-dev (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
dpkg: dependency problems prevent configuration of linux-generic-pae:
linux-generic-pae depends on linux-image-generic-pae (= 3.2.0.64.76); however:
Version of linux-image-generic-pae on system is 3.2.0.67.79.
linux-generic-pae depends on linux-headers-generic-pae (= 3.2.0.64.76); however:
Version of linux-headers-generic-pae on system is 3.2.0.67.79.
dpkg: error processing linux-generic-pae (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
Errors were encountered while processing:
libssl-dev
linux-generic-pae
E: Sub-process /usr/bin/dpkg returned an error code (1)
답변1
apt-get autoremove
apt-get -f install
귀하의 텍스트에서 골라낸 내용이 꽤 적절한 것 같습니다...
시도해 보셨나요?
모든 것이 순조롭게 진행되는 경우:
3. apt-get update && apt-get upgrade
...이(가) 제자리에 있을 수 있습니다.
게시물을 수정하고 추가하세요.<시간>끝에 태그를 추가한 다음 텍스트를 더 추가하여 이에 답하거나 무엇이 잘못되었는지 알려주세요.
답변2
일부 패키지를 수동으로 설치했다고 말했으므로 오류 메시지에서 다음 줄이 표시됩니다.
dpkg: dependency problems prevent configuration of libssl-dev:
libssl-dev depends on libssl1.0.0 (= 1.0.1-4ubuntu5.14); however:
Version of libssl1.0.0 on system is 1.0.1-4ubuntu5.17.
dpkg: dependency problems prevent configuration of linux-generic-pae:
linux-generic-pae depends on linux-image-generic-pae (= 3.2.0.64.76); however:
Version of linux-image-generic-pae on system is 3.2.0.67.79.
linux-generic-pae depends on linux-headers-generic-pae (= 3.2.0.64.76); however:
Version of linux-headers-generic-pae on system is 3.2.0.67.79.
설치된 패키지 중 일부가 최신 버전임을 암시합니다. 이 패키지 및 관련 패키지의 이전 버전을 설치하면 apt
계속됩니다.