-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ubuntu-20.04] Unable to install wine32:i386 / issues with i386 arch support in apt #4589
Comments
Hello @ethteck. Thank you for your report. We will take a look. |
Hi, thanks for the swift reply! Unfortunately, that doesn't seem to be helping. "wine" and "wine64" install, but "wine" is unable to run 32-bit binaries. If I try to install "wine32" (which I get warnings that I should do), I get apt errors:
|
If I understood what change in the new version caused the regression, I could maybe manually do some repository management to fix it, but I'm a bit lost as to what change could have caused this.. |
@ethteck I've tried to reproduce the issue, but my run was successful (link the run) |
Installing wine is working for us, but it appears to not have 32 bit support because of errors we get in our tests. I'll make a sample repo tomorrow that simply downloads wine and tries to execute a 32-bit executable through wine, to easier demonstrate what's going on. And thank you for your time and effort so far, looking into this! |
Having a similar issue to this mysteriously failing on libglib2.0-dev:i386 and libsdl2-dev:i386 on my project here: https:/etfdevs/ETe/runs/4326926427?check_suite_focus=true Attempting to add the listed packages only further adds more package complaints https:/etfdevs/ETe/runs/4327104370?check_suite_focus=true When it built fine the previously action with no issues on packages a couple weeks ago since last action ran. x86_64 seems to pass/build just fine with same non i386 libs as well. Can start separate issue if necessary. |
Same issue for us too, some recent change to runners broke apt adding i386 architecture. Reading package lists...
Building dependency tree...
Reading state information...
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-stable : Depends: wine-stable (= 6.0.2~focal-1)
E: Unable to correct problems, you have held broken packages. Also when trying to install Maybe this Ubuntu update broke apt ? Since it's the same timeframe we started to face issues with apt |
Glad to see this isn't just me with this issue. I made a test repo that just tries to install wine after adding the i386 arch and executing a small win32 console application: https:/ethteck/github-wine-test As you can see, it's acting like wine32 is not installed and suggesting I run Link to build that tries to install wine32 instead of wine: https:/ethteck/github-wine-test/runs/4337303248?check_suite_focus=true |
Adding |
Hi @smudrak, Getting this error if we try to install Reading package lists...
Building dependency tree...
Reading state information...
E: Version '10.34-7' for 'libpcre2-8-0' was not found
Error: Process completed with exit code 100. |
Hmmm, that's weird, 10.34-7 is the official version of this package in 20.04LTS. We cross-compile our project using mxe, so maybe it is loaded from the depository we add. This is the whole set of commands we use to setup our runner.
|
Hey @smudrak , Wine is now installing. Thanks much. |
Can also confirm that @smudrak's workaround seems to have solved it for me as well |
|
My apologies - in my yml editing, I mistakenly deleted the most important command: adding the i386 arch. This does indeed work! Thank you @smudrak for the workaround! It is a bit unfortunate to have to add a repository and do the install of a specific depdenency with the allow downgrades command, however. Is it possible to make this use case more user friendly in the future? |
Hello @ethteck. Thank you for the provided information. Since we don't install 32bit packages on our images we don't have plans to enable multiarch. I'm going to close this issue for now. Feel free to contact us in case of any questions. |
The GitHub Actions image has had a longstanding problem with the dependencies required for 32-bit builds. The current work around no longer fixes the issue. Stop testing 32-bit builds to avoid false positive failures with our CI testing. We can re-enable 32-bit builds when this issue is fixed upstream. Details: actions/runner-images#4589 Signed-off-by: Vincent Fu <[email protected]>
I'm getting the same issues, has anyone figured out a workaround? Thanks. |
My method still works, @mboudreau. |
@ValdikSS Any solutions for ubuntu 22.04? |
Try this:
|
That didn't fully work for me @ValdikSS (thanks btw), but the ppa-purge did fix many issues: wine did install, but I was still getting some issues while building (lack of dependencies and mono install). These steps worked for me:
|
I was able to get things working with this:
That installs both mingw and wine, handy for cross-compilation |
Thanks @falkTX - for us, we don't need mingw, so I was able to remove the binutils / mingw stuff, and the solution became quite concise compared to what we were doing before. I also used
Stay tuned for next time when things inevitably break out from under us again! 📺 |
actions/runner-images#4589 (comment) Signed-off-by: Vincent Fu <[email protected]>
Fix the dependency install problem for 32-bit builds by explicitly installing libc6:i386 and libgcc-s1:i386 as mentioned in the link below. actions/runner-images#4589 (comment) Deleting microsoft-prod.list and adding --allow-downgrades were not needed for our use case. Signed-off-by: Vincent Fu <[email protected]>
Fix the dependency install problem for 32-bit builds by explicitly installing libc6:i386 and libgcc-s1:i386 as mentioned in the link below. actions/runner-images#4589 (comment) Deleting microsoft-prod.list and adding --allow-downgrades were not needed for our use case. Signed-off-by: Vincent Fu <[email protected]>
Its working for me. |
See this discussion: actions/runner-images#4589 Something changed in the github image which broke this installation :/
See this discussion: actions/runner-images#4589 Something changed in the github image which broke this installation :/
I am getting something similar still:
|
When I run
|
Hi Same as Xses-1 (I'm on KDE Neon too) |
@bombseb I am pretty sure it's Neon's fault. This distro is just broken sometimes and they just messed up the dependencies. |
@Xses-1 Yes, it's not the first time I've had dependency issues with this distribution. Two weeks ago, I had to reinstall everything due to a dependency issue with Pipewire. |
Why there's no clean Ubuntu-wit-Plasma kinda distro? Kubuntu is too close to Ubuntu so you get Sanps, telemetry, broken kernels, etc. While Neon is just a Beta testing platform for KDE, so it's always broken. |
I was able to install Wine from WineHQ after running this: # Remove ppa:ondrej/php since it breaks i386 packages -- https:/oerdnj/deb.sury.org/issues/1745
sudo add-apt-repository ppa:ondrej/php
sudo apt-get install --yes ppa-purge
sudo ppa-purge -y ppa:ondrej/php |
@messmerd I followed your instructions and the instructions from winehq including the supposed fix for the libplopper on kde neon and I got to the exact same broken dependencies problem. |
Description
We noticed in our project that somewhere in between 20211114.1 and 20211122.1, apt behavior changed when adding the i386 arch. We use this to install wine for running 32-bit processes. One of our tests is failing now because the version of wine installed is for 64-bit processes.
Additionally, you can see when you compare the two runs that the packages installed greatly differ despite being pretty much identical repo states (and identical runner scripts).
Virtual environments affected
Image version and build link
https:/decompme/decomp.me/runs/4321547477
Is it regression?
20211114.1
Expected behavior
Apt installs :i386 versions of things so the correct wine is installed
Actual behavior
Apt is not installing these
Repro steps
Create an ubuntu-latest action that runs
And then attempt to execute a 32-bit windows executable
The text was updated successfully, but these errors were encountered: