Installing source packages?

Jef Driesen jefdriesen at
Fri Sep 22 12:57:39 UTC 2006

When I install a source package, the package installs correctly and 
replaces the binary package. I used the debian documentation [1] to do 
this. But when I check for upgrades, the package manager wants to 
replace my newly compiled package with the original binary one again.

The package I want to replace is libexif12. The strange thing is that if 
I follow the same procedure for another source package (eog in my case), 
the package manager is perfectly happy with it.


$ apt-get source libexif12
$ cd libexif-0.6.12
$ dpkg-buildpackage -rfakeroot -uc -b
$ sudo dpkg -i ../libexif12_0.6.12-2_i386.deb

$ apt-get source eog
$ cd eog-2.14.3
$ dpkg-buildpackage -rfakeroot -uc -b
$ sudo dpkg -i ../eog_2.14.3-0ubuntu1_i386.deb

$ sudo apt-get update
$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
The following packages will be upgraded:
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/57.7kB of archives.
After unpacking 4096B of additional disk space will be used.
Do you want to continue [Y/n]?

More information about the ubuntu-users mailing list