Mailinglist Archive: zypp-devel (83 mails)
| < Previous | Next > |
[zypp-devel] Re: addRequire("foo", ResKind::patch) not working?
- From: Michael Andres <ma@xxxxxxx>
- Date: Wed, 4 Jun 2008 16:14:57 +0200
- Message-id: <20080604141457.GA7821@xxxxxxx>
On Wed, Jun 04, Jan Kupec wrote:
IMO they should. You can
cd /var/cache/zypp/solv/<alias of the repo>
dumpsolv solv | less
-then search to '^name: patch:grep'
-below you find the 'provides:'
What's the repo you're using?
yes.
setTransact sets the transact bit, causing an uninstalled item to be
installed, or an installed item to be removed.
setToBeInstalled sets the transact bit only if it is an uninstalled item,
and returns false for installed items.
bool setToBeInstalled (TransactByValue causer)
{
if (isInstalled()) return false;
return setTransact (true, causer);
}
--
cu,
Michael Andres
+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres YaST Development ma@xxxxxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
I think it worked before. And it works with patterns and products. AND it
seems to be alright also in deptestomatic (but i don't know how does
deptestomatic add such requirement).
Any idea? I'm quite clueless. Don't the patches provide themselves in our
pool? Should i use
IMO they should. You can
cd /var/cache/zypp/solv/<alias of the repo>
dumpsolv solv | less
-then search to '^name: patch:grep'
-below you find the 'provides:'
What's the repo you're using?
poolitem.status().setToBeInstalled(zypp::ResStatus::USER) for patches? But
if it addRequries() works for patterns (and newly also for srcpackages), it
should also for patches.
yes.
BTW: what is the difference between setToBeInstalled and setTransact()?
setTransact sets the transact bit, causing an uninstalled item to be
installed, or an installed item to be removed.
setToBeInstalled sets the transact bit only if it is an uninstalled item,
and returns false for installed items.
bool setToBeInstalled (TransactByValue causer)
{
if (isInstalled()) return false;
return setTransact (true, causer);
}
--
cu,
Michael Andres
+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres YaST Development ma@xxxxxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |