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

Re: Compiled from source packages get overwritten



On Tue, Jun 11, 2002 at 10:01:56AM -0500, Derrick 'dman' Hudson wrote:
> On Tue, Jun 11, 2002 at 09:25:25AM -0500, Linux wrote:
> | When I compile a package from source using "apt-get --only-source -b source 
> | <package>", then intsall with "dpkg -i <package>", my local packages get 
> | overwritten the next time I perform an "apt-get upgrade".  What do I need 
> | to do to fix this?
> 
> You need to make apt think, one way or another, that the locally built
> package is better than the new one from the repository.  The best way
> to do this is
> 
>     echo "<package_name> hold" | dpkg --set-selections

In addition, you may want to add a new entry with a higher version
number to the top of debian/changelog before building the package.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: