Mailinglist Archive: zypp-devel (227 mails)
| < Previous | Next > |
Re: [zypp-devel] Updating packages
- From: Michael Andres <ma@xxxxxxx>
- Date: Tue, 1 Apr 2008 17:23:33 +0200
- Message-id: <20080401152333.GA16691@xxxxxxx>
On Tue, Apr 01, Lukas Ocilka wrote:
We will provide a generic interface that will allow you to create solver
requests like:
doUpdate( "foo" ); // one Solvable
for_each( c.begin(), c.end(), DoUpdate() ); // a collection
Schubi and I am about to get this going. This will replace the old
solver.solver.addRequires etc. interface.
--
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
Stefan Schubert napsal(a):
Klaus Kaempf schrieb:
----------------------------------Let me add
* Updates
- Provide a 'compute package updates' function (using sat-solver
'update_system' mode) in all zypp applications (qt, ncurses, gtk,
zypper).
Replacing the current loop-over-pool-finding-'newer'-packages
functionality.
Libzypp supports this now:
/**
* Update to the newest package
*
* Install the newest version of your installed packages as
* far as possible. This means a newer package will NOT be
* installed if it generates dependency problems.
* So the user will not get an error message.
*
**/
void doUpdate( );
Nice to have, thanks.
Nevertheless, is it able to limit the set of packages going to be
updated somehow? As we've been talking about it on this mailing-list
recently, users often want to:
* update only $add_your_favorite_repository_here packages
* update only the listed packages (and their dependencies)
* update all packages (maximum we can do)
Is that doUpdate function able to handle such requirements?
We will provide a generic interface that will allow you to create solver
requests like:
doUpdate( "foo" ); // one Solvable
for_each( c.begin(), c.end(), DoUpdate() ); // a collection
Schubi and I am about to get this going. This will replace the old
solver.solver.addRequires etc. interface.
--
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 > |