Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 2008 15:56:28 +0100
From:      Mike Clarke <jmc-freebsd2@milibyte.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Can't upgrade or deinstall phpMyAdmin
Message-ID:  <200810221556.28731.jmc-freebsd2@milibyte.co.uk>

next in thread | raw e-mail | index | archive | help

FreeBSD curlew.lan 6.4-RC1 FreeBSD 6.4-RC1 #2: Sat Oct 18 23:08:47 BST 
2008     root@curlew.lan:/usr/obj/usr/src/sys/CURLEW  i386

I'm trying to upgrade phpMyAdmin from 2.11.5.2 to 3.0.0_1 but all 
attempts fail. If I try "make deinstall" I get the following result:

-------------------------------------------------------------
curlew:/usr/ports/databases/phpmyadmin# make deinstall
===>  Deinstalling for databases/phpmyadmin
===>   Deinstalling phpMyAdmin-2.11.5.2
Segmentation fault
*** Error code 139

Stop in /usr/ports/databases/phpmyadmin.
-------------------------------------------------------------

Things go wrong very early in the process, here's part of the output 
from truss:

-------------------------------------------------------------
===>  Deinstalling for databases/phpmyadmin
wait4(0xffffffff,0xbfbfde38,0x0,0x0)             = 7 (0x7)
SIGNAL 20 (SIGCHLD)
SIGNAL 20 (SIGCHLD)
sigreturn(0xbfbfdb00)                            = 7 (0x7)
wait4(0xffffffff,0xbfbfde38,0x0,0x0)             = 1623 (0x657)
vfork()                                          = 1624 (0x658)
===>   Deinstalling phpMyAdmin-2.11.5.2
Segmentation fault
wait4(0xffffffff,0xbfbfde38,0x0,0x0)             = 7 (0x7)
SIGNAL 20 (SIGCHLD)
SIGNAL 20 (SIGCHLD)
sigreturn(0xbfbfdb00)                            = 7 (0x7)
wait4(0xffffffff,0xbfbfde38,0x0,0x0)             = 1624 (0x658)
fstat(1,{mode=crw------- ,inode=140,size=0,blksize=4096}) = 0 (0x0)
ioctl(1,TIOCGETA,0xbfbfd700)                     = 0 (0x0)
*** Error code 139
write(1,"*** Error code 139\n",19)               = 19 (0x13)
-------------------------------------------------------------

I've tried portsdb -uf and pkgdb with the F, L and u options but still 
no joy.

I'm not sure if this is relevant but a while ago I deinstalled apache 
1.3 and php 4 but forgot to deinstall phpMyAdmin. Today I installed 
apache 2.2 with php 5 and unsuccessfully tried to deinstall the old 
phpMyAdmin before doing this. Apache and php installed OK and the old 
phpMyAdmin works but really ought to be upgraded. I tried to deinstall 
phpMyAdmin again after installing the new packages but still have the 
same problem.

What should I do to persuade the old version to go?

-- 
Mike Clarke



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810221556.28731.jmc-freebsd2>