Sudo get update is not working

The following error pops up when I type sudo apt update.
How can I resolve it.
Thanks in advance!!

Reading package lists... Done                                                  
E: The repository 'https://kernel.ubuntu.com/~kernel-ppa/mainline bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Which version of Ubuntu are you using? It might be that your current version is incompatible with the version the repository is made for. For example, this repository is made for Ubuntu 18.04.

2 Likes

I am using ubuntu 18.04

what kind of resolution are you looking for?

did you add that ppa to your system? i don’t have it in my /etc/apt/sources.list for ubuntu mate 18.04.3. if you did add it, where did you read that you should do so and can you share a link?

the MainlineBuilds page from the ubuntu wiki suggests that you need to download the kernel from the archive and install it with dpkg.

I haven’t encountered the same error you describe so my suggestion is just a guess. Try running the commands shown here:

http://www.iasptk.com/ubuntu-fix-broken-package-best-solution/

These instructions have bailed me out a couple of times.

    Don

It seems that you have an added the kernel-ppa on your own, am I right? If yes, then please delete it from your software sources.

1 Like