From 375b8f40ce1bb7e93bcb87145c3c00fa0fa5d87e Mon Sep 17 00:00:00 2001 From: Tuukka Pasanen Date: Mon, 11 Apr 2022 11:32:26 +0300 Subject: 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 --- debian/mariadb-server.templates | 45 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 debian/mariadb-server.templates (limited to 'debian/mariadb-server.templates') 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. -- cgit v1.2.1