Preparing to replace ubuntustudio-menu 0.9 (using .../ubuntustudio-menu_0.11_all.deb) ...
Unpacking replacement ubuntustudio-menu ...
Removing `diversion of /etc/xdg/menus/applications.menu to /etc/xdg/menus/applications.menu.orig by ubuntustudio-menu'
dpkg-divert: rename involves overwriting `/etc/xdg/menus/applications.menu' with
different file `/etc/xdg/menus/applications.menu.orig', not allowed
dpkg: warning - old post-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
dpkg: error processing /var/cache/apt/archives/ubuntustudio-menu_0.11_all.deb (--unpack):
there is no script in the new version of the package - giving up
Here is what is causing the error:
Preparing to replace ubuntustudio-menu 0.9 (using .../ubuntustudi o-menu_ 0.11_all. deb) ... menus/applicati ons.menu to /etc/xdg/ menus/applicati ons.menu. orig by ubuntustudio-menu' menus/applicati ons.menu' with menus/applicati ons.menu. orig', not allowed apt/archives/ ubuntustudio- menu_0. 11_all. deb (--unpack):
Unpacking replacement ubuntustudio-menu ...
Removing `diversion of /etc/xdg/
dpkg-divert: rename involves overwriting `/etc/xdg/
different file `/etc/xdg/
dpkg: warning - old post-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
dpkg: error processing /var/cache/
there is no script in the new version of the package - giving up