Language Selection

English French German Italian Portuguese Spanish

Replace binaries and Files with dpkg-divert

Filed under
HowTos

File `diversions’ are a way of forcing dpkg 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 ‘conffiles’) need to be preserved by dpkg, when installing a newer version of a package which contains those files.

dpkg-divert is the utility used to set up and update the list of diversions. It functions in three basic modes - adding, removing, and listing diversions. The options are –add, –remove, and –list, respectively. Additionally, it can print out the real name for a diverted file. Other options (listed below) may also be specified.

The dpkg-divert command allows you to replace a binary installed upon the system, and have this replacement persist even if you upgrade packages.This is very useful if you want to use an updated version of some application instead of old version existing on your machine.

Full Story.

More in Tux Machines

Ubuntu 14.04, Highly Recommended by the Engineers of Dell

Barton George, Dell’s Director of Developer Programs has stated in a blog post that the necessities of programmers have ground and they wanted to have a bigger and better version of a laptop that runs Ubuntu Linux and that’s how they thought about the Precision M3800. Not much they, but him, Jared Diminguez, a Dell software engineer that has gathered all data and combined it with his grand passion, in order to make big efforts seem as easy as batting one’s eyelashes. Read more

Witcher 2 Bug Prompts Linux Creator To Recommend Devs Play Steam Games

It’s common for NVIDIA and AMD to tweak their drivers to optimise specific titles, but patches to operating systems just for games? Usually developers work around platform quirks, but that’s not good enough for Linus Torvalds, the man behind Linux. When crashes in The Witcher 2 were caused by Linux’s core software, Torvalds not only requested the bug be fixed, but that Steam games should be used in the future as “good tests of odd behaviour”. Read more

Today in Techrights

FileZilla 3.10.1 Released With Bug Fixes And Some Minor Changes Install In Ubuntu/Linux Mint


Picture

FileZilla is free and Open-Source ftp/sftp client with features FTPSFTP and FTPS (FTP over ssl/TLS). It has a very nice and easy to use user interface.FileZilla 3.10.1 released yesterday with bug fixes and minor changes.
 
 
 
 
 
 

Read at LinuxAndUbuntu