Announcement

Collapse
No announcement yet.

Error when upgrading to kde-3.5.2 [solved workaround]

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

    Error when upgrading to kde-3.5.2 [solved workaround]

    I get the following error when I try to upgrade to kde 3.5.2. seems to me that some of the packages lacks

    Code:
    sudo apt-get upgrade
    Reading package lists... Done
    Building dependency tree... Done
    You might want to run `apt-get -f install' to correct these.
    The following packages have unmet dependencies:
     kdeartwork: Depends: kscreensaver-xsavers (>= 4:3.5.2-0ubuntu2) but 4:3.5.1-0ubuntu1 is installed
     kdelibs: Depends: kdelibs-data (>= 4:3.5.2-0ubuntu0) but 4:3.5.1-0ubuntu11 is installed
     kdelibs4c2a: Depends: kdelibs-data (> 4:3.5.2) but 4:3.5.1-0ubuntu11 is installed
    E: Unmet dependencies. Try using -f.

    #2
    Re: Error when upgrading to kde-3.5.2

    have you run sudo apt-get update before running apt-get upgrade?
    Jucato's Data Core

    Comment


      #3
      Re: Error when upgrading to kde-3.5.2

      Originally posted by Jucato
      have you run sudo apt-get update before running apt-get upgrade?
      of cause I did. here is a bit more info:

      Code:
      sudo apt-get -f upgrade
      Reading package lists... Done
      Building dependency tree... Done
      Correcting dependencies... Done
      The following packages have been kept back:
       kpresenter kword
      The following packages will be upgraded:
       kscreensaver-xsavers
      1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
      316 not fully installed or removed.
      Need to get 0B/116kB of archives.
      After unpacking 946kB disk space will be freed.
      Do you want to continue [Y/n]? y
      (Reading database ... 170485 files and directories currently installed.)
      Preparing to replace kscreensaver-xsavers 4:3.5.1-0ubuntu1 (using .../kscreensaver-xsavers_4%3a3.5.2-0ubuntu2_i386.deb) ...
      Unpacking replacement kscreensaver-xsavers ...
      dpkg: error processing /var/cache/apt/archives/kscreensaver-xsavers_4%3a3.5.2-0ubuntu2_i386.deb (--unpack):
       trying to overwrite `/usr/share/applnk/System/ScreenSavers/KBanner.desktop', which is also in package kscreensaver
      dpkg-deb: subprocess paste killed by signal (Broken pipe)
      Errors were encountered while processing:
       /var/cache/apt/archives/kscreensaver-xsavers_4%3a3.5.2-0ubuntu2_i386.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)

      Comment


        #4
        Re: Error when upgrading to kde-3.5.2

        Hi,

        It seems to be because of conflict with an existing file which is also in new package... Why are you not using apt-get dist-upgrade ? Or dpkg-install -f /var/cache/apt/archives/kscreensaver-xsavers_4%3a3.5.2-0ubuntu2_i386.deb

        Hope it helped

        Comment


          #5
          Re: Error when upgrading to kde-3.5.2

          I've tried the dist-upgrade, although Ithought it was only ment to be used on major upgrades. eg breezy to dapper. Ayways here is what it gave me:
          Code:
          sudo apt-get -f dist-upgrade
          Reading package lists... Done
          Building dependency tree... Done
          Correcting dependencies... Done
          Calculating upgrade... Done
          The following NEW packages will be installed:
           kscreensaver-xsavers
          0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
          320 not fully installed or removed.
          Need to get 0B/116kB of archives.
          After unpacking 885kB of additional disk space will be used.
          Do you want to continue [Y/n]? y
          (Reading database ... 170360 files and directories currently installed.)
          Unpacking kscreensaver-xsavers (from .../kscreensaver-xsavers_4%3a3.5.2-0ubuntu2_i386.deb) ...
          dpkg: error processing /var/cache/apt/archives/kscreensaver-xsavers_4%3a3.5.2-0ubuntu2_i386.deb (--unpack):
           trying to overwrite `/usr/share/applnk/System/ScreenSavers/KBanner.desktop', which is also in package kscreensaver
          dpkg-deb: subprocess paste killed by signal (Broken pipe)
          Errors were encountered while processing:
           /var/cache/apt/archives/kscreensaver-xsavers_4%3a3.5.2-0ubuntu2_i386.deb
          E: Sub-process /usr/bin/dpkg returned an error code (1)
          and the dpkg don't have an force option so it went:
          Code:
          sudo dpkg -i /var/cache/apt/archives/kscreensaver-xsavers_4%3a3.5.2-0ubuntu2_i386.deb
          (Reading database ... 170360 files and directories currently installed.)
          Unpacking kscreensaver-xsavers (from .../kscreensaver-xsavers_4%3a3.5.2-0ubuntu2_i386.deb) ...
          dpkg: error processing /var/cache/apt/archives/kscreensaver-xsavers_4%3a3.5.2-0ubuntu2_i386.deb (--install):
           trying to overwrite `/usr/share/applnk/System/ScreenSavers/KBanner.desktop', which is also in package kscreensaver
          dpkg-deb: subprocess paste killed by signal (Broken pipe)
          Errors were encountered while processing:
           /var/cache/apt/archives/kscreensaver-xsavers_4%3a3.5.2-0ubuntu2_i386.deb

          Ialso tried to remove the conflicting packages, in the only result that it wanted to install it again :P

          Comment


            #6
            Re: Error when upgrading to kde-3.5.2

            I get similar messages when using the GUI version of adept. What is more, once the install has'broken' I cannot get back in because it says the apt database is locked by another program. I then only get in as read only. I have had this problem before and got round it by killing apt processes but this time there do not apear to be any apt processes running. I have got back in by doing "aptitude --configure -a" but there is plainly an improvement required for adept as well as a necessary fix to the dependencies as packaged to date for kde 3.5.2. I am also getting a warning about a mime octet stream not existing when I go into adept. This predated the atempt to upgrade to kde 3.5.2.
            Chris<br />;-)

            Comment


              #7
              Re: Error when upgrading to kde-3.5.2

              You can use :
              dpkg -install --force-all <package name>
              to force overwriting of existing files, it should work for this trouble...

              Hope it helped.

              Comment


                #8
                Re: Error when upgrading to kde-3.5.2 [solved]

                Hehey thank you so much sky. I should have thought of this myself, but thats how it is

                Comment


                  #9
                  Re: Error when upgrading to kde-3.5.2

                  The problems installing KDE 3.5.2 are due to a known bug in the Kubuntu package. It has been reported, and will be fixed when Jonathan Riddell (or whoever) gets to it. I can vouch that it installs in Debian Sid, so it shouldn't be that difficult to repair in Kubuntu, he said crossing fingers and toes.

                  Comment


                    #10
                    Re: Error when upgrading to kde-3.5.2

                    You're welcome morgoth, it's always easier when you're looking from another point
                    Cheers

                    Comment


                      #11
                      Re: Error when upgrading to kde-3.5.2

                      is this morgoth, the libranet junkie?

                      here we are again . . .

                      regards and wishing you well.
                      --<br />wishing you well

                      Comment

                      Working...
                      X