apt-repo - Script for manipulation APT repository list

Distribution: ALT Linux Sisyphus
Repository: Classic noarch
Package name: apt-repo
Package version: 1.3.9
Package release: alt1
Package architecture: noarch
Package type: rpm
Installed size: 20.20 KB
Download size: 20.20 KB
Official Mirror: ftp.altlinux.org
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.



  • /usr/bin/perl
  • apt
  • curl
  • rpmlib(PayloadIsLzma)


  • apt-repo = 1.3.9-alt1


    Install Howto

    1. Add the following line to /etc/apt/sources.list:
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus noarch classic
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus noarch classic
    2. Update the package index:
      # sudo apt-get update
    3. Install apt-repo rpm package:
      # sudo apt-get install apt-repo


    • /usr/bin/apt-repo
    • /usr/share/doc/apt-repo-1.3.9/TODO
    • /usr/share/man/man8/apt-repo.8.xz


    2017-02-28 - Andrey Cherepanov <cas@altlinux.org> 1.3.9-alt1 - Add braches c8 and altlinuxclub.p8

    2016-10-11 - Ivan Zakharyaschev <imz@altlinux.org> 1.3.8-alt1 - apt-repo test: do not confuse "remote" package names with local dirs/files

    2016-06-08 - Andrey Cherepanov <cas@altlinux.org> 1.3.7-alt1 - Support https://www.altlinux.org/Autoimports sources

    2016-06-06 - Andrey Cherepanov <cas@altlinux.org> 1.3.6-alt1 - Fix process writing to file with permission denied

    2016-05-09 - Ivan Zakharyaschev <imz@altlinux.org> 1.3.5-alt1 - handle both cases without arepo: none (noarch) or empty (ALT #31577). - "apt-repo test [task] '' pkg1 ..." will install the packages without modifying APT repos. (With --hsh-apt-config, this feature is useful to do an install check for a package in a minimal system.)

    2016-05-09 - Ivan Zakharyaschev <imz@altlinux.org> 1.3.4-alt1 - task_has_arepo(): check whether plan/arepo-add-x86_64-i586 is not empty (ALT #31577). - get rid of NO_TASK_AREPO_HACK environment variable (now, as task_has_arepo should work correctly).

    2016-05-04 - Andrey Cherepanov <cas@altlinux.org> 1.3.3-alt1 - Fix remove all branches or tasks

    2016-05-01 - Andrey Cherepanov <cas@altlinux.org> 1.3.2-alt1 - Fix enexpected warning (ALT #32045)

    2016-04-29 - Andrey Cherepanov <cas@altlinux.org> 1.3.1-alt1 - Remove arepo task source even for removed task - Fix check length of tested package list

    2016-04-25 - Andrey Cherepanov <cas@altlinux.org> 1.3.0-alt1 - Add p8 branch (ALT #32006) - Add support for altlinuxclub sources - Add arepo repo for task only if it exists (ALT #31577) - Use new format of source (ALT #31974) - Optional package name(s) support in apt-repo test - Remove duplicate package names in task list - Do not use strict extension for compessed man page