Update manager can't update
- Inicie sesión ou rexístrese para enviar comentarios
Help I seem to have made a mess of the update-manager;
An unresolvable problem occurred while initialising the package information.
Please report this bug for the 'update-manager' package and try to include the following error message:
E:Malformed entry 1 in list file /etc/apt/sources.list.d/archive_uri-https_archive_trisquel_org_trisquel_aramo-aramo.list (Component), E:The list of sources could not be read.
When ‘software updater’ is now run the above message appears and I cannot enter the settings area. How can this be returned to normal ?
GNU/Linux Trisquel 11 Aramo 64 bit
Kernel Linux 5.15.0-84-generic x86_64
MATE 1.26.0
Anexo | Tamaño |
---|---|
Screenshot at 2023-09-21 11-49-31.png | 29.2 KB |
Just tried a restart and if the updater or synaptic package manager are clicked only an error message is shown. It won't allow updates to be shown, installed or checked for. and the synaptic package manager doesn't start.
When the red error ball on the desktop taskbar is clicked;
An error occured, please run package manager from the right-click menu or apt-get in a terminal to see what is wrong.
The error message was: 'Error: Opening the cache (E:Malformed entry in list file /etc/apt/sources.list.d/ archive_uri-https_archive_trisquel_org_trisquel_aramo-aramo.list (Component),E:The list of sources cannot be read)'.This usually means your installed packages have unmet dependencies.
Cannot load updates from terminal either.
Unfortunately 'back in time' has never been setup. Help !
I may have set the updater to look for or include/exclude ? an old Etiona list. But I'm not sure what happened.
Can you attach the following files:
- /etc/apt/sources.list
- /etc/apt/sources.list.d/archive_uri-https_archive_trisquel_org_trisquel_aramo-aramo.list
Do you have other files in /etc/apt/sources.list.d/?
nano /etc/apt/sources.list
this will tell the terminal to launch program "nano" with the contents of the file "sources.list" in reading only mode (requires sudo to edit and save changes)
If you prefer for easier copy+paste the contents, use "pluma /etc/apt/sources.list" and it will open a graphical program (pluma, which should be installed by default). You can either save a copy of the file and attach it here or copy+paste the contents.
Hope this helps.
I used to be afraid of the terminal too, now I am trying to learn more and more about it one step at a time. Terminal can be a good friend when you learn to use it. Remember, one step at a time and don't give up.
No need to use any terminal.
Use caja to find these files (on the path, click on the left arrow to see "/", then look from there), copy them to your home directory (or Documents, as you want), and rename these copies (right-click in caja) with adding ".txt" at the end of the filenames.
Then, you can easily attach them to the message in this forum.
# deb cdrom:[Trisquel 9.0 _etiona_ - Release amd64 (20201018)]/ etiona main
# Trisquel repositories for supported software and updates
deb https://archive.trisquel.org/trisquel/ aramo main
deb-src https://archive.trisquel.org/trisquel/ aramo main
deb https://archive.trisquel.org/trisquel/ aramo-security main
deb-src https://archive.trisquel.org/trisquel/ aramo-security main
deb https://archive.trisquel.org/trisquel/ aramo-updates main
deb-src https://archive.trisquel.org/trisquel/ aramo-updates main
# deb https://archive.trisquel.info/trisquel/ etiona-backports main
# deb-src https://archive.trisquel.info/trisquel/ etiona-backports main
This looks perfectly complete and normal.
However, you have an error message about a file called /etc/apt/sources.list.d/archive_uri-https_archive_trisquel_org_trisquel_aramo-aramo.list. To me, such a file should not be needed.
So my suggestion would be to remove that file. You should be able to do that with caja, just go to the /etc/apt/sources.list.d/ directory and ask to delete the file. It may ask you for some confirmation and for your password.
Then you can go to the software update tool, ask to check for udpates and proceed.
In the terminal, did whoever use sudo? And, yes, remove the file that is in question.
On September 22, 2023 8:50:31 AM EDT, name at domain wrote:
>This looks perfectly complete and normal.
>
>However, you have an error message about a file called /etc/apt/sources.list.d/archive_uri-https_archive_trisquel_org_trisquel_aramo-aramo.list. To me, such a file should not be needed.
>
>So my suggestion would be to remove that file. You should be able to do that with caja, just go to the /etc/apt/sources.list.d/ and ask to delete the file. It may ask you for some confirmation and for your password.
>
>Then you can go to the software update tool, ask to check for udpates and proceed.
By caja do you mean the caja-actions configuration tool ? How would /etc/apt/sources.list.d/ be opened in caja ? Which buttons should be pressed ?
Caja is a file manager, I think. You can also use pcmanfm and thunar.
On September 22, 2023 9:24:00 AM EDT, name at domain wrote:
>By caja do you mean the caja-actions configuration tool ? How would /etc/apt/sources.list.d/ be opened in caja ? Which buttons should be pressed ?
Go one level up, right click on sources.list.d directory, there should be something like "Open as administrator" (or super-user or something like that, my system is not in English so I am not sure what the exact text is), it will ask you whether your are sure, click yes, then it will ask for your password, enter it. Now, in the new window, you should be able to delete files. Delete both the files that were visible in your previous picture (the files whose name starts with archive_uri).
Thankyou it worked. Updater is working again !
- Inicie sesión ou rexístrese para enviar comentarios