https://bugzilla.novell.com/show_bug.cgi?id=421588
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421588#c1
Ján Kupec changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zypp-maintainers@forge.provo.novell.com
Status|ASSIGNED |NEEDINFO
Info Provider| |schubi@novell.com
Priority|P4 - Low |P2 - High
--- Comment #1 from Ján Kupec 2008-10-05 04:32:04 MDT ---
No, --force should only trigger installation of a package even if it is alread
installed.
I guess this became broken when we switched to sat solover, but i'm not sure.
'zypper in --force' uses:
PoolItem candidate = findCandidate(installed); // find better than the current
one
if (!candidate)
candidate = installed; // fall back to the installed one
if(!candidate.status().setToBeInstalled(zypp::ResStatus::USER))
candidate.status().setTransact(true, zypp::ResStatus::USER);
This worked before, but now it triggers removal of the installed object instead
of it's reinstallation.
Schubi, what API should i use to force the solver to install the package
despite it is already installed?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.