Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am running 12.04 ubuntu on a dual-boot with win 7 and i have been trying to install Wine however I had a bunch of dependency issues.

So I then tried using Synaptic which will not install either because of similar dependency issues like libc6.

I then searched for them in the software center some were already installed others had not because of other dependencies on top of other dependencies.

I am trying to understand why I am getting these errors? How can I just download the program without all of these loops?

share|improve this question
1  
can you share some of the errors you are getting, this will be helpful –  Stephen Myall Jul 30 '12 at 14:29
    
clarify, whether you have downloaded from internet through browser, and you are trying to install that package, or you are trying to install through ubuntu software centre from it's own repositories.? –  techvish81 Jul 30 '12 at 14:30
    
As Stephen Myall says, we need to see the error messages in order to be able to advise you on how to fix the problem. Please edit your question to include the complete and exact text of all error messages. –  Eliah Kagan Aug 4 '12 at 19:05
add comment

2 Answers

Try to install using a terminal it should resolve any dependency automatically.

Just type sudo apt-get install wine.

Hope this helps.

share|improve this answer
    
Since Synaptic also resolves dependencies automatically, it's unlikely that just running that command in the Terminal will fix the problem. However, the output of doing so may provide useful information. –  Eliah Kagan Aug 4 '12 at 18:54
add comment

Type in terminal

sudo apt-get autoremove
sudo apt-get remove wine synaptic
sudo dpkg -P wine
sudo dpkg -P synaptic
sudo apt-get install wine synaptic

Here's what each command does:

  1. Removes broken packages.
  2. Removes wine.
  3. Removes configuration files, so wine will be totally gone from your system.
  4. Removes configuration files for synaptic, so it will be gone too.
  5. Installs wine and synaptic again on your system.
share|improve this answer
    
sudo apt-get autoremove does not remove broken packages. It removes packages that were installed as dependencies of packages that are no longer installed (and thus which are probably not needed anymore). To be useful, it should usually be run after removing packages, not before. Also, please note that you don't have to run 4 commands to remove wine and synaptic, delete their systemwide configuration files, and reinstall, you can use 1 command: sudo apt-get --purge --reinstall install wine synaptic See man apt-get for details. –  Eliah Kagan Aug 4 '12 at 19:02
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.