Find the answer to your Linux question:
Results 1 to 2 of 2
hi,,, i have a problem to remove squid. Here the chronology : apt-get remove squid Reading package lists... Done Building dependency tree Reading state information... Done The following packages were ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2007
    Posts
    6

    Problem to remove squid


    hi,,, i have a problem to remove squid. Here the chronology :


    apt-get remove squid
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
    squid-common
    Use 'apt-get autoremove' to remove them.
    The following packages will be REMOVED:
    squid*
    0 upgraded, 0 newly installed, 1 to remove and 201 not upgraded.
    1 not fully installed or removed.
    Need to get 0B of archives.
    After unpacking 1638kB disk space will be freed.
    Do you want to continue [Y/n]? y
    (Reading database ... 108455 files and directories currently installed.)
    Removing squid ...
    FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'

    Squid Cache (Version 3.0.STABLE1): Terminated abnormally.
    CPU Usage: 0.008 seconds = 0.008 user + 0.000 sys
    Maximum Resident Size: 0 KB
    Page faults with physical i/o: 0
    invoke-rc.d: initscript squid, action "stop" failed.
    dpkg: error processing squid (--purge):
    subprocess pre-removal script returned error exit status 1
    FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'

    Squid Cache (Version 3.0.STABLE1): Terminated abnormally.
    CPU Usage: 0.012 seconds = 0.008 user + 0.004 sys
    Maximum Resident Size: 0 KB
    Page faults with physical i/o: 0
    invoke-rc.d: initscript squid, action "restart" failed.
    dpkg: error while cleaning up:
    subprocess post-installation script returned error exit status 1
    Errors were encountered while processing:
    squid
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    I haved already change visible_hostname with localhost and example.squid.com and i haved already find in google but i haven't a satisfied answer

    thx for the attention....

    I want to refresh squid with the new one that's why i removed it

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    is squid running? stop it and then try to remove it

    you could also try apt-get -f remove squid

    or

    dpkg -P squid

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •