[Bug 1383789] Re: Change logs are no longer found
Calvin Li
1383789 at bugs.launchpad.net
Tue Jan 13 09:52:52 UTC 2015
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
Foundations Bugs, which is subscribed to aptitude in Ubuntu.
https://bugs.launchpad.net/bugs/1383789
Title:
Change logs are no longer found
Status in aptitude package in Ubuntu:
Confirmed
Bug description:
The key stroke "C" is supposed to display the latest change log. This
no longer happens.
An error message of "Failed to download the change log of [package] :
404 Not found" is displayed.
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: aptitude 0.6.11-1ubuntu2
ProcVersionSignature: Ubuntu 3.16.0-23.30-generic 3.16.4
Uname: Linux 3.16.0-23-generic x86_64
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
Date: Tue Oct 21 16:48:58 2014
InstallationDate: Installed on 2014-03-09 (226 days ago)
InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140305)
ProcEnviron:
LANGUAGE=en_GB:en
TERM=screen-256color
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: aptitude
UpgradeStatus: Upgraded to utopic on 2014-10-08 (13 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/1383789/+subscriptions
More information about the foundations-bugs
mailing list