Warning when installing mysql

New to Debian (Or Linux in general)? Ask your questions here!

Warning when installing mysql

Postby aliweb » 2017-08-05 10:55

Hi,

I am trying to install MySQL on Debian 8. Running following gives a warning:

Command
apt-get install mysql-server


Warning
The following packages cannot be authenticated!
mysql-common libmysqlclient18 mysql-client-5.5 mysql-server-core-5.5 mysql-server-5.5 mysql-server
Install these packages without verification? (y/N)


Is it safe to install?
aliweb
 
Posts: 23
Joined: 2017-08-04 05:54

Re: Warning when installing mysql

Postby wizard10000 » 2017-08-05 11:17

Depends on where mysql is coming from :)

Do you get the authentication error installing other packages? Do you have any non-Debian repositories enabled?

If it's an issue with a Debian repo reinstall debian-keyring and when you get the authentication error message install it anyway. If it's not a Debian repo you'll have to get the GPG key for that repo from wherever you're trying to download mysql.
we see things not as they are, but as we are.
-- anais nin
User avatar
wizard10000
 
Posts: 1218
Joined: 2011-05-09 20:02
Location: everywhere i go, there i am!

Re: Warning when installing mysql

Postby aliweb » 2017-08-05 13:28

wizard10000 wrote:Depends on where mysql is coming from :)

Do you get the authentication error installing other packages? Do you have any non-Debian repositories enabled?

If it's an issue with a Debian repo reinstall debian-keyring and when you get the authentication error message install it anyway. If it's not a Debian repo you'll have to get the GPG key for that repo from wherever you're trying to download mysql.


I think it was coming from ftp.debian.com (or .org) but now that it has been installed I don't know how to check it.
aliweb
 
Posts: 23
Joined: 2017-08-04 05:54

Re: Warning when installing mysql

Postby wizard10000 » 2017-08-05 13:41

aliweb wrote:I think it was coming from ftp.debian.com (or .org) but now that it has been installed I don't know how to check it.


As root, run

Code: Select all
apt update


and check for errors. If you get any, post them here :)
we see things not as they are, but as we are.
-- anais nin
User avatar
wizard10000
 
Posts: 1218
Joined: 2011-05-09 20:02
Location: everywhere i go, there i am!

Re: Warning when installing mysql

Postby aliweb » 2017-08-05 16:05

As root, run

Code: Select all
apt update


and check for errors. If you get any, post them here :)


No errors found.

Code: Select all
Ign http://ftp.debian.org jessie InRelease
Hit http://security.debian.org jessie/updates InRelease
Get:1 http://ftp.debian.org jessie-updates InRelease [145 kB]
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://security.debian.org jessie/updates/contrib amd64 Packages
Hit http://security.debian.org jessie/updates/non-free amd64 Packages
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://security.debian.org jessie/updates/non-free Translation-en
Hit http://ftp.debian.org jessie Release.gpg
Get:2 http://ftp.debian.org jessie-updates/main amd64 Packages/DiffIndex [8392 B]
Hit http://ftp.debian.org jessie-updates/contrib amd64 Packages
Get:3 http://ftp.debian.org jessie-updates/non-free amd64 Packages/DiffIndex [736 B]
Hit http://ftp.debian.org jessie-updates/contrib Translation-en
Get:4 http://ftp.debian.org jessie-updates/main Translation-en/DiffIndex [3196 B]
Get:5 http://ftp.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]
Hit http://ftp.debian.org jessie Release
Hit http://ftp.debian.org jessie/main amd64 Packages
Hit http://ftp.debian.org jessie/contrib amd64 Packages
Hit http://ftp.debian.org jessie/non-free amd64 Packages
Hit http://ftp.debian.org jessie/contrib Translation-en
Hit http://ftp.debian.org jessie/main Translation-en
Hit http://ftp.debian.org jessie/non-free Translation-en
Fetched 158 kB in 2s (53.6 kB/s)


By the way it says "56 packages can be upgraded". I displayed list of packages that are upgradeable and it says something like:

tar/oldstable,oldstable 1.27.1-2+deb8u1 amd64 [upgradable from: 1.27.1-2+b1]


What does oldstable,oldstable means here?

Shall I upgrade all these packages?
aliweb
 
Posts: 23
Joined: 2017-08-04 05:54

Re: Warning when installing mysql

Postby wizard10000 » 2017-08-05 17:00

aliweb wrote:What does oldstable,oldstable means here?

Shall I upgrade all these packages?


You know how Sid is Unstable, Buster is Testing, Stretch is Stable? Jessie is Oldstable :)

And since Jessie is only getting security updates, yes - you should upgrade those packages.
we see things not as they are, but as we are.
-- anais nin
User avatar
wizard10000
 
Posts: 1218
Joined: 2011-05-09 20:02
Location: everywhere i go, there i am!

Re: Warning when installing mysql

Postby dasein » 2017-08-05 18:19

aliweb wrote:What does oldstable,oldstable means here?

O M G . . .

Let Me Farqing Google That For You.....

https://classic.startpage.com//do/searc ... +oldstable

Well whad'ya know? Just glancing at the first hit makes it clear that someone has already taken the time to write up an answer to that question even before you asked it, and has generously posted that answer to the Debian Wiki, so there's really no point in repeating the question in the Debian Forums. Total time to discover: less than 30 seconds.

@OP: You cannot continue to post easily researchable questions here every couple of hours indefinitely. Not only will you rapidly exhaust the patience of everyone here, but your self-entitled attitude leeches time and attention from people who have real problems that can't be solved by spending 30 seconds at Google.

And in anticipation of your most likely comebacks....

1) "Beginner" does not mean "can't use Google."

2) Don't even think about claiming that you did too search. It's easy to distinguish between those who have searched from those who haven't, merely by the questions they ask. And as I pointed out in another of your "spoonfeed me" threads, the questions you're asking (things like, "What is oldstable?" and "What's the difference between apt-get update and apt-get upgrade?") have already been answered literally thousands (or even millions) of times.

3) Sussing out keywords for the query ("What is oldstable?") requires no special google-fu.

4) No, this is not a matter of trying to kill your joy or murder your kittens. It takes a certain amount of engagement and expertise to run a Linux server. It just does. The sooner you start actually learning, rather than merely asking others to serve as unpaid admins, the better off you (and your server) will be.

Image

Edit(s): typos
Last edited by dasein on 2017-08-05 22:11, edited 2 times in total.
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Warning when installing mysql

Postby aliweb » 2017-08-05 18:59

Wow I didn't know Debian community is so toxic and butt hurt. People advised me not to ask questions here and rather stick to stackexchange or other sites. I should have listened to them.
aliweb
 
Posts: 23
Joined: 2017-08-04 05:54

Re: Warning when installing mysql

Postby dasein » 2017-08-05 19:08

Ah yes, predictable comeback #4 from the list above :roll:

https://www.youtube.com/watch?v=srpwqf2MWAw

Time-saver link
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Warning when installing mysql

Postby stevepusser » 2017-08-05 20:17

aliweb wrote:Wow I didn't know Debian community is so toxic and butt hurt. People advised me not to ask questions here and rather stick to stackexchange or other sites. I should have listened to them.


When you clearly are ignoring the forum rules by not bothering to try to find any answers yourself, how do you expect people to respond?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8935
Joined: 2009-10-06 05:53


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable