Apt-get :: Wine install attempt error



I try and install Wine using Apt-Get but it gave me this error:  

root@box:~# apt-get install wine
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

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: Broken packages


I tried installing those pakages seperately, but it still didn't work. what next?

if you want wine, i would suggest actually installing debian. remember that DSL is not all debian and therefore some things will not work with it. i have a feeling that wine is one of them. even if you are on an old junker comp, debian will work fine as long as you don't overdo it.

i have never tried it, but John links to Bonzai as a good small debian installer. just apt-get the packages that are in DSL and fluxbox, and whatever else you need for wine and you should feel right at home. ^_^

I'm a bit of a fiddler and i'm generally not too bothered if I end up breaking my DSL install, since it takes about two minutes to start from scratch :)

When i've had problems like that, I will generally go to packages.debian.org in Dillo/firefox and download the packages by hand, then use dpkg -i [filename] to install them. During the install, dpkg will tell you what dependencies are unfulfilled so you can go and get those packages too. It can be boring if there's a lot of dependencies.

AFAIK it's because DSL doesn't really use one set of packages e.g. from "stable" or "unstable", but mixes them up, making the dependencies a little confused. (That could be completely wrong though :)

The main thing is to get an appropriate version. A crappy example would be that perhaps the version of wine apt-get is looking for is from the stable debian distro, but your default DSL installation includes some package (that wine needs) that is from the unstable section. So apt-get is confused by the versions and gives up.

Obviously, ignoring dependencies in this way can completely wreck your installation, but using Bonzai or a full debian would be the easy way out! If you can take the risk of screwing your install, you learn a lot more trying to fix it :>


original here.