From owner-freebsd-ports-bugs@freebsd.org Wed May 3 11:22:57 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B063D5BC96 for ; Wed, 3 May 2017 11:22:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 11886C57 for ; Wed, 3 May 2017 11:22:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v43BMuju053948 for ; Wed, 3 May 2017 11:22:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 219036] ports-mgmt/pkg: pkg confused, installs older version over newer Date: Wed, 03 May 2017 11:22:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: scratch65535@att.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 May 2017 11:22:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219036 Bug ID: 219036 Summary: ports-mgmt/pkg: pkg confused, installs older version over newer Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: pkg@FreeBSD.org Reporter: scratch65535@att.net Assignee: pkg@FreeBSD.org Flags: maintainer-feedback?(pkg@FreeBSD.org) (10.3 2017Q2)=20 When I did a pan-upgrade, pkg deleted xfce desktop but did not replace it (= it really should *not* delete anything til after it has done the replacement).= So I had this big gray background and had to figure out what happened and then re-install by hand. For some reason not obvious to me, the xfce desktop package includes samba4= 4.=20 I already had 46 installed, but pkg=20 - didn't check for a later version - downloaded 44 - THEN discovered 46 and complained - downloaded ANOTHER copy of 46=20 - installed 44 anyway - THEN tried to re-install 46 and failed, complaining. That's a lot of confusion, and ended with the wrong version installed.=20=20 Packages should not be made of unrelated parts, for a start. At least 2 of = the 4 pieces in the package are unrelated to the desktop. pkg should preferably allow parts to be knocked out of the install, rather than make it a yes-no all-or-nothing choice. And it should definitely check, *before* downloadin= g, whether the install would replace a later version with an earlier and avoid doing that. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 6:42:15 Wed, 03 May=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 [momcat:root]~> pkg install xfce4-desktop-4.12.3_2 Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. The following 4 package(s) will be affected (of 0 checked): New packages to be INSTALLED: xfce4-desktop: 4.12.3_2 Thunar: 1.6.11 gvfs: 1.26.3_4 samba44: 4.4.13 Number of packages to be installed: 4 The process will require 127 MiB more space. 23 MiB to be downloaded. Proceed with this action? [y/N]: y [1/4] Fetching xfce4-desktop-4.12.3_2.txz: 100% 729 KiB 124.4kB/s 00:06= =20=20=20=20 [2/4] Fetching Thunar-1.6.11.txz: 100% 904 KiB 115.8kB/s 00:08=20=20=20= =20 [3/4] Fetching gvfs-1.26.3_4.txz: 100% 1 MiB 115.7kB/s 00:09=20=20=20= =20 [4/4] Fetching samba44-4.4.13.txz: 100% 20 MiB 117.5kB/s 02:58=20=20= =20=20 Checking integrity... done (1 conflicting) - samba44-4.4.13 conflicts with samba46-4.6.2 on /usr/local/bin/cifsdd Checking integrity... done (0 conflicting) Conflicts with the existing packages have been found. One more solver iteration is needed to resolve them. The following 6 package(s) will be affected (of 0 checked): New packages to be INSTALLED: samba44: 4.4.13 gvfs: 1.26.3_4 Thunar: 1.6.11 xfce4-desktop: 4.12.3_2 Number of packages to be installed: 4 The process will require 127 MiB more space. Proceed with this action? [y/N]: y Fetching samba46-4.6.2.txz: 100% 22 MiB 117.3kB/s 03:15=20=20=20=20 [1/6] Deinstalling samba46-4.6.2... [1/6] Deleting files for samba46-4.6.2: 100% [2/6] Installing samba44-4.4.13... [2/6] Extracting samba44-4.4.13: 100% [3/6] Installing gvfs-1.26.3_4... [3/6] Extracting gvfs-1.26.3_4: 100% [4/6] Installing Thunar-1.6.11... [4/6] Extracting Thunar-1.6.11: 100% [5/6] Installing xfce4-desktop-4.12.3_2... [5/6] Extracting xfce4-desktop-4.12.3_2: 100% [5/6] Installing samba46-4.6.2... pkg: samba46-4.6.2 conflicts with samba44-4.4.13 (installs files into the s= ame place). Problematic file: /usr/local/lib/shared-modules/idmap/autorid.so =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 6:50:32 Wed, 03 May=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 [momcat:root]~> pkg info | grep sam= ba samba44-4.4.13 Free SMB/CIFS and AD/DC server and client for Unix =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 6:55:02 Wed, 03 May=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 [momcat:root]~> --=20 You are receiving this mail because: You are the assignee for the bug.=