debian etch 에서 lenny의 레포지토리를 사용할수 있을까요

kfctoto의 이미지

안녕하세요.
리눅스 초보자입니다.

현재 debian etch에서 서버를 구축운용하고 있는데요.

오래된 서버에서 clamav를 설치하려고 하는데 의존성문제땜에 잘 설치가 되지 않습니다.

그래서 lenny의 레포지토리를 추가해서

설치하려고 하는데 문제가 없을까요?

역시 lenny의 커널 버젼에 맞아서 etch의 오래된 커널에선 문제가 생길지요.

그럼 답변 부탁드립니다.

danskesb의 이미지

etch의 보안 업데이트가 올해 2월 15일 중단되었습니다. 가급적이면 lenny로 업그레이드하시기 바랍니다.

계속 etch를 고수해야만 한다면 lenny 쪽의 소스를 받아다가 컴파일해서 설치할 수는 있습니다.

---- 절취선 ----
http://blog.peremen.name

kfctoto의 이미지

답변 감사합니다!

추가질문이 있습니다만,

sources.list에 lenny레포지토리 추가하고
(현재론 기존 소스경로가 먹지 않길래, 경로 추적해보니까
아카이브된 구 레포지토리도 제공해주긴 하길래 그쪽을 설정해놓곤있습니다;)
aptitude update로 패키지목록 업데이트한후

dist-upgrade(커널까지 업데이트하는 느낌으로 알고 있는데 맞는지요...;)
하지 않고

단지 패키지 설치용으로만 쓰는것도 가능한지요?;

현재 다른 일로 쓰고 있는 서버라

그냥 lenny로 업데이트를 쉽게 해도 될지 망설여져서요;

의외로 간단하려나;

danskesb의 이미지

etch 보안 업데이트 중단 이후로 공식 미러에서는 모두 삭제되었습니다. debian-archive를 말씀하시는 것 같네요.

APT에는 pin 기능이 있어서 특정한 패키지만 특정한 배포판에서 설치하도록 할 수 있습니다. https://help.ubuntu.com/community/PinningHowto 이건 우분투의 문서지만 데비안에도 그대로 적용됩니다. 하지만 libc6(C 라이브러리) 때문에 쉽지만은 않을 겁니다. etch는 2.3, lenny는 2.7이에요.

특별히 설정을 엄청 건드렸다거나 하지 않으면 업그레이드 자체는 쉽습니다. 설정 파일이 새 버전에서 바뀌었을 때 dpkg가 잘 알려줍니다. 이 기회에 업그레이드하세요.

---- 절취선 ----
http://blog.peremen.name

kfctoto의 이미지

aptitude install clamav
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
The following packages are BROKEN:
locales util-linux
The following NEW packages will be automatically installed:
clamav-base libclamav5 libgmp3c2
The following packages will be automatically REMOVED:
tzdata
The following packages have been kept back:
acpid apt apt-utils bind9-host cupsys cupsys-bsd cupsys-client cupsys-common dbus
debian-archive-keyring dhcp3-client dhcp3-common dnsutils dpkg dselect gnupg gpgv gs-common
gs-esp gzip ldap-utils libbind9-0 libcupsimage2 libcupsys2 libcupsys2-gnutls10 libcurl3
libdbus-1-3 libdns22 libexpat1 libfreetype6 libglib2.0-0 libglib2.0-data libgnutls13
libhtml-parser-perl libisc11 libisccc0 libisccfg1 libkrb53 libldap-2.3-0 liblwres9
libnewt0.52 libpam-modules libpam-runtime libpam0g libpng12-0 libsasl2 libsasl2-2
libsasl2-modules libssl0.9.8 libtiff4 libvolume-id0 libxml2 linux-image-2.6-686 login ntpdate
openssl passwd perl perl-base perl-modules poppler-utils python-newt python2.4
python2.4-minimal samba samba-common smbclient sudo udev wget whiptail winbind
The following NEW packages will be installed:
clamav clamav-base libclamav5 libgmp3c2
The following packages will be REMOVED:
tzdata
The following packages will be upgraded:
libc6
1 packages upgraded, 4 newly installed, 1 to remove and 73 not upgraded.
Need to get 5304kB/25.2MB of archives. After unpacking 15.9MB will be used.
The following packages have unmet dependencies:
util-linux: Depends: tzdata (>= 2006c-2) but it is not installable
locales: Depends: glibc-2.3.6.ds1-1 which is a virtual package.
Resolving dependencies...
The following actions will resolve these dependencies:

Keep the following packages at their current version:
clamav [Not Installed]
clamav-base [Not Installed]
libc6 [2.3.6.ds1-13etch7 (now)]
libclamav5 [Not Installed]
tzdata [2008e-1etch3 (oldstable, now)]

Score is -10019

Accept this solution? [Y/n/q/?] y
The following packages have been kept back:
acpid apt apt-utils bind9-host cupsys cupsys-bsd cupsys-client cupsys-common dbus
debian-archive-keyring dhcp3-client dhcp3-common dnsutils dpkg dselect gnupg gpgv gs-common
gs-esp gzip ldap-utils libbind9-0 libc6 libcupsimage2 libcupsys2 libcupsys2-gnutls10 libcurl3
libdbus-1-3 libdns22 libexpat1 libfreetype6 libglib2.0-0 libglib2.0-data libgnutls13
libhtml-parser-perl libisc11 libisccc0 libisccfg1 libkrb53 libldap-2.3-0 liblwres9
libnewt0.52 libpam-modules libpam-runtime libpam0g libpng12-0 libsasl2 libsasl2-2
libsasl2-modules libssl0.9.8 libtiff4 libvolume-id0 libxml2 linux-image-2.6-686 locales login
ntpdate openssl passwd perl perl-base perl-modules poppler-utils python-newt python2.4
python2.4-minimal samba samba-common smbclient sudo udev wget whiptail winbind
0 packages upgraded, 0 newly installed, 0 to remove and 74 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n/?] n
Abort.

kfctoto의 이미지

우선 가르쳐주신 페이지부터 열심히 보겠습니다!

아 참! 설정파일이 바꼈을때 dpkg가 잘 알려준다는 말은 뭔가요?

지금까지는 그냥 패키지 정보 볼때정도에만 썼는데

예를들어 dpkg -l | grep clam 등

감사합니다!

danskesb의 이미지

apt-get dist-upgrade 할 때 새로운 버전의 설정 파일이 있으면 새로운 설정 파일을 유지할건지, 기존 파일을 가져올건지 등을 dpkg에서 물어봅니다. 그래서 업그레이드할 때 걱정할 필요가 없다는 뜻입니다.

---- 절취선 ----
http://blog.peremen.name

댓글 달기

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