Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 10.0.10
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Environment:CentOS v5.x - x86_64
Description
Downloading Packages:
(1/7): MariaDB-10.0.10-centos5-x86_64-common.rpm | 29 kB 00:00
(2/7): MariaDB-10.0.10-centos5-x86_64-shared.rpm | 1.6 MB 00:04
(3/7): MariaDB-10.0.10-centos5-x86_64-compat.rpm | 3.4 MB 00:02
(4/7): MariaDB-10.0.10-centos5-x86_64-devel.rpm | 8.2 MB 00:03
(5/7): MariaDB-10.0.10-centos5-x86_64-client.rpm | 14 MB 00:05
(6/7): MariaDB-10.0.10-centos5-x86_64-test.rpm | 25 MB 00:07
(7/7): MariaDB-10.0.10-centos5-x86_64-server.rpm | 56 MB 00:16
----------------------------------------------------------------------------------------------------------------------------------------------------
Total 2.6 MB/s | 108 MB 00:41
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : MariaDB-common 1/14
sed: 부적절한 옵션 – 1
Usage: sed [OPTION]...Unknown macro: {script-only-if-no-other-script}[input-file]...
-n, --quiet, --silent
suppress automatic printing of pattern space
-e script, --expression=script
add the script to the commands to be executed
-f script-file, --file=script-file
add the contents of script-file to the commands to be executed
-i[SUFFIX], --in-place[=SUFFIX]
edit files in place (makes backup if extension supplied)
-c, --copy
use copy instead of rename when shuffling files in -i mode
(avoids change of input file ownership)
-l N, --line-length=N
specify the desired line-wrap length for the `l' command
--posix
disable all GNU extensions.
-r, --regexp-extended
use extended regular expressions in the script.
-s, --separate
consider files as separate rather than as a single continuous
long stream.
-u, --unbuffered
load minimal amounts of data from the input files and flush
the output buffers more often
--help display this help and exit
--version output version information and exitIf no -e, --expression, -f, or --file option is given, then the first
non-option argument is taken as the sed script to interpret. All
remaining arguments are names of input files; if no input files are
specified, then the standard input is read.버그를 보고할 E-mail 주소: bonzini@gnu.org .
``Subject:'' 항목에 반드시 ``sed'' 단어를 포함해 주시기 바랍니다.******************************************************************
A MySQL or MariaDB server package () is installed.The current MariaDB server package is provided by a different
vendor ( 패키지가 설치되어 있지 않습니다) than Monty Program AB. Some files may be installed
to different locations, including log files and the service
startup script in /etc/init.d/.Upgrading directly from MySQL <unrecognized version 패키지가 설치되어 있지 않습니다> to MariaDB 10.0 may not
be safe in all cases. A manual dump and restore using mysqldump is
recommended. It is important to review the MariaDB manual's Upgrading
section for version-specific incompatibilities.A manual upgrade is required.
- Ensure that you have a complete, working backup of your data and my.cnf
files- Shut down the MySQL server cleanly
- Remove the existing MySQL packages. Usually this command will
list the packages you should remove:
rpmqa | grep -i '^mysql'You may choose to use 'rpm --nodeps -ev <package-name>' to remove
the package which contains the mysqlclient shared library. The
library will be reinstalled by the MariaDB-shared package.
- Install the new MariaDB packages supplied by Monty Program AB
- Ensure that the MariaDB server is started
- Run the 'mysql_upgrade' program
This is a brief description of the upgrade process. Important details
can be found in the MariaDB manual, in the Upgrading section.
******************************************************************
Error in PREIN scriptlet in rpm package MariaDB-server-10.0.10-1.x86_64
error: %pre(MariaDB-server-10.0.10-1.x86_64) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping MariaDB-server-10.0.10-1
Updating : MariaDB-test 3/14
Updating : MariaDB-compat 4/14
Updating : MariaDB-shared 5/14
Updating : MariaDB-devel 6/14
Updating : MariaDB-client 7/14
Cleanup : MariaDB-common 8/14
Cleanup : MariaDB-test 9/14
Cleanup : MariaDB-devel 10/14
Cleanup : MariaDB-client 11/14
Cleanup : MariaDB-compat 12/14
Cleanup : MariaDB-shared 13/14Updated:
MariaDB-client.x86_64 0:10.0.10-1 MariaDB-common.x86_64 0:10.0.10-1 MariaDB-compat.x86_64 0:10.0.10-1 MariaDB-devel.x86_64 0:10.0.10-1
MariaDB-shared.x86_64 0:10.0.10-1 MariaDB-test.x86_64 0:10.0.10-1Failed:
MariaDB-server.x86_64 0:10.0.10-1Complete!
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
The problem has been reported as https://mariadb.atlassian.net/browse/MDEV-5986.
As a workaround, please do what the error message says: remove the old version and install the new one.