0

So i have lubuntu 20.10 (in which i am new), when i try to install a package, for example curl with

sudo apt install curl

i get a error of

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package curl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'curl' has no installation candidate

and the same error happens when i try to install other packages.

Some older forum post suggests doing the

sudo apt-get update

but that returns an error of

Get:1 http://fi.archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease                                                                         
Hit:3 http://ppa.launchpad.net/pinta-maintainers/pinta-stable/ubuntu groovy InRelease                                                
Ign:4 http://ppa.launchpad.net/webupd8team/java/ubuntu groovy InRelease                                                              
Hit:5 https://download.mono-project.com/repo/debian stable-buster InRelease                                                          
Err:6 http://ppa.launchpad.net/webupd8team/java/ubuntu groovy Release
  404  Not Found [IP: 2001:67c:1560:8008::19 80]
Err:1 http://fi.archive.ubuntu.com/ubuntu xenial InRelease   
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/webupd8team/java/ubuntu groovy 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.
W: GPG error: http://fi.archive.ubuntu.com/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
E: The repository 'http://fi.archive.ubuntu.com/ubuntu xenial InRelease' is not signed.
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.

Anyone know how to fix this?

FinC
  • 1
  • 1
    Are you using 20.10 or 16.04? Did you add http://fi.archive.ubuntu.com/ubuntu xenial to /etc/apt/sources.list? Because that's specifically for 16.04. – Martin Thornton Feb 01 '21 at 17:39

1 Answers1

0

The command you are using for installing curl is correct. Please try to disable all other non-standard repositories for 20.10 and then try sudo apt update and sudo apt install curl.

eemmrr
  • 1