Missing mysql package
Solved
mp
-
Bilbat -
Bilbat -
Hello,
I need to install my LAMP server, and I'm having trouble installing
I've done everything, updated, upgraded
Thank you for your help
Dnr
I need to install my LAMP server, and I'm having trouble installing
mysql-server: : E: the package is not installable *
I've done everything, updated, upgraded
/etc/apt/source.list, purged, reinstalled, still the same message.
Thank you for your help
Dnr
1 réponse
Hello,
Thank you for not using abbreviations, for reporting the exact error messages as well as your file
Short answer
The package you are looking for does not currently bear this name. You probably need to run (as root) instead this:
Detailed answer
When you find yourself in this kind of situation, you should start by doing two things:
1) A search in the packages, with
2) If the package is found on packages.debian.org but not with
As shown on this page, it is available in Debian stretch, buster, and bullseye (which correspond to the current oldstable, stable, and testing versions).
Good luck.
Thank you for not using abbreviations, for reporting the exact error messages as well as your file
/etc/apt/sources.list.
Short answer
The package you are looking for does not currently bear this name. You probably need to run (as root) instead this:
apt update
apt install default-mysql-server
Detailed answer
When you find yourself in this kind of situation, you should start by doing two things:
1) A search in the packages, with
apt search ...(or
apt-cache search ...) and packages.debian.org. You would have then seen this:
(mando@silk) (~) $ apt search mysql-server
Sorting... Done
Searching in text... Done
default-mysql-server/testing,testing 1.0.5 all
MySQL database server binaries and system database setup (metapackage)
default-mysql-server-core/testing,testing 1.0.5 all
MySQL database server binaries (metapackage)
2) If the package is found on packages.debian.org but not with
apt search ...,
apt-cache search ..., then the question of the repositories configured in
/etc/apt/sources.listarises. The page packages.debian.org allows you to see which versions of Debian provide this package.
As shown on this page, it is available in Debian stretch, buster, and bullseye (which correspond to the current oldstable, stable, and testing versions).
Good luck.
I couldn't copy/paste the commands and messages displayed on my terminal to post them, I have a sound problem as well as the copy paste issue after an update.
I executed "default -mysql-install" and I received the message
"errors were encountered during the execution of inetsim"
E: sub-process /usr/bin/dpkg returned an error code (1)
Copying and pasting is easy, just like on Windows: you select, right-click, copy, and to paste, right-click and paste in the appropriate window. This works particularly well in a graphical terminal (e.g. xterm, gnome-terminal, konsole...).
If you are unable to copy and paste, type the commands exactly. Here, given your error message, you didn't type the commands I indicated. The command is not but, as root, .
Good luck.