[Solved] Update Manager Appears to Fail on Refresh

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
wgr

[Solved] Update Manager Appears to Fail on Refresh

Post by wgr »

Running LM 18.0 Sarah. When refresh is attempted on update manager receive the following error message:

Could not download all repository indexes

Code: Select all

Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/InRelease  
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease  
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease  
Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/InRelease  
Failed to fetch http://archive.canonical.com/ubuntu/dists/xenial/InRelease  Some index files failed to download. 
They have been ignored, or old ones used instead.
Followed these steps from another thread and have the same results:

Go to Menu/Software Sources. Click 'Restore the default settings' button.
Then click the 'PPAs' button and temporarily remove the check mark for everything listed.
Then click the 'Additional repositories' button and do the same.
Now click the 'Update the cache' button.
When that finishes close out the Software Sources app, and open the Update Manager.
Click the 'Refresh' button, then observe which updates are being offered. Levels 4 and 5 should
remain unchecked.Now click the 'Install Updates' button.

Also tried changing mirrors but results were the same.

Any help or suggestions on how to solve the issue with refresh?

Thanks,
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 4 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
kc1di
Level 18
Level 18
Posts: 8137
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Update Manager Appears to Fail on Refresh

Post by kc1di »

Hello wgr and Welcome to Linux Mint Forums,

First lets have a look at your apt list. Please go to a terminal and type this command and post the results here:

Code: Select all

inxi -Sr
and what does the terminal command

Code: Select all

sudo apt update 
produce?

My second suggestion is you should update to 18.3 which may correct the problem.
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
wgr

Re: Update Manager Appears to Fail on Refresh

Post by wgr »

Hi KC1DI - actually not 'totally' new to LM Forums. Posted once before about 18 months ago. Read the forum a lot, but until now LM 18 has been trouble free for me. Guess in hindsight I could have enrolled as wa4twb. :)

Thanks for taking the time to respond and attempting to help me with my problem.

Output from

Code: Select all

inxi -Sr

System:    Host: Vostro-1500 Kernel: 4.4.0-116-generic x86_64 (64 bit)
           Desktop: Xfce 4.12.3 Distro: Linux Mint 18 Sarah
Repos:     Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
           deb http://packages.linuxmint.com sarah main upstream import backport
           deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
           deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
           deb http://archive.canonical.com/ubuntu/ xenial partner


Command sudo apt update stalls on the line shown below connecting to archive.ubuntu.com:

Code: Select all

Ign:1 http://packages.linuxmint.com sarah InRelease
Hit:2 http://packages.linuxmint.com sarah Release                              
0% [Connecting to archive.ubuntu.com (2001:67c:1560:8001::14)] [Connecting to security.ubuntu.com (2001:67c:1360:8001::17)] [Connecting to archive.canonical.com (2001:67c:1562::1c)]
Previously had tried this command and when it stalled tried pinging archive.ubuntu.com to see if any response. Not sure if valid troubleshooting step, but tried it before just to see. Received response to ping: 64 bytes from yukinko.canonical.com (91.189.88.162): icmp_seq=1 ttl=54 time=109 ms

Thanks,
Last edited by karlchen on Sat Feb 24, 2018 9:47 am, edited 1 time in total.
Reason: added code tags where appropriate to make reading easier
User avatar
kc1di
Level 18
Level 18
Posts: 8137
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Update Manager Appears to Fail on Refresh

Post by kc1di »

please try this command in terminal and try update again:

Code: Select all

rm /var/lib/apt/lists/*
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
wgr

Re: Update Manager Appears to Fail on Refresh

Post by wgr »

Running rm /var/lib/apt/lists/* produced an error of unable to delete due to a directory 'partial'.

Ran sudo apt update after the rm command and it seemed better results. Ran thru a lot of updates and indicated 29 packages updated.

Tried Update Manager Refresh and no errors produced but watching details showed a linuxmint url failed.

Ran sudo apt update a second time, and it stalled like before on connecting to ............

Ign:1 http://packages.linuxmint.com sarah InRelease
Hit:2 http://packages.linuxmint.com sarah Release
0% [Connecting to archive.ubuntu.com (2001:67c:1360:8001::21)] [Connecting to security.ubuntu.com (2001:67c:1562::19)] [Connecting to archive.canonical.com (2001:67c:1360:8c01::16)]

I thought possibly I had a local network/firewall issue but I also have a desktop with Sarah 18.0 installed and it updates/refreshes fine.

Not sure what the difference might be between the two computers since one updates/refreshes while the laptop suddenly has problems.

Thanks,

Gary
User avatar
kc1di
Level 18
Level 18
Posts: 8137
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Update Manager Appears to Fail on Refresh

Post by kc1di »

Lets try this command

Code: Select all

sudo dpkg --configure -a

after that try the remove command again.
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
wgr

Re: Update Manager Appears to Fail on Refresh

Post by wgr »

Problem seems to have been resolved. All seem to be updating without any problems.

Thanks for your help today.

73,

Gary
Locked

Return to “Beginner Questions”