GDebi re: wine32:i386: "Error: no longer provides wine32"

Bug #1682874 reported by Scott Cowles Jacobs on 2017-04-14
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdebi
Incomplete
Undecided
Unassigned
synaptic
Incomplete
Undecided
Unassigned
synaptic (Ubuntu)
Undecided
Unassigned
wine (Ubuntu)
Undecided
Unassigned

Bug Description

I was having difficulty running the development version of GIMP from Partha's std 64-bit,
and he asked me to run it from the terminal with certain variables set. I could not do this, getting
"scott@scott-ASUS-M2N68-AM-PLUS:~$ wine /home/scott/.wine/drive_c/ProgramFiles/GIMP-2.9.5-std/gimp/bin/RunGimpScript.bat
wine: Bad EXE format for C:\ProgramFiles\GIMP-2.9.5-std\gimp\bin\RunGimpScript.bat.
"
(Note, that to avoid quoting issues, I created a link to the actual "Program Files", naming it "ProgramFiles")
Google-ing this issue suggested a 64-bit vs 32-bit issue, so I pulled up Synaptic and looked at the installed packages.

There seemed to be both 32-bit and 64-bit assorted wine files/libs .

But I noticed a wierd thing: when I tried to look at the "Installed Files" for wine32:i386,
I got the message: "The list of installed files is only available for installed packages",
although the package was checkmarked as installed, and under Common->Status Installed was checkmarked.
This was not the case for the other wine packages.
I re-installed the package, but got the same thing.

I tried to see what was in the install .deb with GDebi, but it errored with: "Error: no longer provides wine32"

I don't know if it is THE problem, but it looks rather like A problem, anyway...

----------------------------------------------
scott@scott-ASUS-M2N68-AM-PLUS:~$ uname -a
Linux scott-ASUS-M2N68-AM-PLUS 4.8.0-46-generic #49-Ubuntu SMP Fri Mar 31 13:57:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
scott@scott-ASUS-M2N68-AM-PLUS:~$ lsb_release -dsc
Ubuntu 16.10
yakkety
scott@scott-ASUS-M2N68-AM-PLUS:~$ echo $DESKTOP_SESSION
Lubuntu

All six wine-related packages have the same version: 1.8.5-1ubuntu2

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: wine32:i386 1.8.5-1ubuntu2
ProcVersionSignature: Ubuntu 4.8.0-46.49-generic 4.8.17
Uname: Linux 4.8.0-46-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.20.3-0ubuntu8.2
Architecture: amd64
CurrentDesktop: LXDE
Date: Fri Apr 14 12:20:22 2017
InstallationDate: Installed on 2016-10-20 (176 days ago)
InstallationMedia: Lubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.1)
PackageArchitecture: i386
SourcePackage: wine
UpgradeStatus: No upgrade log present (probably fresh install)

As of Lubuntu 17.04, the situation is the same.
------------------------------------------
scott@scott-ASUS-M2N68-AMPLUS:~$ uname -a
Linux scott-ASUS-M2N68-AMPLUS 4.10.0-19-generic #21-Ubuntu SMP Thu Apr 6 17:04:57 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
scott@scott-ASUS-M2N68-AMPLUS:~$ lsb_release -dsc
Ubuntu 17.04
zesty
scott@scott-ASUS-M2N68-AMPLUS:~$ echo $DESKTOP_SESSION
Lubuntu

wine32:i386 1.8.7-1ubuntu1
"The list of installed files is only available for installed packages"

I couldn't see the package in /var/apt/cache/archives (although it turns out it was there),
and I told Synaptic to re-install, but with "Download package files only". Synaptic shows that the size to be downloaded was "0 B", and apply does not result in the download/install windows.
When I finally saw: "wine32_1.8.7-1ubuntu1_i386.deb", it was not 0B, but "171.4 kB (171,434 bytes)", so I don't know what is up with this package...

[The good news: with Lubuntu 17.04 and wine 1.8.7-1ubuntu1, my Windows development GIMP 2.9.5
installs and loads fine (have not tried to do anything yet, but...)]

jre (jre-phoenix) wrote :

I assume synaptic has a problem with packages like wine32 which are not available on the native architecture:

Package: wine32
Architecture: any-i386 any-powerpc armel armhf
Multi-Arch: foreign

Re-assigning to synaptic accordingly.

Within the wine packaging I think this issue is handled appropriately.
- wine depends on wine64|wine32
- wine64 recommends wine

This way wine32 should be installed as soon as the foreign arch (i386) is added to the system.

If wine32 is not installed and you start wine from the command line you'll get a warning hint:

  multiarch needs to be enabled first. as root, please
  execute "dpkg --add-architecture i386 && apt-get update &&
  apt-get install wine32VERSION"

Marking as invalid in wine therefore.

Changed in wine (Ubuntu):
status: New → Invalid
jre (jre-phoenix) wrote :

(see my last comment in the bug tracker)

affects: wine (Ubuntu) → synaptic (Ubuntu)
Changed in synaptic (Ubuntu):
status: Invalid → New
Changed in wine (Ubuntu):
status: New → Invalid

