ページ更新: 2004-09-24 (金) (6010日前)
関連: Linux/coLinux testingやunstableのパッケージを借りる (2004-08-29) [編集]設定 #AptGet - Debian GNU/Linux スレッドテンプレ - testing や unstable のパッケージを借りたい [編集]設定 #/etc/apt/preferences はこんなのにした。 Package: * Pin: release a=stable Pin-Priority: 100 Package: * Pin: release a=stable-proposed-updates Pin-Priority: 105 Package: * Pin: release a=testing Pin-Priority: 90 Package: * Pin: release a=testing-proposed-updates Pin-Priority: 95 Package: * Pin: release a=unstable Pin-Priority: 50 /etc/apt/apt.conf (man apt.conf) この数値の根拠が判らん…。 APT::Cache-Limit "8388608"; /etc/apt/sources.list はこんなのを追加。 # Sarge (testing) deb http://security.debian.org sarge/updates main contrib non-free deb http://ftp.jp.debian.org/debian sarge main contrib non-free deb http://ftp.jp.debian.org/debian-non-US sarge/non-US main contrib non-free deb http://ftp.jp.debian.org/debian sarge-proposed-updates main contrib non-free deb http://ftp.jp.debian.org/debian-non-US sarge-proposed-updates/non-US main contrib non-free[編集] 操作 ## apt-get update で、hddtemp を借りてみる。 # apt-cache search hddtemp gdesklets-data - displays and sensors for gdesklets gkrellm - Multiple stacked system monitors: 1 process [client] hddtemp - Utility to monitor the temperature of your hard drive # apt-cache show hddtemp (略) # apt-get -u install hddtemp (あるいは apt-get -u install hddtemp/testing) Reading Package Lists... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: Sorry, but the following packages have unmet dependencies: hddtemp: Depends: libc6 (>= 2.3.2.ds1-4) but 2.2.5-11.5 is to be installed E: Sorry, broken packages ……しおしお。 [編集]で、 #/etc/apt/sources.list に追加 deb-src http://ftp.jp.debian.org/debian sarge main contrib non-free # apt-get update $ apt-get source hddtemp $ ls hddtemp-0.3-beta11/ hddtemp_0.3-beta11-10.diff.gz hddtemp_0.3-beta11-10.dsc hddtemp_0.3-beta11.orig.tar.gz $ cd hddtemp-0.3-beta11 $ debuild -r -us -uc dpkg-buildpackage: source package is hddtemp dpkg-buildpackage: source version is 0.3-beta11-10 dpkg-buildpackage: source maintainer is Aurelien Jarno <aurel32@debian.org> dpkg-buildpackage: host architecture is i386 dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>> 4.1.16) dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting. dpkg-buildpackage: (Use -d flag to override.) debuild: fatal error at line 456: dpkg-buildpackage failed! $ dpkg --status debhelper | grep -i version Version: 4.0.2 しおしお。 [編集]Sarge だと ## hddtemp /dev/hda /dev/hda: IC25N040ATCS04-0: 40 C |