Bug#711108: linux-image-* should suggest linux-tools-*

2021-05-10 Thread Piotr Engelking
Salvatore Bonaccorso :

> I'm closing this bug now as I think it's not anymore relevant in this
> outlined form. But please let me know if you disagree.

Why do you believe so? Did anything change, other than renaming
linux-tools to linu-perf?



Bug#711108: linux-image-* should suggest linux-tools-*

2015-05-16 Thread Piotr Engelking
tags 711108 + patch
thanks

Untested patch attached.

It may also be interesting to notice that apt already attempts to
prevent automatic removal of linux-tools matching an installed kernel,
but fails, since it assumes a version format which is no longer in use:

  /etc/kernel/postinst.d/apt-auto-removal
  /etc/apt/apt.conf.d/01autoremove

On 4 June 2013 at 21:03, Ben Hutchings  wrote:
> On Tue, Jun 04, 2013 at 08:46:50PM +0200, Piotr Engelking wrote:
>> Source: linux
>> Severity: wishlist
>>
>> Please consider having the linux-image-${version}-* packages suggesting
>> the matching linux-tools-${version} package. This would help users to keep
>> them in sync.
>
> It might be a useful hint.  However the linux-tools meta-package is
> a more effective way to keep linux-tools-* up to date (unless you
> install the kernel from experimental).
>
> Ben.
>
> --
> Ben Hutchings
> We get into the habit of living before acquiring the habit of thinking.
>   - Albert Camus
diff --git a/debian/templates/control.image.type-plain.in b/debian/templates/control.image.type-plain.in
index 29306e3..0c29b32 100644
--- a/debian/templates/control.image.type-plain.in
+++ b/debian/templates/control.image.type-plain.in
@@ -3,7 +3,7 @@ Provides: linux-modules-@abiname@@localversion@
 Pre-Depends: debconf | debconf-2.0
 Depends: kmod | module-init-tools, linux-base (>= 3~), ${misc:Depends}
 Recommends: firmware-linux-free (>= 3~), ${kernel:Recommends}
-Suggests: linux-doc-@version@, debian-kernel-handbook
+Suggests: linux-tools-@version@, linux-doc-@version@, debian-kernel-handbook
 Breaks: at (<< 3.1.12-1+squeeze1)
 Description: Linux @upstreamversion@ for @class@
  The Linux kernel @upstreamversion@ and modules for use on @longclass@.


Bug#711108: linux-image-* should suggest linux-tools-*

2015-05-16 Thread Ben Hutchings
On Sat, 2015-05-16 at 09:50 +0200, Piotr Engelking wrote:
> tags 711108 + patch
> thanks
> 
> Untested patch attached.
> 
> It may also be interesting to notice that apt already attempts to
> prevent automatic removal of linux-tools matching an installed kernel,
> but fails, since it assumes a version format which is no longer in use:
> 
>   /etc/kernel/postinst.d/apt-auto-removal
>   /etc/apt/apt.conf.d/01autoremove
[...]

That's an Ubuntu-ism.  They use the wrong version format for their
linux-tools package.

Anyway, there's no reason to prevent auto-removal of this package as
it's obviously not required to boot.

Ben.

-- 
Ben Hutchings
The obvious mathematical breakthrough [to break modern encryption] would be
development of an easy way to factor large prime numbers. - Bill Gates


signature.asc
Description: This is a digitally signed message part


Bug#711108: linux-image-* should suggest linux-tools-*

2013-06-04 Thread Piotr Engelking
Source: linux
Severity: wishlist

Please consider having the linux-image-${version}-* packages suggesting
the matching linux-tools-${version} package. This would help users to keep
them in sync.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (400, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.8-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#711108: linux-image-* should suggest linux-tools-*

2013-06-04 Thread Ben Hutchings
On Tue, Jun 04, 2013 at 08:46:50PM +0200, Piotr Engelking wrote:
> Source: linux
> Severity: wishlist
> 
> Please consider having the linux-image-${version}-* packages suggesting
> the matching linux-tools-${version} package. This would help users to keep
> them in sync.

It might be a useful hint.  However the linux-tools meta-package is
a more effective way to keep linux-tools-* up to date (unless you
install the kernel from experimental).

Ben.

-- 
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
  - Albert Camus


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#711108: linux-image-* should suggest linux-tools-*

2013-06-04 Thread Piotr Engelking
Ben Hutchings  wrote:

> It might be a useful hint.  However the linux-tools meta-package is
> a more effective way to keep linux-tools-* up to date (unless you
> install the kernel from experimental).

Sure, I already use it, but, for an example, even though I do have the
kernel pointed at by linux-latest installed, I am not running it, as I
haven't rebooted yet. I'd like perf to still work in the meantime.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org