You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. run fetch-slimrat-svn-ubuntu-package.sh and create deb files
2. install .deb files
3. try uninstalling .deb files
What is the expected output? What do you see instead?
I expect slimrat to uninstall properly Instead, I get this:
-------------
$ sudo apt-get remove slimrat
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
slimrat
0 upgraded, 0 newly installed, 1 to remove and 26 not upgraded.
After this operation, 122kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 244071 files and directories currently installed.)
Removing slimrat ...
/var/lib/dpkg/info/slimrat.postrm: 4: update-menus: not found
dpkg: error processing slimrat (--remove):
subprocess installed post-removal script returned error exit status 127
Processing triggers for hicolor-icon-theme ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for desktop-file-utils ...
Processing triggers for python-support ...
Errors were encountered while processing:
slimrat
E: Sub-process /usr/bin/dpkg returned an error code (1)
-----------
This leaves slimrat in a half installed state which prevents me from installing
or uninstalling anything new.
My only solution was to edit /var/lib/dpkg/info/slimrat.postrm and comment out
the line trying to run update-menus.
What version of the product are you using? On what operating system?
I am running ubuntu lucid 10.04.
It apparently does not have update-menus installed
Please provide any additional information below.
/var/lib/dpkg/info/slimrat.postrm assumes that update-menus is installed. Here
is the file:
-------------
#!/bin/sh
set -e
# Automatically added by dh_installmenu
if [ -x ]; then update-menus ; fi
# End automatically added section
update-icon-caches /usr/share/icons/hicolor
---------------
Contrast this with /var/lib/dpkg/info/slimrat.postinst, which checks to make
sure update-menus exists:
-------------
#!/bin/sh
set -e
# Automatically added by dh_installmenu
if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
update-menus
fi
# End automatically added section
-------------
Original issue reported on code.google.com by [email protected] on 22 Dec 2010 at 11:45
The text was updated successfully, but these errors were encountered:
I tested on fresh install of Ubuntu 10.10.
At first script need to be updated - add package "menu".
So "sudo apt-get install subversion coreutils dpkg fakeroot gawk menu"
Then I build packages of slimrat, but there is still many missing packages. So,
after
"sudo dpkg -i slimrat-nox_*.deb slimrat_*.deb" I need, to do "sudo apt-get install -f" to install missing dependencies.
Here is list of missing dependencies:
aview imagemagick libcdt4 libcrypt-ssleay-perl libfilter-perl libgraph4
libgtk2-gladexml-perl libgvc5 libhttp-server-simple-perl libilmbase6
libio-socket-ssl-perl libmagickcore3-extra libnet-libidn-perl
libnet-ssleay-perl libnetpbm10 libopenexr6 libpathplan4 libspiffy-perl
libwww-mechanize-perl libxdot4 netpbm tesseract-ocr tesseract-ocr-eng xclip
So, after all command before building have to be "sudo apt-get install
subversion coreutils dpkg fakeroot gawk menu aview imagemagick libcdt4
libcrypt-ssleay-perl libfilter-perl libgraph4 libgtk2-gladexml-perl libgvc5
libhttp-server-simple-perl libilmbase6 libio-socket-ssl-perl
libmagickcore3-extra libnet-libidn-perl libnet-ssleay-perl libnetpbm10
libopenexr6 libpathplan4 libspiffy-perl libwww-mechanize-perl libxdot4 netpbm
tesseract-ocr tesseract-ocr-eng xclip"
Original issue reported on code.google.com by
[email protected]
on 22 Dec 2010 at 11:45The text was updated successfully, but these errors were encountered: