Mailinglist Archive: zypp-devel (57 mails)

< Previous Next >
[zypp-devel] zypper install foo.rpm now possible (+ rpm file cache zypper/zypp question)
  • From: Jan Kupec <jkupec@xxxxxxx>
  • Date: Mon, 14 Jan 2008 11:19:37 +0100
  • Message-id: <478B3739.1020303@xxxxxxx>
Hi,

i've just finished the support for installation of plain rpm files with
zypper (will submitted soon in zypper 0.9.5). It works like this: zypper
checks the arguments given to the install command and looks for rpm
files among them. If any rpms are found, they are downloaded into one
directory and the directory is temporarily added as a plaindir
repository. The rpms listed in arguments are ten installed by capability
name=version-release fetched from the rpm header. (i'll add more
detailed description to the man page soon).

example:
$ zypper install ~/downloads/foo.rpm http://some.site/path/to/bar.rpm

What i'm thinking about now is whether to use a TmpDir, a zypper
specific cache dir (e.g. /var/cache/zypper/RPMS) or the future libzypp's
rpm file cache dir (in which case the functionality should be provided
through libzypp's API together with signature checking, and other
security measures) to download the rpms into. Suggestions?

Cheers,

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

< Previous Next >
Follow Ups