English
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-23 05:53:22 +0000

melviii100 gravatar image

updated 2014-01-23 12:18:53 +0000

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 14:42:43.515006

Comments

2 answers

Sort by » oldest newest most voted
1

answered 2014-01-23 12:06:40 +0000

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_ ( 2014-01-23 12:20:07 +0000 )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 ( 2014-01-23 13:21:43 +0000 )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_ ( 2014-01-23 14:40:58 +0000 )edit
0

answered 2014-01-23 06:55:30 +0000

updated 2014-01-23 06:57:00 +0000

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 ( 2014-01-23 08:57:50 +0000 )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 ( 2014-01-23 13:23:27 +0000 )edit

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

Follow
1 follower

Stats

Asked: 2014-01-23 05:53:22 +0000

Seen: 8,796 times

Last updated: Jan 23 '14