bool TryInstallTask(pkgDepCache &Cache, pkgProblemResolver &Fix,
bool BrokenFix,
unsigned int& ExpectedInst,
- const char *taskname)
+ const char *taskname,
+ bool Remove)
{
const char *start, *end;
pkgCache::PkgIterator Pkg;
buf[end-start] = 0x0;
if (regexec(&Pattern,buf,0,0,0) != 0)
continue;
- res &= TryToInstall(Pkg,Cache,Fix,false,true,ExpectedInst);
+ res &= TryToInstall(Pkg,Cache,Fix,Remove,true,ExpectedInst);
found = true;
}
// tasks must always be confirmed
ExpectedInst += 1000;
// see if we can install it
- TryInstallTask(Cache, Fix, BrokenFix, ExpectedInst, S);
+ TryInstallTask(Cache, Fix, BrokenFix, ExpectedInst, S, Remove);
continue;
}
* cmdline/apt-get.cc:
- fix in the task-install code regexp (thanks to Adam Conrad and
Colin Watson)
+ - support task removal too: apt-get remove taskname^
+ (thanks to Matt Zimmerman reporting this problem)
+ * merged from Christian Perrier (thanks!)
+ * eu.po: completed to 532t. Closes: #423766
+ * Update all PO and the POT. Gives 529t3f for formerly
+ complete translations
+ * Unfuzzy formerly complete translations (es, fr, gl, vi)
+ * es.po: completed to 532t, again. Closes: #429935
+ * vi.po: completed to 532t, again. Closes: #429899
[Otavio Salvador]
* Fix a typo on 0.7.3 changelog entry about g++ (7.3 to 4.3)