I don't quite understand your answer...

"If wine32 is not installed..."
But it IS installed -
scott@scott-ASUS-M2N68-AMPLUS:~$ apt-cache policy wine32:i386

wine32:i386:
  Installed: 1.8.7-1ubuntu1
  Candidate: 1.8.7-1ubuntu1
  Version table:
 *** 1.8.7-1ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu zesty/universe i386 Packages
        100 /var/lib/dpkg/status

but for some reason the Installed Files list does not show files, but just the
wierd message: "The list of installed files is only available for installed packages".
And when I tried to see the files in the .deb file ("/var/cache/apt/archives/wine32_1.8.7-1ubuntu1_i386.deb"), GDebi gives the wierd message:"Error: no longer provides wine32" (see attachment screenshot) (I WAS able to look at the included files, though...
so why Synaptic could not do so is beyond me...)

jre (jre-phoenix) wrote :

Sorry, for the long delay.

Yes, wine32 is installed at your computer. But if it was not installed, then you would get the above mentioned message.

Maybe your original problem was the wrong command to run the program, which is a .bat file. I don't the answer how to solve this, but a quick web search gave this result:
  https://askubuntu.com/questions/736338/running-windows-bat-file-on-wine-cmd
Otherwise ask at the support channels at winehq.org.

I filed bugs against gdebi and synaptic for their wrong output.

Greets
jre

Changed in synaptic:
status: Unknown → New
Changed in gdebi:
status: Unknown → New

>Yes, wine32 is installed at your computer. But if it was not installed,
>then you would get the above mentioned message.
But it IS installed and I DID get the above-mentioned message...!

jre (jre-phoenix) wrote :

>>Yes, wine32 is installed at your computer. But if it was not installed,
>>then you would get the above mentioned message.
>But it IS installed and I DID get the above-mentioned message...!

Not sure, if there is still something to settle out. But to avoid further delays, let's both always literally cite the messages we refer to.

You have confirmed with "apt policy wine32" that it is installed - good.

Your initial issue with running the Windows version of Gimp with Wine is solved - even better.

GDebi tells you "Error: no longer provides wine32"
--> This is a bug in gdebi, therefore I added gdebi to this bug report, and additionally filed #865580 against gdebi in Debian.

Synaptic tells you "The list of installed files is only available for installed packages"
--> This is a bug in synaptic, therefore I added synaptic to this bug report, and additionally filed #865578 against synaptic in Debian.

Finally, I mentioned that if wine32 is not installed and you start wine from the command line you'd get a warning hint:

  multiarch needs to be enabled first. as root, please
  execute "dpkg --add-architecture i386 && apt-get update &&
  apt-get install wine32"

So when you said in your previous message

  But it IS installed and I DID get the above-mentioned message...!

did you refer to this hint? Then we'd really have a bug in the wine packages.
In that case I'd ask you to post (again) the output of thefollowing commands:

apt policy wine32
dpkg --print-architecture
dpkg --print-foreign-architectures
ls -l /usr/lib/wine*
wine --version

Greets
jre

dino99 (9d9) wrote :

This is an unsupported release now. Please think to install the next LTS 'Bionic 18.04'

http://cdimage.ubuntu.com/ubuntu-next/daily-live/current/
https://www.omgubuntu.co.uk/2018/02/ubuntu-18-04-minimal-install-option

Changed in synaptic (Ubuntu):
status: New → Invalid
Changed in synaptic:
importance: Unknown → Undecided
status: New → Invalid
Changed in gdebi:
importance: Unknown → Undecided
status: New → Invalid
Simon Quigley (tsimonq2) wrote :

No, marking as Invalid because the release is EOL is not correct. Please don't do this, dino99.

Reporter, is this still present on 17.10?

Changed in synaptic (Ubuntu):
status: Invalid → Incomplete
Changed in wine (Ubuntu):
status: Invalid → Incomplete
Changed in gdebi:
status: Invalid → Incomplete
Changed in synaptic:
status: Invalid → Incomplete

>Reporter, is this still present on 17.10?
I believe it was.

I now have Lubuntu Next 18.04
(as soon as I have time, I'll install a daily of Cosmic and see what
if anything has altered between 18.04 and "18.10")
and Synaptic still reports "The list of installed files is only available for installed packages" for wine32:i386

scott@scott-ASUS-M2N68-AM-PLUS:~$ apt-cache policy wine32:i386
wine32:i386:
  Installed: 3.0-1ubuntu1
  Candidate: 3.0-1ubuntu1
  Version table:
 *** 3.0-1ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
        100 /var/lib/dpkg/status

jre (jre-phoenix) wrote :

Thanks Scott, please do so.

And for bug triagers: I'm really not interested in looking into and verifying bugs, just to see them closed without a fix. There definitely was, and most probably is, an issue in gdebi and synaptic related to multiarch.

jre (jre-phoenix) wrote :

Besides that, bug triaging work is of course hugely appreciated!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.