Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"One day I woke up and discovered that I was in love with tripe." -- Tom Anderson


computers / alt.os.linux.mageia / VirtualBox again

SubjectAuthor
* VirtualBox againDoug Laidlaw
`* Re: VirtualBox againDavid W. Hodgins
 `* Re: VirtualBox againTJ
  `- Re: VirtualBox againDavid W. Hodgins

1
VirtualBox again

<to2cnt$vg6$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5334&group=alt.os.linux.mageia#5334

  copy link   Newsgroups: alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!aioe.org!Z1GbF9ZSsAVv7t0ntrNxVw.user.46.165.242.91.POSTED!not-for-mail
From: laidl...@hotkey.net.au (Doug Laidlaw)
Newsgroups: alt.os.linux.mageia
Subject: VirtualBox again
Date: Fri, 23 Dec 2022 06:55:40 +1100
Organization: Aioe.org NNTP Server
Message-ID: <to2cnt$vg6$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="32262"; posting-host="Z1GbF9ZSsAVv7t0ntrNxVw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.6.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Doug Laidlaw - Thu, 22 Dec 2022 19:55 UTC

Once again, the kernel driver for VirtualBox refused to run.This time, I
found a simple fix that worked. It was on a Ubuntu forum, so I have
converted it to suit Mageia:

<CODE>
urpme dkms-virtualbox && urpmi dkms-virtualbox
</CODE>

(For any lurkers, the "&&" ensures that the second command will not run
unless the first command completes normally.)

That was it. Nothing else needed changing.

Re: VirtualBox again

<op.1xmciw0da3w0dxdave@hodgins.homeip.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5335&group=alt.os.linux.mageia#5335

  copy link   Newsgroups: alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dwhodg...@nomail.afraid.org (David W. Hodgins)
Newsgroups: alt.os.linux.mageia
Subject: Re: VirtualBox again
Date: Fri, 23 Dec 2022 02:31:34 -0500
Organization: A noiseless patient Spider
Lines: 57
Message-ID: <op.1xmciw0da3w0dxdave@hodgins.homeip.net>
References: <to2cnt$vg6$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Info: reader01.eternal-september.org; posting-host="f83086faa6cea8f2ae2c2550c272dd4e";
logging-data="1754034"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+suB+EOMrZHadSyiIRaGGcS5/9dzNuKNM="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:xT0OqWfLQhQ429yuxgzTWhtjxiY=
 by: David W. Hodgins - Fri, 23 Dec 2022 07:31 UTC

On Thu, 22 Dec 2022 14:55:40 -0500, Doug Laidlaw <laidlaws@hotkey.net.au> wrote:

> Once again, the kernel driver for VirtualBox refused to run.This time, I
> found a simple fix that worked. It was on a Ubuntu forum, so I have
> converted it to suit Mageia:
>
> <CODE>
> urpme dkms-virtualbox && urpmi dkms-virtualbox
> </CODE>
>
> (For any lurkers, the "&&" ensures that the second command will not run
> unless the first command completes normally.)
>
> That was it. Nothing else needed changing.

I haven't seen a need for that. Removing and re-installing the package would
not change any of the packaged files. All it would do is run the preuninstall
scriptlet, and then after replacing the packaged files run the postinstall
scriptlet.

Those scripts are ...
# rpm -q --scripts dkms-virtualbox
postinstall scriptlet (using /bin/sh):
set -x
/usr/sbin/dkms --rpm_safe_upgrade add -m virtualbox -v 7.0.4-1.mga8
if [ -z "$DURING_INSTALL" ] ; then
/usr/sbin/dkms --rpm_safe_upgrade build -m virtualbox -v 7.0.4-1.mga8 &&
/usr/sbin/dkms --rpm_safe_upgrade install -m virtualbox -v 7.0.4-1.mga8 &&
/sbin/rmmod vboxnetflt &>/dev/null
/sbin/rmmod vboxnetadp &>/dev/null
/sbin/rmmod vboxdrv &>/dev/null
/sbin/modprobe vboxdrv &>/dev/null
/sbin/modprobe vboxnetflt &>/dev/null
/sbin/modprobe vboxnetadp &>/dev/null
:
fi
preuninstall scriptlet (using /bin/sh):
if [ "$1" = "0" ]; then
/sbin/rmmod vboxnetadp >/dev/null 2>&1
/sbin/rmmod vboxnetflt >/dev/null 2>&1
/sbin/rmmod vboxdrv >/dev/null 2>&1
fi
set -x
/usr/sbin/dkms --rpm_safe_upgrade remove -m virtualbox -v 7.0.4-1.mga8 --all || :

# fix guest-additions upgrade from init scripts to systemd services

====================================

The only time such a procedure would make a difference is if the prior
installation of the dkms-virtualbox had failed in it's postinstall scriptlet.

The most likely causes of that are not having the kernel-$flavor-devel-latest
package (where $flavor matches the flavor of the running kernel such as desktop,
server, etc.) installed for the current kernel.

Regards, Dave Hodgins

Re: VirtualBox again

<to4ecr$1o769$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5336&group=alt.os.linux.mageia#5336

  copy link   Newsgroups: alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: TJ...@noneofyour.business (TJ)
Newsgroups: alt.os.linux.mageia
Subject: Re: VirtualBox again
Date: Fri, 23 Dec 2022 09:36:09 -0500
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <to4ecr$1o769$1@dont-email.me>
References: <to2cnt$vg6$1@gioia.aioe.org>
<op.1xmciw0da3w0dxdave@hodgins.homeip.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 23 Dec 2022 14:36:11 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="2b6745a73f119081229310299e6cca59";
logging-data="1842377"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+kjwWmUcMjb11tkm/ccBi8lzmMwuLqy8A="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.6.0
Cancel-Lock: sha1:fyAOO0acBMHiFBrH9hMnzJs5b60=
In-Reply-To: <op.1xmciw0da3w0dxdave@hodgins.homeip.net>
Content-Language: en-US
 by: TJ - Fri, 23 Dec 2022 14:36 UTC

On 2022-12-23 02:31, David W. Hodgins wrote:
> The only time such a procedure would make a difference is if the prior
> installation of the dkms-virtualbox had failed in it's postinstall
> scriptlet.
>
> The most likely causes of that are not having the
> kernel-$flavor-devel-latest
> package (where $flavor matches the flavor of the running kernel such as
> desktop,
> server, etc.) installed for the current kernel.

I strongly suspect that Doug's original problem with dkms-virtualbox
came from being hit with https://bugs.mageia.org/show_bug.cgi?id=29830

If so, the command he gave will work around the situation, but it won't
"fix" it.

TJ

Re: VirtualBox again

<op.1xm2jiaga3w0dxdave@hodgins.homeip.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=5337&group=alt.os.linux.mageia#5337

  copy link   Newsgroups: alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dwhodg...@nomail.afraid.org (David W. Hodgins)
Newsgroups: alt.os.linux.mageia
Subject: Re: VirtualBox again
Date: Fri, 23 Dec 2022 11:53:32 -0500
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <op.1xm2jiaga3w0dxdave@hodgins.homeip.net>
References: <to2cnt$vg6$1@gioia.aioe.org>
<op.1xmciw0da3w0dxdave@hodgins.homeip.net> <to4ecr$1o769$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Info: reader01.eternal-september.org; posting-host="f83086faa6cea8f2ae2c2550c272dd4e";
logging-data="1899723"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+8HucAFm9gYK4P3rFDpZPfRv6oWFbLWu8="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:pftR2aTtwaxgBBMLyQbjEe9MFmw=
 by: David W. Hodgins - Fri, 23 Dec 2022 16:53 UTC

On Fri, 23 Dec 2022 09:36:09 -0500, TJ <TJ@noneofyour.business> wrote:

> On 2022-12-23 02:31, David W. Hodgins wrote:
>> The only time such a procedure would make a difference is if the prior
>> installation of the dkms-virtualbox had failed in it's postinstall
>> scriptlet.
>>
>> The most likely causes of that are not having the
>> kernel-$flavor-devel-latest
>> package (where $flavor matches the flavor of the running kernel such as
>> desktop,
>> server, etc.) installed for the current kernel.
>
> I strongly suspect that Doug's original problem with dkms-virtualbox
> came from being hit with https://bugs.mageia.org/show_bug.cgi?id=29830
>
> If so, the command he gave will work around the situation, but it won't
> "fix" it.

Ah. Yes, the backports problem.

For anyone who doesn't need the backports, I strongly recommend removing
the backports respositories information "urpmi.removemedia -y back".

The command "urpmq --not-available" can then be used to see which packages
if any should be considered for downgrading.

Regards, Dave Hodgins

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor