kozo2@ubuntu:~/tmp$ sudo aptitude -y install devscripts
kozo2@ubuntu:~/tmp$ ls
aptitude_0.6.8.1-2ubuntu2.debian.tar.gz aptitude_0.6.8.1.orig.tar.xz aptitude_0.6.8.2-1.dsc
aptitude_0.6.8.1-2ubuntu2.dsc aptitude_0.6.8.2-1.debian.tar.gz aptitude_0.6.8.2.orig.tar.xz
kozo2@ubuntu:~/tmp$ debdiff aptitude_0.6.8.2-1.dsc aptitude_0.6.8.1-2ubuntu2.dsc
gpgv: Signature made Wed 07 Nov 2012 02:54:14 PM JST using RSA key ID 4D6E25A8
gpgv: Can’t check signature: public key not found
dpkg-source: warning: failed to verify signature on /home/kozo2/tmp/aptitude_0.6.8.2-1.dsc
gpgv: Signature made Tue 26 Feb 2013 05:28:12 PM JST using DSA key ID 0F932C9C
gpgv: Can’t check signature: public key not found
dpkg-source: warning: failed to verify signature on /home/kozo2/tmp/aptitude_0.6.8.1-2ubuntu2.dsc
中略
--- aptitude-0.6.8.2/src/generic/apt/pkg_changelog.cc 2012-11-05 00:24:56.000000000 +0900
+++ aptitude-0.6.8.1/src/generic/apt/pkg_changelog.cc 2012-08-04 18:33:38.000000000 +0900
@@ -20,7 +20,6 @@
#include "pkg_changelog.h"
#include "apt.h"
-#include "config_signal.h"
#include "download_queue.h"
#include <generic/util/job_queue_thread.h>
@@ -543,18 +542,12 @@
else
realver = source_version;
- // WATCH: apt/cmdline/apt-get.cc(DownloadChangelog)
- string server = aptcfg->Find("APT::Changelogs::Server",
- "http://packages.debian.org/changelogs");
- string path = cw::util::ssprintf("pool/%s/%s/%s/%s_%s",
+ string uri = cw::util::ssprintf("http://packages.debian.org/changelogs/pool/%s/%s/%s/%s_%s/changelog",
realsection.c_str(),
prefix.c_str(),
source_package.c_str(),
source_package.c_str(),
realver.c_str());
- string uri = cw::util::ssprintf("%s/%s/changelog",
- server.c_str(),
- path.c_str());
LOG_TRACE(logger,
"Adding " << uri
<< " as a URI for the changelog of " << source_package << " " << source_version);
diff -Nru aptitude-0.6.8.2/src/generic/apt/tasks.cc aptitude-0.6.8.1/src/generic/apt/tasks.cc
--- aptitude-0.6.8.2/src/generic/apt/tasks.cc 2012-11-05 00:24:56.000000000 +0900
+++ aptitude-0.6.8.1/src/generic/apt/tasks.cc 2012-08-25 21:39:57.000000000 +0900
@@ -80,7 +80,7 @@
++it)
{
pkgCache::PkgIterator pkg = (*apt_cache_file)->FindPkg(*it, arch);
- if(pkg.end() == false)
+ if(pkg.end() != false)
pkgset->insert(pkg);
}
kozo2@ubuntu:~/tmp$
4.3.4 Linux kernel の差異
kernel も package なので触れないわけにはいかないですが、私は kernel hacker ではなく語れる力はありません。申し
訳ありません。 config の違いを調べることは可能かと思います。 Ubuntu の config は下記で参照可能ですが、 Debian
の kernel config はどこで参照できるのか調べがつきませんでした。
• https://wiki.ubuntu.com/Kernel/Configs/QuantalToRaring
• http://kernel.ubuntu.com/
~
kernel-ppa/configs/
また、おそらく適用しているであろう Ubuntu, Debian 毎の patch の差異までは調べがつきませんでした。
4.4 policy などの違い
次に package の内容のような具体的なことからすこし離れ、 Ubuntu と Debian の方針の違いについてお話しします。
このあたりはご存知の方も多いかと思うのですが前節の package の新旧とも関わるので補足する意味で付記します。
4.4.1 release policy
Debian は stable の release 時期が決まっていないのに対し、 Ubuntu は定期的な新 version の release が宣言されて
おり、 support 期間も明確に決まっています。 (とはいうものの本勉強会参加者は unstable の Debian を利用しており、
10