carta
grip-overridereplace.pl(1)

grip-overridereplace.pl1

Refresh a package to enact an override

Usage

grip-overridereplace.pl {-s | --suite STRING -b | --base-path PATH [{-c | --component COMPONENT}] [--grip-name STRING] BINARIES ...}

grip-overridereplace.pl {-? | -h | --help | --version}

Commands: {-s | --suite STRING: Name of the distribution to override [required] -b | --base-path PATH: path to the top level repository directory [required] -? | -h | --help | --version: print this help message and exit}

Overview

Overrides need to be updated from time to time so this script provides a way to implement overrides restrospectively.

Section / component overrides are read from the filter repository Packages file - use the "--component" option to set other values. If the component has not been configured in reprepro, "main" is used instead.

Override usage with reprepro

Sections are not particularly reliable and may disappear completely in future releases of Debian. Some packages are in the wrong sections and will cause problems for users if left unchanged. One example is "xulrunner-1.9" which is an important dependency of iceweasel (the Debian flavour of Firefox) but xulrunner-1.9 is "Section: devel" for an unknown reason. To prevent the need for every Grip user to need the "dev" repository to get a working web browser, an override is set in the reprepro configuration. (See reprepro (1)).

Add the name of the override file to the distribution by editing conf/distributions:

 Origin: Debian
 Label: EmdebianGrip
 Suite: unstable
 Codename: sid
 ...
 DebOverride: override.sid.main

In the override file, set a more usable Section:

 xulrunner-1.9 Section web
 geany Section editors

It's worth setting a real Section (rather than assuming "main") in case that component is added at a later date.

grip-overridereplace.pl will then use that override to allow the package to be moved back from "dev" into "main" and reprepro will use the override file for future updates.

History

  • Debian 7 (Wheezy): the text shown here
  • Debian 6.0 (Squeeze)

From emdebian-grip-server 3.0.7 in Debian 7 (Wheezy). Parsed by carta from the page's man source.