Hello Csanyi, Csanyi Pal <csanyi...@gmail.com> wrote: > Hi, > > I downloaded wxdesigneru from here: > http://www.wxdesigner-software.de/wxdesigneru_2.20-2_amd64.deb > > and tried to install it but failed. > > Now I'm trying to purge this debian package with command: > > sudo dpkg -P wxdesigneru > (Reading database ... 367548 files and directories currently installed.) > Removing wxdesigneru ... > xdg-desktop-menu: No writable system menu directory found. > dpkg: error processing wxdesigneru (--purge): > subprocess installed pre-removal script returned error exit status 3 > xdg-desktop-menu: No writable system menu directory found. > dpkg: error while cleaning up: > subprocess installed post-installation script returned error exit status 3 > Errors were encountered while processing: > wxdesigneru
The problem is the prerm script of this package, which does some apparently strange stuff with a xdg provided by the package([1]). You might want to try removing the file /var/lib/dpkg/wxdesigneru.prerm but I don’t know for sure if this will work. Afterwards, try again with dpkg -P. You might have to manually clean up some .desktop files or icons afterwards, try: find /usr /etc /home /var -name '*wxDesigner*' Best regards, Claudius [1] Contents of debian/prerm: ->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->-> #!/bin/bash RPM_INSTALL_PREFIX= export RPM_INSTALL_PREFIX /opt/wxDesigner/xdg-icon-resource uninstall --novendor --size 24 /opt/wxDesigner/wxDesigner.png application-wxDesigner /opt/wxDesigner/xdg-mime uninstall --novendor /opt/wxDesigner/wxDesigner_xdg.xml /opt/wxDesigner/xdg-desktop-menu uninstall --novendor /opt/wxDesigner/wxDesigner.desktop <-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<- -- The best way to keep your friends is not to give them away. Please use GPG: ECB0C2C7 4A4C4046 446ADF86 C08112E5 D72CDBA4 http://chubig.net/ http://nightfall.org
signature.asc
Description: PGP signature