Update manager can't update

14 réponses [Dernière contribution]
iceburn
Hors ligne
A rejoint: 12/07/2019

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

Pièce jointeTaille
Screenshot at 2023-09-21 11-49-31.png29.2 Ko
iceburn
Hors ligne
A rejoint: 12/07/2019

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 !

Screenshot at 2023-09-21 12-20-42.png
iceburn
Hors ligne
A rejoint: 12/07/2019

I may have set the updater to look for or include/exclude ? an old Etiona list. But I'm not sure what happened.

Avron

I am a translator!

Hors ligne
A rejoint: 08/18/2020

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/?

iceburn
Hors ligne
A rejoint: 12/07/2019

permission denied.

The terminal will always be a mystery to me.

Screenshot at 2023-09-21 15-20-07.png
GNUser
Hors ligne
A rejoint: 07/17/2013

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.

Avron

I am a translator!

Hors ligne
A rejoint: 08/18/2020

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.

iceburn
Hors ligne
A rejoint: 12/07/2019

# 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

Avron

I am a translator!

Hors ligne
A rejoint: 08/18/2020

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.

Jonathan Matt Gresham
Hors ligne
A rejoint: 07/24/2023

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.

iceburn
Hors ligne
A rejoint: 12/07/2019

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 ?

Jonathan Matt Gresham
Hors ligne
A rejoint: 07/24/2023

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 ?

iceburn
Hors ligne
A rejoint: 12/07/2019

Tried to delete : /etc/apt/sources.list.d/archive_uri-https_archive_trisquel_org_trisquel_aramo-aramo.list , but no delete options are highlighted.

Screenshot at 2023-09-22 15-51-10.png
Avron

I am a translator!

Hors ligne
A rejoint: 08/18/2020

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).

iceburn
Hors ligne
A rejoint: 12/07/2019

Thankyou it worked. Updater is working again !