Mailinglist Archive: zypp-devel (230 mails)

< Previous Next >
[zypp-devel] Re: status
  • From: Michael Matz <matz@xxxxxxx>
  • Date: Thu, 7 Feb 2008 05:22:35 +0100 (CET)
  • Message-id: <Pine.LNX.4.64.0802070515252.20583@xxxxxxxxxxxxx>
Hi,

On Wed, 6 Feb 2008, Duncan Mac-Vicar Prett wrote:

so only having the attribute medafile in the solv file while commit, is
what we need to install a package (unless other minor bug appears)

I've implemented this. "zypper in" indeed downloads the correct rpm now.
For now this works only with susetags repos. The difficulty is, that the
medialocation is actually a path like 'i586/bash-1.2.3.i586.rpm', whereas
the real location is below some datadir. Only the repo itself knows their
data dirs (for susetags it's often "suse/" but can actually be specified
in the content file, for rpmmd it's often "rpm/").

That needs some hackery in whoever looks at the OnMediaLocation to provide
the file. Maybe it requires storing this common datadir in the RepoInfo
objects.

For now I hardcoded prepending "suse/" to the location itself.

I noticed that "zypper in --debug-solver" is broken. All the
123-package.xml.gz files are incomplete (they stop in the middle of a
random XML element, after many megabytes were already written), so I can't
right now generate a testcase from a package installation try, which I
believe is broken. It downloads/installs the package I want but no
dependencies of it.


Ciao,
Michael.
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >