Error installing webmin on ubuntu 16.04
Solution 1
N: Ignoring file 'webmin.list.' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
The file name extension is supposed to be .list
and not .list.
for Apt to pick it up as a package source file.
Rename the file:
sudo mv /etc/apt/sources.list.d/webmin.list. /etc/apt/sources.list.d/webmin.list
Update the package list based on the modified package sources:
sudo apt update
Install the
webmin
package:sudo apt install webmin
Solution 2
Remove the webimin ppa sudo rm /etc/apt/sources.list.d/webmin*
Then make sure you add correctly the ppa for installing webmin
sudo sh -c "echo deb http://download.webmin.com/download/repository sarge contrib > /etc/apt/sources.list.d/webmin.list"
Then just do
sudo apt-get update
sudo apt-get install webmin
Related videos on Youtube
![TimTech](https://i.stack.imgur.com/gqJx8.jpg?s=256&g=1)
TimTech
Updated on September 18, 2022Comments
-
TimTech almost 2 years
So I am trying to install webmin on an Ubuntu 16.04 amazon ec2 instance. I have apache2, php7, mariadb already installed. I have been using http://www.htpcbeginner.com/how-to-install-webmin-on-ubuntu/ guide and everything has gone fine until the apt-get install when I get this error.
Reading package lists... Done Building dependency tree Reading state information... Done N: Ignoring file 'webmin.list.' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension E: Unable to locate package webmin
Any ideas?
-
TimTech over 7 years:/ its always the smallest of mistakes lol. Thanks for the help!