0

i want to remove squid package from my Linux box kernel 2.6

root@t:~/devel # rpm -i squid-2.6.STABLE18-5.endian6.i586.rpm --nodeps
        package squid-2.6.STABLE18-5.endian6 is already installed
root@t:~/devel # rpm -e squid-2.6.STABLE18-5.endian6.i586.rpm --nodeps
error: package squid-2.6.STABLE18-5.endian6.i586.rpm is not installed

whats wrong?

mattdm
  • 6,600
  • 1
  • 26
  • 48
hamedsh
  • 389
  • 2
  • 5
  • 18
  • The version of the Linux kernel is largely irrelevant to this kind of problem. It'd be more helpful to know what distribution you're running. (The commercial Endian Firewall package?) – mattdm Dec 05 '10 at 18:16

2 Answers2

2

You should not use the package file name when removing a package. You should use the package name. So, you can try:

# rpm -e squid-2.6.STABLE18-5.endian6

You can confirm the correct name by listing all the packages using:

# rpm -qa | grep squid

If there is an error when trying to install the package, you can try (add --force):

# rpm -i --force squid-2.6.STABLE18-5.endian6.i586.rpm --nodeps
Khaled
  • 36,533
  • 8
  • 72
  • 99
0

i can found a way to uninstall:

rpm -ev squid

hamedsh
  • 389
  • 2
  • 5
  • 18