]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-get.cc
merged from debian-experimental
[apt.git] / cmdline / apt-get.cc
index a81e829e896a14cc234c66e0e2edc32f3b6fa69b..0cc6c04fcf111803f358b26a7a5670c6f0172113 100644 (file)
@@ -3122,7 +3122,10 @@ bool DownloadChangelog(CacheFile &CacheFile, pkgAcquire &Fetcher,
       return true;
 
    // error
-   return _error->Error("changelog download failed");
+   pkgRecords Recs(CacheFile);
+   pkgRecords::Parser &rec=Recs.Lookup(Ver.FileList());
+   string srcpkg = rec.SourcePkg().empty() ? Pkg.Name() : rec.SourcePkg();
+   return _error->Error("changelog for this version is not (yet) available; try https://launchpad.net/ubuntu/+source/%s/+changelog", srcpkg.c_str());
 }
                                                                        /*}}}*/
 // DisplayFileInPager - Display File with pager                                /*{{{*/