LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-19-2018, 07:36 PM   #1
GardenGuy42
Member
 
Registered: Sep 2018
Posts: 33

Rep: Reputation: Disabled
Error: Could Not Refresh the List of Updates


Hello world, Newbie here (GardenGuy42). I recently purchased a Dell Latitude E6420 with Linux Mint 18.3 installed. (Love it by the way) and tried to install Wine, three times, and it appeared to install correctly each time. But Wine was nowhere to be found. Then I started getting messages like “Could Not Refresh the List of Updates” and “Could not download all repository indexes”. Each of these messages generates a long list of things it did and did not do. But after the process is complete, more often then not, the computer does not shut down correctly. Linux Mint appears to run correctly, but I cannot update the system, and Wine still does not appear to be installed. Does anyone have any suggestions on how to clean this mess up?
 
Old 09-20-2018, 11:54 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Hi GardenGuy42 and welcome to LQ.

Please paste the output from the following command so that we can check your software sources first of all:

Code:
inxi -r
N.B. Try to paste the output within CODE tags (see https://www.linuxquestions.org/quest...og.php?b=36313).
 
Old 09-20-2018, 12:58 PM   #3
GardenGuy42
Member
 
Registered: Sep 2018
Posts: 33

Original Poster
Rep: Reputation: Disabled
Could Not Refresh the List of Updates

Quote:
Originally Posted by hydrurga View Post
Hi GardenGuy42 and welcome to LQ.

Please paste the output from the following command so that we can check your software sources first of all:

Code:
inxi -r
N.B. Try to paste the output within CODE tags (see https://www.linuxquestions.org/quest...og.php?b=36313).
Using "
Code:
inxi -r
" only produced "[CODE]inxi: command not found", but I suspect this is a pilot error on my part because I don't really understand what the CODEing explanation is saying. To be honest, I am SO new to Linux AND forums I'm not even sure I'm responding correctly.

Here is the results for inxi -r

Repos: Active apt sources in file: /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/ xenia1 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/ xenial main
deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main
deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main
Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
deb http://mintmirror.math.washington.edu/linuxmint-repo sylvia main upstream import backport
deb http://mirror.tocici.com/ubuntu xenial main restricted universe multiverse
deb http://mirror.tocici.com/ubuntu xenial-updates main restricted universe multiverse
deb http://mirror.tocici.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
 
Old 09-20-2018, 01:27 PM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Thanks. You need to put the word

Code:
[ CODE ]
before the output, and the word

Code:
[ /CODE ]
after it (with no spaces between the brackets at all). An easy way to do that is to highlight the output and click on the # symbol on LQ's advanced edit bar.

Back to your output. You need to disable all of those Wine repositories. Run Software Sources from the Mint menu, click on "Additional repositories" and uncheck all the Wine repositories. Then run the inxi command again.
 
Old 09-20-2018, 04:47 PM   #5
GardenGuy42
Member
 
Registered: Sep 2018
Posts: 33

Original Poster
Rep: Reputation: Disabled
Results of inxi -r

[ CODE ]Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
deb http://mintmirror.math.washington.edu/linuxmint-repo sylvia main upstream import backport
deb http://mirror.tocici.com/ubuntu xenial main restricted universe multiverse
deb http://mirror.tocici.com/ubuntu xenial-updates main restricted universe multiverse
deb http://mirror.tocici.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[ CODE ]
 
Old 09-20-2018, 04:57 PM   #6
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Ok thanks. Note that you shouldn't put any spaces inside the square brackets where CODE is, and the last one should be /CODE, not CODE. Try again, it's no problem, we'll get there.

Right, now that those Wine repos are disabled, let's see if you have any improperly installed packages. With the following, and this is important, please do not paste the line of equals signs as it would make the width of this thread huge:

Code:
dpkg -l | grep -v "^ii"
 
Old 09-20-2018, 07:46 PM   #7
GardenGuy42
Member
 
Registered: Sep 2018
Posts: 33

Original Poster
Rep: Reputation: Disabled
Code:
Repos:     Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
           deb http://mintmirror.math.washington.edu/linuxmint-repo sylvia main upstream import backport
           deb http://mirror.tocici.com/ubuntu xenial main restricted universe multiverse
           deb http://mirror.tocici.com/ubuntu xenial-updates main restricted universe multiverse
           deb http://mirror.tocici.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

dpkg -l | grep -v "^ii"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-
 
Old 09-20-2018, 07:53 PM   #8
GardenGuy42
Member
 
Registered: Sep 2018
Posts: 33

Original Poster
Rep: Reputation: Disabled
inxi -r
Code:
Repos:     Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
           deb http://mintmirror.math.washington.edu/linuxmint-repo sylvia main upstream import backport
           deb http://mirror.tocici.com/ubuntu xenial main restricted universe multiverse
           deb http://mirror.tocici.com/ubuntu xenial-updates main restricted universe multiverse
           deb http://mirror.tocici.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

dpkg -l | grep -v "^ii"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
 
Old 09-20-2018, 07:56 PM   #9
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Sometimes there are brief times when an update fails, because the mirror site is being updated or is unavailable at the time. Did the wine install complete OK? Wine doesn't always make an icon. But if you look in /usr/bin you should see wine and winecfg.

If you are unable to upgrade the system, which is different than updating the system, post the errors.
 
Old 09-21-2018, 06:41 AM   #10
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Ok, that's great thanks.

Now let's synchronise your package information with the information on the repos and see how that goes:

Code:
sudo apt update
 
Old 09-21-2018, 10:10 AM   #11
GardenGuy42
Member
 
Registered: Sep 2018
Posts: 33

Original Poster
Rep: Reputation: Disabled
I am assuming Code and /Code are to be used.
hydrurga, your patience with me is greatly appreciated.

sudo apt update
[sudo] password for dell:
Code:
Ign:1 http://mintmirror.math.washington.edu/linuxmint-repo sylvia InRelease
Hit:2 http://mintmirror.math.washington.edu/linuxmint-repo sylvia Release      
Hit:4 http://archive.canonical.com/ubuntu xenial InRelease                     
Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]     
Err:6 http://mirror.tocici.com/ubuntu xenial InRelease                         
  Cannot initiate the connection to mirror.tocici.com:80 (2605:4d00::61). - connect (101: Network is unreachable) [IP: 2605:4d00::61 80]
Err:7 http://mirror.tocici.com/ubuntu xenial-updates InRelease
  Cannot initiate the connection to mirror.tocici.com:80 (2605:4d00::61). - connect (101: Network is unreachable) [IP: 2605:4d00::61 80]
Err:8 http://mirror.tocici.com/ubuntu xenial-backports InRelease
  Cannot initiate the connection to mirror.tocici.com:80 (2605:4d00::61). - connect (101: Network is unreachable) [IP: 2605:4d00::61 80]
Fetched 107 kB in 2min 0s (887 B/s)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://mirror.tocici.com/ubuntu/dists/xenial/InRelease  Cannot initiate the connection to mirror.tocici.com:80 (2605:4d00::61). - connect (101: Network is unreachable) [IP: 2605:4d00::61 80]
W: Failed to fetch http://mirror.tocici.com/ubuntu/dists/xenial-updates/InRelease  Cannot initiate the connection to mirror.tocici.com:80 (2605:4d00::61). - connect (101: Network is unreachable) [IP: 2605:4d00::61 80]
W: Failed to fetch http://mirror.tocici.com/ubuntu/dists/xenial-backports/InRelease  Cannot initiate the connection to mirror.tocici.com:80 (2605:4d00::61). - connect (101: Network is unreachable) [IP: 2605:4d00::61 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
 
Old 09-21-2018, 10:17 AM   #12
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Ok. These mirrors don't appear to be working, so let's go back to the defaults.

Run Software Sources from the Mint menu, ensure that the Official repositories tab is showing, and click on the Restore the default settings button at the bottom. Then click on Ok when a small window opens. After that has completed, close Software Sources.

Now try the sudo apt update command again.

Thanks.
 
Old 09-21-2018, 10:52 AM   #13
GardenGuy42
Member
 
Registered: Sep 2018
Posts: 33

Original Poster
Rep: Reputation: Disabled
Came back "All packages are up to date." Although I still don't see Wine.
 
Old 09-21-2018, 12:39 PM   #14
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Wine isn't normally "seen" like another package. When you attempt to run a Windows executable, it takes over and provides the environment in which that program can be run.

But first, let's see which Wine packages you have installed:

Code:
dpkg -l "*wine*"
 
Old 09-21-2018, 04:18 PM   #15
GardenGuy42
Member
 
Registered: Sep 2018
Posts: 33

Original Poster
Rep: Reputation: Disabled
Can you recommend a good book for a Linux beginner like myself?

dpkg -l "*wine*"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description


un wine <none> <none> (no description available)
un wine-amd64 <none> <none> (no description available)
un wine-i386 <none> <none> (no description available)
ii wine-stable 3.0.3~xenial amd64 WINE Is Not An Emulator - runs MS
ii wine-stable-am 3.0.3~xenial amd64 WINE Is Not An Emulator - runs MS
ii wine-stable-i3 3.0.3~xenial i386 WINE Is Not An Emulator - runs MS
un wine1.4 <none> <none> (no description available)
un wine1.4-amd64 <none> <none> (no description available)
un wine1.4-i386 <none> <none> (no description available)
un wine1.5 <none> <none> (no description available)
un wine1.5-amd64 <none> <none> (no description available)
un wine1.5-i386 <none> <none> (no description available)
un wine1.6 <none> <none> (no description available)
un wine1.6-amd64 <none> <none> (no description available)
un wine1.6-i386 <none> <none> (no description available)
un wine1.7 <none> <none> (no description available)
un wine1.7-amd64 <none> <none> (no description available)
un wine1.7-i386 <none> <none> (no description available)
un wine32 <none> <none> (no description available)
un wine64 <none> <none> (no description available)
ii winehq-stable 3.0.3~xenial amd64 WINE Is Not An Emulator - runs MS
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot refresh list of updates after upgrade to Linux Mint 18.2 RayRay Linux - Newbie 2 09-23-2017 03:04 PM
[SOLVED] Could not refresh the list of updates. I tried to fix it but no go L a r r y Linux - Software 7 08-09-2016 07:32 AM
Could not refresh list of updates crash rclinux Linux - Laptop and Netbook 1 02-13-2016 04:50 PM
Update Manager - ERROR: "could not refresh the list of packages" Optiker Linux - Newbie 16 12-18-2013 09:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration