Re: force-overwrite in pdebuild

2007-08-06 Thread Justin Pryzby
On Sun, Aug 05, 2007 at 06:48:49PM +0200, Gudjon I. Gudjonsson wrote:
 Hi
I was trying to rebuild my packages against a new version of library but 
 there
 is a bug in the libraries that one file is in two packages. Is there any way 
 of letting
 pdebuild force and overwrite of files?
You can either run dpkg --force-overwrite while installing it
(preferrably with only one package for finer-grained control of when
the force is in effect).

Or add Replaces: foo to the package to be installed, which will cause
the file to be removed from the already-installed packages file list
(/v/l/dpkg/info).  If you remove the 2nd package before the 1st
package though, the file will be gone (and the copy from the 1st
package will not be put back into place).

I note that Conflicts+Replaces is a special overloaded case that means
cause that package to be completely removed.

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



force-overwrite in pdebuild

2007-08-05 Thread Gudjon I. Gudjonsson
Hi
   I was trying to rebuild my packages against a new version of library but 
there
is a bug in the libraries that one file is in two packages. Is there any way of 
letting
pdebuild force and overwrite of files?

Thanks
Gudjon


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]