An examination of the outgoing HTTP requests for aptitude changelog vs.
apt-get changelog shows that aptitude is missing a /pool in the URL:

No.     Time           Source                Destination           Protocol 
Length Info
    889 29.865225000   192.168.42.65         91.189.95.36          HTTP     220 
   GET /changelogs/main/p/pyyaml/pyyaml_3.11-1ubuntu0.1_changelog HTTP/1.1
    891 30.048039000   91.189.95.36          192.168.42.65         HTTP     592 
   HTTP/1.1 404 Not Found  (text/html)
    957 39.885594000   192.168.42.65         91.189.95.36          HTTP     241 
   GET /changelogs/pool/main/p/pyyaml/pyyaml_3.11-1ubuntu0.1/changelog HTTP/1.1
    965 40.095237000   91.189.95.36          192.168.42.65         HTTP     
3538   HTTP/1.1 200 OK  (text/plain)


(first half is `aptitude changelog`, second half is `apt-get changelog`)


Looking through the Debian -> Ubuntu patches for 0.6.8 vs 0.6.11, the
lines

--- a/src/generic/apt/pkg_changelog.cc
+++ b/src/generic/apt/pkg_changelog.cc
@@ -545,7 +545,7 @@
 
               // WATCH: apt/cmdline/apt-get.cc(DownloadChangelog)
               string server = aptcfg->Find("APT::Changelogs::Server",
-                                           
"http://packages.debian.org/changelogs";);
+                                           
"http://changelogs.ubuntu.com/changelogs";);
              string path = cw::util::ssprintf("pool/%s/%s/%s/%s_%s",
                                              realsection.c_str(),
                                              prefix.c_str(),


got changed to

--- aptitude-0.6.11.orig/src/generic/apt/pkg_changelog.cc
+++ aptitude-0.6.11/src/generic/apt/pkg_changelog.cc
@@ -545,7 +545,7 @@ namespace aptitude

               // WATCH: apt/cmdline/apt-get.cc(DownloadChangelog)
               string server = aptcfg->Find("APT::Changelogs::Server",
-                                           
"http://metadata.ftp-master.debian.org/changelogs";);
+                                           
"http://changelogs.ubuntu.com/changelogs/pool";);
              string path = cw::util::ssprintf("%s/%s/%s/%s_%s",
                                              realsection.c_str(),
                                              prefix.c_str(),


Apparently the new patch doesn't work?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1383789

Title:
  Change logs are no longer found

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/1383789/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to