Update Manager Problem

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
RedSky27

Update Manager Problem

Post by RedSky27 »

Hello my problem is my update manager, I have linux mint 19
"Could not refresh the list of updates
Malformed entry 1 in list file /etc/apt/sources.list.d/rethinkdb.list (Component),
The list of sources could not be read.


Could not refresh the list of updates"
Thanks for your help
RedSky27

Re: Update Manager Problem

Post by RedSky27 »

Also, in Software Manger it just loads "Generating cache, one moment"
It's been doing this for like 20 minutes
RedSky27

Re: Update Manager Problem

Post by RedSky27 »

Also, with Driver Manager
Failed to load the package list
This is a serious problem. Try again later. If this problem appears again, please report an error to the developers.
E:Malformed entry 1 in list file /etc/apt/sources.list.d/rethinkdb.list (Component), E:The list of sources could not be read.
User avatar
karlchen
Level 23
Level 23
Posts: 18222
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Update Manager Problem

Post by karlchen »

Hello, Redsky27.

As the error messages, which you had posted in your first message, clearly tells:
The software sources list file /etc/apt/sources.list.d/rethinkdb.list holds an invalid line.

Please, open a terminal window. Execute the command cat /etc/apt/sources.list.d/rethinkdb.list Mark the screen output which will be displayed. Paste it in your next reply. This will reveal why the file content is wrong.

A quick workaround, which will permit Update Manager, Software Manager and Driver Manager to function again, is renaming the offending file. By renaming it, it will not be used; but it can still be corrected and renamed back later on.
Execute the terminal command

Code: Select all

sudo mv /etc/apt/sources.list.d/rethinkdb.list /etc/apt/sources.list.d/rethinkdb.list.save
Software Manager, Update Manager and Driver Manager use the same set of software sources list files. This is why they all 3 complain about the same malformed file. Fixing it for one of them will fix it for all 3.

HTH,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 771 days now.
Lifeline
RedSky27

Re: Update Manager Problem

Post by RedSky27 »

Hello
https://imgur.com/a/ewQH2Ss (The screenshot for when i executed that command.

Thanks for your help!!
User avatar
karlchen
Level 23
Level 23
Posts: 18222
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Update Manager Problem

Post by karlchen »

Hello, RedSky27.

In the text line deb http://download.rethinkdb.com/apt main the nickname of the Ubuntu release seems to be missing, which your Mint is based on.
As you use Mint 19, the missing nickname will be bionic.

Edit the file /etc/apt/sources.list.d/rethinkdb.list with root permissions in a text editor and insert the appropriate nickname before main.

Best regards,
Karl
--
P.S.: a note on the screenshot:
For the future ...
As the commandline cat /etc/apt/sources.list.d/rethinkdb.list porduces pure text output, there is no need to take a screenshot.
Instead you can mark the text with your mouse like on Windows. Next you can paste it into a forum post e.g.
Saves you the hassle of uploading a screenshot somewhere and posting the link.
Saves me the hassle of typing the displayed line, because I could use copy and paste instead.
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 771 days now.
Lifeline
gm10

Re: Update Manager Problem

Post by gm10 »

karlchen wrote: Mon Oct 15, 2018 6:05 am In the text line deb http://download.rethinkdb.com/apt main the nickname of the Ubuntu release seems to be missing, which your Mint is based on.
As you use Mint 19, the missing nickname will be bionic.
Don't get ahead of yourself. ;) That repo hasn't been updated in over a year and does not support bionic: http://download.rethinkdb.com/apt/dists/

Therefore I suggest a different solution, namely to remove it:

Code: Select all

sudo rm /etc/apt/sources.list.d/rethinkdb.list
If you prefer GUI, there's always Mint's Software Source tool.
User avatar
karlchen
Level 23
Level 23
Posts: 18222
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Update Manager Problem

Post by karlchen »

Hi, gm10.

OK. I had not checked whether the repo in question actually supported bionic (Ubuntu 18.04 ~ Mint 19). :oops:
In my initial post I had suggested renaming the offending sources list file in order to work around the existing incorrect content.
This way it could have been fixed later and renamed back.
No hint whether this part of my initial advice has been followed.

Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 771 days now.
Lifeline
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Update Manager Problem

Post by catweazel »

https://rethinkdb.com/blog/rethinkdb-shutdown/
Today I have sad news to share. After more than seven years of development, the company behind RethinkDB is shutting down. We worked very hard to make RethinkDB successful, but in spite of all our efforts we were ultimately unable to build a sustainable business. There is a lot of information to unpack – over the next few months, I’ll write about lessons learned so the startup community can benefit from our mistakes.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
User avatar
karlchen
Level 23
Level 23
Posts: 18222
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Update Manager Problem

Post by karlchen »

OK. I see. And that announcement was made 2 years ago, October 05, 2016.
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 771 days now.
Lifeline
mbuso

Re: Update Manager Problem

Post by mbuso »

RedSky27 wrote: Sun Oct 14, 2018 6:33 pm Hello my problem is my update manager, I have linux mint 19
"Could not refresh the list of updates
Malformed entry 1 in list file /etc/apt/sources.list.d/rethinkdb.list (Component),
The list of sources could not be read.


Could not refresh the list of updates"
Thanks for your help

I have a similar problem but mine spits out this message:
E:Malformed entry 5 in list file /etc/apt/sources.list.d/additional-repositories.list (Suite), E:The list of sources could not be read.

I was trying out things I found in the forum to try and install the winehq update that kept on failing to retrieve some files.

Some of the code I ran resulted in this problem.

Please assist.
philotux

Re: Update Manager Problem

Post by philotux »

mbuso wrote: Sat Jan 12, 2019 4:20 pm E:Malformed entry 5 in list file /etc/apt/sources.list.d/additional-repositories.list (Suite), E:The list of sources could not be read.
Please post the terminal output for:

Code: Select all

inxi -S
and

Code: Select all

cat /etc/apt/sources.list.d/additional-repositories.list 
mbuso

Re: Update Manager Problem

Post by mbuso »

Output for: inxi -S
System: Host: mbuso-OptiPlex-790 Kernel: 4.4.0-141-generic x86_64 (64 bit) Desktop: Cinnamon 3.2.7
Distro: Linux Mint 18.1 Serena

Output for: cat /etc/apt/sources.list.d/additional-repositories.list
deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main
deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main
deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main
deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main
deb https://dl.winehq.org/wine-builds/ubuntu/
sudo apt-add-repository deb
philotux

Re: Update Manager Problem

Post by philotux »

mbuso wrote: Thu Jan 17, 2019 7:33 pm Output for: inxi -S
System: Host: mbuso-OptiPlex-790 Kernel: 4.4.0-141-generic x86_64 (64 bit) Desktop: Cinnamon 3.2.7
Distro: Linux Mint 18.1 Serena

Output for: cat /etc/apt/sources.list.d/additional-repositories.list
deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main
deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main
deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main
deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main
deb https://dl.winehq.org/wine-builds/ubuntu/
sudo apt-add-repository deb
Copy, paste and run in a terminal:

Code: Select all

gksudo xed /etc/apt/sources.list.d/additional-repositories.list
when prompted for password, type it in followed by enter. In the file that opens, keep only the first line and delete all the rest. Save and close the file. Now in a terminal:

Code: Select all

sudo apt update
mbuso

Re: Update Manager Problem

Post by mbuso »

Thanks a lot. SOLVED!!
philotux

Re: Update Manager Problem

Post by philotux »

mbuso wrote: Fri Jan 18, 2019 1:51 pm Thanks a lot. SOLVED!!
You are welcome! That's good to know!
one pound
Level 2
Level 2
Posts: 68
Joined: Tue Apr 20, 2021 1:02 pm

Re: Update Manager Problem

Post by one pound »

[SOLVED] philotux that worked! many thanks indeed, I was in despair all evening gone.

But its not on my computer

Code: Select all

gksudo xed /etc/apt/sources.list.d/additional-repositories.list
it's

Code: Select all

sudo xed /etc/apt/sources.list.d/additional-repositories.list
for me - gksudo the OS complains.
User avatar
karlchen
Level 23
Level 23
Posts: 18222
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Update Manager Problem

Post by karlchen »

Hi, one pound.

The commands gksudo and gksu have disappeared from many distributions between the end of 2018 and the end of 2021 (3 years). This thread had had not update for almost 3 years, before you revived it.

Regards,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 771 days now.
Lifeline
Locked

Return to “Beginner Questions”