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

Re: Bug#41091: Apt fails to install some packages



On Mon, 12 Jul 1999, Raphael Hertzog wrote:

> Le Sun, Jul 11, 1999 at 04:12:42PM -0600, Jason Gunthorpe écrivait:
> > Why are you doing this? You know 'apt-cache unmet' will show you which
> > packages are not installable if this is what you are after. It even
> > considers recommends and suggests if you want.
> 
> Haha. :) I'm working on a script for creating the CDs, but each time I
> include a package I need to include all dependencies that are needed,
> that's why i'm running apt-get -s install and grep for the Inst lines to
> know what packages are needed. Ideally I should add recommended packages
> to this list ...

Well, in that case it would be more ideal to write a new apt-cache
function. You give it a list of packages and it prints out a dependecy
analyisis, you can then parse that to decide what to include. 

Even more sensible would be to just write your cd-fitting code using the
APT library, it has all the information directly available. If you outline
how you work it now I could probably write such a thing for you rather
quickly.

Otherwise if I make apt randomly install things you will end up with
several news-transport-agents (for example) when you really only need one.
 
Jason


Reply to: