Choose style:

Author Topic: How do I deal with broken or held packages during Wine install [SOLVED]  (Read 252 times)

0 Members and 1 Guest are viewing this topic.

Offline Matthew

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9, 9 respin & 10
I attempted to run a program via Wine as I have many times and the program failed to load.  When I tried to select from the "Open With" menu none of the Wine entries were visible.  I went to Synaptic to uninstall Wine and start with a fresh install and still it wasn't available as an option to open my software.

The next step was to uninstall completely Wine and do the install via the command line.  Sometimes it seems to work better though I don't understand exactly why.  I'm seeing error messages I don't know how to resolve despite a few hours of internet searching.  I thought that running "autoremove" might be a help.  It didn't change the error messages.

Code: [Select]
matthew@matthew-DesktopPeppermint10-NY550AA-ABA-p6240f ~ $ sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main' 
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease                           
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]         
Hit:3 http://ppa.launchpad.net/peppermintos/p10-release/ubuntu bionic InRelease     
Get:4 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease [6,257 B]           
Get:5 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]         
Get:6 https://dl.winehq.org/wine-builds/ubuntu bionic/main amd64 Packages [439 kB]
Hit:7 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease             
Get:8 https://dl.winehq.org/wine-builds/ubuntu bionic/main i386 Packages [466 kB]   
Fetched 1,088 kB in 10s (108 kB/s)                                                   
Reading package lists... Done
matthew@matthew-DesktopPeppermint10-NY550AA-ABA-p6240f ~ $ sudo apt update
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease                           
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]         
Hit:3 http://ppa.launchpad.net/peppermintos/p10-release/ubuntu bionic InRelease     
Hit:4 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease                     
Get:5 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]         
Hit:6 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Fetched 177 kB in 5s (37.2 kB/s)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
matthew@matthew-DesktopPeppermint10-NY550AA-ABA-p6240f ~ $ sudo apt install --install-recommends winehq-devel
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 winehq-devel : Depends: wine-devel (= 4.10~bionic)
E: Unable to correct problems, you have held broken packages.
matthew@matthew-DesktopPeppermint10-NY550AA-ABA-p6240f ~ $ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  cabextract gstreamer1.0-plugins-base:i386 libasn1-8-heimdal:i386 libasound2:i386
  libasound2-plugins:i386 libasyncns0:i386 libavahi-client3:i386
  libavahi-common-data:i386 libavahi-common3:i386 libbsd0:i386 libcairo2:i386
  libcap2:i386 libcapi20-3 libcapi20-3:i386 libcdparanoia0:i386 libcups2:i386
  libdbus-1-3:i386 libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386
  libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libelf1:i386 libexif12:i386
  libexpat1:i386 libffi6:i386 libflac8:i386 libfontconfig1:i386 libfreetype6:i386
  libgd3:i386 libgl1:i386 libgl1-mesa-dri:i386 libglapi-mesa:i386 libglib2.0-0:i386
  libglu1-mesa:i386 libglvnd0:i386 libglx-mesa0:i386 libglx0:i386 libgmp10:i386
  libgnutls30:i386 libgphoto2-6:i386 libgphoto2-port12:i386 libgsm1:i386
  libgssapi-krb5-2:i386 libgssapi3-heimdal:i386 libgstreamer-plugins-base1.0-0:i386
  libgstreamer1.0-0:i386 libhcrypto4-heimdal:i386 libheimbase1-heimdal:i386
  libheimntlm0-heimdal:i386 libhogweed4:i386 libhx509-5-heimdal:i386 libicu60:i386
  libidn2-0:i386 libieee1284-3:i386 libjack-jackd2-0:i386 libjbig0:i386
  libjpeg-turbo8:i386 libjpeg8:i386 libk5crypto3:i386 libkeyutils1:i386
  libkrb5-26-heimdal:i386 libkrb5-3:i386 libkrb5support0:i386 liblcms2-2:i386
  libldap-2.4-2:i386 libllvm7:i386 libltdl7:i386 libmpg123-0:i386 libmspack0
  libnettle6:i386 libodbc1 libodbc1:i386 libogg0:i386 libopenal1:i386 libopus0:i386
  liborc-0.4-0:i386 libosmesa6 libosmesa6:i386 libp11-kit0:i386 libpcap0.8:i386
  libpciaccess0:i386 libpixman-1-0:i386 libpng16-16:i386 libpulse0:i386
  libroken18-heimdal:i386 libsamplerate0:i386 libsane1:i386 libsasl2-2:i386
  libsasl2-modules:i386 libsasl2-modules-db:i386 libsensors4:i386 libsndfile1:i386
  libsndio6.1:i386 libspeexdsp1:i386 libsqlite3-0:i386 libssl1.1:i386
  libstdc++6:i386 libtasn1-6:i386 libtheora0:i386 libtiff5:i386 libunistring2:i386
  libusb-1.0-0:i386 libv4l-0:i386 libv4lconvert0:i386 libvisual-0.4-0:i386
  libvorbis0a:i386 libvorbisenc2:i386 libwebp6:i386 libwind0-heimdal:i386
  libwine-development libwine-development:i386 libwrap0:i386 libx11-6:i386
  libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386
  libxcb-glx0:i386 libxcb-present0:i386 libxcb-render0:i386 libxcb-shm0:i386
  libxcb-sync1:i386 libxcb1:i386 libxcomposite1:i386 libxcursor1:i386
  libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386
  libxinerama1:i386 libxml2:i386 libxpm4:i386 libxrandr2:i386 libxrender1:i386
  libxshmfence1:i386 libxslt1.1:i386 libxxf86vm1:i386 linux-headers-4.18.0-18
  linux-headers-4.18.0-18-generic linux-image-4.18.0-18-generic
  linux-modules-4.18.0-18-generic linux-modules-extra-4.18.0-18-generic
  ocl-icd-libopencl1:i386 p7zip
0 upgraded, 0 newly installed, 147 to remove and 0 not upgraded.
After this operation, 1,065 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 412741 files and directories currently installed.)
Removing cabextract (1.6-1.1) ...
Removing gstreamer1.0-plugins-base:i386 (1.14.1-1ubuntu1~ubuntu18.04.2) ...
Removing libwine-development:i386 (3.6-1) ...
Removing libldap-2.4-2:i386 (2.4.45+dfsg-1ubuntu1.2) ...
Removing libgssapi3-heimdal:i386 (7.5.0+dfsg-1) ...
Removing libheimntlm0-heimdal:i386 (7.5.0+dfsg-1) ...
Removing libkrb5-26-heimdal:i386 (7.5.0+dfsg-1) ...
Removing libhx509-5-heimdal:i386 (7.5.0+dfsg-1) ...
Removing libopenal1:i386 (1:1.18.2-2) ...
Removing libsndio6.1:i386 (1.1.0-3) ...
Removing libasound2-plugins:i386 (1.1.1-1ubuntu1) ...
Removing libasound2:i386 (1.1.3-5ubuntu0.2) ...
Removing libpulse0:i386 (1:11.1-1ubuntu7.2) ...
Removing libasyncns0:i386 (0.8-6) ...
Removing libcups2:i386 (2.2.7-1ubuntu2.6) ...
Removing libsane1:i386 (1.0.27-1~experimental3ubuntu2) ...
Removing libavahi-client3:i386 (0.7-3.1ubuntu1.2) ...
Removing libavahi-common3:i386 (0.7-3.1ubuntu1.2) ...
Removing libavahi-common-data:i386 (0.7-3.1ubuntu1.2) ...
Removing libglu1-mesa:i386 (9.0.0-2.1build1) ...
Removing libgl1:i386 (1.0.0-2ubuntu2.3) ...
Removing libglx0:i386 (1.0.0-2ubuntu2.3) ...
Removing libglx-mesa0:i386 (18.2.8-0ubuntu0~18.04.2) ...
Removing libxcb-sync1:i386 (1.13-2~ubuntu18.04) ...
Removing libtheora0:i386 (1.1.1+dfsg.1-14) ...
Removing libcairo2:i386 (1.15.10-2ubuntu0.1) ...
Removing libgstreamer-plugins-base1.0-0:i386 (1.14.1-1ubuntu1~ubuntu18.04.2) ...
Removing libgstreamer1.0-0:i386 (1.14.1-1~ubuntu18.04.2) ...
Removing libcap2:i386 (1:2.25-1.2) ...
Removing libcapi20-3:amd64 (1:3.27-3) ...
Removing libcapi20-3:i386 (1:3.27-3) ...
Removing libcdparanoia0:i386 (3.10.2+debian-13) ...
Removing libdbus-1-3:i386 (1.12.2-1ubuntu1.1) ...
Removing libgl1-mesa-dri:i386 (18.2.8-0ubuntu0~18.04.2) ...
Removing libdrm-amdgpu1:i386 (2.4.95-1~18.04.1) ...
Removing libdrm-intel1:i386 (2.4.95-1~18.04.1) ...
Removing libdrm-nouveau2:i386 (2.4.95-1~18.04.1) ...
Removing libdrm-radeon1:i386 (2.4.95-1~18.04.1) ...
Removing libdrm2:i386 (2.4.95-1~18.04.1) ...
Removing libllvm7:i386 (1:7-3~ubuntu0.18.04.1) ...
Removing libedit2:i386 (3.1-20170329-1) ...
Removing libelf1:i386 (0.170-0.4ubuntu0.1) ...
Removing libgphoto2-6:i386 (2.5.16-2) ...
Removing libexif12:i386 (0.6.21-4) ...
Removing libgd3:i386 (2.2.5-4ubuntu0.3) ...
Removing libfontconfig1:i386 (2.12.6-0ubuntu2) ...
Removing libexpat1:i386 (2.2.5-3) ...
Removing libglib2.0-0:i386 (2.56.4-0ubuntu0.18.04.3) ...
Removing libgnutls30:i386 (3.5.18-1ubuntu1.1) ...
Removing libp11-kit0:i386 (0.23.9-2) ...
Removing libffi6:i386 (3.2.1-8) ...
Removing libsndfile1:i386 (1.0.28-4ubuntu0.18.04.1) ...
Removing libflac8:i386 (1.3.2-1) ...
Removing libfreetype6:i386 (2.8.1-2ubuntu2) ...
Removing libosmesa6:i386 (18.2.8-0ubuntu0~18.04.2) ...
Removing libglapi-mesa:i386 (18.2.8-0ubuntu0~18.04.2) ...
Removing libglvnd0:i386 (1.0.0-2ubuntu2.3) ...
Removing libhogweed4:i386 (3.4-1) ...
Removing libgmp10:i386 (2:6.1.2+dfsg-2) ...
Removing libgphoto2-port12:i386 (2.5.16-2) ...
Removing libgsm1:i386 (1.0.13-4build1) ...
Removing libgssapi-krb5-2:i386 (1.16-2ubuntu0.1) ...
Removing libhcrypto4-heimdal:i386 (7.5.0+dfsg-1) ...
Removing libheimbase1-heimdal:i386 (7.5.0+dfsg-1) ...
Removing libxslt1.1:i386 (1.1.29-5ubuntu0.1) ...
Removing libxml2:i386 (2.9.4+dfsg1-6.1ubuntu1.2) ...
Removing libicu60:i386 (60.2-3ubuntu3) ...
Removing libidn2-0:i386 (2.0.4-1.1build2) ...
Removing libieee1284-3:i386 (0.2.11-13) ...
Removing libjack-jackd2-0:i386 (1.9.12~dfsg-2) ...
Removing libtiff5:i386 (4.0.9-5ubuntu0.2) ...
Removing libjbig0:i386 (2.1-3.1build1) ...
Removing libv4l-0:i386 (1.14.2-1) ...
Removing libv4lconvert0:i386 (1.14.2-1) ...
Removing libjpeg8:i386 (8c-2ubuntu8) ...
Removing libjpeg-turbo8:i386 (1.5.2-0ubuntu5.18.04.1) ...
Removing libkrb5-3:i386 (1.16-2ubuntu0.1) ...
Removing libk5crypto3:i386 (1.16-2ubuntu0.1) ...
Removing libkeyutils1:i386 (1.5.9-9.2ubuntu2) ...
Removing libkrb5support0:i386 (1.16-2ubuntu0.1) ...
Removing liblcms2-2:i386 (2.9-1ubuntu0.1) ...
Removing libodbc1:i386 (2.3.4-1.1ubuntu3) ...
Removing libltdl7:i386 (2.4.6-2) ...
Removing libmpg123-0:i386 (1.25.10-1) ...
Removing libmspack0:amd64 (0.6-3ubuntu0.2) ...
Removing libnettle6:i386 (3.4-1) ...
Removing libodbc1:amd64 (2.3.4-1.1ubuntu3) ...
Removing libvorbisenc2:i386 (1.3.5-4.2) ...
Removing libvorbis0a:i386 (1.3.5-4.2) ...
Removing libogg0:i386 (1.3.2-1) ...
Removing libopus0:i386 (1.1.2-1ubuntu1) ...
Removing liborc-0.4-0:i386 (1:0.4.28-1) ...
Removing libosmesa6:amd64 (18.2.8-0ubuntu0~18.04.2) ...
Removing libpcap0.8:i386 (1.8.1-6ubuntu1) ...
Removing libpciaccess0:i386 (0.14-1) ...
Removing libpixman-1-0:i386 (0.34.0-2) ...
Removing libpng16-16:i386 (1.6.34-1ubuntu0.18.04.2) ...
Removing libwind0-heimdal:i386 (7.5.0+dfsg-1) ...
Removing libsamplerate0:i386 (0.1.9-1) ...
Removing libsasl2-2:i386 (2.1.27~101-g0780600+dfsg-3ubuntu2) ...
Removing libsasl2-modules:i386 (2.1.27~101-g0780600+dfsg-3ubuntu2) ...
Removing libsasl2-modules-db:i386 (2.1.27~101-g0780600+dfsg-3ubuntu2) ...
Removing libsensors4:i386 (1:3.4.0-4) ...
Removing libspeexdsp1:i386 (1.2~rc1.2-1ubuntu2) ...
Removing libsqlite3-0:i386 (3.22.0-1) ...
Removing libssl1.1:i386 (1.1.1-1ubuntu2.1~18.04.2) ...
Removing libstdc++6:i386 (8.3.0-6ubuntu1~18.04.1) ...
Removing libtasn1-6:i386 (4.13-2) ...
Removing libunistring2:i386 (0.9.9-0ubuntu2) ...
Removing libusb-1.0-0:i386 (2:1.0.21-2) ...
Removing libvisual-0.4-0:i386 (0.4.0-11) ...
Removing libwebp6:i386 (0.6.1-2) ...
Removing libwine-development:amd64 (3.6-1) ...
Removing libwrap0:i386 (7.6.q-27) ...
Removing libx11-xcb1:i386 (2:1.6.4-3ubuntu0.2) ...
Removing libxcb-dri2-0:i386 (1.13-2~ubuntu18.04) ...
Removing libxcb-dri3-0:i386 (1.13-2~ubuntu18.04) ...
Removing libxcb-glx0:i386 (1.13-2~ubuntu18.04) ...
Removing libxcb-present0:i386 (1.13-2~ubuntu18.04) ...
Removing libxcb-render0:i386 (1.13-2~ubuntu18.04) ...
Removing libxcb-shm0:i386 (1.13-2~ubuntu18.04) ...
Removing libxcomposite1:i386 (1:0.4.4-2) ...
Removing libxcursor1:i386 (1:1.1.15-1) ...
Removing libxdamage1:i386 (1:1.1.4-3) ...
Removing libxxf86vm1:i386 (1:1.1.4-1) ...
Removing libxrandr2:i386 (2:1.5.1-1) ...
Removing libxfixes3:i386 (1:5.0.3-1) ...
Removing libxi6:i386 (2:1.7.9-1) ...
Removing libxinerama1:i386 (2:1.1.3-1) ...
Removing libxpm4:i386 (1:3.5.12-1) ...
Removing libxrender1:i386 (1:0.9.10-1) ...
Removing libxshmfence1:i386 (1.3-1) ...
Removing linux-headers-4.18.0-18-generic (4.18.0-18.19~18.04.1) ...
Removing linux-headers-4.18.0-18 (4.18.0-18.19~18.04.1) ...
Removing linux-modules-extra-4.18.0-18-generic (4.18.0-18.19~18.04.1) ...
Removing linux-image-4.18.0-18-generic (4.18.0-18.19~18.04.1) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.18.0-18-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_peppermint.cfg'
Generating grub configuration file ...
Found background image: grub-background.png
Found linux image: /boot/vmlinuz-4.18.0-21-generic
Found initrd image: /boot/initrd.img-4.18.0-21-generic
Found linux image: /boot/vmlinuz-4.18.0-20-generic
Found initrd image: /boot/initrd.img-4.18.0-20-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Peppermint 9 Nine (9) on /dev/sda10
Found Debian GNU/Linux 8 (jessie) on /dev/sda11
Found Peppermint 9 Nine (9) on /dev/sda5
done
Removing linux-modules-4.18.0-18-generic (4.18.0-18.19~18.04.1) ...
Removing ocl-icd-libopencl1:i386 (2.2.11-1ubuntu1) ...
Removing p7zip (16.02+dfsg-6) ...
Removing libasn1-8-heimdal:i386 (7.5.0+dfsg-1) ...
Removing libroken18-heimdal:i386 (7.5.0+dfsg-1) ...
Removing libxext6:i386 (2:1.3.3-1) ...
Removing libx11-6:i386 (2:1.6.4-3ubuntu0.2) ...
Removing libxcb1:i386 (1.13-2~ubuntu18.04) ...
Removing libxdmcp6:i386 (1:1.1.2-3) ...
Removing libbsd0:i386 (0.8.7-1) ...
Removing libxau6:i386 (1:1.0.8-1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
matthew@matthew-DesktopPeppermint10-NY550AA-ABA-p6240f ~ $ sudo apt install --install-recommends winehq-devel
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 winehq-devel : Depends: wine-devel (= 4.10~bionic)
E: Unable to correct problems, you have held broken packages.

I went to Synaptic and ran "Fix broken packages".  Nothing seemed to happen, no confirmation and no error messages.

Code: [Select]
matthew@matthew-DesktopPeppermint10-NY550AA-ABA-p6240f ~/Downloads $ sudo apt-key add Release.key
OK
matthew@matthew-DesktopPeppermint10-NY550AA-ABA-p6240f ~/Downloads $ sudo apt-add-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./'
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease                           
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]         
Hit:3 http://ppa.launchpad.net/peppermintos/p10-release/ubuntu bionic InRelease     
Hit:4 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease                     
Get:5 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]         
Hit:6 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease                 
Ign:7 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_Testing_standard ./ InRelease
Ign:8 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04 ./ InRelease
Hit:9 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_Testing_standard ./ Release
Get:11 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04 ./ Release [1,035 B]
Get:12 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04 ./ Release.gpg [481 B]
Get:13 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04 ./ Packages [85.9 kB]
Fetched 265 kB in 10s (27.2 kB/s)                                                   
Reading package lists... Done
matthew@matthew-DesktopPeppermint10-NY550AA-ABA-p6240f ~/Downloads $ sudo apt update
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease                           
Hit:2 http://ppa.launchpad.net/peppermintos/p10-release/ubuntu bionic InRelease     
Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]         
Hit:4 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease                     
Get:5 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]         
Ign:6 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_Testing_standard ./ InRelease
Ign:7 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04 ./ InRelease
Hit:8 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:9 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_Testing_standard ./ Release [1,075 B]
Hit:10 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04 ./ Release
Get:12 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_Testing_standard ./ Release.gpg [481 B]
Get:13 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_Testing_standard ./ Packages [86.0 kB]
Fetched 265 kB in 17s (15.4 kB/s)                                                   
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
matthew@matthew-DesktopPeppermint10-NY550AA-ABA-p6240f ~/Downloads $ cd ~
matthew@matthew-DesktopPeppermint10-NY550AA-ABA-p6240f ~ $ sudo apt install --install-recommends winehq-devel
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 winehq-devel : Depends: wine-devel (= 4.10~buster)
E: Unable to correct problems, you have held broken packages.

Back to Synaptic to try an install from there assuming I was missing something as usual.  I ended up with this;

E: Unable to correct problems, you have held broken packages.
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

So far I have not been able to identify the broken packages, if they actually exist nor have I been able to understand what "held" packages are or what to do about them.

Any suggestions?
« Last Edit: June 17, 2019, 12:33:01 pm by Matthew »
Whenever mom would call about computer problems I would find a hammer laying beside the CPU.  She insisted it was for putting jigsaw puzzle pieces together when they didn't seem to fit right.  I think dad buried the computer in the back yard.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25730
  • Karma: 2822
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: How do I deal with broken or held packages during Wine install
« Reply #1 on: June 15, 2019, 03:39:36 pm »
Good god, how many wine repos have you added .. no wonder it's getting confused

What's the output from:
Code: [Select]
dpkg -l | grep wine
and
Code: [Select]
ls -a /etc/apt/sources.list.d
and the contents of
Code: [Select]
xed /etc/apt/sources.list
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Matthew

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9, 9 respin & 10
Re: How do I deal with broken or held packages during Wine install
« Reply #2 on: June 15, 2019, 04:02:23 pm »
Sorry PCNetSpec.  I'm such a novice at all this.  I hope one day I can retire from my day job and have time to really understand this stuff.  I do always appreciate your help. 

