Apt-repo

Материал из ALT Linux Wiki


apt-repo -- Script for manipulation APT repository list

Документация

NAME
       apt-repo -- Manipulate APT repository list

SYNOPSIS
        apt-repo> [list] [-a]
        apt-repo> add [APT|URL|branch|task] [name or component]
        apt-repo> rm [APT|URL|branch|task] [name or component]
        apt-repo> update

DESCRIPTION
       The apt-repo script allow to show, add and remove APT repositories specified by address in sources.list(5) 
       format, URL with optional component, branch name or task number.

OPTIONS
       list
           Show active repositories in sources.list(5) format. If -a is specified all available repositories are 
           displayed (inactive are commended by `#`).

       add Add repository to list of active repositories.

       rm  Remove or comment active repository.

       update
           Run "apt-get update" to update APT cache from active repositories.

       -h, --help
           Print usage information and quit.

       -v, --version
           Print version and quit.

EXAMPLES
       Add p5 branch:

         apt-repo add branch p5

       Add repository specified in sources.list(5) format:

         apt-repo add 'rpm http://git.altlinux.org/repo/39115/ i586 task'

       Add task repository:

         apt-repo add task 39115

       Remove task repository:

         apt-repo rm task 39115

SEE ALSO
       sources.list(5), apt-cache(8), apt-get(5).

AUTHORS
        Andrey Cherepanov E<lt>cas@altlinux.orgE<gt>

COPYRIGHT AND LICENSE
       Copyright 2011 by Andrey Cherepanov <cas@altlinux.org>

       This software is distributed under the GNU General Public License (GPL) version 3 or later.

Скачать

http://git.altlinux.org/people/cas/packages/apt-repo.git