Chapter 10. Customizing your installation of Debian GNU/Linux
56
10.8 How do I override a file installed by a package, so that a differ 
ent version can be used instead?
Suppose a sysadmin or local user wishes to use a program  login local  rather than the pro 
gram  login  provided by the Debian
login
package.
Do not:
  Overwrite
/bin/login
with
login local
.
The package management system will not know about this change, and will simply overwrite
your custom
/bin/login
whenever
login
(or any package that provides
/bin/login
) is
installed or updated.
Rather, do
  Execute:
dpkg divert   divert /bin/login.debian /bin/login
in order to cause all future installations of the Debian
login
package to write the file
/bin/login
to
/bin/login.debian
instead.
  Then execute:
cp login local /bin/login
to move your own locally built program into place.
Details are given in the manual page
dpkg divert(8)
.
10.9 How can I have my locally built package included in the list of
available packages that the package management system knows
about?
Execute the command:
dpkg scanpackages BIN_DIR OVERRIDE_FILE [PATHPREFIX] > my_Packages
where:
<





New Page 1








Home : About Us : Network : Services : Support : FAQ : Control Panel : Order Online : Sitemap : Contact : Terms Of Service

 

Our web partners:  Jsp Web Hosting  Unlimited Web Hosting  Cheapest Web Hosting  Java Web Hosting  Web Templates  Best Web Templates  Web Design Templates  Interland Web Hosting  Cheap Web Hosting  Filemaker Web Hosting  Tomcat Web Hosting  Quality Web Hosting  Best Web Hosting  Mac Web Hosting

 
 

Virtualwebstudio. Business web hosting division of Vision Web Hosting Inc. All rights reserved

Web Hosting Colorado