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?