Link to home
Start Free TrialLog in
Avatar of indianbill007
indianbill007

asked on

Issues Installing Squid on Redhat

I am trying to install Squid on RedHat Linux, Iam facing these issues. Please help...


Command Issued : yum install squid


Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirrors.netdna.com
 * base: centos.mirrors.tds.net
 * extras: pubmirrors.reflected.net
 * updates: mirrors.gigenet.com
addons                                                   |  951 B     00:00
base                                                     | 2.1 kB     00:00
extras                                                   | 1.1 kB     00:00
updates                                                  | 1.9 kB     00:00
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package squid.x86_64 7:2.6.STABLE21-3.el5 set to be updated
--> Processing Dependency: perl(URI::URL) for package: squid
--> Finished Dependency Resolution
7:squid-2.6.STABLE21-3.el5.x86_64 from base has depsolving problems
  --> Missing Dependency: perl(URI::URL) is needed by package 7:squid-2.6.STABLE21-3.el5.x86_64 (base)
Error: Missing Dependency: perl(URI::URL) is needed by package 7:squid-2.6.STABLE21-3.el5.x86_64 (base)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

Please suggest me the commands to solve this dependency.
Avatar of Batuhan Cetin
Batuhan Cetin
Flag of Türkiye image

The problem is clearly stated:

--> Missing Dependency: perl(URI::URL) is needed by package 7:squid-2.6.STABLE21-3.el5.x86_64 (base)

Download and install perl-URI. This is for CentOS 5 so be sure to get the package for your distro.


wget ftp://ftp.pbone.net/mirror/ftp.centos.org/5.2/os/\
x86_64/CentOS/perl-URI-1.35-3.noarch.rpm
rpm -ivh perl-URI-1.35-3.noarch.rpm

Open in new window

Avatar of indianbill007
indianbill007

ASKER

I have clearly stated the issue is for RedHat, this answer I got as well, its the first result on google, please answer something useful.
ASKER CERTIFIED SOLUTION
Avatar of Batuhan Cetin
Batuhan Cetin
Flag of Türkiye image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The answer was on a rude note actually still I do apologise for
Sounding rude.
Iam sorry if I sounded rude
thanks for the help guys