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

firefox-esr install error #15

Closed
divinity76 opened this issue Aug 27, 2022 · 3 comments · May be fixed by #17
Closed

firefox-esr install error #15

divinity76 opened this issue Aug 27, 2022 · 3 comments · May be fixed by #17

Comments

@divinity76
Copy link

when building the newest commit ( 6273adb ) on Ubuntu 22.04, i eventually get to

$ docker build -t javafox .
(...)
Step 6/13 : RUN dpkg -i /tmp/*.deb; apt-get -fqy install
 ---> Running in 6230acbb0804
Selecting previously unselected package firefox-esr.
(Reading database ... 10172 files and directories currently installed.)
Preparing to unpack .../firefox-esr_52.9.0esr-1~14.04.york0_amd64.deb ...
Adding 'diversion of /usr/bin/firefox to /usr/bin/firefox.real by firefox-esr'
Unpacking firefox-esr (52.9.0esr-1~14.04.york0) ...
Selecting previously unselected package libevent-2.0-5:amd64.
Preparing to unpack .../libevent-2.0-5_2.0.21-stable-2ubuntu0.16.04.1_amd64.deb ...
Unpacking libevent-2.0-5:amd64 (2.0.21-stable-2ubuntu0.16.04.1) ...
Selecting previously unselected package libhunspell-1.3-0:amd64.
Preparing to unpack .../libhunspell-1.3-0_1.3.3-4ubuntu1_amd64.deb ...
Unpacking libhunspell-1.3-0:amd64 (1.3.3-4ubuntu1) ...
Selecting previously unselected package libjsoncpp0.
Preparing to unpack .../libjsoncpp0_0.6.0~rc2-3.1_amd64.deb ...
Unpacking libjsoncpp0 (0.6.0~rc2-3.1) ...
Selecting previously unselected package libvpx3:amd64.
Preparing to unpack .../libvpx3_1.5.0-2ubuntu1_amd64.deb ...
Unpacking libvpx3:amd64 (1.5.0-2ubuntu1) ...
dpkg: dependency problems prevent configuration of firefox-esr:
 firefox-esr depends on libasound2 (>= 1.0.16); however:
  Package libasound2 is not installed.
 firefox-esr depends on libatk1.0-0 (>= 1.12.4); however:
  Package libatk1.0-0 is not installed.
 firefox-esr depends on libcairo-gobject2 (>= 1.10.0); however:
  Package libcairo-gobject2 is not installed.
 firefox-esr depends on libcairo2 (>= 1.10.0); however:
  Package libcairo2 is not installed.
 firefox-esr depends on libfontconfig1 (>= 2.9.0); however:
  Package libfontconfig1 is not installed.
 firefox-esr depends on libfreetype6 (>= 2.2.1); however:
  Package libfreetype6 is not installed.
 firefox-esr depends on libgdk-pixbuf2.0-0 (>= 2.22.0); however:
  Package libgdk-pixbuf2.0-0 is not installed.
 firefox-esr depends on libgtk-3-0 (>= 3.0.0); however:
  Package libgtk-3-0 is not installed.
 firefox-esr depends on libgtk2.0-0 (>= 2.10); however:
  Package libgtk2.0-0 is not installed.
 firefox-esr depends on libpango-1.0-0 (>= 1.14.0); however:
 
Setting up libevent-2.0-5:amd64 (2.0.21-stable-2ubuntu0.16.04.1) ...
dpkg: error processing package firefox-esr (--install):
 dependency problems - leaving unconfigured
Setting up libhunspell-1.3-0:amd64 (1.3.3-4ubuntu1) ...
Setting up libjsoncpp0 (0.6.0~rc2-3.1) ...
Setting up libvpx3:amd64 (1.5.0-2ubuntu1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for libc-bin (2.23-0ubuntu11.3) ...
Errors were encountered while processing:
 firefox-esr
divinity76 added a commit to divinity76/Javafox that referenced this issue Aug 27, 2022
@niclan
Copy link
Owner

niclan commented Aug 28, 2022

Hi, does your build stop at those error messages? Mine continues past them and installs all the needed dependencies:

RUN dpkg -i /tmp/*.deb; apt-get -fqy install

the apt-get -fqy install fixes it.

@divinity76
Copy link
Author

@niclan dang you're right! so the install isn't really failing, it's just printing some scary stderr messages! i think i found a way to avoid that tho:

RUN apt-get install -y /tmp/*.deb;

divinity76 added a commit to divinity76/Javafox that referenced this issue Aug 31, 2022
avoid scary stderr messages / resolve niclanGH-15
@niclan
Copy link
Owner

niclan commented Aug 31, 2022

@divinity76 : indeed. Many things have scary messages during the build but for a real problem the build will (should) stop with a error message.

I did not know apt-get can be used like that, but that takes away the error messages and only leaves behind the wall of text. Thanks!

@niclan niclan closed this as completed in 65a039d Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants