How Install MySql on the new Raspbian

If it doesn't relate to Debian, but you still want to share it, please do it here

How Install MySql on the new Raspbian

Postby Marbun » 2018-10-24 19:43

Hello guys,
I am a new user for rasbian, I have already install in my raspberry PI3 last day,
I wish make raspberry as my webserver, that's why, i need to install MySQL into raspberryPi.
I typed below to my raspbian.>>>sudo apt-get update
Get:1 stretch InRelease [25.3 kB]
Get:2 stretch InRelease [15.0 kB]
Get:3 stretch/main armhf Packages [181 kB]
Fetched 221 kB in 2s (78.7 kB/s)
Reading package lists... Done
(pi"raspberrypi display change automatically)
>>>sudo apt-get install - t stretch apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package t
E: Unable to locate package stretch

My question is last responding from my raspberry are E:Unable to located t & E: Unable to locate package stretch. How can i fix it? so i can continue to install MySql on raspberry?

Anybody help me please? thanks very much
Posts: 1
Joined: 2018-10-24 19:19

Re: How Install MySql on the new Raspbian

Postby Ardouos » 2018-10-24 20:09

You are installing apache there, if you want to install mysql install the mysql-server too (or mariadb server).

The error occurred because you placed a space in between the - and the t. This will make apt think you want to install the packages t and stretch... You do not need to specify the repo unless there is ambiguity between two different repos.
User avatar
Posts: 1049
Joined: 2013-11-03 00:30
Location: Elicoor II

Return to Offtopic

Who is online

Users browsing this forum: No registered users and 10 guests