Mailing List Archive

drbd-dkms on Ubutu 20.04
HI all,

this page :
https://linbit.com/drbd-user-guide/drbd-guide-9_0-en/#s-install-pkgs-ubuntu_linux
<https://linbit.com/drbd-user-guide/drbd-guide-9_0-en/#s-install-pkgs-ubuntu_linux>
says to install drbd-utils drbd-dkms but apt is unable to locate the
drbd-dkms package:

$ sudo apt install drbd-utils drbd-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package drbd-dkms

What is that package?  Is it DKMS for email?  drbd-utils did trigger an
installation of postfix.

Why?

--

* Paul O'Rorke*
Re: drbd-dkms on Ubutu 20.04 [ In reply to ]
The drbd-dkms package is the kernel module, you're gonna need that. ;-)

Did you add the linbit repos to apt? I've installed this on 20.04 multiple
times w/out problem, although that was 6 months ago or so.

--
Michael D Labriola
401-316-9844 (cell)


On Tue, Sep 28, 2021 at 10:47 PM Paul D. O'Rorke <paul@tracker-software.com>
wrote:

> HI all,
>
> this page :
> https://linbit.com/drbd-user-guide/drbd-guide-9_0-en/#s-install-pkgs-ubuntu_linux
> says to install drbd-utils drbd-dkms but apt is unable to locate the
> drbd-dkms package:
>
> $ sudo apt install drbd-utils drbd-dkms
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> E: Unable to locate package drbd-dkms
>
> What is that package? Is it DKMS for email? drbd-utils did trigger an
> installation of postfix.
>
> Why?
>
> --
>
> * Paul O'Rorke*
>
>
> _______________________________________________
> Star us on GITHUB: https://github.com/LINBIT
> drbd-user mailing list
> drbd-user@lists.linbit.com
> https://lists.linbit.com/mailman/listinfo/drbd-user
>
Re: drbd-dkms on Ubutu 20.04 [ In reply to ]
On Tue, Sep 28, 2021 at 03:46:53PM -0700, Paul D. O'Rorke wrote:
> HI all,
>
> this page : https://linbit.com/drbd-user-guide/drbd-guide-9_0-en/#s-install-pkgs-ubuntu_linux <https://linbit.com/drbd-user-guide/drbd-guide-9_0-en/#s-install-pkgs-ubuntu_linux>
> says to install drbd-utils drbd-dkms but apt is unable to locate the
> drbd-dkms package:
>
> $ sudo apt install drbd-utils drbd-dkms
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> E: Unable to locate package drbd-dkms

Hi Paul,

2 possibilities:
- You are a customer and have our customer repos enabled: You would not
install via dkms as you would have access to pre-built binary kernel
modules. You could still use the dkms if you think compiling from
source helps (it does not). But in that case you would open a ticket
and not ask on drbd-user.

- You are not a customer: Then you don't have access to pre-build kernel
modules, but you can use the dkms. Still you need to enable a (public)
repository that has the dkms package. For Ubuntu that would be [1].

So my guess is you did not enable any special repos (customer or public)
and expected the dkms package to be part of the Ubuntu base repos. Which
it isn't. The section you are quoting has 2 (!) lines. One is the apt
command, the one before says:

"For Ubuntu LTS, LINBIT offers a PPA repository at
https://launchpad.net/~linbit/+archive/ubuntu/linbit-drbd9-stack. See
Adding Launchpad PPA Repositories for more information."

Did you enable it?

Regards, rck
[1] https://launchpad.net/~linbit/+archive/ubuntu/linbit-drbd9-stack
_______________________________________________
Star us on GITHUB: https://github.com/LINBIT
drbd-user mailing list
drbd-user@lists.linbit.com
https://lists.linbit.com/mailman/listinfo/drbd-user
Re: drbd-dkms on Ubutu 20.04 [ In reply to ]
Thanks Roland et al:

> The section you are quoting has 2 (!) lines. One is the apt
> command, the one before says:
>
> "For Ubuntu LTS, LINBIT offers a PPA repository at
> https://launchpad.net/~linbit/+archive/ubuntu/linbit-drbd9-stack. See
> Adding Launchpad PPA Repositories for more information."
>
> Did you enable it?
Doh!

Sorry.

* Paul O'Rorke*


On 2021-09-29 12:24 a.m., Roland Kammerer wrote:
> On Tue, Sep 28, 2021 at 03:46:53PM -0700, Paul D. O'Rorke wrote:
>> HI all,
>>
>> this page : https://linbit.com/drbd-user-guide/drbd-guide-9_0-en/#s-install-pkgs-ubuntu_linux <https://linbit.com/drbd-user-guide/drbd-guide-9_0-en/#s-install-pkgs-ubuntu_linux>
>> says to install drbd-utils drbd-dkms but apt is unable to locate the
>> drbd-dkms package:
>>
>> $ sudo apt install drbd-utils drbd-dkms
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> E: Unable to locate package drbd-dkms
> Hi Paul,
>
> 2 possibilities:
> - You are a customer and have our customer repos enabled: You would not
> install via dkms as you would have access to pre-built binary kernel
> modules. You could still use the dkms if you think compiling from
> source helps (it does not). But in that case you would open a ticket
> and not ask on drbd-user.
>
> - You are not a customer: Then you don't have access to pre-build kernel
> modules, but you can use the dkms. Still you need to enable a (public)
> repository that has the dkms package. For Ubuntu that would be [1].
>
> So my guess is you did not enable any special repos (customer or public)
> and expected the dkms package to be part of the Ubuntu base repos. Which
> it isn't. The section you are quoting has 2 (!) lines. One is the apt
> command, the one before says:
>
> "For Ubuntu LTS, LINBIT offers a PPA repository at
> https://launchpad.net/~linbit/+archive/ubuntu/linbit-drbd9-stack. See
> Adding Launchpad PPA Repositories for more information."
>
> Did you enable it?
>
> Regards, rck
> [1] https://launchpad.net/~linbit/+archive/ubuntu/linbit-drbd9-stack
> _______________________________________________
> Star us on GITHUB: https://github.com/LINBIT
> drbd-user mailing list
> drbd-user@lists.linbit.com
> https://lists.linbit.com/mailman/listinfo/drbd-user