Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

[SOLVED] Can't perform dist-upgrade because packages cannot be authenticated

Message
Author
User avatar
MX-16_fan
Forum Regular
Forum Regular
Posts: 831
Joined: Mon Feb 13, 2017 12:09 pm

[SOLVED] Can't perform dist-upgrade because packages cannot be authenticated

#1 Post by MX-16_fan » Tue Feb 14, 2017 12:16 pm

- UPDATE: In a prior version of this posting, I wrote that I had typed "sudo apt-get install update" etc., which I did not to. No "install" command/option in play here. I now corrected that rightaway in this post. Please excuse. -


Hi all,

on my freshly installed MX-16 64-Bit (January snapshot), I rightaway did a

Code: Select all

sudo apt-get update
and a

Code: Select all

sudo apt-get upgrade
.

Both of these worked out fine.

However, when I tried the

Code: Select all

sudo apt-get dist-upgrade
,

it told me that the following packages cannot be authenticated:

Code: Select all

 libftgl2 libqt4-sql-sqlite libqxt-core0 libqxt-gui0 libprojectm2
.


Why is that, and what can I do about that?


Thanks in advance for any help, Joe
Last edited by MX-16_fan on Fri Mar 31, 2017 8:21 am, edited 2 times in total.

User avatar
gimcrack
Forum Novice
Forum  Novice
Posts: 13
Joined: Fri Dec 02, 2011 6:17 pm

Re: Can't perform dist-upgrade because packages cannot be authenticated

#2 Post by gimcrack » Tue Feb 14, 2017 12:26 pm

Try out these commands

sudo apt-key update

sudo apt-get update

Even run these.

sudo dpkg --configure -a

sudo apt-get install -f

Now does sudo apt-get dist-upgrade works?
Last edited by gimcrack on Tue Feb 14, 2017 4:56 pm, edited 1 time in total.


User avatar
kmathern
Forum Veteran
Forum Veteran
Posts: 9255
Joined: Wed Jul 12, 2006 2:26 pm

Re: Can't perform dist-upgrade because packages cannot be authenticated

#4 Post by kmathern » Tue Feb 14, 2017 12:34 pm

MX-16_fan wrote:Hi all,

on my freshly installed MX-16 64-Bit (January snapshot), I rightaway did a

Code: Select all

sudo apt-get install update
and a

Code: Select all

sudo apt-get install upgrade
.

Both of these worked out fine.

However, when I tried the

Code: Select all

sudo apt-get install dist-upgrade
Leave out the word "install" when running those apt-get commands, you only need to include it when actually installing individual package(s) not when updating, upgrading, dist-upgrading.

Code: Select all

sudo apt-get update

Code: Select all

sudo apt-get upgrade

Code: Select all

sudo apt-get dist-upgrade

User avatar
MX-16_fan
Forum Regular
Forum Regular
Posts: 831
Joined: Mon Feb 13, 2017 12:09 pm

Re: Can't perform dist-upgrade because packages cannot be authenticated

#5 Post by MX-16_fan » Tue Feb 14, 2017 12:59 pm

@kmathern:
kmathern wrote: Leave out the word "install" when running those apt-get commands, you only need to include it when actually installing individual package(s) not when updating, upgrading, dist-upgrading.
Sorry, I got confused here, "apt-get update" etc. was what I actually did, without the "install". I will try to correct my original posting as far as that's concerned.


Greetings, Joe

User avatar
kmathern
Forum Veteran
Forum Veteran
Posts: 9255
Joined: Wed Jul 12, 2006 2:26 pm

Re: Can't perform dist-upgrade because packages cannot be authenticated

#6 Post by kmathern » Tue Feb 14, 2017 1:10 pm

MX-16_fan wrote:@kmathern:
kmathern wrote: Leave out the word "install" when running those apt-get commands, you only need to include it when actually installing individual package(s) not when updating, upgrading, dist-upgrading.
Sorry, I got confused here, "apt-get update" etc. was what I actually did, without the "install". I will try to correct my original posting as far as that's concerned.


Greetings, Joe
Okay, could you post the actual error message(s) about being unable to authenticate those packages?

Fwiw I just had those same packages installed earlier today during the initial dist-upgrade on a relatively new MX-16 install and there weren't errors/warnings about them.

User avatar
MX-16_fan
Forum Regular
Forum Regular
Posts: 831
Joined: Mon Feb 13, 2017 12:09 pm

Re: Can't perform dist-upgrade because packages cannot be authenticated

#7 Post by MX-16_fan » Tue Feb 14, 2017 1:18 pm

gimcrack wrote: Try out these commands

sudo apt-key update
Thanks, this leads me to:

Code: Select all

gpg: Total number processed: 7, gpg: unchanged: 7
gimcrack wrote: sudo apt-get update
Doing this afterwards gets him to contact the repos and to finish telling me

Code: Select all

Reading package lists... Done
gimcrack wrote: Even run these.

sudo dpkg --configure -a
Processed in a second or so without any further comment from the system.
gimcrack wrote: sudo apt-get install -f
Output:

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
gimcrack wrote: Now does sudo apt-get install dist-upgrade works?
No, this only gives me

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package dist-upgrade

Greetings, Joe

User avatar
MX-16_fan
Forum Regular
Forum Regular
Posts: 831
Joined: Mon Feb 13, 2017 12:09 pm

Re: Can't perform dist-upgrade because packages cannot be authenticated

#8 Post by MX-16_fan » Tue Feb 14, 2017 1:27 pm

@gimcrack:
Thanks for the link to the instructions on how to fix this error. I am just walking through that. The first chapter there is called "Check Repositories". Well, on

Code: Select all

sudo apt-get update
I noticed that by default MX-16 tells me stuff like

Code: Select all

Ign http://nl.mxrepo.com mx15/main Translation-en
.

Might is be related to this problem – why is MX-15 stuff in here in anyway?


Greetings, Joe

User avatar
topcat
Forum Regular
Forum Regular
Posts: 345
Joined: Wed Jul 12, 2006 7:55 am

Re: Can't perform dist-upgrade because packages cannot be authenticated

#9 Post by topcat » Tue Feb 14, 2017 1:33 pm

gimcrack wrote:
Now does sudo apt-get install dist-upgrade works?


No, this only gives me

CODE: SELECT ALL
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package dist-upgrade
Once again should be

"sudo apt-get dist-upgrade"

not

"sudo apt-get install dist-upgrade"
Zotac ZBOX-ID91-U (desktop system)
SanDisk Extreme Pro 240GB SATA III SSD
G.SKILL 8GB DDR3 1600 (PC3 12800)

ZOTAC ZBOX nano ID62-U (media streamer)
Silicon Power Slim S60 120GB SATA III SSD
G.SKILL Ripjaws 4GB DDR3L 1600 (PC3L 12800)

User avatar
kmathern
Forum Veteran
Forum Veteran
Posts: 9255
Joined: Wed Jul 12, 2006 2:26 pm

Re: Can't perform dist-upgrade because packages cannot be authenticated

#10 Post by kmathern » Tue Feb 14, 2017 1:38 pm

MX-16_fan wrote:... Well, on

Code: Select all

sudo apt-get update
I noticed that by default MX-16 tells me stuff like

Code: Select all

Ign http://nl.mxrepo.com mx15/main Translation-en
.

Might is be related to this problem
I wouldn't worry about the "Ign http://..." lines you see in the `apt-get update` terminal output, for the most part they're harmless.
why is MX-15 stuff in here in anyway?
MX-16 uses both the mx15 amd mx16 MX repos

Post Reply

Return to “Software / Configuration”