I've probably added a different repository for every time Wine has given me upgrade headaches.  How I get the thing to work at all may be blind luck until now in all honesty.

The first command.
Code: [Select]
matthew@matthew-DesktopPeppermint10-NY550AA-ABA-p6240f ~ $ dpkg -l | grep wine
matthew@matthew-DesktopPeppermint10-NY550AA-ABA-p6240f ~ $ ls -a /etc/apt/sources.list.d
.  ..  peppermint.list  peppermint.list.save
matthew@matthew-DesktopPeppermint10-NY550AA-ABA-p6240f ~ $ xed /etc/apt/sources.list

(xed:3443): Gdk-CRITICAL **: 15:54:54.299: gdk_window_get_window_type: assertion 'GDK_IS_WINDOW (window)' failed



"(xed:3443): Gdk-CRITICAL **: 15:54:54.299: gdk_window_get_window_type: assertion 'GDK_IS_WINDOW (window)' failed" is completely new to me.  I've never seen it before and have not a clue what it means yet.

The contents
Code: [Select]
# deb cdrom:[Peppermint 10 (20190514) - Release amd64]/ bionic main multiverse restricted universe

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main
deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_Testing_standard ./
# deb-src https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_Testing_standard ./
deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./
# deb-src https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./
Whenever mom would call about computer problems I would find a hammer laying beside the CPU.  She insisted it was for putting jigsaw puzzle pieces together when they didn't seem to fit right.  I think dad buried the computer in the back yard.

