DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This has worked after a fresh install on the same machine at least 10 times before (it's never failed) but today this happened:
Code:
apt-get install wine-bin:i386 -y
Reading package lists... Done
Building dependency tree
Reading state information... 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.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
wine-bin:i386 : Depends: libwine-bin:i386 (= 1.4.1-4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
When I try to resolve it with "apt-get install libwine-bin:i386" this occurs:
Code:
apt-get install libwine-bin:i386
Reading package lists... Done
Building dependency tree
Reading state information... 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.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libwine-bin:i386 : Depends: libwine:i386 (= 1.4.1-4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I installed nothing else before trying this other than "Desktop environment, print server, standard system utilities, laptop utilities [quote may not be exact]" that everyone installs while installing Debian and vlc from backports, which I always install before wine and it has never given me trouble in the past.
Since I've tried installing wine I've installed the fallowing packages: firmware-linux-nonfree libgl1-mesa-dri xserver-xorg-video-ati.
My sources.list contains the fallowing:
Code:
deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
# wheezy-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
# wheezy-backports
deb http://ftp.us.debian.org/debian/ wheezy-backports main contrib non-free
I'm using LXDE if that would somehow help anyone help me (it's the same DE that I've always used in the past).
A reinstall would be very inconvenient so I'd rather try to work it out before going that rout.
I have another hard drive so I could install Debian again and see if that would reproduce the error (which I'd think would indicate that an update is what has caused this install to all of the sudden fail).
dpkg -l libwine
dpkg-query: no packages found matching libwine
Code:
apt-get install libwine:i386
Reading package lists... Done
Building dependency tree
Reading state information... 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.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libwine:i386 : Depends: libgnutls26:i386 (>= 2.12.17-0) but it is not going to be installed
Recommends: ttf-liberation:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.
(Nothing was shown after this command was executed.)
Code:
apt-get install ttf-liberation
Reading package lists... Done
Building dependency tree
Reading state information... Done
ttf-liberation is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
apt-get install libwine:i386 outputted "The following packages have unmet dependencies:
libwine:i386 : Depends: libgnutls26:i386 (>= 2.12.17-0) but it is not going to be installed
Recommends: ttf-liberation:i386 but it is not installable" so I also tried "apt-get install ttf-liberation:i386" and "apt-get install libgnutls26:i386" with the fallowing results:
Code:
apt-get install ttf-liberation:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ttf-liberation:i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
fonts-liberation
E: Package 'ttf-liberation:i386' has no installation candidate
Code:
apt-get install libgnutls26:i386
Reading package lists... Done
Building dependency tree
Reading state information... 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.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libgnutls26 : Depends: libp11-kit0 (>= 0.11) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
@EDDY1
I've tried the whole "apt-get update" / "apt-get upgrade" / "apt-get dist-upgrade" several times already, nothing seems to have changed
cat /etc/apt/sources.list
deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
# wheezy-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
# wheezy-backports
deb http://ftp.us.debian.org/debian/ wheezy-backports main contrib non-free
I just tried commenting out "deb http://ftp.us.debian.org/debian/ wheezy-backports main contrib non-free" fallowed by an "apt-get update" just in case there was a priority issue but there was no change in result.
I installed Debian on the same machine but with different hard drives and found that whenever I install wine with wheezy-backports in the sources.list file, even if wine is the very first thing I install, it will not install correctly. If I remove wheezy-backports from sources.list, wine will still not install if I had previously installed anything from the wheezy-backports.
I tried this on different amd64 machines and the results where the same. It wasn't like this even about month ago; I could install wine successfully even after installing multiple packages from wheezy-backports. Very strange.
Moral of the story, install i386-on-amd64 applications first and backport applications last.
@AwesomeMachine
Isn't mixing releases dangerous? I think, despite my previous statement, I'll reinstall the OS -- now that I know how to install Debian on an existing luks-encrypted LVM and thus won't have to repartition the hard drives[!] and reconfigure the user settings.
I'll let everyone know how it went when I'm done with the reinstall, which might happen today, tomorrow or next weekend.
Instead of reinstalling, do you think removing virtually all packages and then installing wine, and then installing the previously removed packages would work? I ask because this is what outputted from "aptitude install wine-bin:i386 > a123.txt" after pressing "n" and then "enter" a couple of times:
If I should remove all the packages, how would I go about doing it?
By pressing "Enter".
Quote:
Just let aptitude do it or use some other means to remove "everything"?
Personally I'd not use aptitude for this. Instead I'd use apt-get since it is the recommended non-interactive commandline package manager (and has been for at least the last two stable realeases).
But, as I said you may be better using apt-get instead of aptitude.
"apt-get install wine-bin:i386" does not give me the option to remove all those packages, only "aptitude install wine-bin:i386" does and only after first pressing "n" as in "no".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.