how to update virtual box? needs admin privelidges [SOLVED]

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

how to update virtual box? needs admin privelidges [SOLVED]

Postby geraldw321 » Apr 19th, '13, 20:46

hi there i want to upgrade virtualbox to VirtualBox-4.2.12-84980-Linux_amd64.run version but i get an error stating: This program must be run with administrator privileges. Aborting
how can i run this to update ? i dont see a root or admin option in the menus??? :?:
Last edited by geraldw321 on Apr 23rd, '13, 16:05, edited 1 time in total.
geraldw321
 
Posts: 27
Joined: Feb 24th, '13, 04:23

Re: how to update virtual box? needs admin privelidges

Postby jkerr82508 » Apr 19th, '13, 22:23

Open a terminal (for example konsole) and enter:
Code: Select all
su -
When you are asked, enter your root password (that you set when you installed Mageia). It will not be displayed but after you have entered it the prompt will change to root@.... You can then run the installer in that terminal. If you have any Mageia virtualbox packages installed, then you should probably remove them before installing the generic version, to avoid any possible conflicts.

Jim
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: how to update virtual box? needs admin privelidges

Postby geraldw321 » Apr 22nd, '13, 13:21

ok looks like i was given permissions , BUT i got this when i ran install:
Code: Select all
[root@localhost win_c2]# VirtualBox-4.2.12-84980-Linux_amd64.run
bash: VirtualBox-4.2.12-84980-Linux_amd64.run: command not found
[root@localhost win_c2]#
Last edited by isadora on Apr 22nd, '13, 14:00, edited 1 time in total.
Reason: For readability command-output placed between code-tags. ;)
geraldw321
 
Posts: 27
Joined: Feb 24th, '13, 04:23

Re: how to update virtual box? needs admin privelidges

Postby geraldw321 » Apr 22nd, '13, 14:17

thanks isadora
geraldw321
 
Posts: 27
Joined: Feb 24th, '13, 04:23

Re: how to update virtual box? needs admin privelidges

Postby djennings » Apr 22nd, '13, 15:11

geraldw321 wrote:ok looks like i was given permissions , BUT i got this when i ran install:
Code: Select all
[root@localhost win_c2]# VirtualBox-4.2.12-84980-Linux_amd64.run
bash: VirtualBox-4.2.12-84980-Linux_amd64.run: command not found
[root@localhost win_c2]#


You need
Code: Select all
[root@localhost win_c2]# ./VirtualBox-4.2.12-84980-Linux_amd64.run


Linux always looks for executable programmes in specific places known as the PATH. You can see what your PATH is set to with the command
Code: Select all
$ echo $PATH
/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/usr/lib64/qt4/bin:/home/derek/bin


If the programme you are trying to run is not in any of those locations then you need to specify where it can be found.
The characters './' mean 'look in the current directory'

BTW: If you are replacing the mageia supplied virtualbox, do not forget to uninstall the mageia packages first. You will need to uninstall
virtualbox
virtualbox-guest-additions
dkms-virtualbox (if installed)
virtualbox-kernel-xxxx (where xxxx depends on which kernel you are using)
You will also need to compile and install the virtualbox kernel module. I think the vbox installer will do it for you, but you will need to have the package kernel-desktop-devel-latest installed (assuming you are using the desktop kernel)
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest