[Bug 1175637] Re: Kernel updates are being marked as manually installed

2016-06-28 Thread Mathew Hodson
*** This bug is a duplicate of bug 1439769 ***
https://bugs.launchpad.net/bugs/1439769

** This bug has been marked a duplicate of bug 1439769
   various linux packages being marked as manually installed, still prevents 
'apt-get autoremove' from doing the right thing for kernels

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1175637

Title:
  Kernel updates are being marked as manually installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1175637/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1175637] Re: Kernel updates are being marked as manually installed

2016-06-17 Thread Jarno Suni
** Changed in: apt (Ubuntu)
   Status: Confirmed => Fix Released

** Changed in: unattended-upgrades (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1175637

Title:
  Kernel updates are being marked as manually installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1175637/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1175637] Re: Kernel updates are being marked as manually installed

2016-06-17 Thread Jarno Suni
And as for unattended-upgrades, the bug is fixes in Ubunut 14.04.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1175637

Title:
  Kernel updates are being marked as manually installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1175637/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1175637] Re: Kernel updates are being marked as manually installed

2016-06-14 Thread Id2ndR
I confirm it's fixed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1175637

Title:
  Kernel updates are being marked as manually installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1175637/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1175637] Re: Kernel updates are being marked as manually installed

2015-12-23 Thread Jarno Suni
This seems to be fixes in ubuntu 15.10. (I am using Xubuntu). apt
package version is 1.0.10.2ubuntu1. Can you confirm?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1175637

Title:
  Kernel updates are being marked as manually installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1175637/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1175637] Re: Kernel updates are being marked as manually installed

2015-09-06 Thread Jacob Nevins
ben-r-xiao, id2ndr: I think that you are running into bug #1492709 or
maybe bug #1439769, neither of which involve unattended-upgades. (These
two bugs might be the same thing.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1175637

Title:
  Kernel updates are being marked as manually installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1175637/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1175637] Re: Kernel updates are being marked as manually installed

2015-07-30 Thread Id2ndR
Even without using unattended install on Ubuntu 14.04, the kernels are
marked as manually installed. This prevent apt autoremove from removing
unneeded kernel.

So I needed to do this tricks:
sudo apt-mark auto $(apt-mark showmanual | grep linux-image)

Then I can run normally:
sudo apt-get autoremove

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1175637

Title:
  Kernel updates are being marked as manually installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1175637/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1175637] Re: Kernel updates are being marked as manually installed

2015-06-16 Thread Benjamin Xiao
I am experiencing this issue even on Ubuntu 15.04 Vivid. I upgraded to
kernel 3.19.0-21 today using the desktop Software Updater tool and the
packages are all marked as manually installed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1175637

Title:
  Kernel updates are being marked as manually installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1175637/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1175637] Re: Kernel updates are being marked as manually installed

2013-08-26 Thread Brian Murray
** Changed in: unattended-upgrades (Ubuntu)
   Importance: Undecided = High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1175637

Title:
  Kernel updates are being marked as manually installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1175637/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1175637] Re: Kernel updates are being marked as manually installed

2013-06-18 Thread Brian Murray
I did this in a minimal precise lxc container so there may be something
missing.  Nonetheless, attached you'll find /var/log/unattended-upgrades
/unattended-upgrades.log.

** Attachment added: unattended-upgrades.log
   
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1175637/+attachment/3706961/+files/unattended-upgrades.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1175637

Title:
  Kernel updates are being marked as manually installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1175637/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1175637] Re: Kernel updates are being marked as manually installed

2013-06-05 Thread Brian Murray
08:33  slangasek bdmurray: so I think it's probably a 
   straightforward matter of 
   unattended-upgrades not calling the 
   right api to mark packages as auto 
   when pulling them in as new deps
08:33  slangasek not that I know what that api 
   actually is
08:35  bdmurray slangasek: okay
08:35  cjwatson mark_install(from_user=False) I think? 
  But check ...
08:36  slangasek ah, there's a single call to 
   mark_install() in u-a, so that would 
   be nice and convenient if so
08:36  slangasek bdmurray: is that enough to be going 
   on with?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1175637

Title:
  Kernel updates are being marked as manually installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1175637/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1175637] Re: Kernel updates are being marked as manually installed

2013-06-05 Thread Daniel Hartwig
unattended-upgrade does not directly handle dependencies, and its only
effective calls are to ‘mark_upgrade’.

 08:36  slangasek ah, there's a single call to
mark_install() in u-a, so that would
be nice and convenient if so

In ‘upgrade_in_minimal_steps’, but conditional on:

elif not pkg.is_installed:
pkg.mark_install()

so only called if somehow a not-installed package ends up in
pkgs_to_upgrade inside main.  There are many unconditional calls to
pkg.mark_upgrade that should generate a python-apt error for a
not-installed package in that list.

In any case, looking at the log Brian provided,
linux-image-3.2.0-44-generic is the package of interest, yet does not
appear in pkgs_to_upgrade (see the second to last line of the log,
starting “Packages that are upgraded:”).

 08:35  cjwatson mark_install(from_user=False) I think?
   But check ...

This is a too common misconception. ‘FromUser’ is concerned with other
functions, such as whether to override a hold or not.  It must never
be used strictly for the side-effect of maybe setting auto-installed.
The only proper way to explicitly mark a package auto-installed is to
call ‘MarkInstall’ followed by ‘MarkAuto’, and most programs need not
be concerned with that unless e.g. they include their own dependency
solver.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1175637

Title:
  Kernel updates are being marked as manually installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1175637/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1175637] Re: Kernel updates are being marked as manually installed

2013-06-05 Thread Daniel Hartwig
On 6 June 2013 11:14, Daniel Hartwig mand...@gmail.com wrote:
 In ‘upgrade_in_minimal_steps’, but conditional on:

 elif not pkg.is_installed:
 pkg.mark_install()

Also unrelated, though this call should be removed based on my earlier
reasoning that it is never used.  Otherwise, even though it is unused,
it should have ‘from_user=False’ to indicate that these requests are
not coming directly from the user and avoid issues with e.g.
overriding holds.

However, unattended-upgrades (and indeed any program using python-apt)
will still inappropriately override holds due to
http://bugs.debian.org/686726.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1175637

Title:
  Kernel updates are being marked as manually installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1175637/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1175637] Re: Kernel updates are being marked as manually installed

2013-06-05 Thread Daniel Hartwig
** Bug watch added: Debian Bug tracker #686726
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686726

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1175637

Title:
  Kernel updates are being marked as manually installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1175637/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1175637] Re: Kernel updates are being marked as manually installed

2013-06-05 Thread Daniel Hartwig
** Bug watch removed: Debian Bug tracker #686726
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686726

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1175637

Title:
  Kernel updates are being marked as manually installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1175637/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1175637] Re: Kernel updates are being marked as manually installed

2013-06-05 Thread Daniel Hartwig
‘MarkInstall’ has changed quite a bit since version in precise,
including much in the ways of handling auto-installed.  Can someone
provide an apt log with Debug::pkgDepCache::Marker and
Debug::pkgDepCache::AutoInstall set.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1175637

Title:
  Kernel updates are being marked as manually installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1175637/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1175637] Re: Kernel updates are being marked as manually installed

2013-05-29 Thread Brian Murray
I just ran an unattended-upgrade on a precise system and the new kernel
was marked as manual.

bdmurray@flash:~$ apt-mark showauto | grep linux-image
bdmurray@flash:~$ apt-mark showmanual | grep linux-image
linux-image-3.2.0-29-generic
linux-image-3.2.0-37-generic
linux-image-3.2.0-38-generic
linux-image-3.2.0-41-generic
linux-image-3.2.0-44-generic
linux-image-generic
bdmurray@flash:~$ uname -a
Linux flash 3.2.0-41-generic #66-Ubuntu SMP Thu Apr 25 03:27:11 UTC 2013 x86_64 
x86_64 x86_64 GNU/Linux

Attached is the log file from my unattended-upgrade run.

** Attachment added: unattended-upgrade.log
   
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1175637/+attachment/3690227/+files/unattended-upgrade.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1175637

Title:
  Kernel updates are being marked as manually installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1175637/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1175637] Re: Kernel updates are being marked as manually installed

2013-05-11 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: apt (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1175637

Title:
  Kernel updates are being marked as manually installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1175637/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1175637] Re: Kernel updates are being marked as manually installed

2013-05-11 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: unattended-upgrades (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1175637

Title:
  Kernel updates are being marked as manually installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1175637/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs