If, for example, I type in the terminal
Code: Select all
sudo apt install mpv
Code: Select all
E: Impossibile trovare il pacchetto mpv
Thanks for your answers!
Code: Select all
sudo apt install mpv
Code: Select all
E: Impossibile trovare il pacchetto mpv
Code: Select all
apt update
Code: Select all
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
Tutti i pacchetti sono aggiornati.
Code: Select all
sudo grep -Erh ^deb /etc/apt/sources.list*
Code: Select all
deb http://repository.spotify.com stable non-free
deb http://packages.linuxmint.com tina main upstream import backport #id:linuxmint_main
deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ bionic partner
Code: Select all
mintsources
Code: Select all
FileNotFoundError: [Errno 2] File o directory non esistente: '/etc/apt/sources.list.d'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 145, in apport_excepthook
os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0o640), 'wb') as f:
FileNotFoundError: [Errno 2] File o directory non esistente: '/var/crash/_usr_lib_linuxmint_mintSources_mintSources.py.0.crash'
Original exception was:
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintSources/mintSources.py", line 1891, in <module>
Application().run()
File "/usr/lib/linuxmint/mintSources/mintSources.py", line 870, in __init__
self.read_source_lists()
File "/usr/lib/linuxmint/mintSources/mintSources.py", line 996, in read_source_lists
for file in os.listdir("/etc/apt/sources.list.d"):
FileNotFoundError: [Errno 2] File o directory non esistente: '/etc/apt/sources.list.d'
Do you have a Timeshift snapshot from when things were working? Something went seriously wrong here, I think it would be best to revert the entire system if possible, because you may have broken more things.fsc wrote: ⤴Tue Jan 14, 2020 8:21 amCode: Select all
*FileNotFoundError: [Errno 2] File o directory non esistente: '/etc/apt/sources.list.d'
Code: Select all
sudo mkdir /etc/apt/sources.list.d
Code: Select all
sudo mintsources
Code: Select all
Sources missing, generating default sources list!
<__main__.Mirror object at 0x7fd92cc67a58>
<__main__.Mirror object at 0x7fd92cc67b70>
<__main__.Mirror object at 0x7fd92cc67ba8>
Error '(7, '')' on url http://mirror.unlockforus.com/linuxmint/packages
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.719: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.719: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.719: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.719: gtk_list_store_set_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.719: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.719: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.719: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.720: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.720: gtk_list_store_set_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.720: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.720: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.720: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.720: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.720: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.720: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.720: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.720: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.720: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.720: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.720: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.721: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.721: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.721: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.721: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.721: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.721: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.721: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.721: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.721: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.721: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.721: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.721: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.721: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.721: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.721: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.721: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.721: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.721: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.721: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.721: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.721: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.721: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.721: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:47:56.721: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
<__main__.Mirror object at 0x7fd92cc67a58>
<__main__.Mirror object at 0x7fd92cc67b70>
<__main__.Mirror object at 0x7fd92cc67ba8>
Error '(7, '')' on url http://mirror.unlockforus.com/linuxmint/packages
(mintSources.py:7061): Gtk-CRITICAL **: 14:49:36.189: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:49:36.189: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:49:36.189: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:49:36.189: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:49:36.189: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:49:36.189: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:49:36.189: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:49:36.189: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:49:36.189: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:49:36.189: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:49:36.189: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:49:36.189: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:49:36.189: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:49:36.189: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:49:36.189: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
(mintSources.py:7061): Gtk-CRITICAL **: 14:49:36.189: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed