You are not logged in.

#1 2020-11-11 18:42:58

dumetrulo
Member
Registered: 2019-07-03
Posts: 17

[SOLVED] Lithium/testing and installing Wine

I recently borked my system, so I reinstalled it, and before doing anything else, I upgraded to testing (bullseye). With the bare default BL setup, that seems to work just fine.

Now I wanted to install Wine. Here's what happened:

huz@e7k45-bl:~$ sudo dpkg --add-architecture i386
huz@e7k45-bl:~$ sudo apt update
Hit:2 https://deb.debian.org/debian testing InRelease
Hit:3 https://deb.debian.org/debian-security testing-security InRelease
Hit:4 https://deb.debian.org/debian testing-updates InRelease
Hit:1 http://eu.pkg.bunsenlabs.org/debian lithium InRelease    
Reading package lists... Done                                  
Building dependency tree       
Reading state information... Done
6 packages can be upgraded. Run 'apt list --upgradable' to see them.
huz@e7k45-bl:~$ sudo dpkg --print-architecture
amd64
huz@e7k45-bl:~$ sudo dpkg --add-architecture i386
huz@e7k45-bl:~$ sudo dpkg --print-foreign-architectures
i386
huz@e7k45-bl:~$ sudo apt install wine-development win32-development wine64-development libwine-development libwine-development:i386 fonts-wine
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package wine-development is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'wine-development' has no installation candidate
E: Unable to locate package win32-development
E: Unable to locate package wine64-development
E: Unable to locate package libwine-development
E: Unable to locate package libwine-development:i386

OK, so wine-development does not exist in testing, probably a temporary situation. Let's try ordinary wine:

huz@e7k45-bl:~$ sudo apt install wine wine64 wine32 libwine libwine:i386 fonts-wine winbind winetricks
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  cpp-8 gnustep-base-common gnustep-common libatomic1 libboost-atomic1.67.0 libboost-chrono1.67.0 libboost-date-time1.67.0
  libboost-filesystem1.67.0 libboost-iostreams1.67.0 libboost-locale1.67.0 libboost-system1.67.0 libboost-thread1.67.0 libcdio18
  libcodec2-0.8.1 libcroco3 libcrystalhd3 libcwidget3v5 libdc1394-22 libdouble-conversion1 libdvdread4 libebml4v5 libept1.5.0
  libevent-2.1-6 libexo-1-0 libfluidsynth1 libgspell-1-1 libgssdp-1.0-3 libgupnp-1.0-4 libhavege1 libicu63 libigdgmm5 libilmbase23
  libindicator3-7 libisl19 libjim0.77 libjsoncpp1 libjte1 liblivemedia64 libllvm7 liblua5.1-0 libmatroska6v5 libmpdec2 libmysofa0
  libnfs12 liboauth0 libopenexr23 liborcus-0.14-0 libperl5.28 libpgm-5.2-0 libplacebo7 libpoppler82 libprotobuf-lite17
  libpython2.7 libpython3.7-minimal libpython3.7-stdlib libusbmuxd4 libvpx5 libwxgtk3.0-0v5 libx264-155 libx265-165 libxfconf-0-2
  perl-modules-5.28 python-apt python-talloc python-xapian python3-evdev python3.7-minimal
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cabextract fuseiso gcc-10-base:i386 glib-networking:i386
  gstreamer1.0-plugins-base:i386 gstreamer1.0-plugins-good:i386 gstreamer1.0-x:i386 i965-va-driver:i386 intel-media-va-driver:i386
  ipp-usb:i386 krb5-locales libaa1:i386 libaom0:i386 libasound2:i386 libasound2-plugins:i386 libasyncns0:i386 libatomic1:i386
  libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386 libavc1394-0:i386 libavcodec58:i386 libavresample4:i386
  libavutil56:i386 libbinutils libblkid1:i386 libbrotli1:i386 libbsd0:i386 libbz2-1.0:i386 libc6:i386 libcaca0:i386
  libcairo-gobject2:i386 libcairo2:i386 libcap2:i386 libcapi20-3 libcapi20-3:i386 libcdparanoia0:i386 libcodec2-0.9:i386
  libcom-err2:i386 libcrypt1:i386 libctf-nobfd0 libctf0 libcups2:i386 libcurl3-gnutls:i386 libcurl4:i386 libdatrie1:i386
  libdav1d4:i386 libdb5.3:i386 libdbus-1-3:i386 libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386
  libdrm2:i386 libdv4:i386 libdw1:i386 libedit2:i386 libelf1:i386 libexif12:i386 libexpat1:i386 libfaudio0 libfaudio0:i386
  libffi7:i386 libflac8:i386 libfontconfig1:i386 libfreetype6:i386 libfribidi0:i386 libgbm1:i386 libgcc-s1:i386 libgcrypt20:i386
  libgd3:i386 libgdbm-compat4:i386 libgdbm6:i386 libgdk-pixbuf2.0-0:i386 libgdk-pixbuf2.0-bin 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 libgomp1:i386 libgpg-error-l10n libgpg-error0:i386 libgphoto2-6:i386 libgphoto2-l10n libgphoto2-port12:i386
  libgpm2:i386 libgraphite2-3:i386 libgsm1:i386 libgssapi-krb5-2:i386 libgstreamer-plugins-base1.0-0:i386 libgstreamer1.0-0:i386
  libgudev-1.0-0:i386 libharfbuzz0b:i386 libhogweed6:i386 libicu67:i386 libidn2-0:i386 libiec61883-0:i386 libieee1284-3:i386
  libigdgmm11:i386 libjack-jackd2-0:i386 libjbig0:i386 libjpeg62-turbo:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-3:i386
  libkrb5support0:i386 liblcms2-2:i386 libldap-2.4-2:i386 libllvm10:i386 libltdl7:i386 liblz4-1:i386 liblzma5:i386 libmount1:i386
  libmp3lame0:i386 libmpg123-0:i386 libmspack0 libncurses6:i386 libncursesw6:i386 libnettle8:i386 libnghttp2-14:i386 libnsl2:i386
  libnspr4:i386 libnss-nis:i386 libnss-nisplus:i386 libnss3:i386 libnuma1:i386 libodbc1 libodbc1:i386 libogg0:i386 libopenal1:i386
  libopenjp2-7:i386 libopus0:i386 liborc-0.4-0:i386 libosmesa6 libosmesa6:i386 libp11-kit0:i386 libpango-1.0-0:i386
  libpangocairo-1.0-0:i386 libpangoft2-1.0-0:i386 libpcap0.8 libpcap0.8:i386 libpci3:i386 libpciaccess0:i386 libpcre2-8-0:i386
  libpcre3:i386 libperl5.30:i386 libpixman-1-0:i386 libpng16-16:i386 libpoppler-glib8:i386 libpoppler102:i386 libproxy1v5:i386
  libpsl5:i386 libpulse0:i386 libraw1394-11:i386 librsvg2-2:i386 librsvg2-common:i386 librtmp1:i386 libsamplerate0:i386
  libsane:i386 libsane1:i386 libsasl2-2:i386 libsasl2-modules:i386 libsasl2-modules-db:i386 libsdl2-2.0-0:i386 libselinux1:i386
  libsensors5:i386 libshine3:i386 libshout3:i386 libslang2:i386 libsnappy1v5:i386 libsndfile1:i386 libsndio7.0:i386 libsnmp40:i386
  libsoup2.4-1:i386 libsoxr0:i386 libspeex1:i386 libsqlite3-0:i386 libssh2-1:i386 libssl1.1:i386 libstb0 libstb0:i386
  libstdc++6:i386 libswresample3:i386 libsystemd0:i386 libtag1v5:i386 libtag1v5-vanilla:i386 libtasn1-6:i386 libthai0:i386
  libtheora0:i386 libtiff5:i386 libtinfo6:i386 libtirpc3:i386 libtwolame0:i386 libudev1:i386 libunistring2:i386 libunwind8:i386
  libusb-1.0-0:i386 libuuid1:i386 libv4l-0:i386 libv4lconvert0:i386 libva-drm2:i386 libva-x11-2:i386 libva2:i386
  libvdpau-va-gl1:i386 libvdpau1:i386 libvisual-0.4-0:i386 libvkd3d1 libvkd3d1:i386 libvorbis0a:i386 libvorbisenc2:i386
  libvpx6:i386 libvulkan1:i386 libwavpack1:i386 libwayland-client0:i386 libwayland-cursor0:i386 libwayland-egl1:i386
  libwayland-server0:i386 libwebp6:i386 libwebpmux3:i386 libwrap0:i386 libx11-6:i386 libx11-xcb1:i386 libx264-160:i386
  libx265-192:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-randr0:i386
  libxcb-render0:i386 libxcb-shm0:i386 libxcb-sync1:i386 libxcb-xfixes0:i386 libxcb1:i386 libxcomposite1:i386 libxcursor1:i386
  libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxkbcommon0:i386 libxml2:i386
  libxpm4:i386 libxrandr2:i386 libxrender1:i386 libxshmfence1:i386 libxslt1.1:i386 libxss1:i386 libxv1:i386 libxvidcore4:i386
  libxxf86vm1:i386 libz3-4:i386 libzstd1:i386 libzvbi0:i386 mesa-va-drivers:i386 mesa-vdpau-drivers:i386 mesa-vulkan-drivers:i386
  ocl-icd-libopencl1:i386 publicsuffix python3-crypto python3-gpg python3-samba python3-tdb samba-common samba-common-bin
  samba-dsdb-modules va-driver-all:i386 vdpau-driver-all:i386 zlib1g:i386
Suggested packages:
  binutils-doc gvfs:i386 i965-va-driver-shaders:i386 glibc-doc:i386 locales:i386 libdv-bin:i386 oss-compat:i386 rng-tools:i386
  libgd-tools:i386 gnutls-bin:i386 gphoto2:i386 gpm:i386 krb5-doc:i386 krb5-user:i386 libvisual-0.4-plugins:i386
  gstreamer1.0-tools:i386 jackd2:i386 libmyodbc odbc-postgresql tdsodbc unixodbc-bin libmyodbc:i386 odbc-postgresql:i386
  tdsodbc:i386 unixodbc-bin:i386 libportaudio2:i386 opus-tools:i386 libraw1394-doc:i386 librsvg2-bin:i386 hplip:i386
  libsasl2-modules-gssapi-mit:i386 | libsasl2-modules-gssapi-heimdal:i386 libsasl2-modules-ldap:i386 libsasl2-modules-otp:i386
  libsasl2-modules-sql:i386 lm-sensors:i386 sndiod:i386 speex:i386 cups-bsd ttf-mscorefonts-installer cups-bsd:i386
  gstreamer1.0-libav:i386 gstreamer1.0-plugins-bad:i386 gstreamer1.0-plugins-ugly:i386 ttf-mscorefonts-installer:i386
  opencl-icd:i386 heimdal-clients python3-markdown python3-dnspython nvidia-vdpau-driver:i386 nvidia-tesla-440-vdpau-driver:i386
  nvidia-tesla-418-vdpau-driver:i386 nvidia-legacy-390xx-vdpau-driver:i386 nvidia-legacy-340xx-vdpau-driver:i386 libnss-winbind
  libpam-winbind q4wine playonlinux wine-binfmt dosbox exe-thumbnailer | kio-extras wine32-preloader:i386 wine64-preloader tor
The following packages will be REMOVED:
  ipp-usb
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cabextract fonts-wine fuseiso gcc-10-base:i386 glib-networking:i386
  gstreamer1.0-plugins-base:i386 gstreamer1.0-plugins-good:i386 gstreamer1.0-x:i386 i965-va-driver:i386 intel-media-va-driver:i386
  ipp-usb:i386 krb5-locales libaa1:i386 libaom0:i386 libasound2:i386 libasound2-plugins:i386 libasyncns0:i386 libatomic1:i386
  libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386 libavc1394-0:i386 libavcodec58:i386 libavresample4:i386
  libavutil56:i386 libbinutils libblkid1:i386 libbrotli1:i386 libbsd0:i386 libbz2-1.0:i386 libc6:i386 libcaca0:i386
  libcairo-gobject2:i386 libcairo2:i386 libcap2:i386 libcapi20-3 libcapi20-3:i386 libcdparanoia0:i386 libcodec2-0.9:i386
  libcom-err2:i386 libcrypt1:i386 libctf-nobfd0 libctf0 libcups2:i386 libcurl3-gnutls:i386 libcurl4:i386 libdatrie1:i386
  libdav1d4:i386 libdb5.3:i386 libdbus-1-3:i386 libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386
  libdrm2:i386 libdv4:i386 libdw1:i386 libedit2:i386 libelf1:i386 libexif12:i386 libexpat1:i386 libfaudio0 libfaudio0:i386
  libffi7:i386 libflac8:i386 libfontconfig1:i386 libfreetype6:i386 libfribidi0:i386 libgbm1:i386 libgcc-s1:i386 libgcrypt20:i386
  libgd3:i386 libgdbm-compat4:i386 libgdbm6:i386 libgdk-pixbuf2.0-0:i386 libgdk-pixbuf2.0-bin 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 libgomp1:i386 libgpg-error-l10n libgpg-error0:i386 libgphoto2-6:i386 libgphoto2-l10n libgphoto2-port12:i386
  libgpm2:i386 libgraphite2-3:i386 libgsm1:i386 libgssapi-krb5-2:i386 libgstreamer-plugins-base1.0-0:i386 libgstreamer1.0-0:i386
  libgudev-1.0-0:i386 libharfbuzz0b:i386 libhogweed6:i386 libicu67:i386 libidn2-0:i386 libiec61883-0:i386 libieee1284-3:i386
  libigdgmm11:i386 libjack-jackd2-0:i386 libjbig0:i386 libjpeg62-turbo:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-3:i386
  libkrb5support0:i386 liblcms2-2:i386 libldap-2.4-2:i386 libllvm10:i386 libltdl7:i386 liblz4-1:i386 liblzma5:i386 libmount1:i386
  libmp3lame0:i386 libmpg123-0:i386 libmspack0 libncurses6:i386 libncursesw6:i386 libnettle8:i386 libnghttp2-14:i386 libnsl2:i386
  libnspr4:i386 libnss-nis:i386 libnss-nisplus:i386 libnss3:i386 libnuma1:i386 libodbc1 libodbc1:i386 libogg0:i386 libopenal1:i386
  libopenjp2-7:i386 libopus0:i386 liborc-0.4-0:i386 libosmesa6 libosmesa6:i386 libp11-kit0:i386 libpango-1.0-0:i386
  libpangocairo-1.0-0:i386 libpangoft2-1.0-0:i386 libpcap0.8 libpcap0.8:i386 libpci3:i386 libpciaccess0:i386 libpcre2-8-0:i386
  libpcre3:i386 libperl5.30:i386 libpixman-1-0:i386 libpng16-16:i386 libpoppler-glib8:i386 libpoppler102:i386 libproxy1v5:i386
  libpsl5:i386 libpulse0:i386 libraw1394-11:i386 librsvg2-2:i386 librsvg2-common:i386 librtmp1:i386 libsamplerate0:i386
  libsane:i386 libsane1:i386 libsasl2-2:i386 libsasl2-modules:i386 libsasl2-modules-db:i386 libsdl2-2.0-0:i386 libselinux1:i386
  libsensors5:i386 libshine3:i386 libshout3:i386 libslang2:i386 libsnappy1v5:i386 libsndfile1:i386 libsndio7.0:i386 libsnmp40:i386
  libsoup2.4-1:i386 libsoxr0:i386 libspeex1:i386 libsqlite3-0:i386 libssh2-1:i386 libssl1.1:i386 libstb0 libstb0:i386
  libstdc++6:i386 libswresample3:i386 libsystemd0:i386 libtag1v5:i386 libtag1v5-vanilla:i386 libtasn1-6:i386 libthai0:i386
  libtheora0:i386 libtiff5:i386 libtinfo6:i386 libtirpc3:i386 libtwolame0:i386 libudev1:i386 libunistring2:i386 libunwind8:i386
  libusb-1.0-0:i386 libuuid1:i386 libv4l-0:i386 libv4lconvert0:i386 libva-drm2:i386 libva-x11-2:i386 libva2:i386
  libvdpau-va-gl1:i386 libvdpau1:i386 libvisual-0.4-0:i386 libvkd3d1 libvkd3d1:i386 libvorbis0a:i386 libvorbisenc2:i386
  libvpx6:i386 libvulkan1:i386 libwavpack1:i386 libwayland-client0:i386 libwayland-cursor0:i386 libwayland-egl1:i386
  libwayland-server0:i386 libwebp6:i386 libwebpmux3:i386 libwine libwine:i386 libwrap0:i386 libx11-6:i386 libx11-xcb1:i386
  libx264-160:i386 libx265-192:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386
  libxcb-randr0:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcb-sync1:i386 libxcb-xfixes0:i386 libxcb1:i386 libxcomposite1:i386
  libxcursor1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxkbcommon0:i386
  libxml2:i386 libxpm4:i386 libxrandr2:i386 libxrender1:i386 libxshmfence1:i386 libxslt1.1:i386 libxss1:i386 libxv1:i386
  libxvidcore4:i386 libxxf86vm1:i386 libz3-4:i386 libzstd1:i386 libzvbi0:i386 mesa-va-drivers:i386 mesa-vdpau-drivers:i386
  mesa-vulkan-drivers:i386 ocl-icd-libopencl1:i386 publicsuffix python3-crypto python3-gpg python3-samba python3-tdb samba-common
  samba-common-bin samba-dsdb-modules va-driver-all:i386 vdpau-driver-all:i386 winbind wine wine32:i386 wine64 winetricks
  zlib1g:i386
0 upgraded, 289 newly installed, 1 to remove and 6 not upgraded.
Need to get 208 MB of archives.
After this operation, 1,008 MB of additional disk space will be used.
Do you want to continue? [Y/n] ^C

At this point I interrupted apt because I am unsure whether ipp-usb is needed for anything (my printer is accessed over WiFi as opposed to USB).

