Termux-packages: Problem with gem install rubygems-update

Created on 5 Mar 2019  Â·  14Comments  Â·  Source: termux/termux-packages

When I use gem install rubygems-update, the installation stops, and I have to abort, and execute gem install rubygems-update, to can install the gem, after of this, the gems don't have any error, but for a automatic installation with this command, the script stops, please help :/. I have arm 32
Android 8.0

Most helpful comment

FYI, how much it takes to install with docs:
screenshot_20190305-162223

All 14 comments

Why does it stop/why do you have to abort?

but for a automatic installation with this command, the script stops

What is "automatic installation" and "the script" ?

if I execute the command the installation stops in this part:
gem install rubygems-update Fetching rubygems-update-3.0.3.gem Successfully installed rubygems-update-3.0.3 Parsing documentation for rubygems-update-3.0.3 Installing ri documentation for rubygems-update-3.0.3.
The installation stops, and to be able to resume it I have to interrupt it with CONTROL + C, after that I have to re-execute the command gem install rubygems-update Successfully installed rubygems-update-3.0.3 Parsing documentation for rubygems-update-3.0.3 Done installing documentation for rubygems-update after 1 seconds 1 gem installed and now it is installed. with automatic installation I mean that if I make a script, that it takes that command gem install rubygems-update when I get to that part the script stops, and I have to interrupt. I think that would be it, I appreciate your help :)

Installing ri documentation for rubygems-update-3.0.3

Installing ri documentation may take LONG TIME and you may see that installation hangs. It is not possible to fix that as depends on speed of your device's storage.

Just wait and do not expect that everything will be installed in 1-2 seconds.

I waited 10 minutes and it did not work. but I found another solution, when executing gem install -N rubygems-update, it does not install the documentation, since it is in that part where the installation stops, and there it installs without problems, thanks for the help :D

FYI, how much it takes to install with docs:
screenshot_20190305-162223

Oh, I'll try again, I appreciate the information, I'm new to this, thank you very much for helping me, good day!! :)

Plz help me out of this...
It pops every time... I even tried formatiing my phone and uninstalling termux and metasploit:

[*] Installing 'rubygems-update' if necessary...
ERROR: Could not find a valid gem 'rubygems-update' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - timed out (https://rubygems.org/specs.4.8.gz)
dpkg: error processing package metasploit (--configure):
installed metasploit package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
metasploit
E: Sub-process /data/data/com.termux/files/usr/bin/dpkg returned an error code (1)

I even tried formatiing my phone and uninstalling termux and metasploit

Do not try to seek problem inside Termux or your device unless you checked that everything is okay with your network.

Package managers are sensitive to broken Internet connections. In your case connection just timed out for whatever reason, e.g. because of high packet loss rate (very common on poor mobile signal) or your ISP tampers/intercepts traffic.

Thank you for your response.

On Sat, 4 May 2019, 17:31 Leonid Plyushch, notifications@github.com wrote:

I even tried formatiing my phone and uninstalling termux and metasploit

Do not try to seek problem inside Termux or your device unless you checked
that everything is okay with your network.

Package managers are very sensitive to broken Internet connections. In
your case connection just timed out for whatever reason, e.g. because of
high packet loss rate (very common on poor mobile signal) or your ISP
tampers/intercepts traffic.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/termux/termux-packages/issues/3454#issuecomment-489320615,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL7PR4IO4IEXSXFG2QX72ATPTV3JVANCNFSM4G3XPAIQ
.

Sir, can u fix this??

On Sat, 4 May 2019, 17:48 Harsh Shah, harsh2000shah@gmail.com wrote:

Thank you for your response.

On Sat, 4 May 2019, 17:31 Leonid Plyushch, notifications@github.com
wrote:

I even tried formatiing my phone and uninstalling termux and metasploit

Do not try to seek problem inside Termux or your device unless you
checked that everything is okay with your network.

Package managers are very sensitive to broken Internet connections. In
your case connection just timed out for whatever reason, e.g. because of
high packet loss rate (very common on poor mobile signal) or your ISP
tampers/intercepts traffic.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/termux/termux-packages/issues/3454#issuecomment-489320615,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL7PR4IO4IEXSXFG2QX72ATPTV3JVANCNFSM4G3XPAIQ
.

No. I can only suggest you to try manual downloading of rubygems-update gem package:

wget http://rubygems.org/gems/rubygems-update-3.0.3.gem
gem install ./rubygems-update-3.0.3.gem

Have bundle install

One of solution may be using VPN. Because in some countries gem is banned, ind cannot fetch any data.
I have a same problem, but fixed it using VPN.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

StephanBeer picture StephanBeer  Â·  3Comments

loveablefellow007 picture loveablefellow007  Â·  3Comments

reggi picture reggi  Â·  4Comments

zejji picture zejji  Â·  4Comments

ILadis picture ILadis  Â·  3Comments