]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-get.cc
* merged from the debian-sid bzr branch
[apt.git] / cmdline / apt-get.cc
index e2d9bb7d48d352e47e46ef5abfcb85bda6c5ae8a..3821b5d4cecfafd2baf5b45d5885a12823559916 100644 (file)
@@ -2999,7 +2999,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                                /*{{{*/