Change logs are no longer found

Bug #1383789 reported by Paul White on 2014-10-21
36
This bug affects 5 people
Affects Status Importance Assigned to Milestone
aptitude (Ubuntu)
Medium
Unassigned

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)

Related branches

Paul White (paulw2u) wrote :
Paul White (paulw2u) on 2014-10-21
tags: added: i386
zigi (ziegleka) on 2014-11-08
tags: added: vivid
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in aptitude (Ubuntu):
status: New → Confirmed
zigi (ziegleka) wrote :

Last working version 0.6.8.2-1ubuntu5

Changed in aptitude (Ubuntu):
importance: Undecided → Medium
Calvin Li (calvin-li-lt) wrote :

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?

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package aptitude - 0.6.11-1ubuntu3

---------------
aptitude (0.6.11-1ubuntu3) vivid; urgency=medium

  * Fix 04_changelog (LP: #1383789)
 -- Rico Tzschichholz <email address hidden> Mon, 09 Feb 2015 13:31:56 +0100

Changed in aptitude (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers