]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-mark.cc
merge indexRecords into metaIndex
[apt.git] / cmdline / apt-mark.cc
index de1c80309c8ef50afb284a303a4ff2be3475f152..02c73fc2e4a04a73245ea8db6cf2997bde664f8a 100644 (file)
@@ -238,7 +238,7 @@ static bool DoHold(CommandLine &CmdL)
            ioprintf(c1out,_("%s was already set on hold.\n"), Pkg.FullName(true).c_str());
         else
            ioprintf(c1out,_("%s was already not hold.\n"), Pkg.FullName(true).c_str());
-        Pkg = pkgset.erase(Pkg, true);
+        Pkg = pkgset.erase(Pkg);
       }
       else
         ++Pkg;