summaryrefslogtreecommitdiff
path: root/debian/mariadb-server.templates
diff options
context:
space:
mode:
authorTuukka Pasanen <tuukka.pasanen@ilmi.fi>2022-04-11 11:32:26 +0300
committerDaniel Black <daniel@mariadb.org>2022-04-26 12:46:39 +1000
commit375b8f40ce1bb7e93bcb87145c3c00fa0fa5d87e (patch)
treee74077fa230371da0b0eb92080faa45e12ed3346 /debian/mariadb-server.templates
parent72a125058527126ae31c02851db0d1ca186706f7 (diff)
downloadmariadb-git-375b8f40ce1bb7e93bcb87145c3c00fa0fa5d87e.tar.gz
MDEV-27033: Remove version suffix from Debian packages
Remove version suffix from Debian packages (for example mariadb-server-10.9) because installing suffixed package removes older version of package even if it's suffixed (for example mariadb-server-10.7) This make also Debian package management easier in future MariaDB version iterations because there is no need for stacking Conlicts/Breaks/Replaces-parameters in every new major release
Diffstat (limited to 'debian/mariadb-server.templates')
-rw-r--r--debian/mariadb-server.templates45
1 files changed, 45 insertions, 0 deletions
diff --git a/debian/mariadb-server.templates b/debian/mariadb-server.templates
new file mode 100644
index 00000000000..3f790bcd250
--- /dev/null
+++ b/debian/mariadb-server.templates
@@ -0,0 +1,45 @@
+# These templates have been reviewed by the debian-l10n-english
+# team
+#
+# If modifications/additions/rewording are needed, please ask
+# for an advice to debian-l10n-english@lists.debian.org
+#
+# Even minor modifications require translation updates and such
+# changes should be coordinated with translators and reviewers.
+
+Template: mariadb-server/old_data_directory_saved
+Type: note
+_Description: The old data directory will be saved at new location
+ A file named /var/lib/mysql/debian-*.flag exists on this system.
+ The number indicates a database binary format version that cannot automatically
+ be upgraded (or downgraded).
+ .
+ Therefore the previous data directory will be renamed to /var/lib/mysql-* and
+ a new data directory will be initialized at /var/lib/mysql.
+ .
+ Please manually export/import your data (e.g. with mysqldump) if needed.
+
+Template: mariadb-server/nis_warning
+Type: note
+#flag:translate!:3,5
+_Description: Important note for NIS/YP users
+ Using MariaDB under NIS/YP requires a mysql user account to be added on
+ the local system with:
+ .
+ adduser --system --group --home /var/lib/mysql mysql
+ .
+ You should also check the permissions and ownership of the
+ /var/lib/mysql directory:
+ .
+ /var/lib/mysql: drwxr-xr-x mysql mysql
+
+Template: mariadb-server/postrm_remove_databases
+Type: boolean
+Default: false
+_Description: Remove all MariaDB databases?
+ The /var/lib/mysql directory which contains the MariaDB databases is about
+ to be removed.
+ .
+ If you're removing the MariaDB package in order to later install a more
+ recent version or if a different mariadb-server package is already
+ using it, the data should be kept.