I am using linux debian 8. I have webmin/virtualmin installed and 1 domain is running over the server. Php version is 7.1. But, i can not run curl on my server. i tried to install curl but it throws below error
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
I have tried all below commands which are not working:
sudo apt-get -f install
sudo apt-get update
sudo apt-get clean
sudo apt-get upgrade
sudo apt-get update
shows below errors:
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.sury.org jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B188E2B695BD4743
W: Failed to fetch http://debian.mirrors.ovh.net/debian/dists/jessie-updates/InRelease Unable to find expected entry 'main/source/Sources' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch https://packages.sury.org/php/dists/jessie/InRelease
W: Some index files failed to download. They have been ignored, or old ones used instead.}
my sources.list
file content:
# deb cdrom:[Debian GNU/Linux 8.7.1 _Jessie_ - Official amd64 NETINST Binary-1 20170116-10:57]/ jessie main
#deb cdrom:[Debian GNU/Linux 8.7.1 _Jessie_ - Official amd64 NETINST Binary-1 20170116-10:57]/ jessie main
deb http://debian.mirrors.ovh.net/debian jessie main
deb-src http://debian.mirrors.ovh.net/debian jessie main
deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main
# jessie-updates, previously known as 'volatile'
deb http://debian.mirrors.ovh.net/debian jessie-updates main
deb-src http://debian.mirrors.ovh.net/debian jessie-updates main
deb http://software.virtualmin.com/vm/6/gpl/apt virtualmin-jessie main
deb http://software.virtualmin.com/vm/6/gpl/apt virtualmin-universal main