Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-11-18 | bin/find_dpkg_trigger_cycles.sh: update for Debian Stretch | Johannes 'josch' Schauer | 1 | -16/+44 | |
- Update from apt-file 2 to apt-file 3 - the --cache and --sources-list are replaced by --config-file - "apt-file update" is replaced by "apt update" - apt config gains Acquire::IndexTargets section - Make use of features of more recent apt version - use sources.list in deb822 format - instead of relying on an uncompressed Packages file with a fixed pattern in /var/lib/apt/lists/, use "apt-get indextargets" in connection with "apt-helper cat-file" Interface change: Before, the script allowed either a suite name or codename to specify the Debian release to check. Now, the script is limited to the codename (jessie, stretch, buster, ...). The reason is, that we want to make sure to grab the right Packages file using "apt-get indextargets" and for that we need to specify the suite or the codename. To avoid having to implement a mapping mechanism, the script now is limited to working with codenames. Signed-off-by: Holger Levsen <holger@layer-acht.org> | |||||
2017-03-31 | bin/find_dpkg_trigger_cycles.sh: ignore dependencies on Essential:yes packages | Johannes 'josch' Schauer | 1 | -3/+12 | |
The implicit dependencies of all binary packages on all Essential:yes packages cannot result in a trigger cycle for two reasons: 1. Policy §3.8 says "Since dpkg will not prevent upgrading of other packages while an `essential' package is in an unconfigured state" which implies that because triggers check the possibility to process or not triggers based on normal dpkg dependency resolution, then essential does not apply. 2. The trigger documentation in /usr/share/doc/dpkg-dev/triggers.txt.gz does not mention Essential at all and when talking about dependency satisfiability it only refers to Depends field. Signed-off-by: Mattia Rizzolo <mattia@debian.org> | |||||
2016-12-20 | add newlines to improve readability | Holger Levsen | 1 | -0/+2 | |
Signed-off-by: Holger Levsen <holger@layer-acht.org> | |||||
2016-12-20 | improve language: s#fitting#certain#g | Holger Levsen | 1 | -2/+2 | |
Signed-off-by: Holger Levsen <holger@layer-acht.org> | |||||
2016-12-20 | bin/find_dpkg_trigger_cycles.sh: Also point to ↵ | Johannes 'josch' Schauer | 1 | -2/+6 | |
/usr/share/doc/dpkg-dev/triggers.txt.gz Signed-off-by: Holger Levsen <holger@layer-acht.org> | |||||
2016-12-20 | bin/find_dpkg_trigger_cycles.sh: Add solution to trigger cycle problems | Johannes 'josch' Schauer | 1 | -0/+8 | |
Signed-off-by: Holger Levsen <holger@layer-acht.org> | |||||
2016-12-20 | bin/find_dpkg_trigger_cycles.sh: improve help text | Johannes 'josch' Schauer | 1 | -24/+44 | |
Signed-off-by: Holger Levsen <holger@layer-acht.org> | |||||
2016-02-11 | bin/find_dpkg_trigger_cycles.sh: improve curl error reporting | Johannes 'josch' Schauer | 1 | -1/+3 | |
2016-02-11 | bin/find_dpkg_trigger_cycles.sh: add comment to explain curl usage in pipeline | Johannes 'josch' Schauer | 1 | -0/+9 | |
2016-02-11 | bin/find_dpkg_trigger_cycles.sh: fix output format | Johannes 'josch' Schauer | 1 | -1/+1 | |
2016-02-10 | bin/find_dpkg_trigger_cycles.sh: do not use 'apt-get download --print-uris' ↵ | Johannes 'josch' Schauer | 1 | -3/+8 | |
because that will fail if only one package on the command line is not known to apt which can easily happen in unstable | |||||
2015-12-16 | always use mktemp with '-t -XXXX' | Holger Levsen | 1 | -1/+1 | |
2015-09-16 | use exec to start abort.sh to invoke it from within the current job run | Holger Levsen | 1 | -1/+1 | |
2015-08-02 | abort job if the input aint right | Holger Levsen | 1 | -1/+1 | |
2015-06-17 | bin/find_dpkg_trigger_cycles.sh: fix serious bug that resulted in no results ↵ | josch | 1 | -4/+8 | |
being produced | |||||
2015-04-24 | bin/find_dpkg_trigger_cycles.sh: make work with set -e | josch | 1 | -5/+7 | |
- curl is allowed to exit with status 0 or 23 - grep is not allowed to exit with exit status 2 | |||||
2015-04-24 | find_dpkg_trigger_cycles.sh: use APT_CONFIG environment variable instead of ↵ | josch | 1 | -9/+16 | |
commandline option - using commandline options does not work reliably because commandline options are parsed last and thus many settings will not take effect - see apt.conf(5) for the order in which configuration file parameters are parsed by apt | |||||
2015-04-22 | also retry 3 times | Holger Levsen | 1 | -2/+2 | |
2015-04-22 | bin/find_dpkg_trigger_cycles.sh: set -o pipefail and set -e | josch | 1 | -0/+4 | |
2015-03-28 | find_dpkg_trigger_cycles: store all temp files in ↵ | josch | 1 | -1/+7 | |
/tmp.dpkg_trigger_cycles.XXXXXXXXXX and remove using a trap on EXIT | |||||
2015-02-16 | remove FIXME, this is nothing to be fixed... | Holger Levsen | 1 | -2/+0 | |
2015-02-07 | bin/find_dpkg_trigger_cycles.sh: wait 10 seconds before retry | josch | 1 | -1/+1 | |
2015-02-07 | bin/find_dpkg_trigger_cycles.sh: print curl exit code and exit after failure | josch | 1 | -1/+1 | |
2015-02-03 | bin/find_dpkg_trigger_cycles.sh: print error if curl fails | josch | 1 | -1/+1 | |
2015-01-28 | bin/find_dpkg_trigger_cycles.sh: make sure the activated path is either ↵ | josch | 1 | -1/+1 | |
followed by a slash or the line end | |||||
2015-01-07 | bin/find_dpkg_trigger_cycles.sh: modify regex to also match on empty ↵ | josch | 1 | -1/+1 | |
directories as these also activate file triggers | |||||
2015-01-05 | bin/find_dpkg_trigger_cycles.sh: disable curl globbing | josch | 1 | -1/+1 | |
2015-01-05 | bin/find_dpkg_trigger_cycles.sh: store result and temporary files in suite ↵ | josch | 1 | -30/+30 | |
specific directory | |||||
2015-01-05 | bin/find_dpkg_trigger_cycles.sh: support new binarycontrol.d.n layout | josch | 1 | -1/+1 | |
2015-01-04 | bin/find_dpkg_trigger_cycles.sh: wc output the filename if it's not given on ↵ | josch | 1 | -2/+2 | |
stdin (round #2) | |||||
2015-01-04 | bin/find_dpkg_trigger_cycles.sh: wc output the filename if it's not given on ↵ | josch | 1 | -4/+4 | |
stdin | |||||
2015-01-04 | bin/find_dpkg_trigger_cycles.sh: do integer, not string comparison | josch | 1 | -4/+4 | |
2015-01-04 | bin/find_dpkg_trigger_cycles.sh: pimp the output with a summary | josch | 1 | -21/+49 | |
2015-01-04 | bin/find_dpkg_trigger_cycles.sh: trigger -> trigger cycle | josch | 1 | -2/+2 | |
2015-01-04 | bin/find_dpkg_trigger_cycles.sh: cat result-file result-explicit | josch | 1 | -1/+24 | |
2015-01-03 | disable debugging | Holger Levsen | 1 | -1/+1 | |
2015-01-03 | enable debugging | Holger Levsen | 1 | -1/+1 | |
2015-01-01 | find_dpkg_trigger_cycles: prepare for being run inside a jessie chroot | josch | 1 | -3/+1 | |
- drop python-arpy hack | |||||
2014-12-26 | bin/find_dpkg_trigger_cycles.sh: make temporary directory, not file | josch | 1 | -1/+1 | |
2014-12-26 | bin/dpkg_sid_find_trigger_cycles - use temporary directory | josch | 1 | -9/+9 | |
2014-12-25 | add FIXME entry so we dont forget | Holger Levsen | 1 | -0/+2 | |
2014-12-25 | Temporary ugly hack until Jenkins runs Debian Jessie | josch | 1 | -1/+1 | |
- workaround for `dpkg-deb --ctrl-tarfile /dev/stdin` not being available in Wheezy - Python arpy was the only implementation I found which allows to read an ar archive from standard input without a filename (thus preserving the ability to quit a package download early) - since tar cannot transparently decompress content from standard input (bug #773912), this has to be done in Python, too - this is also ugly because Python does not work well for oneliners - please revert this commit as soon as Jenkins run Jessie because dpkg is also faster than Python arpy | |||||
2014-12-16 | find_dpkg_trigger_cycles.sh: force bash, common-functions.sh needs it | Holger Levsen | 1 | -1/+1 | |
2014-12-16 | find_dpkg_trigger_cycles: update included README | Holger Levsen | 1 | -3/+3 | |
2014-12-16 | find_dpkg_trigger_cycles.sh: use bin/common-functions.sh and common variables | Holger Levsen | 1 | -4/+4 | |
2014-12-16 | move setup.sh to bin/find_dpkg_trigger_cycles.sh | Holger Levsen | 1 | -0/+243 | |