Git Product home page Git Product logo

Comments (12)

francesco1119 avatar francesco1119 commented on May 27, 2024 1

I had to remove it from /var/lib/dpkg/status.
I have reinstalled thorough dpkg -i capanalysis_1.2.0_amd64.deb and I have the same problem again :(

from capanalysis.

gnlcosta avatar gnlcosta commented on May 27, 2024

Hi,
can you give me more info. For example:

  • what Debian version
  • the complete log
  • Apache status (if it is running or not... I suppose not)
    Also if the daemon is not running you have to see (something) on the WUI (localhost:9877).

Thanks.

from capanalysis.

francesco1119 avatar francesco1119 commented on May 27, 2024

I maybe had an issue while installing as now, if I try to do apt-get upgrade I have as result:

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up capanalysis (1.2.0) ...
ln: failed to create symbolic link '/etc/apache2/sites-enabled/098-capana.conf': File exists
dpkg: error processing package capanalysis (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 capanalysis
E: Sub-process /usr/bin/dpkg returned an error code (1)

How to completely remove Capanalysis?

from capanalysis.

gnlcosta avatar gnlcosta commented on May 27, 2024

Ciao Francesco,
try to remove the file:
/etc/apache2/sites-enabled/098-capana.conf
or if it doesn't work, try to comment the line:
ln -s /etc/apache2/sites-available/capana.conf /etc/apache2/sites-enabled/098-capana.conf
on file /var/lib/dpkg/info/capanalysis.postinst

from capanalysis.

francesco1119 avatar francesco1119 commented on May 27, 2024

Tried both, not working.
Then dpkg --purge capanalysis gave me:

dpkg: error processing package capanalysis (--purge):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting a removal
Errors were encountered while processing:
 capanalysis

I have first removed 098-capana.conf then commented the link.
Any idea how remove Capanalysis?

from capanalysis.

gnlcosta avatar gnlcosta commented on May 27, 2024

Have you tried also to reinstall it?
What Debian version are you using?

from capanalysis.

francesco1119 avatar francesco1119 commented on May 27, 2024

Uname -a:

Linux bobby 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08) x86_64 GNU/Linux

gdebi capanalysis_1.2.0_amd64.deb:

Reading package lists... Done
Building dependency tree        
Reading state information... Done
Error opening the cache:
E:The package capanalysis needs to be reinstalled, but I can't find an archive for it.

from capanalysis.

gnlcosta avatar gnlcosta commented on May 27, 2024

Try to download again the pkg and install it.
http://sourceforge.net/projects/capanalysis/files/version%201.2.0/capanalysis_1.2.0_amd64.deb/download
Please give me the output of the command:
lsb_release -c -r -d

from capanalysis.

francesco1119 avatar francesco1119 commented on May 27, 2024

lsb_release -c -r -d:

Description:    Debian GNU/Linux 8.5 (jessie)
Release:    8.5
Codename:   jessie

Downloaded .deb again and after dpkg -i capanalysis_1.2.0_amd64.deb:

Selecting previously unselected package capanalysis.
(Reading database ... 264658 files and directories currently installed.)
Preparing to unpack capanalysis_1.2.0_amd64.deb ...
Unpacking capanalysis (1.2.0) over (1.2.0) ...
httpd not running, trying to start
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'restart' failed.
The Apache error log may have more information.
dpkg: warning: subprocess old post-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
httpd not running, trying to start
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'restart' failed.
The Apache error log may have more information.
dpkg: error processing archive capanalysis_1.2.0_amd64.deb (--install):
 subprocess new post-removal script returned error exit status 1
httpd not running, trying to start
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'restart' failed.
The Apache error log may have more information.
dpkg: error while cleaning up:
 subprocess new post-removal script returned error exit status 1
Processing triggers for systemd (215-17+deb8u4) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.58) ...
Errors were encountered while processing:
 capanalysis_1.2.0_amd64.deb

from capanalysis.

gnlcosta avatar gnlcosta commented on May 27, 2024

Try to use gdebi to install CapAnalysis.
gdebi install also all dependencies.

from capanalysis.

francesco1119 avatar francesco1119 commented on May 27, 2024

Already tried, it didn't worked.

from capanalysis.

mezach1 avatar mezach1 commented on May 27, 2024

just type └──╼ #rm -r -f /var/lib/dpkg/info/capanalysis.*
and it will be fixed it worked for me

from capanalysis.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.