package pygopherd 2.0.17 failed to install/upgrade: subprocess post-installation script returned error exit status 1

Bug #251696 reported by Jonathan Rascher
2
Affects Status Importance Assigned to Milestone
pygopherd (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Binary package hint: pygopherd

Here's what happens when I try to install pygopherd:

bcat@zach:~$ sudo apt-get install pygopherd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  pygopherd
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/201kB of archives.
After this operation, 655kB of additional disk space will be used.
Selecting previously deselected package pygopherd.
(Reading database ... 103242 files and directories currently installed.)
Unpacking pygopherd (from .../pygopherd_2.0.17_all.deb) ...
Setting up pygopherd (2.0.17) ...
Starting Python Gopher Server: pygopherd.
Traceback (most recent call last):
  File "/usr/sbin/pygopherd", line 30, in <module>
    s = initialization.initeverything(conffile)
  File "/usr/lib/python2.5/site-packages/pygopherd/initialization.py", line 210, in initeverything
    initsecurity(config)
  File "/usr/lib/python2.5/site-packages/pygopherd/initialization.py", line 149, in initsecurity
    idsetuid = pwd.getpwnam(config.get("pygopherd", "setuid"))[2]
KeyError: 'getpwnam(): name not found: gopher'
Adding system user `gopher' (UID 116) ...
Adding new group `gopher' (GID 127) ...
Adding new user `gopher' (UID 116) with group `gopher' ...
Creating home directory `/var/gopher' ...
Your account has expired; please contact your system administrator
chsh: PAM authentication failed
dpkg: error processing pygopherd (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 pygopherd
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
Architecture: i386
Date: Thu Jul 24 23:14:49 2008
DistroRelease: Ubuntu 8.04
ErrorMessage: subprocess post-installation script returned error exit status 1
NonfreeKernelModules: nvidia
Package: pygopherd 2.0.17
PackageArchitecture: all
SourcePackage: pygopherd
Title: package pygopherd 2.0.17 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.24-20-generic i686

Revision history for this message
Jonathan Rascher (bcat) wrote :
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

Have you by any chance locked you root account (either with passwd -l or passwd -e)?

Changed in pygopherd:
status: New → Incomplete
Revision history for this message
Jonathan Rascher (bcat) wrote :

Yes. The other day, I temporarily enabled the root account so I could use it with cupsaddsmb. When I was done, I locked it with 'sudo passwd -l root' per the instructions in <https://help.ubuntu.com/community/RootSudo>.

Actually, I just did some more searching bases on what you said, and it looks like this is a duplicate of bug #238755. Thanks for the help, and I'm sorry if I wasted some of your time.

Revision history for this message
Jonathan Rascher (bcat) wrote :

s/bases on/based on/

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

No problem, thanks for confirming.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.