Commit Graph

19 Commits

Author SHA1 Message Date
matze 3d7b31cbb4 __package_apt: fix complain about suite change
the last fix for ticket #861 :-)
2021-09-15 15:22:16 +02:00
matze 9fc6ee0948 __package_apt: add --install-recommends parameter
For a good reason, __package_apt doesn't install recommended packages as
default. But the option --install-recommends comes handy if you want to
install a package where you want to install all recommended packages
(and not to install all of them separately).

Also, the manpage now explains that the type won't install recommended
packages by default.
2020-11-08 13:19:46 +01:00
Dennis Camera ee71cad047 [type/__package_apt] Fix type for legacy APT versions
--no-install-recommends was introduced with Debian 5.
The APT::Install-Recommends option gets ignored by old versions and
produces no error.
2020-07-25 19:20:32 +02:00
ander 869a38676f __package_apt: add comment about package index update 2020-02-14 19:22:06 +02:00
ander b3bad9468d __package_apt: pkgcache.bin may not exist 2020-02-09 20:43:09 +02:00
ander 08d5814e2c __package_apt: update index cache, on installation, when it is older than one day 2020-02-09 20:37:06 +02:00
Jonas Weber 53728a7ff0 Change backslash-dquote to single quote
Slightly breaking change, but improves security and readability.
2018-10-04 19:45:26 +02:00
Jonas Weber b3f3b907a4 Quote aptget command and params, simplify explorer 2018-09-12 11:36:11 +02:00
Jonas Weber 346f1f8af3 Send messages when installing packages via __package_apt 2018-09-12 11:36:06 +02:00
Darko Poljak d6ff077156 __package_apt ignores --version parameter #615 2018-01-31 20:18:11 +01:00
Jonas Weber 3545d0157f Provide `--purge-if-absent` to __package_apt
Configuration files are not purged under Debian when the package
is deinstalled. If this parameter is given, they are deleted upon
package deinstallation.
2018-01-30 12:04:19 +01:00
Darko Poljak 62378dc8b9 Change shebang to #!/bin/sh -e 2017-06-28 13:19:32 +02:00
Antoine Catton 601346d482 DRY: Remove default parameter value handeling in __package_apt 2014-12-27 20:29:45 -07:00
Nico Schottelius dd562befc9 add support for --target-release for __package_apt
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
2014-11-25 23:00:17 +01:00
Ricardo Catalinas Jiménez 5cfe569369 Make __package_apt even more non-interactive 2014-10-05 15:59:27 +01:00
Nico Schottelius fe20da6594 note hint from Axel Beckert for debian prios
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-12-07 00:13:28 +01:00
Nico Schottelius 49c686319e add more exapmles to cdist-manifest
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-10-10 09:51:26 +09:00
Nico Schottelius 9b2d630807 do not install recommends by default
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-10-09 21:47:37 +09:00
Nico Schottelius 63573a9797 make package_data work
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-29 22:50:27 +01:00