Announcement

Collapse
No announcement yet.

apt-get problem Please help :/

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

    apt-get problem Please help :/

    Well I am not sure how this came about but I cant seem to download any programs with apt-get or adept when I try I get this

    Reading state information... Done
    The following packages were automatically installed and are no longer required:
    linux-headers-generic ttf-arphic-ukai linux-headers-2.6.17-10 bluez-pin
    linux-headers-2.6.17-10-generic
    Use 'apt-get autoremove' to remove them.
    The following NEW packages will be installed:
    nautilus-open-terminal
    0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
    9 not fully installed or removed.
    Need to get 22.1kB of archives.
    After unpacking 565kB of additional disk space will be used.
    Get:1 http://archive.ubuntu.com edgy/universe nautilus-open-terminal 0.7-1 [22.1kB]
    Fetched 22.1kB in 1s (17.9kB/s)
    Selecting previously deselected package nautilus-open-terminal.
    (Reading database ... 153262 files and directories currently installed.)
    Unpacking nautilus-open-terminal (from .../nautilus-open-terminal_0.7-1_i386.deb) ...
    Setting up apt-index-watcher (0.3.9ubuntu5) ...
    * Starting apt index watcher apt-index-watcher invoke-rc.d: initscript apt-index-watcher, action "start" failed.
    dpkg: error processing apt-index-watcher (--configure):
    subprocess post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of debtags:
    debtags depends on apt-index-watcher; however:
    Package apt-index-watcher is not configured yet.
    dpkg: error processing debtags (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of adept-common:
    adept-common depends on apt-index-watcher; however:
    Package apt-index-watcher is not configured yet.
    adept-common depends on debtags (>= 1.5.5); however:
    Package debtags is not configured yet.
    dpkg: error processing adept-common (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of adept-manager:
    adept-manager depends on adept-common; however:
    Package adept-common is not configured yet.
    dpkg: error processing adept-manager (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of adept-installer:
    adept-installer depends on adept-common; however:
    Package adept-common is not configured yet.
    dpkg: error processing adept-installer (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of adept-updater:
    adept-updater depends on adept-common; however:
    Package adept-common is not configured yet.
    dpkg: error processing adept-updater (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of adept-notifier:
    adept-notifier depends on adept-updater; however:
    Package adept-updater is not configured yet.
    dpkg: error processing adept-notifier (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of adept-batch:
    adept-batch depends on adept-manager; however:
    Package adept-manager is not configured yet.
    dpkg: error processing adept-batch (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of adept:
    adept depends on adept-manager; however:
    Package adept-manager is not configured yet.
    adept depends on adept-installer; however:
    Package adept-installer is not configured yet.
    adept depends on adept-updater; however:
    Package adept-updater is not configured yet.
    adept depends on adept-notifier; however:
    Package adept-notifier is not configured yet.
    adept depends on adept-batch; however:
    Package adept-batch is not configured yet.
    dpkg: error processing adept (--configure):
    dependency problems - leaving unconfigured
    Setting up nautilus-open-terminal (0.7-1) ...
    Errors were encountered while processing:
    apt-index-watcher
    debtags
    adept-common
    adept-manager
    adept-installer
    adept-updater
    adept-notifier
    adept-batch
    adept
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Anyway to fix this? Thank you in advanced!

    #2
    Re: apt-get problem Please help :/

    For starters, you may try (in turn):

    Code:
    sudo apt-get autoremove
    sudo dpkg --configure --pending
    sudo dpkg --audit
    And feel free to post the results

    Comment


      #3
      Re: apt-get problem Please help :/

      after autremove command I got
      sudo apt-get autoremove
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
      9 not fully installed or removed.
      Need to get 0B of archives.
      After unpacking 0B of additional disk space will be used.
      Setting up apt-index-watcher (0.3.9ubuntu5) ...
      * Starting apt index watcher apt-index-watcher invoke-rc.d: initscript apt-index-watcher, action "start" failed.
      dpkg: error processing apt-index-watcher (--configure):
      subprocess post-installation script returned error exit status 1
      dpkg: dependency problems prevent configuration of debtags:
      debtags depends on apt-index-watcher; however:
      Package apt-index-watcher is not configured yet.
      dpkg: error processing debtags (--configure):
      dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of adept-common:
      adept-common depends on apt-index-watcher; however:
      Package apt-index-watcher is not configured yet.
      adept-common depends on debtags (>= 1.5.5); however:
      Package debtags is not configured yet.
      dpkg: error processing adept-common (--configure):
      dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of adept-manager:
      adept-manager depends on adept-common; however:
      Package adept-common is not configured yet.
      dpkg: error processing adept-manager (--configure):
      dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of adept-installer:
      adept-installer depends on adept-common; however:
      Package adept-common is not configured yet.
      dpkg: error processing adept-installer (--configure):
      dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of adept-updater:
      adept-updater depends on adept-common; however:
      Package adept-common is not configured yet.
      dpkg: error processing adept-updater (--configure):
      dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of adept-notifier:
      adept-notifier depends on adept-updater; however:
      Package adept-updater is not configured yet.
      dpkg: error processing adept-notifier (--configure):
      dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of adept-batch:
      adept-batch depends on adept-manager; however:
      Package adept-manager is not configured yet.
      dpkg: error processing adept-batch (--configure):
      dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of adept:
      adept depends on adept-manager; however:
      Package adept-manager is not configured yet.
      adept depends on adept-installer; however:
      Package adept-installer is not configured yet.
      adept depends on adept-updater; however:
      Package adept-updater is not configured yet.
      adept depends on adept-notifier; however:
      Package adept-notifier is not configured yet.
      adept depends on adept-batch; however:
      Package adept-batch is not configured yet.
      dpkg: error processing adept (--configure):
      dependency problems - leaving unconfigured
      Errors were encountered while processing:
      apt-index-watcher
      debtags
      adept-common
      adept-manager
      adept-installer
      adept-updater
      adept-notifier
      adept-batch
      adept


      sudo dpkg --audit
      The following packages have been unpacked but not yet configured.
      They must be configured using dpkg --configure or the configure
      menu option in dselect for them to work:
      adept-notifier system tray notifier of available system updates
      adept-common package manager for KDE -- common files
      adept-updater system update tool for KDE
      debtags Enables support for package tags
      adept package management suite for KDE
      adept-installer simple user interface for application management (for KDE
      adept-manager package manager for KDE
      adept-batch command line install for Adept

      The following packages are only half configured, probably due to problems
      configuring them the first time. The configuration should be retried using
      dpkg --configure <package> or the configure menu option in dselect:
      apt-index-watcher Updater for apt-front indexes

      so i tried this

      sudo dpkg --configure adept-notifier
      dpkg: dependency problems prevent configuration of adept-notifier:
      adept-notifier depends on adept-updater; however:
      Package adept-updater is not configured yet.
      dpkg: error processing adept-notifier (--configure):
      dependency problems - leaving unconfigured
      Errors were encountered while processing:
      adept-notifier

      Comment


        #4
        Re: apt-get problem Please help :/

        Try the 'sudo dpkg --configure --pending' (or 'sudo dpkg --configure -a')

        That command should configure all pending (not yet configured) packages.

        Comment


          #5
          Re: apt-get problem Please help :/

          sudo dpkg --configure -a
          Setting up apt-index-watcher (0.3.9ubuntu5) ...
          * Starting apt index watcher apt-index-watcher invoke-rc.d: initscript apt-index-watcher, action "start" failed.
          dpkg: error processing apt-index-watcher (--configure):
          subprocess post-installation script returned error exit status 1
          dpkg: dependency problems prevent configuration of adept-common:
          adept-common depends on apt-index-watcher; however:
          Package apt-index-watcher is not configured yet.
          dpkg: error processing adept-common (--configure):
          dependency problems - leaving unconfigured
          dpkg: dependency problems prevent configuration of adept-updater:
          adept-updater depends on adept-common; however:
          Package adept-common is not configured yet.
          dpkg: error processing adept-updater (--configure):
          dependency problems - leaving unconfigured
          dpkg: dependency problems prevent configuration of debtags:
          debtags depends on apt-index-watcher; however:
          Package apt-index-watcher is not configured yet.
          dpkg: error processing debtags (--configure):
          dependency problems - leaving unconfigured
          dpkg: dependency problems prevent configuration of adept:
          adept depends on adept-updater; however:
          Package adept-updater is not configured yet.
          dpkg: error processing adept (--configure):
          dependency problems - leaving unconfigured
          dpkg: dependency problems prevent configuration of adept-installer:
          adept-installer depends on adept-common; however:
          Package adept-common is not configured yet.
          dpkg: error processing adept-installer (--configure):
          dependency problems - leaving unconfigured
          dpkg: dependency problems prevent configuration of adept-manager:
          adept-manager depends on adept-common; however:
          Package adept-common is not configured yet.
          dpkg: error processing adept-manager (--configure):
          dependency problems - leaving unconfigured
          dpkg: dependency problems prevent configuration of adept-batch:
          adept-batch depends on adept-manager; however:
          Package adept-manager is not configured yet.
          dpkg: error processing adept-batch (--configure):
          dependency problems - leaving unconfigured
          dpkg: dependency problems prevent configuration of adept-notifier:
          adept-notifier depends on adept-updater; however:
          Package adept-updater is not configured yet.
          dpkg: error processing adept-notifier (--configure):
          dependency problems - leaving unconfigured
          Errors were encountered while processing:
          apt-index-watcher
          adept-common
          adept-updater
          debtags
          adept
          adept-installer
          adept-manager
          adept-batch
          adept-notifier

          sudo dpkg --configure --pending
          Setting up apt-index-watcher (0.3.9ubuntu5) ...
          * Starting apt index watcher apt-index-watcher invoke-rc.d: initscript apt-index-watcher, action "start" failed.
          dpkg: error processing apt-index-watcher (--configure):
          subprocess post-installation script returned error exit status 1
          dpkg: dependency problems prevent configuration of adept-common:
          adept-common depends on apt-index-watcher; however:
          Package apt-index-watcher is not configured yet.
          dpkg: error processing adept-common (--configure):
          dependency problems - leaving unconfigured
          dpkg: dependency problems prevent configuration of adept-updater:
          adept-updater depends on adept-common; however:
          Package adept-common is not configured yet.
          dpkg: error processing adept-updater (--configure):
          dependency problems - leaving unconfigured
          dpkg: dependency problems prevent configuration of debtags:
          debtags depends on apt-index-watcher; however:
          Package apt-index-watcher is not configured yet.
          dpkg: error processing debtags (--configure):
          dependency problems - leaving unconfigured
          dpkg: dependency problems prevent configuration of adept:
          adept depends on adept-updater; however:
          Package adept-updater is not configured yet.
          dpkg: error processing adept (--configure):
          dependency problems - leaving unconfigured
          dpkg: dependency problems prevent configuration of adept-installer:
          adept-installer depends on adept-common; however:
          Package adept-common is not configured yet.
          dpkg: error processing adept-installer (--configure):
          dependency problems - leaving unconfigured
          dpkg: dependency problems prevent configuration of adept-manager:
          adept-manager depends on adept-common; however:
          Package adept-common is not configured yet.
          dpkg: error processing adept-manager (--configure):
          dependency problems - leaving unconfigured
          dpkg: dependency problems prevent configuration of adept-batch:
          adept-batch depends on adept-manager; however:
          Package adept-manager is not configured yet.
          dpkg: error processing adept-batch (--configure):
          dependency problems - leaving unconfigured
          dpkg: dependency problems prevent configuration of adept-notifier:
          adept-notifier depends on adept-updater; however:
          Package adept-updater is not configured yet.
          dpkg: error processing adept-notifier (--configure):
          dependency problems - leaving unconfigured
          Errors were encountered while processing:
          apt-index-watcher
          adept-common
          adept-updater
          debtags
          adept
          adept-installer
          adept-manager
          adept-batch
          adept-notifier

          Comment


            #6
            Re: apt-get problem Please help :/

            I'm not sure if I can help directly, but I can see your problem...

            Setting up apt-index-watcher (0.3.9ubuntu5) ...
            * Starting apt index watcher apt-index-watcher invoke-rc.d: initscript apt-index-watcher, action "start" failed.

            And everything else is just a chain of dependencies. Your problem is with apt-index-watcher.

            I don't know how to help you on that though.

            Good luck

            D1SxEyes

            Comment


              #7
              Re: apt-get problem Please help :/

              Originally posted by D1SxEyes
              Setting up apt-index-watcher (0.3.9ubuntu5) ...
              * Starting apt index watcher apt-index-watcher invoke-rc.d: initscript apt-index-watcher, action "start" failed.

              And everything else is just a chain of dependencies. Your problem is with apt-index-watcher.
              Yup, that's it. The post-installation script (/var/lib/dpkg/info/apt-index-watcher.postinst) can't start the apt-index-watcher daemon and exits with an error. This will also prevent the configuration of dependent packages. Unfortunately it's not immediately apparent (at least not to me) why it fails. To troubleshoot, you can try to run the start command used in the script to see if there are any useful error messages:
              Code:
              sudo invoke-rc.d apt-index-watcher start

              Comment


                #8
                Re: apt-get problem Please help :/

                well I tried that didnt get me very far
                sudo invoke-rc.d apt-index-watcher start
                * Starting apt index watcher apt-index-watcher invoke-rc.d: initscript apt-index-watcher, action "start" failed.


                what if I went in deleted that script would it rebuild a good one and go from there maybe?

                Comment


                  #9
                  Re: apt-get problem Please help :/

                  dunno if this might help or not but this is whats in the script Does it look Normal?

                  #!/bin/sh

                  # Remove shutdown and reboot links; this init script does not need them.
                  if dpkg --compare-versions "$2" lt "0.3.9ubuntu3"; then
                  rm -f /etc/rc0.d/K20apt-index-watcher /etc/rc6.d/K20apt-index-watcher
                  fi

                  # Automatically added by dh_installinit
                  if [ -x "/etc/init.d/apt-index-watcher" ]; then
                  update-rc.d apt-index-watcher multiuser >/dev/null
                  if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
                  invoke-rc.d apt-index-watcher start || exit $?
                  else
                  /etc/init.d/apt-index-watcher start || exit $?
                  fi
                  fi
                  # End automatically added section

                  Comment


                    #10
                    Re: apt-get problem Please help :/

                    May sound silly (feeding my reputation ) - but how about kicking the index watcher awake manually and restarting the "config pending" process subsequently, approximately as follows:

                    Code:
                    sudo /etc/init.d/apt-index-watcher start &
                    sudo dpkg --configure --pending
                    Remark: in case the script in question has gone astray, feel free to import a replacement ...

                    Code:
                    wget [url]http://www.penguin.ch/Repository/Config/Linuces/Unsorted/apt-index-watcher[/url]
                    sudo mv apt-index-watcher /etc/init.d/apt-index-watcher
                    sudo chown root.root /etc/init.d/apt-index-watcher
                    sudo chmod +x /etc/init.d/apt-index-watcher
                    Postscript: updated to reflect changes within my repository.

                    Comment


                      #11
                      Re: apt-get problem Please help :/

                      sudo /etc/init.d/apt-index-watcher start
                      * Starting apt index watcher apt-index-watcher
                      sudo apt-get dpkg --configure --pending
                      E: Command line option --configure is not understood

                      so after this just to be safe i went ahead and replaced the script i'll have to update later Gotta go to work! doh heh

                      Comment


                        #12
                        Re: apt-get problem Please help :/

                        Originally posted by John_A
                        sudo /etc/init.d/apt-index-watcher start
                        * Starting apt index watcher apt-index-watcher
                        did you get an '[ok]' at the end of the line to indicate succesful start?

                        sudo apt-get dpkg --configure --pending
                        too much there, don't include 'apt-get' in that command

                        Comment

                        Working...
                        X