LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-05-2017, 05:31 PM   #1
Lonnie21
LQ Newbie
 
Registered: Aug 2017
Posts: 8

Rep: Reputation: Disabled
Linux mint 18 Update Manager will not refresh packages


Hello all: Please don't become upset with me because I am 70+
yr. old who knows little about computers, and am very new to linux.
My problem: the update shield on task bar show red x, when I open it I hit refresh, I get the message: cannot refresh repository packages. Any help you can give me will be greatly appreciated. Thank You So Much. Using the terminal, I have performed a series of commands: Sudo apt-get clean ; sudo mv -f /var/lib/apt/lists.broken; sudo mkdir -p /var/lib/apt/lists/partial ; and
sudo apt-get update . This worked, updates were downloaded and I assumed installed, the red x went away for 5 or 10 minutes and then it appeared and the failure to refresh packages was back again.

Last edited by Lonnie21; 08-05-2017 at 05:52 PM.
 
Old 08-05-2017, 06:30 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004
I tend to avoid making or moving things in /var. How did the apt-get update go? Any errors? You might not have any sources in /etc/apt/sources.list, or maybe just the install DVD as a source. The sources look like
Code:
deb http://ftp.us.debian.org/debian/ stretch main contrib non-free
or whichever mirror you wish to use. I don't know if you're debian or a debian-like distro.

Do you have Internet connected when you try to refresh the update sources? apt-get update doesn't download any packages. It just updates which packages are available. I would use synaptic to upgrade you installed packages.

Good luck ...
 
Old 08-05-2017, 08:58 PM   #3
Lonnie21
LQ Newbie
 
Registered: Aug 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
To Awesome Machine: Thanks for your posts. I have always had internet connecion,
wired connection. In the update manager dialog box of possible causes it said I should check my internet connection. I was connected, beyond that I don't know about IP address. I have experienced no problem with my computer otherwise. The get-apt did work, showed a lot of data reflect could not get or open. Maybe I should just have mint reinstalled. I don't know enough about linux to correct anything on it and the advice I usually get I don't know enough to implement. Thank You for your help.
I have mint 18, cinnamon, 64 bit.

Last edited by Lonnie21; 08-05-2017 at 09:03 PM.
 
Old 08-05-2017, 09:12 PM   #4
Lonnie21
LQ Newbie
 
Registered: Aug 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
Response to Awesome Machine

I do and did have wired internet connection working. The apt-get some updates, others could not be opened or accessed. At that point, the red x went away and everything seemed ok. A few minutes later the red x was back with the same inability to refresh.
I have mint 18, Sarah Cinnamon. I do not know how to use the synaptic manager or what I should be looking for. Thanks.
 
Old 08-06-2017, 12:50 AM   #5
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004
Synaptic is graphical. Just launch it and try it out. Did you look in /etc/apt/sources.list to see if you have any package sources configured?

The important thing with Linux is just to be patient with yourself.

Last edited by AwesomeMachine; 08-06-2017 at 12:51 AM.
 
Old 08-06-2017, 09:57 AM   #6
Lonnie21
LQ Newbie
 
Registered: Aug 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
Awesome Machine: Please tell me how to view ( /etc/apt/sources.list) Does this require a terminal command line, if so what ? I am computer dumb! Thanks.
 
Old 08-06-2017, 06:43 PM   #7
Atrail
LQ Newbie
 
Registered: Sep 2009
Location: Central Ohio
Distribution: LM18.1,Deb 9,Cents7,BlueStar Linux
Posts: 3

Rep: Reputation: 1
I hope you get this before it's to late! First off don't install anything from debian mirriors!!! Although Mint is has some deb files an what not it is not debian! It's more Ubuntu related than debian,that said it's not an ubuntu operating system either. Linux Mint is it's own system that uses parts of both distros. Go to Mint Forums to get the help that You need as this is really an easy fix an They will be glad to help with this an anything else thats needed
Good Luck an Welcome to the Wonderful World of Linux!
 
Old 08-07-2017, 03:43 AM   #8
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,016
Blog Entries: 5

Rep: Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862
Hi Lonnie.

So that we can see how your software sources are set up, please type the following into the terminal and paste the output here:

Code:
inxi -r
Many thanks.
 
Old 08-07-2017, 05:05 AM   #9
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by Lonnie21 View Post
Awesome Machine: Please tell me how to view ( /etc/apt/sources.list) Does this require a terminal command line, if so what ? I am computer dumb! Thanks.
Open a terminal and issue
Code:
sudo cat /etc/apt/sources.list{,.d/*} | pastebin
and paste the url back here.
Thanks.
 
Old 08-07-2017, 12:19 PM   #10
Lonnie21
LQ Newbie
 
Registered: Aug 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
Hello Hydrurga: I am unable to paste the output in the code box. It will not let me access it. Please advise how to paste in the code box. Thank you! lonnie
 
Old 08-07-2017, 12:47 PM   #11
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,016
Blog Entries: 5

Rep: Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862
Quote:
Originally Posted by Lonnie21 View Post
Hello Hydrurga: I am unable to paste the output in the code box. It will not let me access it. Please advise how to paste in the code box. Thank you! lonnie
No problem. When I meant "here", I didn't mean in the code box where I listed the command, I meant here in this thread.

Just paste it with your reply.
 
Old 08-07-2017, 12:58 PM   #12
Lonnie21
LQ Newbie
 
Registered: Aug 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
Hi Hydruraa: This is the results of inxi -r
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
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
Thanks. lonnie
 
Old 08-07-2017, 01:06 PM   #13
Lonnie21
LQ Newbie
 
Registered: Aug 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
Dear Habitual: This is the results of : sudo cat /etc/apt/sources.list{,.d/*} | pastebin

https://gist.github.com/6775563b8332...a7ff2329d43b61

Thanks. lonnie
 
Old 08-07-2017, 02:25 PM   #14
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,016
Blog Entries: 5

Rep: Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862
Quote:
Originally Posted by Lonnie21 View Post
Hi Hydruraa: This is the results of inxi -r
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
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
Thanks. lonnie
That looks fine to me, Lonnie.

Note however that there are problems from time to time with the Google Chrome repository. I too have experienced the big red x in recent days. I've just retested it, and the problem has resolved itself, as it usually does.
 
Old 08-07-2017, 02:40 PM   #15
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Note however that there are problems from time to time with the Google Chrome repository. I too have experienced the big red x in recent days. I've just retested it, and the problem has resolved itself, as it usually does.
And an update usually follows directly.

Code:
The following packages will be upgraded:
  freerdp-x11 google-chrome-stable libfreerdp-plugins-standard libfreerdp1
  linux-libc-dev
I usually figure it's coming and wait myself.

Just sayin'
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Message when using Update Manager - [Linux Mint] dissposablehero Linux - Newbie 7 02-14-2017 06:58 PM
LXer: Synaptic Vs. Update Manager in Linux Mint LXer Syndicated Linux News 0 10-28-2014 09:56 PM
[SOLVED] Update Manager not working in Linux Mint 16 bumi Linux - Newbie 39 02-19-2014 11:55 AM
Update Manager - ERROR: "could not refresh the list of packages" Optiker Linux - Newbie 16 12-18-2013 09:44 PM
software manager not installing packages on linux mint 12 teja463 Linux - Newbie 2 03-30-2012 12:48 PM

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

All times are GMT -5. The time now is 02:01 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration