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.

The last time I had a broken software centre, I managed to fix things through upgrading Linux to a newer version. Regrettably as I have the latest version, this is no longer possible. Yet the same problem persists. When I run software centre, I am being told it is broken and needs repairs. I click on a button offering me to fix it. It is fixing itself for a while and then this happens:

installArchives() failed: Pednastavuji balky...
Pednastavuji balky...
Pednastavuji balky...
Pednastavuji balky...
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 301765 files and directories currently installed.)
Unpacking wine1.4-i386 (from .../wine1.4-i386_1.4-0ubuntu4.1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/wine1.4-i386_1.4-0ubuntu4.1_i386.deb (--unpack):
 trying to overwrite '/usr/bin/wine', which is also in package wine1.5 1.5.5-0ubuntu1~ppa1~oneiric1+pulse17
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
No apport report written because MaxReports is reached already
Errors were encountered while processing:
 /var/cache/apt/archives/wine1.4-i386_1.4-0ubuntu4.1_i386.deb
Error in function: 
dpkg: dependency problems prevent configuration of wine1.4-common:
 wine1.4-common depends on wine1.4 (= 1.4-0ubuntu4.1); however:
  Package wine1.4 is not installed.
dpkg: error processing wine1.4-common (--configure):
 dependency problems - leaving unconfigured

What do I do?

share|improve this question
    
How did you install wine? –  To Do Dec 2 '12 at 16:34
    
From the official repository at winehq.org/download/ubuntu –  Michal Dec 2 '12 at 18:54
add comment

1 Answer 1

You are installing (or) upgrading wine from official store and you already have installed via ppa. That is the problem.

Install ppa purge sudo apt-get install ppa-purge

Purge the ppa for wine.

share|improve this answer
    
If software center is not working, I doubt he can install anything. –  To Do Dec 2 '12 at 16:34
    
I've actually solved the problem by sudo apt-get remove wine1.5 and then following the recommended procedures meticulously. I feel a little embarrassed that the fix was so simple, actually so much that I'd rather just accept the offered answer and run away. It did not work in previous instance of this problem, but now it does. Extremely strange. Since back then the recommended procedures did not work, I suspect that considering the Ubuntu upgrade solved it previously, the solution was still dependent on upgrading to Ubuntu 12.10 –  Michal Dec 2 '12 at 18:49
    
*12.04 is the actual version. Simply the latest. –  Michal Dec 2 '12 at 19:07
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.