[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debconf frontend / perl error



Hello again, 

Writing back to provide some more info on this, snipped a lot of stuff
below...


On 03-12-16 01:02 -0500, Kenneth Dombrowski wrote:
> 
> It's debian unstable, kernel: 
> Linux enlil 2.4.20-2003-03-03 #1 Mon Mar 3 14:38:11 EST 2003 i686 GNU/Linux
> 
> package versions involved:
> ii  perl           5.8.2-2        Larry Wall's Practical Extraction and Report
> ii  dpkg           1.10.18        Package maintenance system for Debian
> ii  apt            0.5.14         Advanced front-end for dpkg
> ii  aptitude       0.2.13-2       curses-based apt frontend
can't believe I forgot debconf..
it was the latest version (1.3.22 i think) until an hour ago when I
downloaded an earlier version & tried to install it with `dpkg -i`
  iF  debconf        1.3.20         Debian configuration management system

> 
> The error, which is happening with passwd, zsh, cupsys-bsd, and 
> common-lisp-controller, whether using aptitude, apt-get or dpkg -i:

and now debconf

> kenneth@enlil:/var/cache/apt/archives$ sudo dpkg -i passwd_1%3a4.0.3-15_i386.deb(Reading database ... 103522 files and directories currently installed.)
> Preparing to replace passwd 1:4.0.3-15 (using passwd_1%3a4.0.3-15_i386.deb) ...
> Unpacking replacement passwd ...
> Setting up passwd (4.0.3-15) ...
> /var/lib/dpkg/info/passwd.postinst: /usr/share/debconf/frontend: /usr/bin/perl: bad interpreter: Permission denied
> /var/lib/dpkg/info/passwd.postinst: line 13: /usr/share/debconf/frontend: Successdpkg: error processing passwd (--install):
>  subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>  passwd
> 

the end of an `strace` log is..

write(6, "eb\nSize: 669342\nMD5sum: 9a877006"..., 7587) = 7587
close(6)                                = 0
unlink("/var/lib/dpkg/available-old")   = 0
link("/var/lib/dpkg/available", "/var/lib/dpkg/available-old") = 0
rename("/var/lib/dpkg/available-new", "/var/lib/dpkg/available") = 0
close(4)                                = 0
munmap(0x40018000, 4096)                = 0
unlink("/var/lib/dpkg/updates/tmp.i")   = 0
fcntl64(3, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}, 0xbffff890) = 0
write(2, "Errors were encountered while pr"..., 42) = 42
write(2, " debconf\n", 9)               = 9
exit_group(1)                           = ?

towards the top of the strace, there's a few missed files..

access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=53688, ...}) = 0
old_mmap(NULL, 53688, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3

...

open("/root/.dpkg.cfg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)

...

stat64("/sbin/ldconfig", {st_mode=S_IFREG|0755, st_size=470840, ...}) = 0
stat64("/sbin/start-stop-daemon", {st_mode=S_IFREG|0755, st_size=18424, ...}) = 0
stat64("/sbin/install-info", 0xbffff850) = -1 ENOENT (No such file or directory)
stat64("/bin/install-info", 0xbffff850) = -1 ENOENT (No such file or directory)
stat64("/usr/sbin/install-info", {st_mode=S_IFREG|0755, st_size=14021, ...}) = 0
stat64("/sbin/update-rc.d", 0xbffff850) = -1 ENOENT (No such file or directory)
stat64("/bin/update-rc.d", 0xbffff850)  = -1 ENOENT (No such file or directory)
stat64("/usr/sbin/update-rc.d", {st_mode=S_IFREG|0755, st_size=5074, ...}) = 0
open("/var/lib/dpkg/diversions", O_RDONLY|O_LARGEFILE) = 5


but all before it gets to postint.
I put the whole strace up @ 
http://www.ylayali.net/assets/lists/dpkg--configure_debconf.log


I had to unsubscribe for a few days while I work on migrating my mail
server, so please cc me on replies

thanks!
Kenneth



Reply to: