[Bug 1980152] [NEW] Dependencies in focal permit a situation where dkms cannot compile
Steve Dodd
1980152 at bugs.launchpad.net
Tue Jun 28 20:34:13 UTC 2022
Public bug reported:
I'm not entirely convinced this is a bug in the dkms packaging, but I
wasn't sure where else to report it.
My system has ended up in a state where dkms cannot build modules -
specifically virtualbox-dkms - because /usr/bin/gcc doesn't exist.
dkms depends on gcc|c-compiler, and gcc-7 is installed, but 'gcc', which
provides /usr/bin/gcc, depends on gcc >= 9, so has obviously been
uninstalled at some point.
I almost certainly got here by manually removing packages with aptitude
or similar, but the fact remains that dpkg & aptitude think the state of
the system is consistent, yet virtualbox-dkms cannot configure because
it cannot build.
My suspicion is gcc-7 should not provide gcc or c-compiler if it does
not provide the /usr/bin/gcc link.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: dkms 2.8.1-5ubuntu2
ProcVersionSignature: Ubuntu 5.13.0-40.45~20.04.1-generic 5.13.19
Uname: Linux 5.13.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.24
Architecture: amd64
CasperMD5CheckResult: skip
Date: Tue Jun 28 21:28:26 2022
PackageArchitecture: all
ProcEnviron:
TERM=screen.xterm-256color
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: dkms
UpgradeStatus: Upgraded to focal on 2021-01-14 (530 days ago)
** Affects: dkms (Ubuntu)
Importance: Undecided
Status: New
** Affects: gcc-7 (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug focal third-party-packages
** Also affects: gcc-7 (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
I'm not entirely convinced this is a bug in the dkms packaging, but I
wasn't sure where else to report it.
My system has ended up in a state where dkms cannot build modules -
specifically virtualbox-dkms - because /usr/bin/gcc doesn't exist.
dkms depends on gcc|c-compiler, and gcc-7 is installed, but 'gcc', which
provides /usr/bin/gcc, depends on gcc >= 9, so has obviously been
uninstalled at some point.
I almost certainly got here by manually removing packages with aptitude
or similar, but the fact remains that dpkg & aptitude think the state of
- the system is consistent, yet virtual-dkms cannot configure because it
- cannot build.
+ the system is consistent, yet virtualbox-dkms cannot configure because
+ it cannot build.
My suspicion is gcc-7 should not provide gcc or c-compiler if it does
not provide the /usr/bin/gcc link.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: dkms 2.8.1-5ubuntu2
ProcVersionSignature: Ubuntu 5.13.0-40.45~20.04.1-generic 5.13.19
Uname: Linux 5.13.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.24
Architecture: amd64
CasperMD5CheckResult: skip
Date: Tue Jun 28 21:28:26 2022
PackageArchitecture: all
ProcEnviron:
- TERM=screen.xterm-256color
- PATH=(custom, no user)
- LANG=en_GB.UTF-8
- SHELL=/bin/bash
+ TERM=screen.xterm-256color
+ PATH=(custom, no user)
+ LANG=en_GB.UTF-8
+ SHELL=/bin/bash
SourcePackage: dkms
UpgradeStatus: Upgraded to focal on 2021-01-14 (530 days ago)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-7 in Ubuntu.
https://bugs.launchpad.net/bugs/1980152
Title:
Dependencies in focal permit a situation where dkms cannot compile
Status in dkms package in Ubuntu:
New
Status in gcc-7 package in Ubuntu:
New
Bug description:
I'm not entirely convinced this is a bug in the dkms packaging, but I
wasn't sure where else to report it.
My system has ended up in a state where dkms cannot build modules -
specifically virtualbox-dkms - because /usr/bin/gcc doesn't exist.
dkms depends on gcc|c-compiler, and gcc-7 is installed, but 'gcc',
which provides /usr/bin/gcc, depends on gcc >= 9, so has obviously
been uninstalled at some point.
I almost certainly got here by manually removing packages with
aptitude or similar, but the fact remains that dpkg & aptitude think
the state of the system is consistent, yet virtualbox-dkms cannot
configure because it cannot build.
My suspicion is gcc-7 should not provide gcc or c-compiler if it does
not provide the /usr/bin/gcc link.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: dkms 2.8.1-5ubuntu2
ProcVersionSignature: Ubuntu 5.13.0-40.45~20.04.1-generic 5.13.19
Uname: Linux 5.13.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.24
Architecture: amd64
CasperMD5CheckResult: skip
Date: Tue Jun 28 21:28:26 2022
PackageArchitecture: all
ProcEnviron:
TERM=screen.xterm-256color
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: dkms
UpgradeStatus: Upgraded to focal on 2021-01-14 (530 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/1980152/+subscriptions
More information about the foundations-bugs
mailing list