Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 May 2017 11:22:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 219036] ports-mgmt/pkg:  pkg confused, installs older version over newer
Message-ID:  <bug-219036-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219036-13>