[lubuntu-devel] Lu 20.10 running 5.4 kernel . . . still???

Walter Lapchynski wxl at ubuntu.com
Fri Dec 18 17:47:34 UTC 2020


On Fri, Dec 18, 2020 at 08:16:57AM -0800, Fritz Hudnut wrote:
> linux-image-5.4.0-42-generic:
>   Installed: 5.4.0-42.46

So it seems like you have only one kernel installed and curiously it's
not one that's available in the kernel source by a long shot:
https://packages.ubuntu.com/source/groovy/linux

…at least not in the Ubuntu repositories. That may be the issue: while
you have an apparently groovy-compatible sources.list, you may have
non-Ubuntu repositories in there. That alone shouldn't do anything (a
higher version number should always take precedence no matter how many
respositories with conflicting version numbers you have), but in
combination with pinning it could. Check to see if you have something
set in the /etc/apt/preferences file or in /etc/apt/preferences.d/
somewhere (file could be called anything there, technically).

Pinning is nice in that it gives you a lot of control (`man
apt_preferences` if you want to know more), but holding is the cleaner
way of doing things. You can check to see if you have any holds with
`apt-mark showhold.`

I guess it's also remotely possible you've removed all the Ubuntu
repositories, which would be weird, but who knows. One way you can see
all of the repositories you have enabled that are not from Ubuntu is
with this:

```
find /etc/apt -type -f -name *.list | print0 | \
 xargs -0 grep -h ^deb | grep -v ^# | \
 egrep -v '(ubuntu|canonical).com'
```

You can see Pin-Priotity and sources for a particular package with
`apt-cache policy` so run that against your installed kernel version and
that might provide some insight.

Hope that helps.

-- 
       @wxl | polka.bike
C563 CAC5 8BE1 2F22 A49D 
68F6 8B57 A48B C4F2 051A



More information about the Lubuntu-devel mailing list