NetBSD Problem Report #53114

From john@violet.zia.io  Tue Mar 20 17:03:58 2018
Return-Path: <john@violet.zia.io>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 2DFD47A1B0
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 20 Mar 2018 17:03:58 +0000 (UTC)
Message-Id: <20180320170356.57FCBD85066@violet.zia.io>
Date: Tue, 20 Mar 2018 17:03:56 +0000 (UTC)
From: john@ziaspace.com
Reply-To: john@ziaspace.com
To: gnats-bugs@NetBSD.org
Subject: devel/libusb-compat can't be updated
X-Send-Pr-Version: 3.95

>Number:         53114
>Category:       pkg
>Synopsis:       devel/libusb-compat can't be
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          analyzed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 20 17:05:00 +0000 2018
>Closed-Date:    
>Last-Modified:  Tue Mar 20 22:09:08 +0000 2018
>Originator:     John Klos
>Release:        NetBSD 8.0_BETA
>Organization:

>Environment:


System: NetBSD violet.zia.io 8.0_BETA NetBSD 8.0_BETA (VIOLET-$Revision: 8.0e $) #0: Fri Feb 2 06:22:22 UTC 2018 john@helena.zia.io:/usr/release/obj-sparc64/sys/arch/sparc64/compile/VIOLET sparc64
Architecture: sparc64
Machine: sparc64
>Description:

Attempting to run pkg_rolling-replace on a system which has SDL2 as a dependency
for something else fails at devel/libusb-compat with:

===> su-real-package-install [libusb-compat-0.1.6rc2 SDL2-2.0.8] ===> Installing binary package of libusb-compat-0.1.6rc2
pkg_add: Package `libusb-compat-0.1.6rc2' conflicts with `libusb-[0-9]*', and `libusb-0.1.12nb5' is installed.
pkg_add: Installed package `libusb-0.1.12nb5' conflicts with `libusb-compat-[0-9]*' when trying to install `libusb-compat-0.1.6rc2'.
pkg_add: 1 package addition failed
*** Error code 1

Stop.
make[3]: stopped in /usr/pkgsrc/devel/libusb-compat
*** Error code 1

Trying to delete the conflicting package results in:

pkg_delete libusb-0.1.12nb5
Package `libusb-0.1.12nb5' is still required by other packages:
        SDL2-2.0.7nb1

>How-To-Repeat:

>Fix:

Perhaps pkg_delete -f libusb-0.1.12nb5, try again, and hope for the best.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->analyzed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Tue, 20 Mar 2018 22:09:08 +0000
State-Changed-Why:
This is a well-known problem in pkg_rolling-replace and has nothing to do with libusb-compat
except that it triggered it again...


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.