Error in Installing Ruby 1.9.2

1,125 views
Skip to first unread message

Upen

unread,
Jul 27, 2013, 3:09:12 AM7/27/13
to bigbluebu...@googlegroups.com
Hello Fred and everyone,

    I was doing a clean install on

cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.4 LTS"

Everything was fine, but when i tried this
wget https://bigbluebutton.googlecode.com/files/ruby1.9.2_1.9.2-p290-1_amd64.deb
sudo dpkg -i ruby1.9.2_1.9.2-p290-1_amd64.deb
#it shows bellow
dpkg: error processing ruby1.9.2_1.9.2-p290-1_amd64.deb (--install):
 package architecture (amd64) does not match system (i386)
Errors were encountered while processing:
 ruby1.9.2_1.9.2-p290-1_amd64.deb
To resolve the dependencies, i tried
sudo apt-get install -f

Fine and finally i tried
sudo update-alternatives --install /usr/bin/ruby ruby /usr/bin/ruby1.9.2 500 \
                         
--slave /usr/bin/ri ri /usr/bin/ri1.9.2 \
                         
--slave /usr/bin/irb irb /usr/bin/irb1.9.2 \
                         
--slave /usr/bin/erb erb /usr/bin/erb1.9.2 \
                         
--slave /usr/bin/rdoc rdoc /usr/bin/rdoc1.9.2
sudo update
-alternatives --install /usr/bin/gem gem /usr/bin/gem1.9.2 500

And I got output :
update-alternatives: error: alternative path /usr/bin/gem1.9.2 doesn't exist.
SO, now i need help to proceed ahead.Please anybody faced this problem can comment here.
Thanks in advance.
Upen

HostBBB.com

unread,
Jul 27, 2013, 9:20:59 AM7/27/13
to bigbluebu...@googlegroups.com
Is this a 32bit distro,  needs to be Ubuntu 10.04 LTS 64bit to work properly?
 
try this
 

uname -a

Result for 32-bit Ubuntu:

Linux discworld 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux

whereas the 64-bit Ubuntu will show:

Linux discworld 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux 

 
regards,
Stephen

Fred Dixon

unread,
Jul 27, 2013, 9:52:44 AM7/27/13
to bigbluebu...@googlegroups.com
Hi Upen, 

The BigBlueButton packages are for 64-bit installation of Ubuntu 10.04.  Please double-check the requirements at


before proceeding to the install.


Regards,... Fred
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton



--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/groups/opt_out.
 
 




Upen

unread,
Jul 28, 2013, 11:56:30 AM7/28/13
to bigbluebu...@googlegroups.com
Thanks a Lot Stephen,
  SO finally, i got installed ruby, but again i am facing a little problem at 

Install ffmpeg 


When i am executing 
chmod +x install-ffmpeg.sh
./install-ffmpeg.sh

I am getting 

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package zlib1g-dev
: command not found: line 2:
: command not found: line 5:
./install-ffmpeg.sh: line 24: syntax error near unexpected token `fi'
./install-ffmpeg.sh: line 24: `fi'



If anybody have any solutions for this can share and it will be my pleasure to be guided by you.

Thanks & Regards
Upen

Fred Dixon

unread,
Jul 28, 2013, 12:49:05 PM7/28/13
to bigbluebu...@googlegroups.com
Hi Upen,

Do not double-post.  You already posted this problem in the following thread


Posting twice just increases the effort of for others to help you as they must now respond to two separate threads.


Regards,... Fred
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton

HostBBB.com

unread,
Jul 29, 2013, 10:31:20 AM7/29/13
to bigbluebu...@googlegroups.com
Upen, this is most likely a cut and paste issue into the text file.   Try using chrome when you cut the instructions and paste into the install file.
 
I have had issues using IE before and trying to paste into vi window.
 
regards,
Stephen
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.

iLearn Support

unread,
Feb 5, 2014, 10:50:06 AM2/5/14
to bigbluebu...@googlegroups.com
Hi Fred,
I have been unable to install ruby 1.9.2
I am following the steps given on installation page.
When I run command  sudo apt-get install -f to fix dependency error, It asks me to remove 1.9.2 from the system.


root@:~# ruby -v
The program 'ruby' can be found in the following packages:
 * ruby1.8
 * ruby1.9.1
Try: apt-get install <selected package>
2-p290-1_amd64.deb
9.2-p290-1_amd64.deb
50:4001:c02::52, 173.194.70.82
450:4001:c02::52|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6894282 (6.6M) [application/x-debian-package]
Saving to: `ruby1.9.2_1.9.2-p290-1_amd64.deb.7'

100%[======================================>] 6,894,282   2.72M/s   in 2.4s

2014-02-05 15:25:36 (2.72 MB/s) - `ruby1.9.2_1.9.2-p290-1_amd64.deb.7' saved [68
94282/6894282]

root@:~# sudo dpkg -i ruby1.9.2_1.9.2-p290-1_amd64.deb
Selecting previously unselected package ruby1.9.2.
(Reading database ... 88736 files and directories currently installed.)
Unpacking ruby1.9.2 (from ruby1.9.2_1.9.2-p290-1_amd64.deb) ...
dpkg: dependency problems prevent configuration of ruby1.9.2:
 ruby1.9.2 depends on libffi5; however:
  Package libffi5 is not installed.
 ruby1.9.2 depends on libreadline5; however:
  Package libreadline5 is not installed.
dpkg: error processing ruby1.9.2 (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db ...
Errors were encountered while processing:
 ruby1.9.2
root@:~# sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libyaml-0-2 libruby1.9.1
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  ruby1.9.2
0 upgraded, 0 newly installed, 1 to remove and 7 not upgraded.
1 not fully installed or removed.
After this operation, 24.4 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 89538 files and directories currently installed.)
Removing ruby1.9.2 ...
Processing triggers for man-db ...
root@:~#


Best Wishes,
Asif

iLearn Support

unread,
Feb 5, 2014, 10:52:19 AM2/5/14
to bigbluebu...@googlegroups.com
Sorry to add version of operating system.

I am running Ubuntu Server 12.04 LTS minimal system (64-bit) on a dedicated server.

Best Wishes,
Asif

Gustavo Salazar

unread,
Feb 5, 2014, 10:59:53 AM2/5/14
to bigbluebu...@googlegroups.com

Hi ASif

Actually we don't have support for Ubuntu 12.04. Please Use Ubuntu 10.04 64 bits

iLearn Support

unread,
Feb 5, 2014, 11:04:34 AM2/5/14
to bigbluebu...@googlegroups.com
Oh Thank you. Its my mistake. I missed the version.

I will install the older version now.


Best Wishes,
Asif
Reply all
Reply to author
Forward
0 new messages