Hi
Running LM21 Cinnamon 64bit.
Today I added the Google repositories in order to install Chrome. Now when I update anything from the Update Manager I get the following error:
How do I fix this?
[SOLVED] Repositories errors
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
[SOLVED] Repositories errors
Last edited by LockBot on Sat Jun 10, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Repositories errors
Try: Software Sources, Maintenance, Remove duplicate entries.
- tonywhelan
- Level 4
- Posts: 296
- Joined: Sun Jun 10, 2012 10:47 pm
- Location: Canberra, Australia
Re: Repositories errors
You could try backing up your file /etc/apt/sources.list.d/additional-repositories.list and then editing the original to remove chrome entries.
From a terminal:
sudo cp /etc/apt/sources.list.d/additional-repositories.list /etc/apt/sources.list.d/additional-repositories.list-BAK
sudo xed /etc/apt/sources.list.d/additional-repositories.list
(then remove the chrome entries and save the file and close xed)
sudo apt update
and see if that fixes it.
If you accidentally mess up the editing, just delete the file and rename the backup file to its original name.
Linux Mint 21 Cinnamon household.
If your issue is solved, please edit your first post in the topic, adding [SOLVED] to the title.
If your issue is solved, please edit your first post in the topic, adding [SOLVED] to the title.
Re: Repositories errors
Agreed, since Software Sources seems to fail to remove the duplicated entries, they need to be removed manually either from additional-repositories or from google-chrome.
Re: Repositories errors
Thanks. I tried editing the additional-repositories.list file, but discovered it only had one entry???
So I exited and deleted the original file, keeping the old additional-repositories.list.old file, and I'm assuming it won't get picked up and processed?
This is what I have so far:
When I now run a refresh in Update Manager - no errors! I'm assuming Chrome will still get updated as the google-chrome.list file is still there.
So I exited and deleted the original file, keeping the old additional-repositories.list.old file, and I'm assuming it won't get picked up and processed?
This is what I have so far:
Code: Select all
jave@ryzen9:/etc/apt/sources.list.d$ ls -al
total 20
drwxr-xr-x 2 root root 4096 Dec 12 08:37 .
drwxr-xr-x 8 root root 4096 Dec 9 07:37 ..
-rw-r--r-- 1 root root 55 Dec 8 09:14 additional-repositories.list.old
-rw-r--r-- 1 root root 190 Dec 8 09:15 google-chrome.list
-rw-r--r-- 1 root root 499 Dec 2 08:10 official-package-repositories.list
- tonywhelan
- Level 4
- Posts: 296
- Joined: Sun Jun 10, 2012 10:47 pm
- Location: Canberra, Australia
Re: Repositories errors
Chrome should update just fine. If you're satisfied with the outcome, can you add the word SOLVED to the title of the thread?
cheers.
Linux Mint 21 Cinnamon household.
If your issue is solved, please edit your first post in the topic, adding [SOLVED] to the title.
If your issue is solved, please edit your first post in the topic, adding [SOLVED] to the title.