Skip to content
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-18.04] Installation of wine32:i386 broken since last night #3339

Closed
1 of 7 tasks
hartwork opened this issue May 7, 2021 · 11 comments
Closed
1 of 7 tasks

[ubuntu-18.04] Installation of wine32:i386 broken since last night #3339

hartwork opened this issue May 7, 2021 · 11 comments

Comments

@hartwork
Copy link

hartwork commented May 7, 2021

Description
My workflow YAML is installing package wine32:i386 on image ubuntu-18.04 and it worked fine until yesterday, but started failing tonight (error below) and keeps failing when I re-run that job.

PS: Running things outside GitHub Actions with plain Docker like this still works fine todday:

# docker run --rm -it ubuntu:18.04 bash -c 'dpkg --add-architecture i386 && apt-get update && apt-get install --yes --no-install-recommends -V wine32:i386'

Area for Triage:

???

Question, Bug, or Feature?:

Bug

Virtual environments affected

  • Ubuntu 16.04
  • Ubuntu 18.04
  • Ubuntu 20.04
  • macOS 10.15
  • macOS 11.0
  • Windows Server 2016 R2
  • Windows Server 2019

Image version

20210504.1

Expected behavior
Be able to install wine32:i386 as working previously.

Actual behavior
I get this error, also when re-running the task:

The following packages have unmet dependencies:
 wine32:i386 : Depends: libwine:i386 (= 3.0-1ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Repro steps
This workflow YAML has everything:
https://github.com/libexpat/libexpat/blob/4a7b1d5dcf91c95d472f4ebb73291d7785edd626/.github/workflows/coverage.yml

Sample error ouput:
https://github.com/libexpat/libexpat/runs/2527225732?check_suite_focus=true

@miketimofeev
Copy link
Contributor

Hi @hartwork!
The root cause is that some packages depends on "ppa:ondrej/php" repository, which were removed from the apt list after the image was generated.
Adding it back solves the issue:
sudo apt-add-repository "ppa:ondrej/php" -y

@hartwork
Copy link
Author

hartwork commented May 7, 2021

@miketimofeev I confirm that this workaround works (and that I did find traces of ppa:ondrej/php in previous logs) — thanks a lot! 👍 I'm surprised and shocked and amazed all at the same time. We have zero PHP in libexpat so it would be nice to not need a PHP repository to install wine32 without conflicts. Any chance I will be able to drop that band-aid again in the future?

hartwork added a commit to libexpat/libexpat that referenced this issue May 7, 2021
@miketimofeev
Copy link
Contributor

@hartwork actually we are also surprised by the number of packages that come from the ppa:ondrej/php and agree that it's not obvious at all to add that ppa back when you have no dependencies on PHP.
We're going to revert this PR #3272 and deploy the new image next week.
Sorry for the inconvenience!

@hartwork
Copy link
Author

hartwork commented May 7, 2021

@hartwork actually we are also surprised by the number of packages that come from the ppa:ondrej/php and agree that it's not obvious at all to add that ppa back when you have no dependencies on PHP.

👍

We're going to revert this PR #3272 and deploy the new image next week.
Sorry for the inconvenience!

@miketimofeev I guess the…

# remove repository after successfull installation
rm -r /etc/apt/sources.list.d/ondrej-ubuntu-php-*

…in #3272 are the problem, maybe not the rest of it. Thanks again for your quick and helpful reaction! 👍 👍

PS: It sounds like the ticket will remain open until then. I will stay subscribed here then and drop the workaround on ticket closing. If that's a misunderstanding on my side, please let me know.

@miketimofeev
Copy link
Contributor

@hartwork yes, please, let's leave the ticket open. I'll update it when the deployment is done.

@miketimofeev miketimofeev self-assigned this May 7, 2021
@miketimofeev miketimofeev added the awaiting-deployment Code complete; awaiting deployment and/or deployment in progress label May 7, 2021
@hartwork
Copy link
Author

hartwork commented May 7, 2021

@miketimofeev excellent! 👍

@hartwork
Copy link
Author

For the record, there have been changes apparently (e.g. at ondrej/php/ubuntu on 2021-05-09) and now I am back at regression…

 The following packages have unmet dependencies:
 wine32:i386 : Depends: libwine:i386 (= 3.0-1ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

…despite sudo apt-add-repository "ppa:ondrej/php" -y again today.

@hartwork
Copy link
Author

PS: It doesn't seem to happen every time though, maybe there is a stale cache or out-of-sync mirrors behind the CI somewhere 🤷‍♂️

@miketimofeev
Copy link
Contributor

@hartwork we've deployed the new images. I checked wine32 installation — everything works like a charm now.
I'm going to close the issue. Please feel free to contact us if you have any concerns

@miketimofeev miketimofeev removed the awaiting-deployment Code complete; awaiting deployment and/or deployment in progress label May 13, 2021
hartwork added a commit to libexpat/libexpat that referenced this issue May 13, 2021
hartwork added a commit to libexpat/libexpat that referenced this issue May 13, 2021
@hartwork
Copy link
Author

Thanks! 👍

@LordOfDragons
Copy link

I've got the same problem. Seems like the regression is back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants