Announcement

Collapse
No announcement yet.

apt in a broken state

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

    apt in a broken state

    So I was upgrading GG to HH inside a virtual machine when Windows bluescreened. Ugh. I've managed to get things running, but I can't seem to upgrade some packages. When running apt-get upgrade, I get:

    (Reading database ... dpkg: error processing /var/cache/apt/archives/kde-icons-oxygen_4%3a4.0.83-0ubuntu1~hardy1~ppa5_all.deb (--unpack):
    files list file for package `kde4libs-bin' is missing final newline
    Errors were encountered while processing:
    /var/cache/apt/archives/kde-icons-oxygen_4%3a4.0.83-0ubuntu1~hardy1~ppa5_all.deb
    Processing was halted because there were too many errors.
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    sudo apt-get install --fix-broken doesn't seem to do anything helpful. Is there anything else I can try?

    Thanks...

    #2
    Re: apt in a broken state

    try sudo apt-get autoremove
    sudo apt-get autoclean
    sudo apt-get clean

    esp. after apt-get clean - try re-downloading/installing kde4, etc..
    Wanna know more about Me and My computer then click here

    Comment


      #3
      Re: apt in a broken state

      The first three suggestions all resulted in the same error. Got anything less drastic than the fourth?

      Comment


        #4
        Re: apt in a broken state

        sudo apt-get install -f
        Wanna know more about Me and My computer then click here

        Comment


          #5
          Re: apt in a broken state

          Same. That's equivalent to what I mentioned in my original post, isn't it?

          Comment


            #6
            Re: apt in a broken state

            oh yeah, sorry but I don't know then sorry.
            Wanna know more about Me and My computer then click here

            Comment


              #7
              Re: apt in a broken state

              Open a console and execute the following commands:
              sudo apt-get clean
              clears out the local repository of retrieved package files.
              It removes everything but the lock file from
              /var/cache/apt/archives/ and /var/cache/apt/archives/partial/.
              Code:
              sudo rm /var/cache/apt/archives/lock
              sudo rm /var/cache/apt/archives/partial/lock
              This will remove the lock file(s) if they are present.
              Code:
              sudo apt-get update
              This forces a check for updates to installed packages.

              See if this helps.
              Windows no longer obstructs my view.
              Using Kubuntu Linux since March 23, 2007.
              "It is a capital mistake to theorize before one has data." - Sherlock Holmes

              Comment


                #8
                Re: apt in a broken state

                Still the same result. Is there a chance that the package is corrupt on the server?

                Comment


                  #9
                  Re: apt in a broken state

                  One last thing to try, before throwing in the towel:

                  Code:
                  sudo dpkg --configure -a

                  Good luck!

                  Comment


                    #10
                    Re: apt in a broken state

                    Same result. *sigh*

                    Comment

                    Working...
                    X