[TriLUG] resolving a dependency

paul peeler paul at enetx.net
Tue Apr 13 11:27:00 EDT 2004


#apt-cache depends package-name
this will return the package-name's dependencies and what packages can
satisfy them.


On Tue, 2004-04-13 at 10:05, Michael Thompson wrote:
> IIRC, if you use yum:
> 
> yum provides <file_name>
> 
> should return a list of packages that contain <file_name>.
> 
> If anyone knows the equivalent in apt, I'd love to hear about it!
> 
> :)
> 
> --mike
> 
> On Tue, 2004-04-13 at 09:54, Jon Carnes wrote:
> > On Tue, 2004-04-13 at 08:09, Marvin Blackburn wrote:
> > > I keep running into this issue.
> > > 
> > > I try to load a package, say packageX.  When I try to install, it says that
> > > i need fileY to resolve
> > > some dependency.  How can I find the package that might contain that fileY,
> > > so I can install packageX.
> > > 
> > > If a previous version of the file is on the system, you can often see what
> > > package it was associated with.
> > > But if the file is not there, what do you do.
> > > 
> > > Any help would be appreciated.
> > > 
> > This is why folks use tools like Up2date or Apt or Yum. They have lists
> > of files/dependencies and will automatically apply them for you.
> > 
> > If you are using rpm's you can use rpmfind.net to find a package that
> > contains a specific file.
> > 
> > Good Luck - Jon Carnes




More information about the TriLUG mailing list