Offline Matthew

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9, 9 respin & 10
@PcSpecNet,
You often know just the right questions to ask to get me looking in the right place.  When you asked about the multiple repositories for WINE it caused me to go take a closer look.  I shut down the repositories least likely to be needed and tried again.  Over on the WINEhq site there was information about some dependencies that were not included in the WINE development branch.  Rather than installing them I went with the Stable version.  This time the install went well and WINE seems to be working well.  It just never occurred to me that the old repositories in the system could be causing the problems.

I have used the Development branch for several years because I had trouble running the software I use.  The Stable branch seems to have caught up with my software and is working well enough.

Thanks again!
Whenever mom would call about computer problems I would find a hammer laying beside the CPU.  She insisted it was for putting jigsaw puzzle pieces together when they didn't seem to fit right.  I think dad buried the computer in the back yard.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25730
  • Karma: 2822
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: How do I deal with broken or held packages during Wine install
« Reply #4 on: June 17, 2019, 12:05:26 pm »
Sorry I didn't get back to this, somehow it slipped past my system for keeping track of active questions :-[

Is this solved now then Matthew ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Matthew

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9, 9 respin & 10
I was certain I had marked it solved. 
Whenever mom would call about computer problems I would find a hammer laying beside the CPU.  She insisted it was for putting jigsaw puzzle pieces together when they didn't seem to fit right.  I think dad buried the computer in the back yard.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25730
  • Karma: 2822
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Great stuff, glad to hear you figured it out and fixed it :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec