Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1122274

Bug#1022746: please provide linux-image-generic / linux-headers-generic

From Patrick Schleizer <adrelanos@whonix.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1022746: please provide linux-image-generic / linux-headers-generic
Date 2022-10-25 01:00 +0200
Message-ID <FkeAi-guTE-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Package: linux
Severity: normal

Dear maintainer,

In Debian, linux-headers-generic is a virtual package.

https://packages.debian.org/bullseye/linux-headers-generic

In Ubuntu, linux-headers-generic is a real package.

https://packages.ubuntu.com/linux-headers-generic

It depends at time of writing on linux-headers-5.19.0-21-generic which 
then somehow pulls the architecture specific kernel headers package.

What's the advantage of having a linux-headers-generic package?

Instructions to install packages often look like this:

sudo apt install some-package-that-builds-a-kernel-module 
linux-headers-$(dpkg --print-architecture)

The part "$(dpkg --print-architecture)" is hard to type, remember for 
many users. Bash tab competition is unsupported.

By comparison, the following looks nicer.

sudo apt install some-package-that-builds-a-kernel-module 
linux-headers-generic

But once linux-headers-generic exists, this could could be simplified 
even further. some-package-that-builds-a-kernel-module then could have a 
'Depends: linux-headers-generic'. Then it could be as simple as:

sudo apt install some-package-that-builds-a-kernel-module

The internet is full with people asking questions because package 
installation failed due to missing kernel headers packages.

Could this please be improved?

Cheers,
Patrick

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1022746: please provide linux-image-generic / linux-headers-generic Patrick Schleizer <adrelanos@whonix.org> - 2022-10-25 01:00 +0200

csiph-web