apt-get will not install dependencies


Forum: Apt-get
Topic: apt-get will not install dependencies
started by: Clinton

Posted by Clinton on July 18 2004,20:00
In my previous experiences with apt-get prior to DSL, when installing a package that had unmet dependencies, it would also install those dependencies.  However, when I try

Code Sample

apt-get install wine


I get the following errors:

Code Sample

Sorry, but the following packages have unmet dependencies:
 wine: Depends: debconf but it is not going to be installed
       Depends: libwine (= 0.0.20020411-1) but it is not going to be installed
       Depends: xbase-clients (>= 4.0) but it is not going to be installed or
                xcontrib
E: Sorry, broken packages


Also, when I try this with some other packages, I get similar "not going to be installed errors".  What can I do to prevent this and have apt-get just go ahead and install packages when needed?

Thanks,
Clinton

Posted by clivesay on July 18 2004,20:13
I think you need to do the following:

1. Go into the /etc/apt/sources.list file and uncomment (remove the "#") the unstable entries.

2. go to terminal as root and do apt-get update.

3. Attempt to install your packages.

If I remember right, DSL points to the stable area as a default.

HTH

Chris

Posted by mpie on July 18 2004,20:31
you will still have missing deps in unstable searcg apt-get.org for suitable mirrors
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.