[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get dist-upgrade replacing self-built archives



*- On 12 Dec, peter karlsson wrote about "apt-get dist-upgrade replacing self-built archives"
> Hi!
> 
> How come that "apt-get dist-upgrade" "upgrades" packages that I have
> compiled myself (from the sources), although the version in the Debian
> archive is the same as the one I have compiled myself?
> 

Because the md5sum does not match that of the 'real' version.  You
should either put the package on hold in dselect(does dist-upgrade
respect holds?).  Or add an entry to the debian/changelog and increase
the version number before you build the package.  Not sure what is the
best versioning scheme, maybe follow the NMU rules of adding a .X
version to the last version.


Brian Servis
-- 
------------------------------------------------------------------------
Mechanical Engineering              |  Never criticize anybody until you  
Purdue University                   |  have walked a mile in their shoes,
servis@purdue.edu                   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Reply to: