Announcement

Collapse
No announcement yet.

How to fix this problems??

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

    How to fix this problems??

    daniloc@Daniloc:~$ sudo apt-get upgrade
    Reading package lists... Done
    Building dependency tree... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    2 not fully installed or removed.
    Need to get 0B of archives.
    After unpacking 0B of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Setting up php4-sqlite (1.0.2-9) ...
    * /usr/sbin/apachectl is not executable, exiting... [fail]
    invoke-rc.d: initscript apache, action "restart" failed.
    dpkg: error processing php4-sqlite (--configure):
    subprocess post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of bamboo:
    bamboo depends on php4-sqlite; however:
    Package php4-sqlite is not configured yet.
    dpkg: error processing bamboo (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    php4-sqlite
    bamboo
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    daniloc@Daniloc:~$ sudo apt-get install kde-devel
    Reading package lists... Done
    Building dependency tree... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.

    Since you only requested a single operation it is extremely likely that
    the package is simply not installable and a bug report against
    that package should be filed.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    kde-devel: Depends: kde-core but it is not going to be installed
    Depends: kdesdk but it is not going to be installed
    Depends: libartsc0-dev but it is not going to be installed
    Depends: libarts1-dev but it is not going to be installed
    Depends: kdelibs4-dev but it is not going to be installed
    Depends: kdebase-dev but it is not going to be installed
    Depends: libkonq4-dev but it is not going to be installed
    E: Broken packages
    daniloc@Daniloc:~$


    #2
    Re: How to fix this problems??

    Hi,

    It seems to be because you have error in previous upgrade....
    /usr/sbin/apachectl is not executable, you should allow it to be like this :
    Code:
    sudo chmod u+x /usr/sbin/apachectl [/chmod]
    then
    sudo dpkg --configure -a
    Code:
    Finally install kdedevel as you wanted.
    
    Hope it helped.

    Comment


      #3
      Re: How to fix this problems??

      daniloc@Daniloc:/usr/sbin$ sudo chmod u+x /usr/sbin/apachectl [/chmod]
      chmod: cannot access `/usr/sbin/apachectl': No such file or directory
      chmod: cannot access `[/chmod]': No such file or directory
      daniloc@Daniloc:/usr/sbin$

      Comment


        #4
        Re: How to fix this problems??

        Sorry there's in the output of what I wrote...
        It should be like this :
        sudo chmod u+x /usr/sbin/apachectl
        sudo dpkg --configure -a

        Then it should work, but the file is missing it seems...
        How did you install apache ?

        Cheers

        Comment


          #5
          Re: How to fix this problems??

          daniloc@Daniloc:~$ sudo chmod u+x /usr/sbin/apachectl
          Password:
          Sorry, try again.
          Password:
          chmod: cannot access `/usr/sbin/apachectl': No such file or directory
          daniloc@Daniloc:~$


          apt-get install apache...

          Comment


            #6
            Re: How to fix this problems??

            I'm surprised that you installed it like this and you don't have this file, as it's included in the package. Here is an extract of the output of dpkg -c /var/cache/apt/archives/apache_1.3* :
            drwxr-xr-x root/root 0 2006-08-16 19:20 ./usr/sbin/
            -rwxr-xr-x root/root 272140 2006-08-16 19:20 ./usr/sbin/apache
            -rwxr-xr-x root/root 4875 2006-08-16 19:20 ./usr/sbin/apachectl

            And apache is running ok ?

            If yes, you can just create a file with an exit 0 inside and make it executable so it will think that the action worked...
            If not, you should try to reinstall it, but as the apt-get is locked, you will need to unlock it by sudo apt-get -f install or sudo dpkg --configure -a

            Hope it helps

            Comment

            Working...
            X