Issues Installing Squid on Redhat

Posted on 2010-01-11
Medium Priority
Last Modified: 2013-12-16
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
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.
Question by:indianbill007
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
LVL 11

Expert Comment

by:Batuhan Cetin
ID: 26284239
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/\
rpm -ivh perl-URI-1.35-3.noarch.rpm

Open in new window


Author Comment

ID: 26284259
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.
LVL 11

Accepted Solution

Batuhan Cetin earned 1000 total points
ID: 26284316
"RedHat Linux" is like saying my OS is "Windows Server". Which distribuion do you have? RedHat Linux Enterprise 3? RedHat Linux 9?

I see from your answer you know googling then it must not be hard to google "RedHat Linux Perl URI package" after reading my answer.


Here pick your distribution and download it.
Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

LVL 10

Assisted Solution

nabeelmoidu earned 1000 total points
ID: 26285268
indianbill007, that was somewhat a rude reply to someone trying to help you out.

1. wget http://apt.sw.be/redhat/el5/en/i386/RPM ... f.i386.rpm
2. rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
3. rpm -i rpmforge-release-0.3.6-1.el5.rf.i386.rpm
4. yum check-update
5. yum install squid

LVL 10

Expert Comment

ID: 26285302

Author Comment

ID: 26285610
The answer was on a rude note actually still I do apologise for
Sounding rude.
Iam sorry if I sounded rude

Author Closing Comment

ID: 31675522
thanks for the help guys

Featured Post

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month9 days, 21 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question