[ubuntu-studio-devel] Boot partition and old kernel images - are we alone with this problem?

2015-12-10 Thread Kaj Ailomaa
I'm sure some of you have noticed that if you have a small boot
partition (UEFI installs, generally), old kernel images are not being
autoremoved, and when you do your third or whatever update you get a
message that there's not enough room for the update.

I haven't actually used a vanilla Ubuntu system enough to know if this
is a problem there as well. We have our own kernel, so could be -generic
gets autoremoved, but not -lowlatency. In either case, this sure needs
to be fixed for the next LTS, and needs to be a priority for this cycle.

If anyone has any good information on the problem, please let us know.

-- 
ubuntu-studio-devel mailing list
ubuntu-studio-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel


Re: [ubuntu-studio-devel] Boot partition and old kernel images - are we alone with this problem?

2015-12-10 Thread Ralf Mardorf
On Thu, 10 Dec 2015 12:39:13 +0100, Kaj Ailomaa wrote:
>I haven't actually used a vanilla Ubuntu system enough to know if this
>is a problem there as well.

It is a well known issue, I read about it on several other vanilla
Ubuntu and Ubuntu flavour lists.

-- 
ubuntu-studio-devel mailing list
ubuntu-studio-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel


Re: [ubuntu-studio-devel] Boot partition and old kernel images - are we alone with this problem?

2015-12-10 Thread lukefromdc
This sounds like what happens when you remove a kernel with /boot not 
mounted.

On 12/10/2015 at 9:28 AM, "Len Ovens"  wrote:
>
>On Thu, 10 Dec 2015, Ralf Mardorf wrote:
>
>> On Thu, 10 Dec 2015 12:39:13 +0100, Kaj Ailomaa wrote:
>>> I haven't actually used a vanilla Ubuntu system enough to know 
>if this
>>> is a problem there as well.
>>
>> It is a well known issue, I read about it on several other 
>vanilla
>> Ubuntu and Ubuntu flavour lists.
>
>But for some reason ubuntu server does not have this problem. It 
>is 
>upgraded by hand using apt-get directly which may be part of the 
>difference, but I do not seem to be able to get anywhere with 
>autoremove 
>on Studio either.
>
>The one place server does fail, is the kernel left from before an 
>upgrade. 
>It seems the files are left in place but there is no record of the 
>package 
>in apt.
>
>There are currently 9 kernels in my 14.04 Studio install and only 
>two in 
>my 14.04 Server install.
>
>--
>Len Ovens
>www.ovenwerks.net
>
>
>-- 
>ubuntu-studio-devel mailing list
>ubuntu-studio-devel@lists.ubuntu.com
>Modify settings or unsubscribe at: 
>https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel


-- 
ubuntu-studio-devel mailing list
ubuntu-studio-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel


Re: [ubuntu-studio-devel] Boot partition and old kernel images - are we alone with this problem?

2015-12-10 Thread Len Ovens

On Thu, 10 Dec 2015, Ralf Mardorf wrote:


On Thu, 10 Dec 2015 12:39:13 +0100, Kaj Ailomaa wrote:

I haven't actually used a vanilla Ubuntu system enough to know if this
is a problem there as well.


It is a well known issue, I read about it on several other vanilla
Ubuntu and Ubuntu flavour lists.


But for some reason ubuntu server does not have this problem. It is 
upgraded by hand using apt-get directly which may be part of the 
difference, but I do not seem to be able to get anywhere with autoremove 
on Studio either.


The one place server does fail, is the kernel left from before an upgrade. 
It seems the files are left in place but there is no record of the package 
in apt.


There are currently 9 kernels in my 14.04 Studio install and only two in 
my 14.04 Server install.


--
Len Ovens
www.ovenwerks.net


--
ubuntu-studio-devel mailing list
ubuntu-studio-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel


Re: [ubuntu-studio-devel] Boot partition and old kernel images - are we alone with this problem?

2015-12-10 Thread Ralf Mardorf
On Thu, 10 Dec 2015 06:27:43 -0800 (PST), Len Ovens wrote:
>But for some reason ubuntu server does not have this problem.

It's not a problem, but removing outdated kernels has to be done
manually on my install from the server image. I suspect that if dkms is
involved, then there also is the need to run dkms and to rm -r what is
kept in /lib/modules, at least if you not only want to tidy up /boot.

[root@moonstudio weremouse]# lsb_release -dc
Description:Ubuntu 15.10
Codename:   wily
[root@moonstudio weremouse]# grep "purge linux" /root/.bash_history|tail -n3
apt-get purge linux-{headers,image}-4.2.0-14-lowlatency linux-headers-4.2.0-14
apt-get purge linux-{headers,image}-4.2.0-15-lowlatency linux-headers-4.2.0-15
apt-get purge linux-{headers,image}-4.2.0-18-lowlatency linux-headers-4.2.0-18

I keep my Rt kernel(s) and the latest lowlatency.

[root@moonstudio weremouse]# ls -hAl /lib/modules
total 8.0K
drwxr-xr-x 3 root root 4.0K Aug 23 09:25 3.10.61-rt65-1-moonstudio
drwxr-xr-x 5 root root 4.0K Dec  1 14:45 4.2.0-19-lowlatency


-- 
ubuntu-studio-devel mailing list
ubuntu-studio-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel


Re: [ubuntu-studio-devel] Boot partition and old kernel images - are we alone with this problem?

2015-12-10 Thread Ralf Mardorf
On Thu, 10 Dec 2015 15:50:04 +0100, Ralf Mardorf wrote:
>On Thu, 10 Dec 2015 06:27:43 -0800 (PST), Len Ovens wrote:
>>But for some reason ubuntu server does not have this problem.  
>
>It's not a problem, but removing outdated kernels has to be done
>manually on my install from the server image. I suspect that if dkms is
>involved, then there also is the need to run dkms and to rm -r what is
>kept in /lib/modules, at least if you not only want to tidy up /boot.
>
>[root@moonstudio weremouse]# lsb_release -dc
>Description:   Ubuntu 15.10
>Codename:  wily
>[root@moonstudio weremouse]# grep "purge
>linux" /root/.bash_history|tail -n3 apt-get purge
>linux-{headers,image}-4.2.0-14-lowlatency linux-headers-4.2.0-14
>apt-get purge linux-{headers,image}-4.2.0-15-lowlatency
>linux-headers-4.2.0-15 apt-get purge
>linux-{headers,image}-4.2.0-18-lowlatency linux-headers-4.2.0-18
>
>I keep my Rt kernel(s) and the latest lowlatency.
>
>[root@moonstudio weremouse]# ls -hAl /lib/modules
>total 8.0K
>drwxr-xr-x 3 root root 4.0K Aug 23 09:25 3.10.61-rt65-1-moonstudio
>drwxr-xr-x 5 root root 4.0K Dec  1 14:45 4.2.0-19-lowlatency

PS:

Perhaps my install is missing a script, since at least one kernel
package dependency is missing.

[weremouse@moonstudio ~]$ dpkg -l grub-pc|tail -n1
ii  grub-pc2015:09-06-moonstudio all  Dummy package

-- 
ubuntu-studio-devel mailing list
ubuntu-studio-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel