if linux metapackage is installed software properties will uninstall it
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | software-properties (Ubuntu) |
High
|
Brian Murray | ||
| | Trusty |
High
|
Brian Murray | ||
| | Vivid |
High
|
Brian Murray | ||
| | Wily |
High
|
Brian Murray | ||
Bug Description
Test Case
---------
Reproduction Steps (works on Live CD, check that linux-generic is installed before testing):
1. Open software-
2. tail /var/log/
3. Run sudo apt-get upgrade and note that it now mentions that that linux-headers/
With the version of the package from -proposed the linux-generic package will no longer be removed by software-
ProblemType: BugDistroRelease: Ubuntu 15.10
Package: ubiquity (not installed)
ProcVersionSign
Uname: Linux 4.2.0-16-generic x86_64
NonfreeKernelMo
ApportVersion: 2.19.1-0ubuntu2
Architecture: amd64
Date: Wed Oct 14 14:06:29 2015
InstallCmdLine: file=/cdrom/
InstallationDate: Installed on 2015-10-13 (1 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20151013)
ProcEnviron:
LANGUAGE=en_US
TERM=xterm-
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- No reviews requested
- Michael Vogt: Approve on 2015-10-26
-
Diff: 28 lines (+10/-1)2 files modifieddebian/changelog (+7/-0)
softwareproperties/gtk/SoftwarePropertiesGtk.py (+3/-1)
| Bryan Quigley (bryanquigley) wrote : | #1 |
| Bryan Quigley (bryanquigley) wrote : | #2 |
| Bryan Quigley (bryanquigley) wrote : | #3 |
and by it, I mean the linux-generic package.
| Adam Conrad (adconrad) wrote : | #4 |
Definitely looks like it's being removed in the same pass as adding the nvidia drivers. Would be good to hunt that down. Do you have the apt logs?
| Bryan Quigley (bryanquigley) wrote : | #5 |
from history.log:
Start-Date: 2015-10-13 14:40:22
Commandline: aptdaemon role='role-
Install: screen-
Remove: linux-generic:amd64 (4.2.0.16.17)
End-Date: 2015-10-13 14:41:54
| Bryan Quigley (bryanquigley) wrote : | #6 |
I can reproduce this on a livecd. It also doesn't depend on the graphics driver ppa, it's reproducible wth nvidia-352 in restricted.
Reproducible with stock nvidia-352 and the ubuntu-drivers gui
Start-Date: 2015-10-14 21:43:21
Commandline: aptdaemon role='role-
Install: screen-
Remove: linux-generic:amd64 (4.2.0.16.17)
NOT reproducible with stock nvidia-353 and the ubuntu-drivers autoinstall command
Start-Date: 2015-10-14 21:50:17
Commandline: apt-get install -o DPkg::options:
Install: screen-
| Bryan Quigley (bryanquigley) wrote : | #7 |
I believe I found where the problem lies - with the attached diff the problem goes away (this is NOT a fix). It's specific to the gtk code.
| affects: | ubiquity (Ubuntu) → software-properties (Ubuntu) |
| description: | updated |
| description: | updated |
| Brian Murray (brian-murray) wrote : | #8 |
I was able to recreate this:
Start-Date: 2015-10-23 09:38:35
Commandline: aptdaemon role='role-
Install: libcuda1-352:amd64 (352.41-0ubuntu1, automatic), ocl-icd-
Remove: libcuda1-340:amd64 (340.93-0ubuntu1), nvidia-331:amd64 (340.93-0ubuntu1), nvidia-340:amd64 (340.93-0ubuntu1), nvidia-
End-Date: 2015-10-23 09:39:56
| Brian Murray (brian-murray) wrote : | #9 |
Switching back to nouveau seemed to fix the issue.
Start-Date: 2015-10-23 09:51:43
Commandline: aptdaemon role='role-
Install: linux-generic:amd64 (4.2.0.16.18)
Remove: nvidia-352:amd64 (352.41-0ubuntu1)
End-Date: 2015-10-23 09:51:58
| Brian Murray (brian-murray) wrote : | #10 |
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.
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_
1049
1050 installs = []
1051 removals = []
1052
1053 for pkg in self.driver_
1054 if pkg.is_installed:
1055 removals.
1056 else:
1057 installs.
| Changed in software-properties (Ubuntu): | |
| status: | New → In Progress |
| importance: | Undecided → High |
| assignee: | nobody → Brian Murray (brian-murray) |
| summary: |
- fresh install - linux-headers-generic linux-image-generic python-notify - thermald can be auto removed + if linux metapackage is installed software properties will uninstall it |
| Changed in software-properties (Ubuntu Wily): | |
| importance: | Undecided → High |
| status: | New → Triaged |
| description: | updated |
| Launchpad Janitor (janitor) wrote : | #11 |
This bug was fixed in the package software-properties - 0.96.15
---------------
software-properties (0.96.15) xenial; urgency=medium
[ Barry Warsaw ]
* In ppa.py, shortcut_handler(), if a ShortcutException occurs, print
the traceback to stderr and return None to allow other shortcut
handlers to run. (LP: #1510558)
-- Brian Murray <email address hidden> Tue, 27 Oct 2015 11:25:08 -0700
| Changed in software-properties (Ubuntu): | |
| status: | In Progress → Fix Released |
| Changed in software-properties (Ubuntu Wily): | |
| assignee: | nobody → Brian Murray (brian-murray) |
| status: | Triaged → In Progress |
| description: | updated |
| Changed in software-properties (Ubuntu Vivid): | |
| status: | New → Triaged |
| importance: | Undecided → High |
Hello Bryan, or anyone else affected,
Accepted software-properties into wily-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in software-properties (Ubuntu Wily): | |
| status: | In Progress → Fix Committed |
| tags: | added: verification-needed |
| Changed in software-properties (Ubuntu Vivid): | |
| status: | Triaged → In Progress |
| assignee: | nobody → Brian Murray (brian-murray) |
| Changed in software-properties (Ubuntu Trusty): | |
| status: | New → In Progress |
| importance: | Undecided → High |
| assignee: | nobody → Brian Murray (brian-murray) |
| Chris J Arges (arges) wrote : | #13 |
Hello Bryan, or anyone else affected,
Accepted software-properties into trusty-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in software-properties (Ubuntu Trusty): | |
| status: | In Progress → Fix Committed |
| Changed in software-properties (Ubuntu Vivid): | |
| status: | In Progress → Fix Committed |
| Chris J Arges (arges) wrote : | #14 |
Hello Bryan, or anyone else affected,
Accepted software-properties into vivid-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| tags: |
added: verification-done-wily verification-needed-trusty verification-needed-vivid removed: verification-needed |
| Brian Murray (brian-murray) wrote : | #15 |
I've verified this fix in Vivid.
bdmurray@
Commandline: apt-get install linux-generic
Install: linux-image-
Upgrade: linux-headers-
End-Date: 2015-10-29 09:33:22
Start-Date: 2015-10-29 09:34:47
Commandline: aptdaemon role='role-
Install: nvidia-
Remove: libcuda1-340:amd64 (340.93-
End-Date: 2015-10-29 09:36:11
bdmurray@
software-
Installed: 0.96.4.1
Candidate: 0.96.4.1
Version table:
*** 0.96.4.1 0
500 http://
100 /var/lib/
0.96.4 0
500 http://
| description: | updated |
| tags: |
added: verification-done-vivid removed: verification-needed-vivid |
| Brian Murray (brian-murray) wrote : | #16 |
I've verified this is in Trusty.
bdmurray@
software-
Installed: 0.92.37.6
Candidate: 0.92.37.6
Version table:
*** 0.92.37.6 0
500 http://
100 /var/lib/
0.92.37.5 0
500 http://
0.92.36 0
500 http://
bdmurray@
Start-Date: 2015-10-29 09:48:57
Commandline: apt-get install gir1.2-umockdev-1.0 umockdev
Install: umockdev:amd64 (0.8.1-1), gir1.2-
End-Date: 2015-10-29 09:48:58
Start-Date: 2015-10-29 09:50:26
Commandline: aptdaemon role='role-
Install: fakeroot:amd64 (1.20-3ubuntu2, automatic), screen-
End-Date: 2015-10-29 09:51:36
bdmurray@
linux-generic:
Installed: 3.13.0.67.73
Candidate: 3.13.0.67.73
Version table:
*** 3.13.0.67.73 0
500 http://
100 /var/lib/
3.13.0.66.72 0
500 http://
500 http://
3.13.0.24.28 0
500 http://
| tags: |
added: verification-done-trusty removed: verification-needed-trusty |
| Launchpad Janitor (janitor) wrote : | #17 |
This bug was fixed in the package software-properties - 0.96.13.1
---------------
software-properties (0.96.13.1) wily-proposed; urgency=medium
* If a driver package depends on dkms and the correct linux meta package is
already installed don't uninstall it. (LP: #1506169)
-- Brian Murray <email address hidden> Fri, 23 Oct 2015 10:58:33 -0700
| Changed in software-properties (Ubuntu Wily): | |
| status: | Fix Committed → Fix Released |
| Chris J Arges (arges) wrote : Update Released | #18 |
The verification of the Stable Release Update for software-properties has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
| Launchpad Janitor (janitor) wrote : | #19 |
This bug was fixed in the package software-properties - 0.92.37.6
---------------
software-properties (0.92.37.6) trusty-proposed; urgency=medium
* If a driver package depends on dkms and the correct linux meta package is
already installed don't uninstall it. (LP: #1506169)
-- Brian Murray <email address hidden> Tue, 27 Oct 2015 16:56:42 -0700
| Changed in software-properties (Ubuntu Trusty): | |
| status: | Fix Committed → Fix Released |
| Launchpad Janitor (janitor) wrote : | #20 |
This bug was fixed in the package software-properties - 0.96.4.1
---------------
software-properties (0.96.4.1) vivid-proposed; urgency=medium
* If a driver package depends on dkms and the correct linux meta package is
already installed don't uninstall it. (LP: #1506169)
-- Brian Murray <email address hidden> Tue, 27 Oct 2015 16:49:00 -0700
| Changed in software-properties (Ubuntu Vivid): | |
| status: | Fix Committed → Fix Released |
I am running UBUNTU Trusty 14.04.1 LTS as my OS. I am not running UBUNTU 15.10 ubiquity.


The reason I reinstalled was because the kernel had been removed from my previous install. Maybe I am doing something wrong?
It looks like it was removed about the time I added the graphics-drivers ppa - https:/ /launchpad. net/~graphics- driver