apt-get-update-plus(8) -- secure combined apt-get update and apt-get command
=============================================
## SYNOPSIS
`apt-get-update-plus` `[option]s`
## Description
Runs two commands. One after another:
1) `/usr/lib/security-misc/apt-get-wrapper update`
2) `apt-get [option]s`
`/usr/lib/security-misc/apt-get-wrapper` would fail (exit non-zero) in case of
any apt sources are unavailable. In such cases `apt-get-update-plus` would
stop.
In other words, `apt-get [option]s` gets only run if the previously run
`apt-get update` was successsful.
No options are passed to `/usr/lib/security-misc/apt-get-wrapper`. Use
`apt_get_wrapper_pre` / `apt_get_wrapper_post` for that. In other words,
no options are passed to `apt-get update`.
All `[option]s` are passed to `apt-get`.
## Environment Variables
`apt_get_update_wrapper`
By setting apt_bin the user can use another program other than `/usr/lib/security-misc/apt-get-wrapper`.
`apt_get_wrapper_pre`
Parameters before apt_get_wrapper_pre.
`apt_get_wrapper_post`
Parameters after apt_get_wrapper_pre.
`apt_bin`
By setting apt_bin the uer could use another program other than apt-get.
`apt_get_pre`
Parameters before apt_bin.
`apt_get_post`
Parameters after apt_bin.
## Examples
sudo apt-get-update-plus dist-upgrade
sudo apt-get-update-plus install xfce4
sudo apt_bin=apt-get-noninteractive apt-get-update-plus dist-upgrade
sudo apt_bin=apt-get-noninteractive apt-get-update-plus dist-upgrade -o Dpkg::Options::=--force-confold
## AUTHOR
This man page has been written by Patrick Schleizer (adrelanos@riseup.net).
Sources:
- GitHub - Kicksecure/usability-misc: Misc usability improvements
- usability-misc/apt-get-update-plus at master · Kicksecure/usability-misc · GitHub
- usability-misc/apt-get-update-plus.8.ronn at master · Kicksecure/usability-misc · GitHub
- usability-misc/apt-get-noninteractive at master · Kicksecure/usability-misc · GitHub
- GitHub - Kicksecure/security-misc: Kernel Hardening; Protect Linux User Accounts against Brute Force Attacks; Improve Entropy Collection; Strong Linux User Account Separation; Enhances Misc Security Settings - https://www.kicksecure.com/wiki/Security-misc
- https://github.com/Whonix/security-misc/blob/master/usr/lib/security-misc/apt-get-wrapper