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

Re: How to add dependencies that exist in another repository



On Tue, 2010-11-09 at 14:48 -0800, PJ Weisberg wrote:
[...]
> - It *is* possible to add repositories when you install your package.
> Google does this in the *.deb files it distributes so that the package
> manager can find newer versions.  If you have a reason to do this
> (which you almost certainly don't), you should add some file to
> /etc/apt/sources.list.d/, which you can delete when your package is
> purged from the system.  Don't do anything that would make it
> difficult to know whether the repository was added by your package,
> another package, or the user.

Don't even think of doing this in a package uploaded to Debian.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: