Cannot install virtualbox on ubuntu 15.10 - virtualbox

I operate according to https://gist.github.com/PartTimeLegend/5328700, But
I got the following error:
Loading new virtualbox-5.0.14 DKMS files...
First Installation: checking all kernels...
Building only for 4.2.0-42-generic
Building initial module for 4.2.0-42-generic
Done.
vboxdrv:
Running module version sanity check.
Error! Module version 5.0.14_Ubuntu for vboxdrv.ko
is not newer than what is already found in kernel 4.2.0-42-generic (5.1.2).
You may override by specifying --force.
vboxnetadp.ko:
Running module version sanity check.
Error! Module version 5.0.14_Ubuntu for vboxnetadp.ko
is not newer than what is already found in kernel 4.2.0-42-generic (5.1.2).
You may override by specifying --force.
vboxnetflt.ko:
Running module version sanity check.
Error! Module version 5.0.14_Ubuntu for vboxnetflt.ko
is not newer than what is already found in kernel 4.2.0-42-generic (5.1.2).
You may override by specifying --force.
vboxpci.ko:
Running module version sanity check.
Error! Module version 5.0.14_Ubuntu for vboxpci.ko
is not newer than what is already found in kernel 4.2.0-42-generic (5.1.2).
You may override by specifying --force.
depmod.....
DKMS: install completed.
vboxweb.service is a disabled or a static unit, not starting it.
Job for virtualbox.service failed because the control process exited with error code. See "systemctl status virtualbox.service" and "journalctl -xe" for details.
invoke-rc.d: initscript virtualbox, action "restart" failed.
dmesg found error:
[23970.809479] Request for unknown module key 'virtualbox: b2b55b754f3bb6a535be36ff514e9e174b01bfda' err -11
[24080.976410] Request for unknown module key 'virtualbox: b2b55b754f3bb6a535be36ff514e9e174b01bfda' err -11
[28028.539569] Request for unknown module key 'virtualbox: b2b55b754f3bb6a535be36ff514e9e174b01bfda' err -11
My virtualbox install log file:
https://drive.google.com/open?id=0B9Z0DTPHWdIVVXk5VWQxcE5XQ2c
I googled a lot and tried alot but no solution till now. Would be nice if someone can help me here :)
Many thanks!

I've solved the same problem on Ubuntu 16.04 by disabling UEFI Secure Boot on my BIOS Setup menu. Then I just fully removed virtuabox then I just installed and n

Yes, n3uron3 is right, I added some more details to the convenience of people's needs. My PC brand is Acer, and must set a password in BOIS to disable UEFI Secure Boot, otherwise disable the UEFI Secure Boot option is gray(unavailability state). After the complete uninstall virtualbox and then re-install, you can use. Hope to help to everyone.

Related

Failure to "opam init", how to manually specify index.tar.gz?

I cannot opam init:
$ opam init --verbose
[NOTE] Will configure from built-in defaults.
Checking for available remotes: rsync and local, git, mercurial.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
<><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "default": OpamDownload.Download_fail(_, "Curl failed: \"/usr/bin/curl --write-out %{http_code}\\\\n --retry 3 --retry-delay 2
--user-agent opam/2.0.7 -L -o /tmp/opam-1697-6d07ae/index.tar.gz.part https://opam.ocaml.org/index.tar.gz\" exited with code 28")
[ERROR] Initial download of repository failed
However, I've manually downloaded index.tar.gz. How to manually specify index.tar.gz to opam init?
System info:
$ uname -a
CYGWIN_NT-10.0-19043 xxx 3.4.5-1.x86_64 2023-01-19 19:09 UTC x86_64 Cygwin
P.S. I'm trying to build one project using OCaml, but it turned out that it is very tricky: either OCaml complains about compatibility (is not a compiled interface for this version of OCaml followed by It seems to be for an older version of OCaml; does it mean that OCaml is not backward compatible?), either opam init fails, either <whatever>.
Your error message indicates that you either have network problems or very poor connection. Also, you opam version is very old, so it might not handle bad networks very well, I would suggest your installing a newer version of opam (at least 2.1.x), or, if it is possible, switching to docker or a virtual machine.
Answering your original question: I don't think there is a way (at least officially supported to specify your own downloaded index). Also, if you have trouble with downloading the index it most likely means that you will have more trouble in the future with your network when opam will start downloading actual packages.

ERROR: Failed to build PhantomJS! Building Qt Base failed

I have Debian Linux(64-bit) in VirtualBox.
Ram: 8Gb (for Debian 4Gb)
CPU: i5-3470
If any other details are needed please tell me.
I have followed instructions written here, and here you can see the console log.
For some reason I am unable to to build phantomjs and I can't understand why its not working... Have searched a lot, but couldn't find any thread which would be about this error.
--- EDIT ---
When I executed this command:
./configure --with-openssl-includes=/usr/include/openssl-1.0/ --with-openssl-libraries=/usr/lib/openssl-1.0/
Output was this:
--with-openssl-includes=/usr/include/openssl-1.0/: invalid command-line switch
--with-openssl-libraries=/usr/lib/openssl-1.0/: invalid command-line switch
The output of the console has changed but I still get errors: https://pastebin.com/wbgi8syg
Looks like you are on stretch (or later) and that you are already aware of the libssl vs libssl1.0 case.
Therefore, if you don't have libssl-dev installed, this line will get you further:
python build.py --qt-config "-I /usr/include/openssl-1.0/ -L /usr/lib/openssl-1.0/"
If you already have it installed and my suggestion doesn't work, you can uninstall libssl-dev for the time to build phantomjs which will likely avoid having to play further with configuration related variables.

dpdk-pdump "no driver found for net_pcap_rx_0"

Ubuntu 16, DPDK 16
I have a couple of DPDK-based applications sending packets between two machines and want to capture them with dpdk-pdump. I'm running it with sudo ./build/app/pdump/dpdk-pdump -c 0x00f -- --pdump 'port=0,queue=*,rx-dev=/tmp/rx.pcap', and I see this output and a crash:
EAL: no driver found for eth_pcap_rx_0
EAL: Driver, cannot attach the device
EAL: Error - exiting with code: 1
Cause: vdev creation failed:create_mp_ring_vdev:736
My DPDK was compiled like this: hostname:~/dpdk-stable-16.07.1/x86_64-native-linuxapp-gcc# CONFIG_RTE_LIBRTE_PMD_PCAP=y make (also did export CONFIG_RTE_LIBRTE_PMD_PCAP=y before) so that it builds with libpcap support, as the documentation said to do. And my system has libpcap installed. The make script output shows == Build lib/librte_pdump. Looking around online, I've only found one person with a similar issue, and the suggested fix was what I tried. Is there something else I have to do?
I tried installing the DPDK Ubuntu package's version of the tool and using the dpdk-pdump command, same result.
Unfortunately, setting CONFIG_RTE_LIBRTE_PMD_PCAP=y in command line does not work, so the compiled dpdk-pdump have no pcap support.
In config/common_base set CONFIG_RTE_LIBRTE_PMD_PCAP=y, remove your build directory and recompile the DPDK.
Make sure the .config file you your build directory has CONFIG_RTE_LIBRTE_PMD_PCAP=y
Also if you get following error:
Error: missing pcap.h
rte_eth_pcap.c:19:18: fatal error: pcap.h: No such file or directory
while compiling with option CONFIG_RTE_LIBRTE_PMD_PCAP=y
Install libpcap-dev* package. Eg:
yum install libpcap-devel

Can't install Bioperl Module (properly?)

I am not able to install a BioPerl Module via cpanm. With
sudo cpanm Bio::SeqIO
The output says:
--> Working on Bio::SeqIO
Fetching http://www.cpan.org/authors/id/C/CJ/CJFIELDS/BioPerl-1.6.922.tar.gz ... OK
Configuring BioPerl-1.006922 ... OK
Building and testing BioPerl-1.006922 ... FAIL
! Installing Bio::SeqIO failed. See /home/administrator/.cpanm/work/1398677477.16274/build.log for details. Retry with --force to force install it.
When adding --force it says:
--> Working on Bio::SeqIO
Fetching http://www.cpan.org/authors/id/C/CJ/CJFIELDS/BioPerl-1.6.922.tar.gz ... OK
Configuring BioPerl-1.006922 ... OK
Building and testing BioPerl-1.006922 ... FAIL
! Testing BioPerl-1.006922 failed but installing it anyway.
Successfully installed BioPerl-1.006922
1 distribution installed
So I am not sure whether I can use BioPerl now properly? Can I simply ignore that the testing failed?
I have already tried to reinstall CPAN with
o conf init
in the CPAN prompt, but the outcome was the same. I am working with Perl V5.14.2 and cpanm -v brings me:
cpanm (App::cpanminus) 1.6933 on perl 5.014002 built for x86_64-linux-gnu-thread-multi
Work directory is /home/administrator/.cpanm/work/1398677790.16651
You have make /usr/bin/make
You have LWP 6.05
You have /bin/tar: tar (GNU tar) 1.26
I am happy with any help, since I am a totally Linux newbie.
BioPerl uses many modules that you might not have installed. From BioPerl INSTALL file:
Remember that there are over 900 modules in BioPerl and the test
suite is running more than 12000 individual tests, a few failed tests
may not affect your usage of BioPerl
Most of the time you will not need these additional modules depending on what modules within BioPerl you are using. I'm sure that BioPerl has installed correctly on you system. I would work through http://www.bioperl.org/wiki/HOWTO:Beginners to learn BioPerl. If you get errors running these basic codes in the HOWTO, repost another question.
Good luck,
Paul

updating tizen-2.1 on test device

I have trouble on updating tizen-2.1 on my test device
I follow manual step by step, but some errors when I use lthor tool.
Can you give me some insight?
my environment
current tizen version on test device => 2.0
ubuntu 13.04 (on vmware 9)
modemmanager off
Error Message:
line 345: failed to read signature bytes
line 629: handshake failed
line 958: failed to open port (null)
Unfortunatelly, sometimes it's needed to uninstall modemmanger at all:
sudo apt-get purge modemmanager
Also VMWare may be at the bottom of your problem.
please follow these steps
I updated my device by following these steps.
https://wiki.tizen.org/wiki/Flash_Tizen_2.1_Image_to_Reference_Device