Announcement

Collapse
No announcement yet.

Adept getting error updating cairo-dock

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

    Adept getting error updating cairo-dock

    Every time I boot up the update icon is telling me I have one program to update. It is cairo-dock. So when I start Adept and install, I get this error:

    Commit failed.
    To continue, hit ok and we will try to recover. If you close the application now, we will not do anything and you may try to resolve the problem manually.
    (If you suspect this is a bug in Adept, please also provide the following exception description in the report).

    The error was:
    APT Error. Context:
    Running dpkg,
    [ /usr/bin/dpkg, --status-fd, 3, --unpack, /var/cache/apt/archives/cairo-dock_2.0.5_all.deb ],
    Sup-process returned error code 1,
    Error processing /var/cache/apt/archives/cairo-dock_2.0.5_all.deb : trying to overwrite `/usr/share/cairo-dock/default-icon.svg', which is also in package cairo-dock-data.

    I hit OK and Adept continues, but next time I boot, there I am again. How do I get rid of this?

    KUBUNTU 8.10 on Acer 5100-3949 Laptop w/ATI Radeon 1100 graphics

    Jim

    #2
    Re: Adept getting error updating cairo-dock

    This is a fault in the packaging, the file appears in both packages.This is a bug and a bug report should be filed.
    Now over to the solution,

    open a terminal window (konsole)
    type: sudo dpkg -i --force-overwrite <package>

    This Will tell the package installer to ignore the fact that the file appears in both packages and overwrite the file with the one in the package that is being installed.
    You should be carefull with this option (or any force option for that matter) but since the two packages belong to the same application this should probably not give you any problems.

    Comment

    Working...
    X