Re: File size limit exceeded
On Sat, 2009-05-30 at 21:52 +0930, Miguel Obliviemo wrote:
> On Sat, 30 May 2009, Boyd Stephen Smith Jr. wrote:
> > In <[🔎] Pine.LNX.4.64.0905301440120.29670@calypso.view.net.au>, Miguel Obliviemo
> > wrote:
> >> apt-get remove postfix:
> >> Processing triggers for man-db ...
> >> /var/lib/dpkg/info/man-db.postinst:
> >> line 3: 6289 File size limit exceeded
Modify the file /var/lib/dpkg/info/man-db.postinst (usual disclamier: be
careful, make a copy, etc..): add "set -x" as the second line to get a
verbose output of what the posinst script is actually running.
> >> perl -e '@pwd = getpwnam("man"); $( = $) = $pwd[3]; $< = $> = $pwd[2];
> >> exec "/usr/bin/mandb", @ARGV' -- "$@"
Can you try running the command manually (slightly modified):
perl -e '@pwd = getpwnam("man"); print "gid:$pwd[3]\nuid:$pwd[2]\n";'
Then
perl -e '@pwd = getpwnam("man"); $( = $) = $pwd[3]; $< = $> = $pwd[2];
exec "/usr/bin/id"'
> >> E: Sub-process /usr/bin/dpkg exited unexpectedly
> >
> > How big is /etc/passwd?
>
> Tiny. It's a personal system.
Have you enabled some NSS (/etc/nsswitch.conf) or PAM extension
(/etc/pam.d/*) ?
Franklin
Reply to: