Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Warning when installing mysql

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
aliweb
Posts: 35
Joined: 2017-08-04 05:54
Has thanked: 1 time

Warning when installing mysql

#1 Post by aliweb »

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: 35
Joined: 2017-08-04 05:54
Has thanked: 1 time

Re: Warning when installing mysql

#2 Post by aliweb »

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: 35
Joined: 2017-08-04 05:54
Has thanked: 1 time

Re: Warning when installing mysql

#3 Post by aliweb »

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?

User avatar
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Warning when installing mysql

#4 Post by dasein »

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.

aliweb
Posts: 35
Joined: 2017-08-04 05:54
Has thanked: 1 time

Re: Warning when installing mysql

#5 Post by aliweb »

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.


User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Warning when installing mysql

#7 Post by stevepusser »

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?
MX Linux packager and developer

Post Reply