LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-26-2016, 07:15 AM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,306

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Virtualbox Update


I'm wanting to update virtualbox on my 14.1 install here. I gather I installed from source on /opt without going to a t?z package (Unusual for me) which complicates life slightly.

They no longer seem to have source archives, but use .rpm & .deb. The Slackbuild is back on version 4.x for 13.37 while I want 5.1.12 & guest additions, and hopefully keep my 2 vms unharmed.

Can I use something like the Fedora rpm? Something like
rpm2targz --> extract to tmpdir, mv /usr to /opt, makepkg, & install?
 
Old 12-26-2016, 08:15 AM   #2
laprjns
Member
 
Registered: Oct 2005
Location: Connecticut USA
Distribution: SalixOS
Posts: 206

Rep: Reputation: 108Reputation: 108
Just use the VirtualBox binary install script. You can get it from this page;
https://www.virtualbox.org/wiki/Linux_Downloads

Just download the appropriate script (either i385 or AMD64) for you system architecture (note that AMD64 is for both Intel and AMD CPUs)
Quote:
All distributions (built on EL5 and therefore do not require recent system libraries) i386 | AMD64
Once downloaded, you just need to run the script as root.
 
Old 12-26-2016, 04:35 PM   #3
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by laprjns View Post
Once downloaded, you just need to run the script as root.
Yup. The script will remove your existing install during the upgrade(not your VMs).
 
Old 12-27-2016, 01:25 AM   #4
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
Almost remove it (but not quite)

https://www.virtualbox.org/ticket/10752

Unless they have fixed this after 4+ years
 
1 members found this post helpful.
Old 12-27-2016, 06:10 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,306

Original Poster
Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
@Ruario: They have declared that ticket obsolete. I would never have thought of python.

@hitest: That's comforting to know. I actually renamed the VirtualBox directory, and when the script complained, I temporarily moved it to /root to get it out of the way. It appears I can delete it.

@laprjns: Thanks for that. I tried it, but no dice. It folds compiling the kernel modules. I'm on 3.19.0-rc6 iirc and that may be a bit old. The first error was in vboxdrv.sh with timeconst.h; that was in the wrong position, so a symlink went in. This produced a much longer tailspin available at
http://pastebin.com/SBWCu0Qf. I will have to update the kernel, or upgrade to Slackware-14.2 if I have the energy.

The new install is up and running, but the vms won't boot because there's no kernel modules. This is always the tricky bit, the kernel modules.
 
Old 12-27-2016, 07:08 AM   #6
laprjns
Member
 
Registered: Oct 2005
Location: Connecticut USA
Distribution: SalixOS
Posts: 206

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by business_kid View Post
The new install is up and running, but the vms won't boot because there's no kernel modules. This is always the tricky bit, the kernel modules.
Make sure that the kernel-source package is installed and then do the following as root:

Code:
# /etc/init.d/vboxdrv setup
 
1 members found this post helpful.
Old 12-28-2016, 04:19 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,306

Original Poster
Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Thanks. I had done that and there was some issue with the kernel I didn't figure. That falls over with error 1 & error 2 even as root. The kernel source was a git of Linus' linux-stable or maybe unstable I downloaded to build and test a video driver patch on another box back in the day.

Anyhow, I bit the bullet and upgraded to Slackware-14.2 which landed jammy side down, to put it mildly. I will post a new thread on that those issues I don't sort it. So this was solved by upgrading. I can assure you there are errors in my 14.2 atm, but not related to the kernel source and building modules.
 
Old 01-20-2017, 01:06 AM   #8
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
A little heads-up for Slackware users who want to install VirtualBox easily. I'm providing Slackware packages for Virtualbox 5.0.30 in my MLED [extras] repositories:

Make sure to download and install these three packages for your version and architecture:
  • virtualbox
  • virtualbox-kernel
  • virtualbox-extension-pack

VirtualBox depends on the acpica package, which is available in the main [desktop] repositories, in package group [d].

Add the following group to your system:

Code:
# groupadd -g 215 vboxusers
Add your user to this group:

Code:
# usermod -a -G vboxusers <youruser>
Last but not least, add the following stanza to /etc/rc.d/rc.local:

Code:
# Start vboxdrv
if [ -x /etc/rc.d/rc.vboxdrv ]; then
  /etc/rc.d/rc.vboxdrv start
fi
Cheers,

Niki
 
Old 01-20-2017, 06:56 AM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,306

Original Poster
Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Looks promising.

Why 5.0.30 instead of 5.1.x?

What is acpica needed for? It's not in the standard 14.2 install, and I gather virtualbox works on that.
 
Old 01-20-2017, 07:04 AM   #10
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by business_kid View Post
Looks promising.

Why 5.0.30 instead of 5.1.x?

What is acpica needed for? It's not in the standard 14.2 install, and I gather virtualbox works on that.
Acpica is a dependency. It's not in the standard install indeed, that's why I provide it. And starting with version 5.1, VirtualBox depends on Qt5, so I'll stick with 5.0.x.
 
Old 01-20-2017, 07:17 AM   #11
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
I have neither qt5 installed nor acpica installed. VirtualBox 5.1.12 runs fine here. It take it directly from virtualbox.org, including the extension pack, that I needed to get a virtual NVMe ssd controller for testing.

Last edited by Didier Spaier; 01-20-2017 at 07:20 AM.
 
Old 01-20-2017, 07:19 AM   #12
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by Didier Spaier View Post
I have neither qt5 installed noracpica installed. VirtualBox 5.1.12 runs fine here. It take it directly from virtualbox.org, including the extension pack, that I needed to get a virtual NVMe ssd controller for testing.
Different roads lead to Saint-Bauzille-de-Putois.
 
Old 01-20-2017, 07:28 AM   #13
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
Quote:
Originally Posted by kikinovak View Post
Different roads lead to Saint-Bauzille-de-Putois.
This reminds me that my best friend's father and mother had an house in Aniane and yes, I visited la Grotte des Demoiselles. About the road to get there, let me tell you that several decades ago it was only the Nationale 9 from Paris. Nothing funny behind trucks in a 2CV Citroën...

Last edited by Didier Spaier; 01-20-2017 at 10:38 AM.
 
1 members found this post helpful.
Old 01-20-2017, 05:24 PM   #14
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,181

Rep: Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763
Quote:
Originally Posted by Didier Spaier View Post
This reminds me that my best friend's father and mother had an house in Aniane and yes, I visited la Grotte des Demoiselles. About the road to get there, let me tell you that several decades ago it was only the Nationale 9 from Paris. Nothing funny behind trucks in a 2CV Citroën...
That made me laugh!

In my younger days I spent three years driving a 20-ton truck all around Ireland, before Ireland had any motorways. It was no fun getting stuck in this truck behind a 75-year-old farmer in his tractor, let me tell you! Especially when your shift was nearly over.

;-)
 
1 members found this post helpful.
Old 01-21-2017, 04:43 AM   #15
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,306

Original Poster
Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Quote:
Originally Posted by gezley View Post
That made me laugh!

In my younger days I spent three years driving a 20-ton truck all around Ireland, before Ireland had any motorways. It was no fun getting stuck in this truck behind a 75-year-old farmer in his tractor, let me tell you! Especially when your shift was nearly over.

;-)
Was that truck rigid? What a nightmare. Tractors in Ireland then had a narrower wheelbase, and fatalities from overturned tractors were common - the tractor would roll, throw the driver off, and then roll over him, usually killing him. It would be 25 kph max, and nobody would dare go much above walking speed on a bendy road.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtualbox update actinide Linux - Newbie 9 01-23-2013 11:20 AM
LXer: VirtualBox Update -- 4.1.18 LXer Syndicated Linux News 0 06-29-2012 01:00 PM
[SOLVED] Unable to use VirtualBox after update michalng Debian 4 04-12-2011 04:14 AM
VirtualBox , after Fedora 12 update tor.ment0r Linux - Virtualization and Cloud 2 02-03-2010 09:35 AM
Virtualbox broken after update. custangro Ubuntu 7 06-07-2008 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration