-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
E: Unable to locate package libgconf-2-4 #27972
Comments
Does this relate to a beta build of Ubuntu https://wiki.ubuntu.com/Releases marks this as a future release planned for Oct |
Ahhh good spot @MikeMcC399 . We use Renovate to let us know when new versions of our images are available, and it must have been a bit too quick with this one. I tell you what I'll do, because the Docker image for Ubuntu 23.10 is already available but may be doing some OS checks when pulling packages, I can wait until the 10th October and see if anything changes? Will comment back on this ticket! |
Closing since this does not appear to be related to something under Cypress's control. |
@jennifer-shehane I'lll comment back on this ticket if the Ubuntu 23:10 doesn't work because I imagine it will affect the guidance on the Cypress website for Linux Ubuntu Pre req's. |
I looked into this issue and it appears that the Cypress dependency on Although the Ubuntu https://packages.ubuntu.com/search?keywords=libgconf-2-4 shows the releases where it is included and this does not include This is now a documentation issue for Getting Started > Installing Cypress > System requirements > Linux Prerequisites > Ubuntu/Debian where it gives the following instructions: apt-get install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb It looks to me very much like the package |
|
On https://hub.docker.com/_/ubuntu the |
Hi @MikeMcC399 Thanks for the investigation on this! I'm just confirming with my team on if they use versions of Cypress later than Good thing is, the docs have been updated in relation to this issue which is great! I believe we can close this now if you're happy? On our side, we will either update Cypress so we don't need the dependency, or we will downgrade Ubuntu if we do. |
Our UI engineers have confirmed we are using Cypress 12.x.x, so I will remove that dependency from the Dockerfile. Thanks @MikeMcC399 ! Although I wonder if there are other dependencies in the docs that may not be needed now? |
Unless you have a specific need to be on the latest Ubuntu version it is often better for testing to settle on the LTS version, which will be Ubuntu According to https://ubuntu.com/about/release-cycle I would expect
That is possible. I only looked at the one dependency causing an issue and I'm not the Subject Matter Expert on this. That would be a separate documentation question for the Cypress team to answer. Edit: I took a brief look and didn't see any others which needed to be removed. Note that some of the packages may be installed already by default, depending what options are chosen when the operating system is installed. |
Yep, we've added a renovate rule to ignore |
It sounds like you're now in great shape! 🎉 Actually this issue is already closed, but not locked, so there is nothing more to do here!
|
The Cypress documentation section Getting Started > Installing Cypress > System requirements > Linux Prerequisites > Ubuntu/Debian has been updated to remove the obsolete apt-get install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb for Ubuntu/Debian and this should be fine for all supported versions of Ubuntu from The Ubuntu |
How did you remove it with dockerfile? |
Current behavior
We are trying to create a base image for all services that will be installing Cypress via
npm
, however, what worked before now doesn't work. Specifically, the packagelibgconf-2-4
cannot be installed which is a pre-req for us before we install Cypress.Dockerfile code:
Debug logs
Cypress Version
N\A
Node version
N\A
Package Manager
npm
Package Manager Version
N\A
Operating system
Linux
Operating System Version
Ubuntu
Other
No response
The text was updated successfully, but these errors were encountered: