]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-get.cc
merged from debian-experimental
[apt.git] / cmdline / apt-get.cc
index ca1169401a7b488a0f8a3f3c01c959e51faae15b..c140d5f5c7ad5714ff2e5d84c4ab04d3dcd59dc9 100644 (file)
@@ -2456,7 +2456,7 @@ bool DoSource(CommandLine &CmdL)
                  Src.c_str(), vcs.c_str(), uri.c_str());
         if(vcs == "Bzr") 
            ioprintf(c1out,_("Please use:\n"
-                            "bzr get %s\n"
+                            "bzr branch %s\n"
                             "to retrieve the latest (possibly unreleased) "
                             "updates to the package.\n"),
                     uri.c_str());
@@ -3148,7 +3148,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                                /*{{{*/