Re: Equivalent of apt-get purge for yum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think that I got it,
When I did 'rpm -ql mysql-server' with the package coming from remi's
repository, the configuration file did not appear.
I guess so that this package is not complete.
This is a list of what I get:
/etc/rc.d/init.d/mysqld
/usr/bin/innochecksum
/usr/bin/myisam_ftdump
/usr/bin/myisamchk
/usr/bin/myisamlog
/usr/bin/myisampack
/usr/bin/mysql_convert_table_format
/usr/bin/mysql_fix_extensions
/usr/bin/mysql_fix_privilege_tables
/usr/bin/mysql_install_db
/usr/bin/mysql_secure_installation
/usr/bin/mysql_setpermission
/usr/bin/mysql_tzinfo_to_sql
/usr/bin/mysql_upgrade
/usr/bin/mysql_zap
/usr/bin/mysqlbug
/usr/bin/mysqld_multi
/usr/bin/mysqld_safe
/usr/bin/mysqldumpslow
/usr/bin/mysqlhotcopy
/usr/bin/mysqltest
/usr/bin/perror
/usr/bin/replace
/usr/bin/resolve_stack_dump
/usr/bin/resolveip
/usr/lib64/mysql/plugin
/usr/lib64/mysql/plugin/ha_innodb_plugin.so
/usr/lib64/mysql/plugin/ha_innodb_plugin.so.0
...

As you can see this config file is not in therefore, the service cannot resume.

2010/2/11  <Phebe_Mertes@xxxxxxxxxxxxxxxxx>:
>
>  From:       Johan Dindaine <jojolapin972@xxxxxxxxx>
>
>  To:         General Red Hat Linux discussion list <redhat-list@xxxxxxxxxx>
>
>  Date:       02/11/2010 08:33 AM
>
>  Subject:    Re: Equivalent of apt-get purge for yum
>
>  Sent by:    redhat-list-bounces@xxxxxxxxxx
>
>
>
>
>
>
>
>
> I've done this but when I reinstall the package, I still don't get
> everynthing reinstalled properly.
>
> 2010/2/11 Stainforth, Matthew (SD/DS) <Matthew.Stainforth@xxxxxx>:
>> You could try "rpm -e packagename" or "yum remove packagename".  Both
> should result in erasure of the package.
>>
>> ----- Original Message -----
>> From: redhat-list-bounces@xxxxxxxxxx <redhat-list-bounces@xxxxxxxxxx>
>> To: redhat-list@xxxxxxxxxx <redhat-list@xxxxxxxxxx>
>> Sent: Thu Feb 11 09:26:30 2010
>> Subject: Equivalent of apt-get purge for yum
>>
>> I am looking for the equivalent of apt-get purge for yum to reinstall
>> completely mysql-server package.
>> What happend is I did install mysql-server then I added Remi
>> repository to get a later version of mysql and since then, installing
>> mysql is never complete.
>> For exemple I don't have my.cnf configuration file anywhere in the file
> system.
>> So I am looking for the equivalent of apt-get pure to completely
>> remove everything from the previous installation and start all over
>> again.
>>
>> Could someone advice me on how to do so?
>> Many thanks to you.
>>
>
> rpm -e or yum uninstall work at the directions of rpm writter, sometimes
> they don't remove all packages because some are libraries that are used by
> other packages.
>
> to find what is in an rpm you can use
> rpm -ql packagename
>
> or  rpm -qlp packagename if the package is not yet installed.
>
> then manually see if these files are being removed.
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux