← Back to team overview

touch-packages team mailing list archive

[Bug 1506169] Re: if linux metapackage is installed software properties will uninstall it

 

I've verified this fix in Vivid.

bdmurray@clean-vivid-amd64:~$ tail /var/log/apt/history.log 
Commandline: apt-get install linux-generic
Install: linux-image-extra-3.19.0-32-generic:amd64 (3.19.0-32.37, automatic), linux-image-3.19.0-32-generic:amd64 (3.19.0-32.37, automatic), linux-headers-3.19.0-32-generic:amd64 (3.19.0-32.37, automatic), linux-headers-3.19.0-32:amd64 (3.19.0-32.37, automatic), linux-generic:amd64 (3.19.0.32.31)
Upgrade: linux-headers-generic:amd64 (3.19.0.31.30, 3.19.0.32.31), linux-image-generic:amd64 (3.19.0.31.30, 3.19.0.32.31)
End-Date: 2015-10-29  09:33:22

Start-Date: 2015-10-29  09:34:47
Commandline: aptdaemon role='role-commit-packages' sender=':1.99'
Install: nvidia-opencl-icd-304-updates:amd64 (304.128-0ubuntu0.1, automatic), libcuda1-304-updates:amd64 (304.128-0ubuntu0.1, automatic), nvidia-304-updates:amd64 (304.128-0ubuntu0.1)
Remove: libcuda1-340:amd64 (340.93-0ubuntu0.1), nvidia-340:amd64 (340.93-0ubuntu0.1), nvidia-opencl-icd-340:amd64 (340.93-0ubuntu0.1)
End-Date: 2015-10-29  09:36:11
bdmurray@clean-vivid-amd64:~$ apt-cache policy software-properties-gtk
software-properties-gtk:
  Installed: 0.96.4.1
  Candidate: 0.96.4.1
  Version table:
 *** 0.96.4.1 0
        500 http://192.168.10.7/ubuntu/ vivid-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     0.96.4 0
        500 http://192.168.10.7/ubuntu/ vivid/main amd64 Packages


** Description changed:

  Test Case
  ---------
  Reproduction Steps (works on Live CD, check that linux-generic is installed before testing):
- 1.  Open software-properties-gtk, in the drivers tab install nvidia-352 driver.
+ 1.  Open software-properties-gtk, in the drivers tab install nvidia-352 driver. (It is possible to fake the hardware via /usr/share/ubuntu-drivers-common/fake-devices-wrapper software-properties-gtk.)
  2.  tail /var/log/apt/history.log and note that it also removed the linux-generic package.
  3.  Run sudo apt-get upgrade and note that it now mentions that that linux-headers/image-generic are auto-removable.
  
  With the version of the package from -proposed the linux-generic package
  will no longer be removed by software-properties.
- 
  
  ProblemType: BugDistroRelease: Ubuntu 15.10
  Package: ubiquity (not installed)
  ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
  Uname: Linux 4.2.0-16-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.19.1-0ubuntu2
  Architecture: amd64
  Date: Wed Oct 14 14:06:29 2015
  InstallCmdLine: file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash ---
  InstallationDate: Installed on 2015-10-13 (1 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20151013)
  ProcEnviron:
   LANGUAGE=en_US
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bashSourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

** Tags removed: verification-needed-vivid
** Tags added: verification-done-vivid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to software-properties in
Ubuntu.
https://bugs.launchpad.net/bugs/1506169

Title:
  if linux metapackage is installed software properties will uninstall
  it

Status in software-properties package in Ubuntu:
  Fix Released
Status in software-properties source package in Trusty:
  Fix Committed
Status in software-properties source package in Vivid:
  Fix Committed
Status in software-properties source package in Wily:
  Fix Committed

Bug description:
  Test Case
  ---------
  Reproduction Steps (works on Live CD, check that linux-generic is installed before testing):
  1.  Open software-properties-gtk, in the drivers tab install nvidia-352 driver. (It is possible to fake the hardware via /usr/share/ubuntu-drivers-common/fake-devices-wrapper software-properties-gtk.)
  2.  tail /var/log/apt/history.log and note that it also removed the linux-generic package.
  3.  Run sudo apt-get upgrade and note that it now mentions that that linux-headers/image-generic are auto-removable.

  With the version of the package from -proposed the linux-generic
  package will no longer be removed by software-properties.

  ProblemType: BugDistroRelease: Ubuntu 15.10
  Package: ubiquity (not installed)
  ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
  Uname: Linux 4.2.0-16-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.19.1-0ubuntu2
  Architecture: amd64
  Date: Wed Oct 14 14:06:29 2015
  InstallCmdLine: file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash ---
  InstallationDate: Installed on 2015-10-13 (1 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20151013)
  ProcEnviron:
   LANGUAGE=en_US
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bashSourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1506169/+subscriptions