]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-get.cc
merged from debian-sid
[apt.git] / cmdline / apt-get.cc
index 845c92026b66602e3f9799e0b634451d23f823f8..cb2ec0a2b2b5e14b4abb0fe1a705204f61954b80 100644 (file)
@@ -3015,7 +3015,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                                /*{{{*/