Mailinglist Archive: zypp-devel (83 mails)
| < Previous | Next > |
Re: [zypp-devel] syncing zypper lu -t package and up -t package
- From: Klaus Kaempf <kkaempf@xxxxxxx>
- Date: Tue, 3 Jun 2008 16:45:17 +0200
- Message-id: <20080603144517.GA8629@xxxxxxxxxxxxx>
* Jan Kupec <jkupec@xxxxxxx> [Jun 03. 2008 16:00]:
Please don't.
The difference is right and should be shown. I agree, the current
output is puzzling and might need some additional explanation.
Actually, there are three different views on available updates
1) Any update for installed packages
This is (according to my current understanding) the 'lu -t package'
output. It just takes the individual package into account.
2) Installable update for installed packages
This should limit the list from 1) above to actually installable
updates. Each such update is still looked at individually.
3) Complete update
This is (according to my current understanding) the 'up -t package'
output. This is a further reduction to the list from 2), taking the
complete transaction into account.
Klaus
---
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
'zypper lu -t package' currently lists all packages for which there is a
newer version available, regardless whether it installable or not.
OTOH, 'zypper up -t package' uses solver's doUpdate().
The results are quite different. E.g. on my workstation i currently get
2000+ packages with 'lu' while 'up' wants to upgrade only around 50.
I'd like to fix this for 11.0 and there are basically two ways:
Please don't.
1) fix 'lu' to display what doUpdate() proposes
2) fix 'up' to install what 'lu' currently proposes (don't use
doUpdate())
I would like to do 2) but i wonder why doUpdate() yields soooo different
results than simple checking for newer version (doUpgrade() yields much
saner number). It's clear that it is not the same, but it should not be
_that_ different, too.
If this is caused by some easily fixable bug, i'd go for 2), otherwise i'd
do 1). What do you think?
The difference is right and should be shown. I agree, the current
output is puzzling and might need some additional explanation.
Actually, there are three different views on available updates
1) Any update for installed packages
This is (according to my current understanding) the 'lu -t package'
output. It just takes the individual package into account.
2) Installable update for installed packages
This should limit the list from 1) above to actually installable
updates. Each such update is still looked at individually.
3) Complete update
This is (according to my current understanding) the 'up -t package'
output. This is a further reduction to the list from 2), taking the
complete transaction into account.
Klaus
---
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |