Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Mar 2015 11:53:33 -0700
From:      list_freebsd@bluerosetech.com
To:        freebsd-pkg@freebsd.org
Subject:   Re: Segfault on pkg upgrade wit php5-pgsql locked
Message-ID:  <551455AD.1040002@bluerosetech.com>
In-Reply-To: <550F50C6.2060002@bluerosetech.com>
References:  <550F50C6.2060002@bluerosetech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Can anyone help me with this?  I'm not the only one who has reported 
segfaults with locked packages and right now this is reliably 
reproducible on this system, but I can't just sit on this due to security.

Someone please help.

On 2015-03-22 16:31, list_freebsd@bluerosetech.com wrote:
> This is happening on 10.1-p3 amd64 after upgrading pkg from 1.4.4 to 1.4.12:
>
> # pkg upgrade
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up-to-date.
> All repositories are up-to-date.
> Checking for upgrades (48 candidates): 100%
> Processing candidates (48 candidates): 100%
>
> php5-pgsql-5.4.36 is locked and may not be modified
> Child process pid=69616 terminated abnormally: Segmentation fault
>
> Doing `pkg install -f pkg` then `pkg update -f` does not resolve this,
> but the problem is related to php5-pgsql being locked:
>
> # pkg info -k php5-pgsql
> php5-pgsql-5.4.36              yes
>
> # pkg upgrade
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up-to-date.
> All repositories are up-to-date.
> Checking for upgrades (48 candidates): 100%
> Processing candidates (48 candidates): 100%
>
> php5-pgsql-5.4.36 is locked and may not be modified
> Child process pid=69731 terminated abnormally: Segmentation fault
>
> # pkg unlock -xy php5-pgsql
> Unlocking php5-pgsql-5.4.36
>
> # pkg upgrade
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up-to-date.
> All repositories are up-to-date.
> Checking for upgrades (48 candidates): 100%
> Processing candidates (48 candidates): 100%
> The following 50 packages will be affected (of 0 checked):
>
> New packages to be INSTALLED:
>           postgresql93-client: 9.3.6_1
>           php56-session: 5.6.6
>           php56: 5.6.6
>           php56-xmlrpc: 5.6.6
>           php56-xml: 5.6.6
>           php56-mysql: 5.6.6
>           php56-mbstring: 5.6.6
>           php56-pgsql: 5.6.6
>
> Installed packages to be UPGRADED:
>           vim-lite: 7.4.560 -> 7.4.657
>           unzip: 6.0_2 -> 6.0_6
>           unbound: 1.5.1_2 -> 1.5.3_1
>           tevent: 0.9.21 -> 0.9.22
>           tdb: 1.2.13,1 -> 1.3.4,1
>           tcpdump: 4.5.1 -> 4.6.2
>           talloc: 2.1.0 -> 2.1.1
>           sqlite3: 3.8.7.4 -> 3.8.8.2
>           screen: 4.2.1_3 -> 4.2.1_5
>           samba36: 3.6.24_2 -> 3.6.25
>           postgresql92-server: 9.2.9_1 -> 9.2.10
>           postgresql92-client: 9.2.9_1 -> 9.2.10_1
>           pkgconf: 0.9.7 -> 0.9.8
>           php5-xmlrpc: 5.4.36 -> 5.4.38
>           php5-xml: 5.4.36 -> 5.4.38
>           php5-session: 5.4.36 -> 5.4.38
>           php5-pgsql: 5.4.36 -> 5.4.38
>           php5-mysql: 5.4.36 -> 5.4.38
>           php5-mbstring: 5.4.36 -> 5.4.38
>           php5: 5.4.36 -> 5.4.38
>           p5-Net-DNS: 0.81_1 -> 0.83_1
>           p5-BerkeleyDB: 0.54_2 -> 0.55
>           openssl: 1.0.1_16 -> 1.0.1_18
>           ntp: 4.2.8_3 -> 4.2.8p1
>           nsd: 4.1.0_1 -> 4.1.1
>           libtool: 2.4.2.418 -> 2.4.5
>           libpcap: 1.5.2 -> 1.6.2
>           libevent2: 2.0.21_3 -> 2.0.22_1
>           ldns: 1.6.17_3 -> 1.6.17_4
>           isc-dhcp42-server: 4.2.7 -> 4.2.8
>           gettext-tools: 0.19.3 -> 0.19.4
>           gettext-runtime: 0.19.3 -> 0.19.4
>           gettext: 0.19.3 -> 0.19.4
>           curl: 7.39.0_1 -> 7.41.0
>           cmake-modules: 3.1.0 -> 3.1.3
>           cmake: 3.1.0 -> 3.1.3
>           ca_root_nss: 3.17.3_1 -> 3.17.4_1
>           bind-tools: 9.10.1P1 -> 9.10.2
>           bash-static: 4.3.30_1 -> 4.3.33
>           automake: 1.14_1 -> 1.15
>
> Installed packages to be REINSTALLED:
>           postfixadmin-2.3.7_1 (direct dependency changed)
>           phppgadmin-5.1 (direct dependency changed)
>
> The process will require 30 MiB more space.
> 62 MiB to be downloaded.
>
> Proceed with this action? [y/N]:
> _______________________________________________
> freebsd-pkg@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-pkg
> To unsubscribe, send any mail to "freebsd-pkg-unsubscribe@freebsd.org"
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?551455AD.1040002>