데비안 libc6때문에 의존성 문제가 발생합니다.

frigoris의 이미지

패키지를 설치하려 할 때마다 의존성 문제가 발생하여 apt-get -f install을 실행했습니다.

-----------------------------------------------------------------------------
# apt-get -f install
꾸러미 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다... 완료
의존성을 바로잡는 중입니다... 완료
다음 꾸러미를 더 설치할 것입니다:
libc6
제안하는 꾸러미:
glibc-doc libc6-i686
다음 꾸러미를 업그레이드할 것입니다:
libc6
1개 업그레이드, 0개 새로 설치, 0개 지우기 및 260개 업그레이드 안 함.
2개를 완전히 설치하지 못했거나 지움.
0바이트/4548k바이트 아카이브를 받아야 합니다.
압축을 풀면 344k바이트의 디스크 공간을 더 사용하게 됩니다.
계속 하시겠습니까 [Y/n]? y
패키지를 미리 설정하는 중입니다...
(데이터베이스 읽는중 ...현재 69792개의 파일과 디렉토리가 설치되어 있습니다.)
libc6 2.7-14 꾸러미를 대체할 준비하는 중입니다 (.../archives/libc6_2.9-4_i386.deb 사용) ...
Checking for services that may need to be restarted...
Checking init scripts...
WARNING: this version of the GNU libc requires kernel version
2.6.18 or later. Please upgrade your kernel before installing
glibc.

The installation of a 2.6 kernel _could_ ask you to install a new libc
first, this is NOT a bug, and should *NOT* be reported. In that case,
please add lenny sources to your /etc/apt/sources.list and run:
apt-get install -t lenny linux-image-2.6
Then reboot into this new kernel, and proceed with your upgrade
dpkg: /var/cache/apt/archives/libc6_2.9-4_i386.deb을(를) 처리하는 데 오류가 발생했습니다 (--unpack):
pre-installation script 하위 프로세스가 오류 1번을 리턴했습니다
처리하는 데 오류가 발생했습니다:
/var/cache/apt/archives/libc6_2.9-4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
-----------------------------------------------------------------------------

uname -na 결과는 다음과 같습니다.
Linux 2.6.8-3-686 #1 Tue Dec 5 21:26:38 UTC 2006 i686 GNU/Linux

커널 버전이 낮아서 안된다고 하길래 커널의 업데이트를 시도했습니다.
-----------------------------------------------------------------------------
# apt-get install -t lenny linux-image-2.6.26-2-686
꾸러미 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다... 완료
다음을 바로잡으려면 `apt-get -f install'을 실행해 보십시오:
다음 꾸러미의 의존성이 맞지 않습니다:
libc6-amd64: 의존: libc6 (= 2.9-4) 하지만 2.7-14 꾸러미를 설치할 것입니다
linux-image-2.6.26-2-686: 의존: initramfs-tools (>= 0.55) 하지만 %s 꾸러미를 설치하지 않을 것입니다 혹은
yaird (>= 0.0.13) 하지만 설치할 수 없습니다 혹은
linux-initramfs-tool
locales: 의존: glibc-2.9-1
E: 의존성이 맞지 않습니다. 꾸러미 없이 'apt-get -f install'을 시도해 보십시오 (아니면 해결 방법을 지정하십시오).
-----------------------------------------------------------------------------

커널을 업데이트 하려고 해도 안되고. apt-get -f install도 안먹고. aptitude + g g 도 안먹고 ..

어떻게 해야할까요.

고수님 알려주시면 감사하겠습니다(__)

평양선봉의 이미지

apt-get update
apt-get autoremove

그리고 apt-get check 로 의존성 체크해보신후, 의존성 망가진 패키지를 제거후 다시 설치를 해보세요.

그 후에 진행하면 되실것 같습니다.

----
웹페이지 : http://bzpalm.net/

----
웹페이지 : http://bzpalm.net/

익명 사용자의 이미지

저는 이런에러에 대해서
dpkg: error processing /var/cache/apt/archives/package2 (--unpack):

sudo dpkg -i --force-overwrite /var/cache/apt/archives/package2.deb
요렇게 해주고

sudo apt-get install -f
이렇게 했더니 해결이 되었어요. 참고하세요

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.