Mailinglist Archive: opensuse-factory (533 mails)

< Previous Next >
[opensuse-factory] [ANNOUNCE] zypper-1.4.2 - rewritten package selection, please report any regressions
  • From: Jano Kupec <jkupec@xxxxxxx>
  • Date: Mon, 19 Apr 2010 10:08:49 +0200
  • Message-id: <4BCC0F91.50301@xxxxxxx>
Hi all,

zypper has undergone a major refactoring of its package selection code
recently. This was mainly to enable automatic testing and to make it
easier and safer to add new features.

I'll submit zypper 1.4.2 including this change to Factory soon. It seems
to work fine for the most part, but if you spot something that used to
work for you in 1.4.1, please let us know via bugzilla. Don't forget to
attach both zypper.log and solver test case [1].



The new version already enables use of unified package arguments (in
install, update, and remove commands) in the form of:

[+/-][repo:][type:]name[.arch][OPevr[.arch]]

+/- (or ~|!) ; install/remove modifier
repo = ; repo alias, number, or name
type = patch|pattern|product ; if not specified 'package' isimplied
name ; can even be a glob
OP = -|=|>=|<=|>|< ; version operator
evr = [epoch:]version[-release] ; edition (version)

E.g.
$ zypper in packman:xine-ui-0.99.5cvs20091115-0.pm.1.4

(don't forget to quote the args, if they contain ?/*/</> or spaces)

More about all this later ...



There is still some work to do to fully support this (especially don't
try foo.arch :O), but the main focus now is to make sure that all that
used to work before works also now. For future plans see [2] and
comments at [3]. Don't hesitate to send feedback to or discuss this
stuff on zypp-devel@xxxxxxxxxxxxx

[1] http://en.opensuse.org/Zypper/Troubleshooting#Solver_Test_Case
[2] http://en.opensuse.org/Zypper/Roadmap
[3]
http://gitorious.org/opensuse/zypper/blobs/master/tests/SolverRequester_test.cc

--
cheers,
jano


Ján Kupec
YaST team
---------------------------------------------------------(PGP)---
Key ID: 637EE901
Fingerprint: 93B9 C79B 2D20 51C3 800B E09B 8048 46A6 637E E901
---------------------------------------------------------(IRC)---
Server: irc.freenode.net
Nick: jniq
Channels: #zypp #yast #suse #susecz
---------------------------------------------------------(EOF)---

< Previous Next >
This Thread
  • No further messages