Mailinglist Archive: opensuse-softwaremgmt (3 mails)
| < Previous | Next > |
[softwaremgmt] rypper - extension for managing multiple repositories via zypper
- From: Adam Spiers <aspiers@xxxxxxxxxx>
- Date: Sun, 16 Aug 2009 23:52:34 +0100
- Message-id: <20090816225234.GA31242@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Hi all,
Such is the value of the openSUSE Build Service from my perspective
that I now have over 40 repositories registered on my main SUSE
machine! I found that zypper was slightly awkward for managing this
number of repositories, so I found a few hours of spare time to knock
up the following; hope it's of use to somebody. Patches welcome!
http://adamspiers.org/computing/rypper
Here is an extract from the documentation for those reading this
offline on their Blackberries :-)
=head1 NAME
rypper - extension for managing multiple repositories via zypper
=head1 SYNOPSIS
# See complete usage documentation
rypper --help
# list all disabled repos
rypper -d
# list all enabled repos with autorefresh off
rypper -e -R
# list all repos which have anything to do with KDE
rypper -x kde
# list priority and URIs for all repos whose alias contains 'home:'
rypper -a home: l -pu
# enable autorefresh on all OpenSUSE Build Service repos
rypper -u download.opensuse.org -R mr -r
# remove all repos on external USB HDD mounted on /media/disk
rypper -u /media/disk rr
=head1 DESCRIPTION
rypper is a wrapper around zypper for performing repository
operations in batch. It allows selection of which
repositories to operate on via a number of different
repository selection specifiers.
The zypper commands which can be wrapped are:
removerepo, rr Remove specified repository.
modifyrepo, mr Modify specified repository.
refresh, ref Refresh all repositories.
clean Clean local caches.
Additionally, the zypper pseudo-command 'l' can be used to
list matching repos. There are a number of options
controlling the output format; run C<rypper --help> for
details.
If no zypper command is provided, it defaults to the 'l'
pseudo-command, trying to intelligently choose which fields to
display, e.g. omitting any which were included in the repo
selection parameters.
--
To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-softwaremgmt+help@xxxxxxxxxxxx
Such is the value of the openSUSE Build Service from my perspective
that I now have over 40 repositories registered on my main SUSE
machine! I found that zypper was slightly awkward for managing this
number of repositories, so I found a few hours of spare time to knock
up the following; hope it's of use to somebody. Patches welcome!
http://adamspiers.org/computing/rypper
Here is an extract from the documentation for those reading this
offline on their Blackberries :-)
=head1 NAME
rypper - extension for managing multiple repositories via zypper
=head1 SYNOPSIS
# See complete usage documentation
rypper --help
# list all disabled repos
rypper -d
# list all enabled repos with autorefresh off
rypper -e -R
# list all repos which have anything to do with KDE
rypper -x kde
# list priority and URIs for all repos whose alias contains 'home:'
rypper -a home: l -pu
# enable autorefresh on all OpenSUSE Build Service repos
rypper -u download.opensuse.org -R mr -r
# remove all repos on external USB HDD mounted on /media/disk
rypper -u /media/disk rr
=head1 DESCRIPTION
rypper is a wrapper around zypper for performing repository
operations in batch. It allows selection of which
repositories to operate on via a number of different
repository selection specifiers.
The zypper commands which can be wrapped are:
removerepo, rr Remove specified repository.
modifyrepo, mr Modify specified repository.
refresh, ref Refresh all repositories.
clean Clean local caches.
Additionally, the zypper pseudo-command 'l' can be used to
list matching repos. There are a number of options
controlling the output format; run C<rypper --help> for
details.
If no zypper command is provided, it defaults to the 'l'
pseudo-command, trying to intelligently choose which fields to
display, e.g. omitting any which were included in the repo
selection parameters.
--
To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-softwaremgmt+help@xxxxxxxxxxxx
| < Previous | Next > |