Ask Your Question
1

how do i remove all files which is installed by mariadb-server-1:5.5.34-2.fc20.x86_64 [closed]

asked 2014-01-22 23:53:22 -0500

melviii100 gravatar image

updated 2014-01-23 06:18:53 -0500

FranciscoD_ gravatar image

a lot of files has installed when i try to instal mariadb-server-1:5.5.34-2.fc20.x86_64. now that files are conflicting with my another package files- not allowing me to install MYSQL. so how will i remove all files which i installed during mariadb-server-1:5.5.34-2.fc20.x86_64 installation?

i tried :

yum remove mariadb-server-1:5.5.34-2.fc20.x86_64
error: %preun(mariadb-server-1:5.5.34-2.fc20.x86_64) scriptlet failed, exit status 127
Error in PREUN scriptlet in rpm package 1:mariadb-server-5.5.34-2.fc20.x86_64
  Verifying  : 1:mariadb-server-5.5.34-2.fc20.x86_64                        1/1 

Failed:
  mariadb-server.x86_64 1:5.5.34-2.fc20                                         

Complete!
edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by FranciscoD_
close date 2014-01-23 08:42:43.515006

Comments

2 Answers

Sort by » oldest newest most voted
1

answered 2014-01-23 06:06:40 -0500

mrunge gravatar image

You might have hit https://fedoraproject.org/wiki/Common_F20_bugs#RPM_scriptlets_fail_during_updates

yum remove mariadb-server

is the right command.

edit flag offensive delete link more

Comments

Yep. Scriptlet error. Please look at https://ask.fedoraproject.org/en/question/39213/known-issue-scriptlet-errors-while-installingupgrading-packages-using-yumdnfrpm/

As soon as you update your selinux, you'll be able to remove the package. If yum doesn't work, please use rpm -e --noscripts. There may be other duplicate packages too. package-cleanup --dupes will give you a list.

FranciscoD_ gravatar imageFranciscoD_ ( 2014-01-23 06:20:07 -0500 )edit
1

the conflicting problem finished, now when i tried to install mysql, i got another error,

Running transaction find: ‘/var/lib/mysql’: No such file or directory

Installing : MySQL-server-5.7.3_m13-1.linux_glibc2.5.x86_64 1/1

Error unpacking rpm package MySQL-server-5.7.3_m13-1.linux_glibc2.5.x86_64 error: unpacking of archive failed on file /usr/bin/mysql_tzinfo_to_sql;52e116d3: cpio: Digest mismatch Verifying : MySQL-server-5.7.3_m13-1.linux_glibc2.5.x86_64 1/1

Failed: MySQL-server.x86_64 0:5.7.3_m13-1.linux_glibc2.5 Complete!

melviii100 gravatar imagemelviii100 ( 2014-01-23 07:21:43 -0500 )edit

Please file a new question for this issue with complete information. This question was about removing mariadb which you seem to have solved now. Installing mysql from your rpm isn't related to mariadb any more.

FranciscoD_ gravatar imageFranciscoD_ ( 2014-01-23 08:40:58 -0500 )edit
0

answered 2014-01-23 00:55:30 -0500

anishjp gravatar image

updated 2014-01-23 00:57:00 -0500

If you installed mariadb with yum, you can see all the packages that were installed along with the mariadb by checking the yum history

yum history

It will display all the install/update/erase history of yum along with its identity number. Check all the instances with the install/update.

yum history info identity_no

Once you have got the list of dependencies that were installed along with mariadb, you can uninstall them with the erase command!

edit flag offensive delete link more

Comments

yum erase 42

No Match for argument: 42 No Packages marked for removal

melviii100 gravatar imagemelviii100 ( 2014-01-23 02:57:50 -0500 )edit

the conflicting problem finished, now when i tried to install mysql, i got another error, Running transaction find: ‘/var/lib/mysql’: No such file or directory

Installing : MySQL-server-5.7.3_m13-1.linux_glibc2.5.x86_64 1/1

Error unpacking rpm package MySQL-server-5.7.3_m13-1.linux_glibc2.5.x86_64 error: unpacking of archive failed on file /usr/bin/mysql_tzinfo_to_sql;52e116d3: cpio: Digest mismatch Verifying : MySQL-server-5.7.3_m13-1.linux_glibc2.5.x86_64 1/1

Failed: MySQL-server.x86_64 0:5.7.3_m13-1.linux_glibc2.5 Complete!

melviii100 gravatar imagemelviii100 ( 2014-01-23 07:23:27 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-01-22 23:53:22 -0500

Seen: 9,288 times

Last updated: Jan 23 '14