I think this is because the intent of installing the linux metapackage as described here:
1171 # If the package depends on dkms
1172 # we need to install the correct linux metapackage
1173 # so that users get the latest headers
1174 if 'dkms' in pkg.candidate.record['Depends']:
1175 linux_meta = detect.get_linux(self.apt_cache)
1176 if (linux_meta and
1177 linux_meta not in self.driver_changes):
1178 # Install the linux metapackage
1179 self.driver_changes.append(self.apt_cache[linux_meta])
Is not honored if the package is already installed:
1048 def on_driver_changes_apply(self, button):
1049
1050 installs = []
1051 removals = []
1052
1053 for pkg in self.driver_changes:
1054 if pkg.is_installed:
1055 removals.append(pkg.shortname)
1056 else:
1057 installs.append(pkg.shortname)
I think this is because the intent of installing the linux metapackage as described here:
1171 # If the package depends on dkms record[ 'Depends' ]: get_linux( self.apt_ cache) changes) : changes. append( self.apt_ cache[linux_ meta])
1172 # we need to install the correct linux metapackage
1173 # so that users get the latest headers
1174 if 'dkms' in pkg.candidate.
1175 linux_meta = detect.
1176 if (linux_meta and
1177 linux_meta not in self.driver_
1178 # Install the linux metapackage
1179 self.driver_
Is not honored if the package is already installed:
1048 def on_driver_ changes_ apply(self, button): changes: append( pkg.shortname) append( pkg.shortname)
1049
1050 installs = []
1051 removals = []
1052
1053 for pkg in self.driver_
1054 if pkg.is_installed:
1055 removals.
1056 else:
1057 installs.