Re: Equivalent of apt-get purge for yum

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

 



On Thu, Feb 11, 2010 at 8:13 AM, Stainforth, Matthew (SD/DS)
<Matthew.Stainforth@xxxxxx> wrote:
> 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 -qf /etc/my.cnf

and reinstall that rpm.

John

-- 
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