데비안 etch ; apache + php 설치 오류

jeongwan의 이미지

Removing apache ...
Purging configuration files for apache ...
Can't call method "description" on an undefined value at /usr/share/perl5/Debconf/Question.pm line 93, line 1.
dpkg: error processing apache (--purge):
subprocess post-removal script returned error exit status 9
Removing libapache2-mod-php4 ...
Purging configuration files for libapache2-mod-php4 ...
Can't call method "description" on an undefined value at /usr/share/perl5/Debconf/Question.pm line 93, line 1.
dpkg: error processing libapache2-mod-php4 (--purge):
subprocess post-removal script returned error exit status 9
Removing libapache2-mod-php5 ...
Purging configuration files for libapache2-mod-php5 ...
Can't call method "description" on an undefined value at /usr/share/perl5/Debconf/Question.pm line 93, line 1.
dpkg: error processing libapache2-mod-php5 (--purge):
subprocess post-removal script returned error exit status 9
Errors were encountered while processing:
apache
libapache2-mod-php4
libapache2-mod-php5
E: Sub-process /usr/bin/dpkg returned an error code (1)
Some errors occurred while unpacking. I'm going to configure the
packages that were installed. This may result in duplicate errors
or errors caused by missing dependencies. This is OK, only the errors
above this message are important. Please fix them and run [I]nstall again
Press enter to continue.

다른 패키지들을 설치하거나 삭제하는 데에는 별 문제가 없습니다. apache2패키지자체도 별 문제가 없습니다.
그런데 유독 저것들만 같은 오류로 안됩니다. php모듈이 설치가 안되니 웹서버로서의 기능을 대부분 상실했습니다.
원래 되던 것이었는데 etch로 upgrade하고 나서 몇주쯤 전에 새로 올라온 보안패치를 받으려고 업데이트를 실행했습니다.
실행중에 무슨 이유로 설치가 강제종료되었는데 그 이후인것 같습니다. 무엇이 문제 일까요? 비슷한 경험있으신분 없나요?

jeongwan의 이미지

오류를 이리저리 살펴보다보니
ucf 명령에서 저 오류가 나고 있습니다.

ucf purge /etc/apache/conf.d/php4.conf
Can't call method "description" on an undefined value at /usr/share/perl5/Debconf/Question.pm line 93, line 1.

이 파일은 제가 손을 댄 적이 없는 파일입니다. ucf의 작동을 잘 모르지만 여기에 문제가 있는 듯 합니다.

The Magic of Zero

jeongwan의 이미지

이런...
ucf를 apt-get --reinstall install ucf
로 재설치 하고 나니 되는군요. 어딘가 파일이 손상되었었나 봅니다.ㅡ.ㅡ;;

The Magic of Zero

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.