From mitya@dhcp175-40-red.yandex.net  Thu Oct 31 13:27:27 2013
Return-Path: <mitya@dhcp175-40-red.yandex.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id D91355EB
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 31 Oct 2013 13:27:27 +0000 (UTC)
	(envelope-from mitya@dhcp175-40-red.yandex.net)
Received: from dhcp175-40-red.yandex.net (unknown [IPv6:2a02:6b8:0:408:219:d1ff:fe7e:b651])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 5A8F62CB2
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 31 Oct 2013 13:27:26 +0000 (UTC)
Received: from dhcp175-40-red.yandex.net (localhost [127.0.0.1])
	by dhcp175-40-red.yandex.net (8.14.7/8.14.7) with ESMTP id r9VDR1ma076000
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 31 Oct 2013 17:27:01 +0400 (MSK)
	(envelope-from mitya@dhcp175-40-red.yandex.net)
Received: (from root@localhost)
	by dhcp175-40-red.yandex.net (8.14.7/8.14.7/Submit) id r9VDR19u075999;
	Thu, 31 Oct 2013 17:27:01 +0400 (MSK)
	(envelope-from mitya)
Message-Id: <201310311327.r9VDR19u075999@dhcp175-40-red.yandex.net>
Date: Thu, 31 Oct 2013 17:27:01 +0400 (MSK)
From: Dmitry Sivachenko <demon@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: pkg(8) database state is inconsistent
X-Send-Pr-Version: 3.114
X-GNATS-Notify:

>Number:         183527
>Category:       bin
>Synopsis:       pkg(8) database state is inconsistent
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    bapt
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 31 13:30:01 UTC 2013
>Closed-Date:    Thu Oct 31 14:10:29 UTC 2013
>Last-Modified:  Thu Oct 31 14:10:29 UTC 2013
>Originator:     Dmitry Sivachenko
>Release:        FreeBSD 10.0-BETA1 amd64
>Organization:
>Environment:
System: FreeBSD dhcp175-40-red.yandex.net 10.0-BETA1 FreeBSD 10.0-BETA1 #0 r256900: Tue Oct 22 20:16:15 MSK 2013 mitya@dhcp175-40-red.yandex.net:/usr/obj/usr/src/sys/CAVIA amd64


	
>Description:
I am using newborn pkg(8) to manage packages.  Now I noticed the following:

# pkg delete python27
pkg: Error while trying to delete packages, dependencies that are still required:
lang/python27: textproc/py-libxml2

root@dhcp175-40-red:/home/mitya # pkg delete py-libxml2
Package(s) not found!
# 

>How-To-Repeat:
>Fix:

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->bapt 
Responsible-Changed-By: demon 
Responsible-Changed-When: Thu Oct 31 13:31:25 UTC 2013 
Responsible-Changed-Why:  
Over to pkg(8) maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183527 
State-Changed-From-To: open->closed 
State-Changed-By: bapt 
State-Changed-When: Thu Oct 31 14:10:29 UTC 2013 
State-Changed-Why:  
the package name is py27-libxml2 not py-libxml2 if you had type pkg 
delete py27-libxml2 or textproc/py-libxml2 then it would have work, the 
database register what it has been asked, in this case the naming 
difference comes from the ports tree. Hence not a bug, regards, 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183527 
>Unformatted:
