Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

wine 1.7 updating issues after system update using synaptic

Started by wjr, March 23, 2015, 03:42:33 AM

Previous topic - Next topic

wjr

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)

QuoteCould not upgrade the system!
Fix broken packages first.


QuoteE: /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

Quotedpkg: 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.

GeneC

Hi wjr

Try running these commands...

sudo apt-get install -f


sudo dpkg --configure -a


GeneC

FranceIsBacon

#2
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:

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)

pavroo

Quotetrying to overwrite '/usr/bin/wine64', which is also in package wine64 1.6.2-20
Remove wine 1.6 and all its dependencies :
apt-get purge wine
apt-get autoremove

then install wine 1.7 as a fresh installation from the liquorix repos.
Nothing is easy as it looks. Danielle Steel

FranceIsBacon

#4
Quote from: pavroo on April 06, 2015, 10:22:14 PM
Quotetrying to overwrite '/usr/bin/wine64', which is also in package wine64 1.6.2-20
Remove wine 1.6 and all it dependencies :
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:
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
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.

FranceIsBacon

Ok, after cleaning up a bit sudo apt-get install wine worked without a hitch. sparky-wine installed just fine, too. But now I have this issue with PlayOnLinux:

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?

pavroo

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. Danielle Steel

FranceIsBacon

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:

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:

## 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:

## 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!

sudo apt-get update
sudo apt-get install playonlinux

dezcore

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.

PunkUnity

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!

pavroo

Quotedpkg: 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. Danielle Steel

PunkUnity

Quote from: pavroo on May 06, 2015, 01:55:07 AM
Quotedpkg: 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=

PunkUnity

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!

pavroo

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. Danielle Steel

View the most recent posts on the forum