Any constructive ideas? How can I find out why apt wants to uninstall anything?

Last edited by dumetrulo (2020-11-15 11:40:23)

Offline

#2 2020-11-12 17:17:30

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 750

Re: [SOLVED] Lithium/testing and installing Wine

dumetrulo wrote:

Any constructive ideas?

If you are determined to manage a nonstandard system, you need to learn som basics about package management.

On the help menu, you have links to two excelent sources: "The Debian handbook" and "Debian Reference". Read especialey the chapters about package managemnet.

In every package, there is an file named "INFO".
Latest 64-bit package for ipp-usb, have following information, that answers most of your questions:

../INFO wrote:

Package: ipp-usb
Version: 0.9.14-1
Architecture: amd64
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Installed-Size: 5585
Depends: libavahi-client3 (>= 0.6.16), libavahi-common3 (>= 0.6.16), libc6 (>= 2.4), libusb-1.0-0 (>= 2:1.0.16), avahi-daemon
Built-Using: golang-1.15 (= 1.15.2-1), golang-github-openprinting-goipp (= 1.0.0-1)
Section: comm
Priority: optional
Homepage: https://github.com/OpenPrinting/ipp-usb
Description: Daemon for IPP over USB printer support
  ipp-usb is a userland driver for USB devices (printers, scanners, MFC),
  supporting the IPP over USB protocol. It enables these USB devices to
  be seen as regular network printers.
  .
  It is designed to be a replacement of ippusbxd daemon, previously
  used for this purpose. It has a greatly rethought architecture, in
  comparison with ippusbxd, and fixes all of its major flaws and issues.

The information above, is also presented on the package page on https://packages.debian.org/*, in synaptic (you need to enable the setting: Show package properties in main window.) and on the package homepage:  https://github.com/OpenPrinting/ipp-usb

As you are not talking http, to any usb-connected equipment, I can not see that you would be negatively affected by remove the package.

Why not just test remove the package?


// Regards rbh

Offline

#3 2020-11-12 18:02:03

twoion
ほやほや
Registered: 2015-08-10
Posts: 3,025

Re: [SOLVED] Lithium/testing and installing Wine

You should just roll with the dependencies APT wants to install in most cases. Because you don't want the dependencies, you want to achieve your goal of using a specific software. If in the Debian system, said dependency is needed according to package meta data, then so be it.


Per aspera ad astra.

Offline

#4 2020-11-15 11:39:44

dumetrulo
Member
Registered: 2019-07-03
Posts: 17

Re: [SOLVED] Lithium/testing and installing Wine

Thank you rbh and twoion! I figured a few things out:

  • ipp-usb was being removed because ipp-usb:i386 was being installed, and the two packages are mutually exclusive. It's right in the list of packages to be installed but since there are many, it is easy to overlook.

  • Running apt with parameter -s (simulate) produces more useful output regarding dependencies, making it easier to repair things when they break.

  • Packages in buster do not map isomorphically to packages in bullseye, and some dependencies are not the same; this causes a bit of manual work even after upgrading a clean Lithium setup to testing.

However, all in all I consider this question resolved. Thanks again!

Offline

#5 2020-11-15 13:28:11

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 750

Re: [SOLVED] Lithium/testing and installing Wine

dumetrulo wrote:

I figured a few things out:
ipp-usb was being removed because ipp-usb:i386 was being installed, and the two packages are mutually exclusive.

Not quite. Package ipp-usb in bullseye, is avalable for many architectures, among them amd and i386. When referencing a package for a special arch, you add the arch after package namne: ipp-usb:i386. The full name is: ipp-usb_0.9.14-1_i386.deb
Sometimes, packages can run on all architectures, and are then named after cheme: [package]_version_all.deb.

You had an 64 bit system, and added support for 32 bit architecture.
The proposed removing of ipp-usb and installing ipp-usb:i386, sounds like you removed the 64 bit package ipp-usb_0.9.14-1_amd64.deb and installed ipp-usb_0.9.14-1_i386.deb.

If you look in your apt-logs, you will se what happened: /var/log/apt/history.log and ../term.log

Running apt with parameter -s (simulate) produces more useful output regarding dependencies, making it easier to repair things when they break.

The flag "simulate", does as it says, nothing but simulate.

  • Packages in buster do not map isomorphically to packages in bullseye, and some dependencies are not the same; this causes a bit of manual work even after upgrading a clean Lithium setup to testing.

When proper dist upgrading, there should not be any manual work to do:

  1. sudo apt update

  2. sudo apt upgrade

  3. sudo apt dist-upgrade


// Regards rbh

Offline

Board footer

Powered by FluxBB