Bug#648371: Update Manager failed - sub process reported error. Log files said gnome-menus.postinst: 4: gnome-menus-blacklist: not found

Jay E. lin-jay at jay-e.net
Thu Nov 10 20:25:49 UTC 2011


Package: gnome-menus
Version: 2.30.3-1
Severity: normal

Ran graphical update manager.
It exited with errors.
poked into /var/log/apt  it said:
Upgrade xulrunner-1.91:i386 (1.9.1.16-10, 1.9.1.16-11),
        iceweasel:i386 (3.5.16-10, 3.5.16-11)
        libmozjs2d:i386 (1.9.1.16-10, 1.9.1.16-11),
        libssl0.9.8:i386 (0.9.8o.4squeeze3, 0.9.8o.4squeeze4)
        openssl:i386 (0.9.8o.4squeeze3, 0.9.8o.4squeeze4)

Error: Sub-process /usr/bin/dpkg returned an error code (1)

Then, I poked into term.log.
it had
....
  Unpacking replacement iceweasel ...
  Preparing to replace openssl
  Unpacking openssl
  Processing triggers for man-db
  Processing triggers for desktop-file-utils
  Processing triggers for gnome-menus ...
   /var/lib/dpkg/info/gnome-menus.postinstall: 4: gnome-menus-blacklist: not
found
  dpkg: error processing gnome-menus (--unpack)
  sub-process installed post-installation script returned error exit status 127

I looked around and found bug #641030 - but it dealt with sudo and the sudoers
file.

I started a new window and did a su to root.
# aptitude update
# aptitude reinstall gnome-menus

it said:
 ...
The partially installed packages will be configured:
   iceweasel,
   libmozjs2d,
   libssl0.9.8,
   openssl,
   xulrunner-1.9.1

..... and the same error came out again:
/var/lib/dpkg/info/gnome-menus.postinstall: 4: gnome-menus-blacklist: not found

It tried to recover.
Nope.

---
I looked for the file.
  /etc/gnome/menus.blaclist   exists with  -rw-r--r-- permission, owned by
root:root

---
hmm
/var/lib/dpkg/info/gnome-menus.postinst    had:
#! /bin/bash
set -e

gnome-menus-blacklist

if [ "$1" = triggered ]; then
    exit 0
fi

----------------
Further installs look like they fail.
they try to finish these partially installed packages and fail out.

Thanks in advance.
Jay E.



-- System Information:
Debian Release: 6.0.3
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome-menus depends on:
ii  python                  2.6.6-3+squeeze6 interactive high-level object-orie
ii  python-gmenu            2.30.3-1         an implementation of the freedeskt

gnome-menus recommends no packages.

gnome-menus suggests no packages.

-- no debconf information





More information about the pkg-gnome-maintainers mailing list