Announcement

Collapse
No announcement yet.

Can't seem to remove Varnish

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • jacatone
    replied
    Re: Can't seem to remove Varnish

    Thanks, I'll give it a try. What I find strange is whenever I try using Konsole for something else, it keeps bring up this Varnish problem. In case your suggestions don't work, is there a way to prevent Konsole from doing this? It doesn't really bother me if Varnish isn't properly installed or removed as long as it doesn't keep reminding me of it presence.

    Leave a comment:


  • Teunis
    replied
    Re: Can't seem to remove Varnish

    I noticed a few thing, read all before you decide what action to take first.

    At the bottom of your post there is a reference to dpkg, that's the real package manager, apt-get is a front end for it.

    A powerful command to clear errors with dpkg is:
    Code:
    $ sudo dpkg --configure -a
    If this does not clear the problem the next one might do the trick:
    Code:
    sudo dpkg --remove --force-remove-reinstreq varnish
    After any of these commands it's a good idea to run the standard:
    Code:
    sudo apt-get update
    Something else what I find strange is that your last post shows an attempt by the script to stop varnish from running.
    Strange because I'd imagine it is insufficiently installed to be running!

    But it doesn't hurt to check:
    Code:
    $ ksysguard
    (Or Ctrl+Esc)

    In case varnish is in the process table select it and hit Kill.

    Leave a comment:


  • jacatone
    replied
    Re: Can't seem to remove Varnish

    I tried that and using a forced remove. Got the follow error though:

    root@eMax:/home/jacatone# apt-get -f remove varnish
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages will be REMOVED:
    varnish
    0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
    1 not fully installed or removed.
    Need to get 0B of archives.
    After unpacking 659kB disk space will be freed.
    Do you want to continue [Y/n]? y
    (Reading database ... 94962 files and directories currently in
    stalled.)
    Removing varnish ...
    Stopping HTTPd accelerator: invoke-rc.d: initscript varnish, a
    ction "stop" failed.
    dpkg: error processing varnish (--remove):
    subprocess pre-removal script returned error exit status 1
    Starting HTTPd accelerator: /usr/bin/ld: crti.o: No such file:
    No such file or directory
    collect2: ld returned 1 exit status
    pclose=256
    Internal error: GCC returned 0x0100
    invoke-rc.d: initscript varnish, action "start" failed.
    dpkg: error while cleaning up:
    subprocess post-installation script returned error exit statu s 2
    Errors were encountered while processing:
    varnish
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    root@eMax:/home/jacatone#






    Leave a comment:


  • Teunis
    replied
    Re: Can't seem to remove Varnish

    Have you tried to remove the package?
    Code:
    $ sudo apt-get remove varnish
    It's never a bad idea to start with some cleaning up:
    Code:
    $ sudo apt-get autoclean
    And a check for unsatisfied dependencies of installed packages:
    Code:
    $ sudo apt-get check
    In case of error messages please report them here.

    Leave a comment:


  • jacatone
    replied
    Re: Can't seem to remove Varnish

    Here it is. I was trying to use Konsole to install something else and this came up instead.

    The following partially installed packages will be configured:
    varnish
    0 packages upgraded, 0 newly installed, 0 to remove and 0 not
    upgraded.
    Need to get 0B of archives. After unpacking 0B will be used.
    Setting up varnish (1.0.3-2) ...
    Starting HTTPd accelerator: /usr/bin/ld: crti.o: No such file:
    No such file or directory
    collect2: ld returned 1 exit status
    pclose=256
    Internal error: GCC returned 0x0100
    invoke-rc.d: initscript varnish, action "start" failed.
    dpkg: error processing varnish (--configure):
    subprocess post-installation script returned error exit statu
    s 2
    Errors were encountered while processing:
    varnish
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    A package failed to install. Trying to recover:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Reading extended state information
    Initializing package states... Done
    Building tag database... Done
    root@eMax:/home/jacatone#

    Leave a comment:


  • Teunis
    replied
    Re: Can't seem to remove Varnish

    Without me knowing what Varnish is I can suggest you give us the exact error messages you get.
    That'll make it a lot easier to come up with a solution.

    Leave a comment:


  • jacatone
    started a topic Can't seem to remove Varnish

    Can't seem to remove Varnish

    Read an article in Linux Magazine about Varnish and how great it was. Installed it using Konsole but kept getting install errors. Whenever I used Konsole, it kept saying it's having problems installing Varnish. Tried removing it in Konsole, now it says it's having problems removing Varnish. How do I remove this thing for good?

Users Viewing This Topic

Collapse

There are 0 users viewing this topic.

Working...
X