Mailinglist Archive: zypp-devel (24 mails)
| < Previous | Next > |
Re: [zypp-devel] selecting only a subset of rpms from a repo?
- From: Jan Kupec <jkupec@xxxxxxx>
- Date: Tue, 07 Apr 2009 11:06:35 +0200
- Message-id: <49DB179B.2020109@xxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Josef Reidinger wrote:
This is just a workaround. To keep the system up to date this way, you
would need to 'zypper up' + 'zypper in all-these-special-rpms'. The goal
is to do this with just 'up' (add the repo with the package, but tell
zypp to consider only that package (and deps) for update from that repo
- - so that 'zypper up' does not update also other unwanted packages from
that repo).
- --
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)---
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iEYEARECAAYFAknbF5oACgkQgEhGpmN+6QGq0ACfcPrDs3aZ7p3O79T0GFf065T9
ekwAnjoU7Put0uT9TWEB68QS/nkjffFF
=gvkP
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
Hash: SHA1
Josef Reidinger wrote:
PGNet wrote:
is it possible to set up -- and then limit/filter -- a repo so as to
only upgrade a single file, or subset of files?
e.g., atm i'd like to update to:
http://download.opensuse.org/update/11.1-test/rpm/x86_64/module-init-tools-3.4-56.10.1.x86_64.rpm
there are _other_ files in that repo, that i do _not_ want.
i can, of course, "rpm -Uvh ...." the rpm, then exclude the file in
zypper's lock file from being overwritten by other repos, but that
doesn't "track" _updates_ in 11.1-test/rpm/...; rather it just "keeps"
the installed version.
i'm likely missing the obvious solution .... any hints?
thanks.
I try simple zypper in with one rpm for specific test update and update
only wanted file. I think this is what you want. (It also download any
dependencies from another repositories, as this plain rpm contain only
this one).
zypper in
http://download.opensuse.org/update/11.1-test/rpm/x86_64/module-init-tools-3.4-56.10.1.x86_64.rpm
Retrieving repository 'openSUSE-11.1-Update' metadata [done]
Building repository 'openSUSE-11.1-Update' cache [done]
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following package is going to be upgraded:
module-init-tools
Overall download size: 135.0 K. No additional space will be used or
freed after the operation.
Continue? [YES/no]: yes
Retrieving package module-init-tools-3.4-56.10.1.x86_64 (1/1), 135.0 K
(512.0 K unpacked)
Installing: module-init-tools-3.4-56.10.1 [done]
This is just a workaround. To keep the system up to date this way, you
would need to 'zypper up' + 'zypper in all-these-special-rpms'. The goal
is to do this with just 'up' (add the repo with the package, but tell
zypp to consider only that package (and deps) for update from that repo
- - so that 'zypper up' does not update also other unwanted packages from
that repo).
- --
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)---
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iEYEARECAAYFAknbF5oACgkQgEhGpmN+6QGq0ACfcPrDs3aZ7p3O79T0GFf065T9
ekwAnjoU7Put0uT9TWEB68QS/nkjffFF
=gvkP
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |