daptup

Langue: en

Version: Oct 15, 2008 (debian - 07/07/09)

Section: 8 (Commandes administrateur)

NAME

daptup - wrapper script on 'apt-get update'

SYNOPSIS

daptup [ --pre | --post | --last ] [ -h | --help ] [ --nocolor ]

OPTIONS

--pre
Do only 'pre' stage: collect info that will be used as 'old'. Usually need to be specified only in apt hooks.
--post
If appropriate option is enabled in config file, do only 'post' stage: collect 'new' info and output changes. Otherwise do nothing. Usually need to be specified only in apt hooks.
--last
Output changes only. This option is supposed to be specified when you want to see changes made in the last update. Note that list of outdated packages, if daptup is configured to output it, will be rebuilt.
-h --help
prints the help
--nocolor
Disables color output, useful for scripts or when output is not terminal. Now works only with --last option, however, you can disable color globally in configuration file.

daptup is a script that runs "apt-get update" inside and outputs list of packages recently entered to repo, list of packages which got new updates, list of changes in 'watched' packages and, optionally, list of outdated packages.

Starting with 0.8.0 version, daptup uses apt hooks and you don't need to explicitly call it if you use 'apt-get update'.

TROUBLESHOOTING

If daptup was interrupted while building the lists, the cached lists can stay in inconsistent state, which is inappropriate if you want to use --last option before the new update. There is nothing to do if interrupt was occured at the moment when old lists were building (besides running the new update). However, if interrupt was occured when the new lists were building, you can easily redo this stage by calling 'daptup --post'.

FILES

/etc/daptup.conf
self-documented configuration file
/var/spool/daptup/outdated
cached file with info about outdated packages

SEE ALSO

apt-get(8), aptitude(8), apt-show-versions(1p)

AUTHOR

daptup was written by Eugene V. Lyubimkin.

This manual page was written by Eugene V. Lyubimkin <jackyf.devel@gmail.com>, for the Debian project (but may be used by others).