Announcement

Collapse
No announcement yet.

Unable to upgrade to KDE 4.4 due to kword-data

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

    Unable to upgrade to KDE 4.4 due to kword-data

    I tried to upgrade to KDE SC 4.4 today as per instructions (for Kubuntu 9.10), but when I do an upgrade I get an error message saying that kword-data-kde4 is trying to overwrite /usr/share/kde4/apps/kword/styles/defaultstyles.xml that is in the package kword-kde4 1:2.0.2-2ubuntu3.

    This stops important packages to be upgraded and therefore I end up with a KDE installation that crashes when logging in (I am now using Gnome...). And there are a lot of packages that are held back...

    The exact error message (in Swedish) is (with an English translation below):

    sudo apt-get upgrade
    Läser paketlistor... Färdig
    Bygger beroendeträd
    Läser tillståndsinformation... Färdig
    Följande paket har hållits tillbaka:
    akregator gwenview kaddressbook karbon-kde4 kchart-kde4
    kdebase-workspace-bin kdebase-workspace-data
    kdebase-workspace-kgreet-plugins kdegraphics-strigi-plugins kdepim-groupware
    kdepim-kresources kdepim-runtime kdepim-runtime-data kdepim-runtime-libs4
    kdepim-strigi-plugins kdepim-wizards kdepimlibs-data kdepimlibs5 kdm
    kipi-plugins kmail knotes koffice-kde4 koffice-libs-kde4 kontact kopete
    korganizer kplato-kde4 kpresenter-kde4 krita-kde4 kspread-kde4
    kthesaurus-kde4 ktimetracker kubuntu-desktop kword-kde4 libkabcommon4
    libkdepim4 libkleo4 libkontactinterfaces4 libkopete4 libkorundum4-ruby1.8
    libkpgp4 libksieve4 libmimelib4 libsmokekde4-2 plasma-dataengines-workspace
    plasma-widgets-workspace python-kde4
    Följande paket kommer att uppgraderas:
    kword-data-kde4
    1 att uppgradera, 0 att nyinstallera, 0 att ta bort och 48 att inte uppgradera.
    Behöver hämta 0B/134kB arkiv.
    Efter denna åtgärd kommer 81,9kB att frigöras på disken.
    Vill du fortsätta [J/n]? j
    (Läser databasen ... 295918 filer och kataloger installerade.)
    Förbereder att ersätta kword-data-kde4 1:2.0.2-2ubuntu3 (med .../kword-data-kde4_1%3a2.1.0-0ubuntu1~karmic1~ppa2_all.deb) ...
    Packar upp ersättande kword-data-kde4 ...
    dpkg: fel vid hantering av /var/cache/apt/archives/kword-data-kde4_1%3a2.1.0-0ubuntu1~karmic1~ppa2_all.deb (--unpack):
    försöker skriva över "/usr/share/kde4/apps/kword/styles/defaultstyles.xml" som också finns i paketet kword-kde4 1:2.0.2-2ubuntu3
    Fel uppstod vid hantering:
    /var/cache/apt/archives/kword-data-kde4_1%3a2.1.0-0ubuntu1~karmic1~ppa2_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    The (probably) important lines read:

    Do you want to continue [Y / n]? j
    (Reading database ... 295,918 files and directories currently installed.)
    Preparing to replace kword-data-kde4 1:2.0.2-2ubuntu3 (with .../kword-data-kde4_1 :2.1.0-0ubuntu1 ~ karmic1 ~ ppa2_all.deb) ...
    Unpacking replacement kword-data-kde4 ...
    dpkg: error processing / var/cache/apt/archives/kword-data-kde4_1 :2.1.0-0ubuntu1 ~ karmic1 ~ ppa2_all.deb (- unpack):
    trying to overwrite `/ usr/share/kde4/apps/kword/styles/defaultstyles.xml" which is also in package kword-kde4 1:2.0.2-2ubuntu3
    Errors were encountered while processing:
    / var/cache/apt/archives/kword-data-kde4_1 :2.1.0-0ubuntu1 ~ karmic1 ~ ppa2_all.deb
    E: Sub-process / usr / bin / dpkg returned an error code (1)

    Could anyone help me in this?

    Best regards,

    Tobias

    #2
    Re: Unable to upgrade to KDE 4.4 due to kword-data

    First thing to try:

    Open konsole and type:

    Code:
    sudo apt-get install -f
    sudo dpkg --configure -a
    If that doesn't get it going, then:

    Code:
    sudo dpkg -i --force-overwrite /var/cache/apt/archives/kword-data-kde4_1%3a2.1.0-0ubuntu1~karmic1~ppa2_all.deb
    (all of that on one line)
    I am not sure what the Swedish translation of that would be, but you can probably find it in "man apt-get", if the above doesn't work.
    Then repeat the above two lines.
    Once that goes through, you may need to run 'sudo apt-get dist-upgrade' again to make sure
    the rest of the updates are installed.
    The problem is that more than one package has the same file in it, and by default, the apt package system won't allow that. The --force-overwrite option tells it it go ahead and install anyway.

    We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

    Comment


      #3
      Re: Unable to upgrade to KDE 4.4 due to kword-data

      Thanks!

      It works great now! I am very grateful for your help!

      Best regards,

      Tobias

      Comment

      Working...
      X