[Centos] remove just one perl package

Matt Bottrell mbottrell at gmail.com
Tue Feb 15 15:52:49 UTC 2005


I would take a listing of all the perl packages you have....

Then remove perl (and any other required packages).
You can reinstall them later.  :)

Solve the dependancies first.... once you put back the correct ones
you'll be much better off.

Good luck!

Cheers,

Matt.


On Tue, 15 Feb 2005 09:31:17 -0600, Melinda Odom <info at designhosting.biz> wrote:
> Hi,
> 
> I am on CentOS using Plesk as an administration area and am running into
> constant errors trying to update any perl packages because of an accidental
> install of a perl package from a third-party.
> 
> When I tried yum remove perl it listed every perl package on my system to
> remove which is what I do not want.  I only want to remove one called
> perl-5.8.5-9rhel3.art
> 
> Below says "success" but those perl packages are not updated.
> 
> How can I just remove this one package, perl-5.8.5-9rhel3.art, so the other
> conflict errors will go away and not break the whole system? These are the
> errors:
> 
> [root at godslove root]# yum list updates
> Gathering header information file(s) from server(s)
> Server: CentOS-3 - Addons
> Server: CentOS-3 - Base
> Server: CentOS-3 - Extras
> Server: CentOS-3 - Updates
> Finding updated packages
> Downloading needed headers
> Name Arch Version Repo
> ----------------------------------------------------------------------------
> ----
> perl-CGI i386 2:2.81-89.10 update
> perl-DB_File i386 2:1.804-89.10 update
> 
> [root at godslove root]# yum update perl
> Gathering header information file(s) from server(s)
> Server: CentOS-3 - Addons
> Server: CentOS-3 - Base
> Server: CentOS-3 - Extras
> Server: CentOS-3 - Updates
> Finding updated packages
> Downloading needed headers
> perl is installed and the latest version.
> No actions to take
> [root at godslove root]# yum update perl-CGI
> Gathering header information file(s) from server(s)
> Server: CentOS-3 - Addons
> Server: CentOS-3 - Base
> Server: CentOS-3 - Extras
> Server: CentOS-3 - Updates
> Finding updated packages
> Downloading needed headers
> Resolving dependencies
> Dependencies resolved
> I will do the following:
> [update: perl-CGI 2:2.81-89.10.i386]
> Is this ok [y/N]: y
> Downloading Packages
> Getting perl-CGI-2.81-89.10.i386.rpm
> perl-CGI-2.81-89.10.i386. 100% |=========================| 185 kB 00:00
> Running test transaction:
> Test transaction complete, Success!
> Errors installing:
> ('file /usr/share/man/man3/CGI.3pm.gz from install of perl-CGI-2.81-89.10
> confli
> cts with file from package perl-5.8.5-9.rhel3.art', (7,
> '/usr/share/man/man3/CGI
> .3pm.gz', 0L))
> ('file /usr/share/man/man3/CGI::Apache.3pm.gz from install of
> perl-CGI-2.81-89.1
> 0 conflicts with file from package perl-5.8.5-9.rhel3.art', (7,
> '/usr/share/man/
> man3/CGI::Apache.3pm.gz', 0L))
> ('file /usr/share/man/man3/CGI::Carp.3pm.gz from install of
> perl-CGI-2.81-89.10
> conflicts with file from package perl-5.8.5-9.rhel3.art', (7,
> '/usr/share/man/ma
> n3/CGI::Carp.3pm.gz', 0L))
> ('file /usr/share/man/man3/CGI::Cookie.3pm.gz from install of
> perl-CGI-2.81-89.1
> 0 conflicts with file from package perl-5.8.5-9.rhel3.art', (7,
> '/usr/share/man/
> man3/CGI::Cookie.3pm.gz', 0L))
> ('file /usr/share/man/man3/CGI::Fast.3pm.gz from install of
> perl-CGI-2.81-89.10
> conflicts with file from package perl-5.8.5-9.rhel3.art', (7,
> '/usr/share/man/ma
> n3/CGI::Fast.3pm.gz', 0L))
> ('file /usr/share/man/man3/CGI::Pretty.3pm.gz from install of
> perl-CGI-2.81-89.1
> 0 conflicts with file from package perl-5.8.5-9.rhel3.art', (7,
> '/usr/share/man/
> man3/CGI::Pretty.3pm.gz', 0L))
> ('file /usr/share/man/man3/CGI::Push.3pm.gz from install of
> perl-CGI-2.81-89.10
> conflicts with file from package perl-5.8.5-9.rhel3.art', (7,
> '/usr/share/man/ma
> n3/CGI::Push.3pm.gz', 0L))
> ('file /usr/share/man/man3/CGI::Switch.3pm.gz from install of
> perl-CGI-2.81-89.1
> 0 conflicts with file from package perl-5.8.5-9.rhel3.art', (7,
> '/usr/share/man/
> man3/CGI::Switch.3pm.gz', 0L))
> ('file /usr/share/man/man3/CGI::Util.3pm.gz from install of
> perl-CGI-2.81-89.10
> conflicts with file from package perl-5.8.5-9.rhel3.art', (7,
> '/usr/share/man/ma
> n3/CGI::Util.3pm.gz', 0L))
> 
> ==========================================================
> 
> [root at godslove root]# yum update perl-DB_File
> Gathering header information file(s) from server(s)
> Server: CentOS-3 - Addons
> Server: CentOS-3 - Base
> Server: CentOS-3 - Extras
> Server: CentOS-3 - Updates
> Finding updated packages
> Downloading needed headers
> Resolving dependencies
> Dependencies resolved
> I will do the following:
> [update: perl-DB_File 2:1.804-89.10.i386]
> Is this ok [y/N]: y
> Downloading Packages
> Getting perl-DB_File-1.804-89.10.i386.rpm
> perl-DB_File-1.804-89.10. 100% |=========================| 72 kB 00:00
> Running test transaction:
> Test transaction complete, Success!
> Errors installing:
> ('file /usr/share/man/man3/DB_File.3pm.gz from install of
> perl-DB_File-1.804-89.10 conflicts with file from package
> perl-5.8.5-9.rhel3.art', (7, '/usr/share/man/man3/DB_File.3pm.gz', 0L))
> 
> Sincerely,
> Melinda Odom
> www.designhosting.biz
> 479-471-0891
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005
> 
> _______________________________________________
> CentOS mailing list
> CentOS at caosity.org
> http://lists.caosity.org/mailman/listinfo/centos
>



More information about the CentOS mailing list