Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge firefox-bin broken?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
peregin55
n00b
n00b


Joined: 03 Nov 2014
Posts: 5

PostPosted: Mon Nov 03, 2014 12:23 am    Post subject: emerge firefox-bin broken? Reply with quote

Hi,

I'm new to Gentoo. Installing FIrefox was harder than I'd like. First tried building from source, but the version was a bit old and it took forever to complete. So instead I went with the binary:

$ emerge -av firefox-bin

Resolving ftp.mozilla.org... 63.245.215.56, 63.245.215.46
Connecting to ftp.mozilla.org|63.245.215.56|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /pub/mozilla.org/firefox/releases/31.2.0esr/linux-x86_64/en-US ... done.
==> SIZE firefox-31.2.0esr.tar.bz2 ... 39067603
==> PASV ... done. ==> RETR firefox-31.2.0esr.tar.bz2 ...
Error in server response, closing control connection.
Retrying.

<download keeps failing, until emerge finally gives up>

I tried using testing version (added firefox-bin ~amd64 to my accept-package file), but got the same error with firefox-33 instead.

I ended up downloading the package manually from the firefox site and manually sticking it /usr/portage/distfiles/firefox-bin_x86_64-31.2.0.tar.bz2.

How are people installing firefox? Is there a better way to handle this? Is this package being maintained by someone?

Thanks!
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Mon Nov 03, 2014 4:13 am    Post subject: Reply with quote

does not appear to be the package or the ebuild or the server. You might check the stuff you edited out against what I just got:
Quote:
emerge firefox-bin
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) www-client/firefox-bin-31.2.0-r1
>>> Downloading 'ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/31.2.0esr/linux-x86_64/en-US/firefox-31.2.0esr.tar.bz2'
--2014-11-02 22:47:40-- ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/31.2.0esr/linux-x86_64/en-US/firefox-31.2.0esr.tar.bz2
=> ‘/usr/portage/distfiles/firefox-bin_x86_64-31.2.0.tar.bz2’
Resolving ftp.mozilla.org... 63.245.215.56, 63.245.215.46
Connecting to ftp.mozilla.org|63.245.215.56|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /pub/mozilla.org/firefox/releases/31.2.0esr/linux-x86_64/en-US ... done.
==> SIZE firefox-31.2.0esr.tar.bz2 ... 39067603
==> PASV ... done. ==> RETR firefox-31.2.0esr.tar.bz2 ... done.
Length: 39067603 (37M) (unauthoritative)

firefox-31.2.0esr.t 100%[=====================>] 37.26M 7.11MB/s in 5.9s

2014-11-02 22:47:48 (6.30 MB/s) - ‘/usr/portage/distfiles/firefox-bin_x86_64-31.2.0.tar.bz2’ saved [39067603]

* firefox-bin_x86_64-31.2.0.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking firefox-bin_x86_64-31.2.0.tar.bz2 to /var/tmp/portage/www-client/firefox-bin-31.2.0-r1/work
>>> Source unpacked in /var/tmp/portage/www-client/firefox-bin-31.2.0-r1/work
/var/tmp/portage/www-client/firefox-bin-31.2.0-r1/work/firefox /var/tmp/portage/www-client/firefox-bin-31.2.0-r1/work
/var/tmp/portage/www-client/firefox-bin-31.2.0-r1/work
>>> Preparing source in /var/tmp/portage/www-client/firefox-bin-31.2.0-r1/work/firefox ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/www-client/firefox-bin-31.2.0-r1/work/firefox ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/www-client/firefox-bin-31.2.0-r1/work/firefox ...
>>> Source compiled.
>>> Test phase [not enabled]: www-client/firefox-bin-31.2.0-r1

>>> Install firefox-bin-31.2.0-r1 into /var/tmp/portage/www-client/firefox-bin-31.2.0-r1/image/ category www-client
* /var/tmp/portage/www-client/firefox-bin-31.2.0-r1/image///opt/firefox/firefox
* /var/tmp/portage/www-client/firefox-bin-31.2.0-r1/image///opt/firefox/firefox-bin
* /var/tmp/portage/www-client/firefox-bin-31.2.0-r1/image///opt/firefox/plugin-container
* PT PaX marking -mr /var/tmp/portage/www-client/firefox-bin-31.2.0-r1/image///opt/firefox/firefox with paxctl
* PT PaX marking -mr /var/tmp/portage/www-client/firefox-bin-31.2.0-r1/image///opt/firefox/firefox-bin with paxctl
* PT PaX marking -mr /var/tmp/portage/www-client/firefox-bin-31.2.0-r1/image///opt/firefox/plugin-container with paxctl
>>> Completed installing firefox-bin-31.2.0-r1 into /var/tmp/portage/www-client/firefox-bin-31.2.0-r1/image/


>>> Installing (1 of 1) www-client/firefox-bin-31.2.0-r1
* Updating icons cache ... [ ok ]
* Updating desktop mime database ...
* Updating icons cache ... [ ok ]
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

* GNU info directory index is up-to-date.
Try seamonkey-bin. All the browsers compile from source for a very long time.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
peregin55
n00b
n00b


Joined: 03 Nov 2014
Posts: 5

PostPosted: Tue Nov 04, 2014 1:14 am    Post subject: Reply with quote

Thanks for the response. I'm trying to access the same endpoint that you are (ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/31.2.0esr/linux-x86_64/en-US/firefox-31.2.0esr.tar.bz2) but I get a timeout trying to connect. I'm running gentoo a VM, but when I try from the host (real) OS it works fine, so it's clearly something on my end.
Back to top
View user's profile Send private message
Irre
Guru
Guru


Joined: 09 Nov 2013
Posts: 336
Location: Stockholm

PostPosted: Tue Nov 04, 2014 9:24 am    Post subject: Reply with quote

I also had this error a year ago when running VirtualBox, and only for this package. I have no explanation and now it works fine..
Back to top
View user's profile Send private message
solamour
l33t
l33t


Joined: 21 Dec 2004
Posts: 623
Location: San Diego, CA

PostPosted: Sat Jan 31, 2015 12:31 am    Post subject: Reply with quote

If you are running Gentoo as a VirtualBox guest, try setting the network interface as "Bridged Adapter" instead of "NAT". You might need to restart your network interface in guest (e.g. "/etc/init.d/net.??? restart").
__
sol
Back to top
View user's profile Send private message
jfp
Apprentice
Apprentice


Joined: 08 Jul 2007
Posts: 279
Location: Virginia, USA

PostPosted: Sat Jan 31, 2015 3:11 pm    Post subject: Reply with quote

I was having this same problem as well. What I discovered was that the problem was with my router firewall.

My Xfinity cable modem / router is: ARRIS TG862
This router provides a firewall and gives four choices of protection: Maximum; medium; minimum; custom

With the firewall set to Medium, I get this download problem with a few packages (seamonkey being one of them).

When I encounter this download problem, I go into the router configuration and set the firewall to Minimum and run emerge --resume

Now the download works. Afterwords, I set the router's firewall back to Medium.

I may be possible to use the Custom firewall setting,, but how to set that up is beyond me knowledge.
_________________
jfp
Back to top
View user's profile Send private message
arackhaen
n00b
n00b


Joined: 04 Jan 2013
Posts: 29
Location: Turku, Finland

PostPosted: Wed Jun 10, 2015 1:18 pm    Post subject: Reply with quote

Ran to this same problem today. First time ever.
--- Clip! ---
Code:

>>> Emerging (8 of 270) www-client/firefox-bin-38.0.1-r1::gentoo
>>> Downloading 'ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases//38.0.1/linux-i686/xpi/en-GB.xpi'
--2015-06-10 14:41:06--  ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases//38.0.1/linux-i686/xpi/en-GB.xpi
           => '_path_to_distfile_/firefox-38.0.1-en-GB.xpi'
Resolving ftp.mozilla.org... 63.245.215.56, 63.245.215.46
Connecting to ftp.mozilla.org|63.245.215.56|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/mozilla.org/firefox/releases//38.0.1/linux-i686/xpi ... done.
==> SIZE en-GB.xpi ... 437843
==> PASV ... couldn't connect to 63.245.215.56 port 52110: Connection refused
!!! Couldn't download 'firefox-38.0.1-en-GB.xpi'. Aborting.
 * Fetch failed for 'www-client/firefox-bin-38.0.1-r1', Log file:

--- Clip! ---

Because I didn't find any reason from my fw, I checked google and end up to this thread at Mozilla's bugzilla https://bugzilla.mozilla.org/show_bug.cgi?id=694798
Then I tried to use --no-passive-ftp option to wget, but that didn't allow the data to get through either.

And then got back to my fw editing rules (thanks to earlier comments in this thread), so that all connections to addresses 63.245.215.56, 63.245.215.46 were allowed. Because my fw is not configured to allow all connections from internal network, this did the trick. If fw would be configured more like masquerading style and allow all outgoing, I wouldn't have this problem.

So my question is, would it be possible to change this downloading from ftp to http, with somekind of a var like "EMERGE_DOWNLOAD_FORCE_HTTP"? :)
Though I don't know where/how emerge could know what URL to use for downloading.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum