Could not refresh lis of updates [SOLVED]

All Gurus once were Newbies
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. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
User avatar
chazb
Level 3
Level 3
Posts: 166
Joined: Wed Nov 30, 2016 2:56 am
Location: Oklahoma

Could not refresh lis of updates [SOLVED]

Post by chazb » Sat Apr 21, 2018 3:57 pm

Running LM 17, Quana.
What is this and how do I fix it,,,,,,,,,,,,,Reading package lists... Error!
W: GPG error: https://dl.winehq.org xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 818A435C5FCBF54A
W: Duplicate sources.list entry https://dl.winehq.org/wine-builds/ubuntu/ xenial/main i386 Packages (/var/lib/apt/lists/dl.winehq.org_wine-builds_ubuntu_dists_xenial_main_binary-i386_Packages)
E: Read error - read (5: Input/output error)
E: Problem opening /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-updates_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

I have a Public Key, but it is for email use. When I got it I thought it was also for this sort of thing, but apparently I am wrong. So how do I get a Public Key for my updating process?
Last edited by chazb on Sat Apr 21, 2018 11:35 pm, edited 1 time in total.

User avatar
catweazel
Level 17
Level 17
Posts: 7023
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Could not refresh lis of updates

Post by catweazel » Sat Apr 21, 2018 4:15 pm

chazb wrote:
Sat Apr 21, 2018 3:57 pm
So how do I get a Public Key for my updating process?
You don't. The mirror you are using has borked itself. However you have two problems. Start Software Sources and select "Additional repositories", then remove duplicate repos. Next, select a different mirror in "Official repositories" then update the cache.
Caution: Dancing Wu Li Master and Official curmudgeon-in-chief

User avatar
jimallyn
Level 18
Level 18
Posts: 8419
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: Could not refresh lis of updates

Post by jimallyn » Sat Apr 21, 2018 6:34 pm

Problem number 3: remove all xenial repositories. For Mint 17.x, you want Trusty repositories.
Image

“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan

User avatar
catweazel
Level 17
Level 17
Posts: 7023
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Could not refresh lis of updates

Post by catweazel » Sat Apr 21, 2018 7:17 pm

jimallyn wrote:
Sat Apr 21, 2018 6:34 pm
Problem number 3: remove all xenial repositories. For Mint 17.x, you want Trusty repositories.
Crikey! I missed that, Jim. Thank you.
Caution: Dancing Wu Li Master and Official curmudgeon-in-chief

User avatar
AZgl1500
Level 8
Level 8
Posts: 2275
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: Could not refresh lis of updates

Post by AZgl1500 » Sat Apr 21, 2018 8:21 pm

Okay,

following along, and this menu comes up.

Which items are safe to click on?


Image

User avatar
catweazel
Level 17
Level 17
Posts: 7023
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Could not refresh lis of updates

Post by catweazel » Sat Apr 21, 2018 8:45 pm

AZgl1500 wrote:
Sat Apr 21, 2018 8:21 pm
Okay,

following along, and this menu comes up.

Which items are safe to click on?
I know you're trying to learn, but it's poor form to hijack someone else's thread. It's also mentioned in the forum rules.
Caution: Dancing Wu Li Master and Official curmudgeon-in-chief

User avatar
chazb
Level 3
Level 3
Posts: 166
Joined: Wed Nov 30, 2016 2:56 am
Location: Oklahoma

Re: Could not refresh lis of updates

Post by chazb » Sat Apr 21, 2018 11:34 pm

catweazel wrote:
Sat Apr 21, 2018 4:15 pm
chazb wrote:
Sat Apr 21, 2018 3:57 pm
So how do I get a Public Key for my updating process?
You don't. The mirror you are using has borked itself. However you have two problems. Start Software Sources and select "Additional repositories", then remove duplicate repos. Next, select a different mirror in "Official repositories" then update the cache.
So Okay did as you suggested, and it appears to have fixed the problem. Just curious, what is the problem with ths Xnial Repository?

User avatar
catweazel
Level 17
Level 17
Posts: 7023
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Could not refresh lis of updates

Post by catweazel » Sat Apr 21, 2018 11:37 pm

chazb wrote:
Sat Apr 21, 2018 11:34 pm
Just curious, what is the problem with ths Xnial Repository?
Mint 18 is based on Ubuntu 16.04, Xenial Xerus. The repo you had is for Xenial. It doesn't support Mint 17, which is based on Ubuntu 14.04, Trusty Tahr.
Caution: Dancing Wu Li Master and Official curmudgeon-in-chief

Cosmo.
Level 23
Level 23
Posts: 17829
Joined: Sat Dec 06, 2014 7:34 am

Re: Could not refresh lis of updates

Post by Cosmo. » Sun Apr 22, 2018 5:24 am

catweazel wrote:
Sat Apr 21, 2018 8:45 pm
I know you're trying to learn, but it's poor form to hijack someone else's thread. It's also mentioned in the forum rules.
I fully agree. But one things can be said already here: If the button to refresh the cache gets displayed, you have to click it.

User avatar
chazb
Level 3
Level 3
Posts: 166
Joined: Wed Nov 30, 2016 2:56 am
Location: Oklahoma

Re: Could not refresh lis of updates

Post by chazb » Sun Apr 22, 2018 4:58 pm

catweazel wrote:
Sat Apr 21, 2018 11:37 pm
chazb wrote:
Sat Apr 21, 2018 11:34 pm
Just curious, what is the problem with ths Xnial Repository?
Mint 18 is based on Ubuntu 16.04, Xenial Xerus. The repo you had is for Xenial. It doesn't support Mint 17, which is based on Ubuntu 14.04, Trusty Tahr.
One last question,,,,,Is there a publication that makes these issues known? Or is it information gathered through the forum on a hodgepodge bases?

Cosmo.
Level 23
Level 23
Posts: 17829
Joined: Sat Dec 06, 2014 7:34 am

Re: Could not refresh lis of updates [SOLVED]

Post by Cosmo. » Sun Apr 22, 2018 5:09 pm

In the release notes for every Mint version (here for Qiana) the Ubuntu base is named (see at the bottom of the page). You can also look it up in the software sources, where the codename for the Ubuntu version (trusty in this case) is named.

Post Reply

Return to “Newbie Questions”