Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pkgsync(8) [debian man page]

PKGSYNC(8)						      System Manager's Manual							PKGSYNC(8)

NAME
pkgsync - Automated package synchronization tool SYNOPSIS
pkgsync DESCRIPTION
pkgsync is a tool for keeping multiple machines reasonably similar and clean. Packages can either be in a `must be installed', `may be installed' or `must not be installed' list (which is presumed to be distributed separately using a tool such as rdist or cfengine). pkgsync will take care of meeting the demands put down in the lists, and then removing everything that is not in the `must' or `may' list and is not necessary for their operations (as determined by aptitude). OPTIONS
-h, --help Print a short help text and exit. -s, --simulate Do everything as usual, but put aptitude in simulation mode, causing it to never do any changes (except update and autoclean, which should both be harmless) to your system. This is especially useful on a new system to make sure pkgsync behaves as expected. Note that aptitude prints out its intended actions _before_ running the conflict resolver. If there's a conflict somewhere, chances are that the results on your system will be different from what aptitude prints out. -k, --keep-unused Instruct aptitude to not remove cruft (ie. unused packages); this is morally equivalent to having an "*" entry in mayhave. -d, --dpkg-glob When encountering a wildcard pattern, pkgsync tries to `un-glob' it. Traditionally, this was done using dpkg -- however, in later versions one can use aptitude instead. Using aptitude is a little slower, but the syntax is a lot more flexible, supporting regular expressions and various searches on fields. Giving --dpkg-glob makes pkgsync use dpkg, which is not very useful except for backwards compatibility. -a, --aptitude-glob Use aptitude's globbing instead of dpkg's globbing (see above). This option is the default. SEE ALSO
/usr/share/doc/pkgsync/README.Debian (complete tutorial and reference documentation) AUTHOR
pkgsync is Copyright 2004-2007 Steinar H. Gunderson <sgunderson@bigfoot.com>. PKGSYNC(8)

Check Out this Related Man Page

eatmydata(1)						      General Commands Manual						      eatmydata(1)

NAME
eatmydata - transparently disable fsync() and other data-to-disk synchronization calls SYNOPSIS
eatmydata [--] command [ command arguments ... ] DESCRIPTION
eatmydata runs a command in the environment where data-to-disk synchronization calls (like fsync(), fdatasync(), sync(), msync() and open() O_SYNC / O_DSYNC flags) have no effect. LD_PRELOAD library libeatmydata overrides respective C library calls with custom functions that don't trigger synchronization but return success nevertheless. You may use eatmydata in two ways. In normal mode, just execute eatmydata directly and pass a command-to-be-run and its arguments via com- mand line. In order to use symlink mode, create a symlink to /usr/bin/eatmydata with the filename (a.k.a basename) of another program in the PATH and execute eatmydata via that symlink. Then eatmydata will find that program in the PATH and run it in the libeatmydata environ- ment repassing all command line options. OPTIONS
Please note that eatmydata does not process any command line options in symlink mode. All command line options will be repassed to the underlying executable as-is. command The command to execute. It may be either a full path or the name of the command in PATH. In case command cannot be found in PATH, eatmydata will fail. command arguments Arbitrary number of arguments to pass to the command being executed. -- Optional command separator for compatibility with similar utilities. Ignored at the moment. EXAMPLES
Given PATH is /usr/bin and both /usr/bin/aptitude and /usr/bin/eatmydata are installed, the following: $ ln -s /usr/bin/eatmydata ./aptitude $ ./aptitude moo is equivalent to: $ eatmydata -- aptitude moo Therefore, you may use symlink mode to automatically run specific programs in the libeatmydata environment whenever you run them from PATH. For example, given standard PATH settings, just do: # ln -s /usr/bin/eatmydata /usr/local/bin/aptitude and enjoy sync-free aptitude system-wide. AUTHOR
The eatmydata wrapper around libeatmydata LD_PRELOAD library was written by Modestas Vainius <modax@debian.org> November 2010 eatmydata(1)
Man Page