Author Topic: wine 1.7 updating issues after system update using synaptic  (Read 1986 times)

Offline wjr

  • Newbie
  • *
  • Posts: 1
wine 1.7 updating issues after system update using synaptic
« on: March 23, 2015, 03:42:33 am »
I used synaptic to update my freshly installed SparkyLinux Game Over OS and it (synaptic) keeps telling me I have to fix the broken packages (regarding Wine 1.7 & PlayOnLinux)

Quote
Could not upgrade the system!
Fix broken packages first.


Quote
E: /var/cache/apt/archives/wine1.7-amd64_1%3a1.7.37-1_amd64.deb: trying to overwrite '/usr/bin/wine64', which is also in package wine64 1.6.2-20

this is one message I keep getting

followed by this one

Quote
dpkg: error processing package wine1.7-i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wine:
 wine depends on wine1.6 | wine1.7; however:
  Package wine1.6 is not installed.
  Package wine1.7 is not configured yet.

dpkg: error processing package wine (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of sparky-wine:
 sparky-wine depends on wine; however:
  Package wine is not configured yet.
  Package wine1.7 which provides wine is not configured yet.

dpkg: error processing package sparky-wine (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 wine1.7
 wine1.7-i386
 wine
 sparky-wine


at this point, I'm not sure what to do. I'm a little familiar with Linux but hands-on experience-wise not all that much. any help which can be provided would be great. I'm trying to get this setup and running without issues on my desktop before I buy a hard drive for my son's desktop and install it on there. once I'm familiar with what needs to be done, I should be okay after that. my background is mostly in Microsoft so I'm not totally illiterate but this Linux stuff sure isn't like DOS.

Offline GeneC

  • Full Member
  • ***
  • Posts: 126
Re: wine 1.7 updating issues after system update using synaptic
« Reply #1 on: March 23, 2015, 01:09:43 pm »
Hi wjr

Try running these commands...

Code: [Select]
sudo apt-get install -f

Code: [Select]
sudo dpkg --configure -a


Offline FranceIsBacon

  • Newbie
  • *
  • Posts: 6
Re: wine 1.7 updating issues after system update using synaptic
« Reply #2 on: April 06, 2015, 09:51:14 pm »
I am having the same issue as OP and my logs look identical. I am unable to install or remove any packages thanks to the broken dependencies, and I have attempted to repair the dependencies and dpkg to no avail. Does anyone know how to fix this? I am at a bit of a loss.

UPDATE: Now it looks like this:

Code: [Select]
scott@sparky:~$ sudo apt-get clean
scott@sparky:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  liblivemedia42 libmspack0 libopencv-calib3d2.4 libopencv-contrib2.4
  libopencv-core2.4 libopencv-features2d2.4 libopencv-flann2.4
  libopencv-highgui2.4 libopencv-imgproc2.4 libopencv-legacy2.4
  libopencv-ml2.4 libopencv-objdetect2.4 libopencv-photo2.4 libopencv-video2.4
  libsasl2-modules:i386 libssl1.0.0:i386 libtbb2 libutvideo14.2.1 libwine
  libwine:i386 libwine-gecko-2.21 wine32:i386 wine64
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  wine1.7-amd64
The following NEW packages will be installed:
  wine1.7-amd64
0 upgraded, 1 newly installed, 0 to remove and 147 not upgraded.
3 not fully installed or removed.
Need to get 18.6 MB of archives.
After this operation, 156 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://liquorix.net/debian/ sid/main wine1.7-amd64 amd64 1:1.7.37-1 [18.6 MB]
Fetched 18.6 MB in 41s (444 kB/s)                                             
(Reading database ... 230525 files and directories currently installed.)
Preparing to unpack .../wine1.7-amd64_1%3a1.7.37-1_amd64.deb ...
Unpacking wine1.7-amd64 (1:1.7.37-1) ...
dpkg: error processing archive /var/cache/apt/archives/wine1.7-amd64_1%3a1.7.37-1_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/wine64', which is also in package wine64 1.6.2-20
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/wine1.7-amd64_1%3a1.7.37-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
« Last Edit: April 06, 2015, 10:09:38 pm by FranceIsBacon »

Online pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1463
    • SparkyLinux
Re: wine 1.7 updating issues after system update using synaptic
« Reply #3 on: April 06, 2015, 10:22:14 pm »
Quote
trying to overwrite '/usr/bin/wine64', which is also in package wine64 1.6.2-20
Remove wine 1.6 and all its dependencies :
Code: [Select]
apt-get purge wine
apt-get autoremove
then install wine 1.7 as a fresh installation from the liquorix repos.
« Last Edit: April 07, 2015, 12:55:21 am by pavroo »
Nothing is easy as it looks.

Offline FranceIsBacon

  • Newbie
  • *
  • Posts: 6
Re: wine 1.7 updating issues after system update using synaptic
« Reply #4 on: April 06, 2015, 10:48:16 pm »
Quote
trying to overwrite '/usr/bin/wine64', which is also in package wine64 1.6.2-20
Remove wine 1.6 and all it dependencies :
Code: [Select]
apt-get purge wine
apt-get autoremove
then install wine 1.7 as a fresh installation from the liquorix repos.

Since my last update I've been trying to fix it on my own. I tried removing Wine 1.6 but I was getting an error stating that it wasn't installed. Weird. so here's what I ended up doing:
Code: [Select]
sudo apt-get remove --purge wine wine1.7 playonlinux wine-development sparky-wine wine1.7-i386:i386

After that configuring dpkg worked and there were no more dependency issues. But re-installing wine failed and I ended up in the same loop, having to purge again. So now I have done
Code: [Select]
sudo apt-get clean
sudo apt-get autoremove
sudo apt-get update
sudo apt-get dist-upgrade

I hope that will fix the issue. This install is only hours old from the latest GameOver x86/64 iso. I will update when it's done installing.
« Last Edit: April 06, 2015, 10:56:17 pm by FranceIsBacon »

Offline FranceIsBacon

  • Newbie
  • *
  • Posts: 6
Re: wine 1.7 updating issues after system update using synaptic
« Reply #5 on: April 06, 2015, 11:11:46 pm »
Ok, after cleaning up a bit
Code: [Select]
sudo apt-get install wine worked without a hitch. sparky-wine installed just fine, too. But now I have this issue with PlayOnLinux:

Code: [Select]
The following packages have unmet dependencies:
 playonlinux : Depends: python-wxgtk2.8 but it is not installable
E: Unable to correct problems, you have held broken packages.

Any ideas?

Online pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1463
    • SparkyLinux
Re: wine 1.7 updating issues after system update using synaptic
« Reply #6 on: April 07, 2015, 12:58:43 am »
Sure :)
Enable Sid repos to install new dependencies for PlayOnLinux 4.2.6 during updating it.
You don't have to upgrade all the packages from Sid, upgrade PlayOnLinux only.
Nothing is easy as it looks.

Offline FranceIsBacon

  • Newbie
  • *
  • Posts: 6
Re: wine 1.7 updating issues after system update using synaptic
« Reply #7 on: April 07, 2015, 02:23:54 am »
Booom! It works! Thank you very much!

As reference for anyone with the same problem and doesn't know what to do from here, I'll document what I did:

Code: [Select]
gksudo leafpad /etc/apt/sources.list.d/sid.list
Substitute leafpad for another text editor installed on your system if you like. It will look something like this:

Code: [Select]
## sid
# deb http://ftp.debian.org/debian/ sid main contrib non-free
# deb-src http://ftp.debian.org/debian/ sid main contrib non-free
# deb http://www.deb-multimedia.org sid main non-free

Un-comment the repos. The result will look like this:

Code: [Select]
## sid
deb http://ftp.debian.org/debian/ sid main contrib non-free
deb-src http://ftp.debian.org/debian/ sid main contrib non-free
deb http://www.deb-multimedia.org sid main non-free

Then update apt and install PlayOnLinux!

Code: [Select]
sudo apt-get update
sudo apt-get install playonlinux

Offline dezcore

  • Newbie
  • *
  • Posts: 1
Re: wine 1.7 updating issues after system update using synaptic
« Reply #8 on: April 29, 2015, 02:34:31 am »
New to Linux and had what likes like identical problem and it prevented any installs from Sparky Aptus / Extra etc.  Thought I'd share.

Solved it by removing Wine64 using Synaptic Package Manager. After that updated normally and allowed things like Dosbox to finally install.

Offline PunkUnity

  • Newbie
  • *
  • Posts: 3
Re: wine 1.7 updating issues after system update using synaptic
« Reply #9 on: May 06, 2015, 01:24:41 am »
I had this same issue. Very annoying. I followed a bunch of different links before I found this thread. I will put up my pastebin links to show you first what I was trying to do, then the second link will show the results of what happened after I tried @FranceIsBacon instructions. It seems to have fixed everything!

https://www.zerobin.net/?f863df0a895d453e#sh0zUk7f9qYjKeBiFgp5Ywt8B9C8K7ooVt5bdflUdvg=

apparently I didnt save my last terminal session, but my computer is back to normal.
Thanks!

Online pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1463
    • SparkyLinux
Re: wine 1.7 updating issues after system update using synaptic
« Reply #10 on: May 06, 2015, 01:55:07 am »
Quote
dpkg: error processing archive /var/cache/apt/archives/wine1.7-amd64_1%3a1.7.38-1_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/wine64', which is also in package wine64 1.6.2-20
It's the same issue.
Remove wine 1.6 and all its libs then install wine 1.7 from liquorix repository.
Nothing is easy as it looks.

Offline PunkUnity

  • Newbie
  • *
  • Posts: 3
Re: wine 1.7 updating issues after system update using synaptic
« Reply #11 on: May 06, 2015, 03:12:16 am »
Quote
dpkg: error processing archive /var/cache/apt/archives/wine1.7-amd64_1%3a1.7.38-1_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/wine64', which is also in package wine64 1.6.2-20
It's the same issue.
Remove wine 1.6 and all its libs then install wine 1.7 from liquorix repository.

The issue was fixed for an hour or so, then came back. I cannot install or remove ANY packages. apt-get purge wine(anything wine related) doesnt work.

https://www.zerobin.net/?ac0c58ac732af29e#5QkH4o0s1ZuaRp5dma7IYhlQnW09drjirMWs0o61k3k=

Offline PunkUnity

  • Newbie
  • *
  • Posts: 3
Re: wine 1.7 updating issues after system update using synaptic
« Reply #12 on: May 06, 2015, 03:47:20 am »
Seemed to have temporarily fixed it again.

https://www.zerobin.net/?512e6ef37a7cea8f#Mr9fjoAfrnPgChnotoGNy1+Fg8kd6HIAkbGcJDA65b8=


This link is my log, and it is very short this time.  Thanks again everyone!

Online pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1463
    • SparkyLinux
Re: wine 1.7 updating issues after system update using synaptic
« Reply #13 on: May 06, 2015, 01:24:35 pm »
Situations like that happen sometimes, specially if you install packages from 3th party repos.
The 3th party versions of the packages can be not compatible with packages provided by Debian devs.
Nothing is easy as it looks.