* cmdline/apt-get.cc:
authorMichael Vogt <michael.vogt@ubuntu.com>
Tue, 13 Mar 2007 11:00:21 +0000 (12:00 +0100)
committerMichael Vogt <michael.vogt@ubuntu.com>
Tue, 13 Mar 2007 11:00:21 +0000 (12:00 +0100)
  - fix show-versions output

cmdline/apt-get.cc

index 9b6e36e..6c1b915 100644 (file)
@@ -1419,7 +1419,7 @@ bool DoAutomaticRemove(CacheFile &Cache)
               std::cout << "We could delete %s" <<  Pkg.Name() << std::endl;
           
         autoremovelist += string(Pkg.Name()) + " ";
-        autoremoveversions += string(Cache[Pkg].CandVersion) + " ";
+        autoremoveversions += string(Cache[Pkg].CandVersion) + "\n";
         if (doAutoRemove)
         {
            if(Pkg.CurrentVer() != 0 &&