Software - Support > Updates

can't update - Malformed entry

(1/1)

Captikus:
Hi stevef thanks a lot for your help :54:
I have solved the issue just by change the repository from my country to the US


--- Quote from: stevef on March 12, 2024, 03:09:33 PM ---No problem with your English.  I will try to keep the instructions simple.

To try to solve this issue we can try a few things, but if it gets complicated a re-install will be easier.

Confirm which Linux Lite version you installed.
Your user profile says version 6.6 so these instructions are for Linux Lite 6.x, not for 5.x
If you installed version 5.x the edit will require the word 'emerald' instead of 'fluorite'.

Open a terminal as before (Ctrl Alt T)
Type in this command

--- Code: ---sudo nano /etc/apt/sources.list.d/linuxlite.list
--- End code ---
Followed by enter.
When asked, type in your password followed by enter.

The terminal window will become a text editor showing the contents of the file.
You should see this line.


--- Code: --- deb http://repo.linuxliteos.com/linuxlite/  main
--- End code ---
The cursor should be at at the beginning of the line over the 'd' of deb.

Use arrow keys to move the cursor along the line to the double space between 'linuxlite/' and 'main'
Type in the word

--- Code: ---fluorite
--- End code ---
so that the line looks like this

--- Code: ---deb http://repo.linuxliteos.com/linuxlite/ fluorite main
--- End code ---
Make sure there is a space before and after 'fluorite'

Press Ctrl and X together to exit the editor
You should be asked 'Save modified buffer?'
Press y to confirm you want to save the change.
You should then be asked to confirm the File Name.
Press Enter
You should be returned to a normal terminal.
Check your change with this command

--- Code: ---cat /etc/apt/sources.list.d/linuxlite.list
--- End code ---
Now retry the update and post back

--- End quote ---

stevef:
No problem with your English.  I will try to keep the instructions simple.

To try to solve this issue we can try a few things, but if it gets complicated a re-install will be easier.

Confirm which Linux Lite version you installed.
Your user profile says version 6.6 so these instructions are for Linux Lite 6.x, not for 5.x
If you installed version 5.x the edit will require the word 'emerald' instead of 'fluorite'.

Open a terminal as before (Ctrl Alt T)
Type in this command

--- Code: ---sudo nano /etc/apt/sources.list.d/linuxlite.list
--- End code ---
Followed by enter.
When asked, type in your password followed by enter.

The terminal window will become a text editor showing the contents of the file.
You should see this line.


--- Code: --- deb http://repo.linuxliteos.com/linuxlite/  main
--- End code ---
The cursor should be at at the beginning of the line over the 'd' of deb.

Use arrow keys to move the cursor along the line to the double space between 'linuxlite/' and 'main'
Type in the word

--- Code: ---fluorite
--- End code ---
so that the line looks like this

--- Code: ---deb http://repo.linuxliteos.com/linuxlite/ fluorite main
--- End code ---
Make sure there is a space before and after 'fluorite'

Press Ctrl and X together to exit the editor
You should be asked 'Save modified buffer?'
Press y to confirm you want to save the change.
You should then be asked to confirm the File Name.
Press Enter
You should be returned to a normal terminal.
Check your change with this command

--- Code: ---cat /etc/apt/sources.list.d/linuxlite.list
--- End code ---
Now retry the update and post back

Captikus:
The problem is the update never complete, I just tried update few time and I change the repository sources.

--- Code: --- cat /etc/apt/sources.list.d/linuxlite.list
--- End code ---
It's the result 
--- Code: --- deb http://repo.linuxliteos.com/linuxlite/  main
--- End code ---
I don't know what to do am I need to reinstall all over?
I apricied for every help
sorry for bad english :048:
Thanks

--- Quote from: stevef on March 12, 2024, 01:24:12 PM ---
--- Quote ---I got lot of problem when i tried to update
--- End quote ---
Can you recall what update problems you had and how you tried to fix them ?
The problem posted indicates that at least one of the files needed to update is incorrect which is unusual.

To look at the file that is reported, please open a terminal by pressing 'Ctrl' 'Alt' and 'T' together.

This should open a terminal window.
In the window type or copy and paste in the following command

--- Code: --- cat /etc/apt/sources.list.d/linuxlite.list
--- End code ---
Followed by 'Enter'
This should list the contents of the malformed file

Please copy and paste the results of the command to the thread - this may help working out what happened.

It should be a single line that looks like this

--- Code: ---deb http://repo.linuxliteos.com/linuxlite/ fluorite main
--- End code ---

If you are confident to modify the file, go ahead but if you need help let us know.
Then try update/upgrade again and post back with the results.

If there are multiple issues, it may be quicker to re-install.

--- End quote ---

stevef:

--- Quote ---I got lot of problem when i tried to update
--- End quote ---
Can you recall what update problems you had and how you tried to fix them ?
The problem posted indicates that at least one of the files needed to update is incorrect which is unusual.

To look at the file that is reported, please open a terminal by pressing 'Ctrl' 'Alt' and 'T' together.

This should open a terminal window.
In the window type or copy and paste in the following command

--- Code: --- cat /etc/apt/sources.list.d/linuxlite.list
--- End code ---
Followed by 'Enter'
This should list the contents of the malformed file

Please copy and paste the results of the command to the thread - this may help working out what happened.

It should be a single line that looks like this

--- Code: ---deb http://repo.linuxliteos.com/linuxlite/ fluorite main
--- End code ---

If you are confident to modify the file, go ahead but if you need help let us know.
Then try update/upgrade again and post back with the results.

If there are multiple issues, it may be quicker to re-install.

Captikus:
Hi Guys, Greet from new member.
I just installed linux lite yesterday and I got lot of problem when i tried to update. This is the last log when I try to update. sorry for bad english
Thanks for your help :048:
===========================
Install Updates Error log
===========================
Install Updates could not fetch the package cache information lists.
Go to https://www.linuxliteos.com/forums/ and paste the log below into a new or existing thread for assistance.

============ Log ===========

E: Malformed entry 1 in list file /etc/apt/sources.list.d/linuxlite.list (Component)
E: The list of sources could not be read.

Navigation

[0] Message Index

Go to full version