Andreas K. Huettel posted on Sun, 24 Jul 2016 00:04:53 +0200 as excerpted: > 1) If a package only ever had one slot, it cannot ever have two versions > installed at the same time. That guarantee (of only ever one slot) can > be given for the portage tree (sic). Obviously it doesn't work for > overlays, > but there are many things we don't care about for overlays. [A]
This is incorrect. It arguably /might/ be correct if systems were guaranteed never to crash in the qmerge or old-version unmerge phases, but... the package manager must be able to deal with and recover from such crashes, and portage has done so for well over a decade, at least. (When I became a gentooer in 2004 I had faulty hardware, and the system would regularly crash during merges, sometimes repeatedly. When I rebooted, all I had to do was restart the merge, and portage could pick up the pieces and deal with it, even back then.) > 2) If a package manager leaves two versions of a non-slotted package > "installed" somehow, that package manager is fundamentally broken and > its author should forever refrain from specifying anything. It's not our > job to work around Paludis failure modes. [B] Not if it's the hardware that's broken, not the PM. A good PM must be able to recover from the crash, and sort things out from it on a second, or third or tenth, attempt to actually get the upgrade done, this time /without/ crashing part way thru. And broken ebuilds that can't deal with the situation don't help matters at all. =:^( -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman