During installation, you might have added ppa by running this command:
sudo add-apt-repository ppa:linuxonly/modem+manager+gui
You might have uninstall package modem-manager-gui
but ppa is not removed.
So you need remove ppa linuxonly/modem+manager+gui
There will be a line in your /etc/apt/sources.list.d
folder like linuxonly-ubuntu-modem_manager_gui-xenial.list
.
You need to remove that line and you can do this manually by running these commands:
cd /etc/apt/sources.list.d
sudo rm linuxonly-ubuntu-modem_manager_gui-xenial.list
OR
sudo add-apt-repository --remove ppa:linuxonly/modem+manager+gui
After then you can do sudo apt-get update
without any error.
For more information: How can PPAs be removed?
sudo add-apt-repository --remove ppa:linuxonly/modem+manager+gui
if it has been added using that same tool. – Byte Commander Jan 11 '17 at 08:19.list
file is not removed from/etc/apt/sources.list.d
automatically ? – d a i s y Jan 11 '17 at 08:25