Clean your cache and redownload the packages sudo apt-get clean sudo apt-get autoclean
Try with sudo apt-get install -f , I've been getting these errors too.
Go to ubuntu software center >> Edit >> Software Sources >> Download From >> Select United States After that restart your computer go to software center and type wine and install it
sudo apt-get update to update your package list
sudo apt-get autoclean to clean up any partial packages
sudo apt-get clean to clean up the apt cache
sudo apt-get autoremove will clean up any unneeded dependencies
Open the terminal and copy and paste all this code:
sudo apt-get clean &&
sudo apt-get autoclean &&
sudo apt-get autoremove &&
sudo apt-get update &&
sudo apt-get upgrade &&
sudo add-apt-repository ppa:ubuntu-wine/ppa &&
sudo apt-get update &&
sudo apt-get install wine1.5
IF THI NO WORK, TRY THIS:
I suggest you to do these: (most of the cases, it works)
Install aptitude with sudo apt-get install aptitude command
Try to install the package you are willing to install with command like
sudo aptitude install
Aptitude will show you the error and present you a possible (best) solution. You will be asked to choose from 3 options with a message like
Accept this solution? [Y/n/q/?]
If you see that your desired package is not listed in the (will be) installed list, simply press n to let aptitude give you the next best solution. After several trial, (if you are lucky) you will see that your desired packages are in installable list and the packages causing the dependency problems will be showing in downgrade list. In this stage Press Y to accept the solution. The packages will be downgraded to satisfy to installation request.
I'm sorry that, I can't give you a demo run of aptitude like this, but you can check this page to see some of it's action.
If, while doing this, you can identify the broken package, this command will very forcefully remove it:
sudo dpkg --remove -force --force-remove-reinstreq packagename
Replace "packagename" with the real name, of course.