Azimout's Linux weblog

file diversions

leave a comment »

dpkg-divert is the utility used to set up and update the list of diversions.

File  diversions are a way of forcing dpkg(1) not to install a file into its location, but
to a diverted location. Diversions can be used through the Debian package scripts to  move
a  file  away when it causes a conflict. System administrators can also use it to override
some package’s configuration file, or whenever some files (which aren’t marked  as  ’conf‐
files’)  need  to be preserved by dpkg, when installing a newer version of a package which
contains those files.

File which contains the current list of diversions of the system. It is located  in
the  dpkg  administration directory, along with other files important to dpkg, such
as status or available.
Note: dpkg-divert preserves the old copy of this file, with extension -old,  before
replacing it with the new one.


Written by azimout

06/09/2008 at 13:08

Posted in Reference

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: