Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jul 2017 09:37:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 220755] ports-mgmt/pkg wrongly attempts to install compat6x-amd64 when upgrading samba44
Message-ID:  <bug-220755-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220755

            Bug ID: 220755
           Summary: ports-mgmt/pkg wrongly attempts to install
                    compat6x-amd64 when upgrading samba44
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg@FreeBSD.org
          Reporter: jmc-freebsd2@milibyte.co.uk
          Assignee: pkg@FreeBSD.org
             Flags: maintainer-feedback?(pkg@FreeBSD.org)

curlew:/# uname -a=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
FreeBSD curlew.lan 11.0-RELEASE-p9 FreeBSD 11.0-RELEASE-p9 #0: Tue Apr 11
08:48:40 UTC 2017=20=20=20=20
root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64=20

curlew:/# pkg query %n-%v pkg
pkg-1.10.1

"pkg upgrade samba44" upgrades samba44 but also installs compat6x-amd64. But
using portmaster to upgrade from ports only upgrades samba44

If I allow pkg to install compat6x-amd64 then pkg info shows that it is not
required by any package and I am able to delete it without any problem.

########## Example with portmaster ##########

curlew:/root# portmaster -G samba44

=3D=3D=3D>>> Currently installed version: samba44-4.4.14
=3D=3D=3D>>> Port directory: /usr/ports/net/samba44

=3D=3D=3D>>> Launching 'make checksum' for net/samba44 in background
=3D=3D=3D>>> Gathering dependency list for net/samba44 from ports
=3D=3D=3D>>> Launching child to install devel/p5-Parse-Yapp

=3D=3D=3D>>> samba44-4.4.14 >> devel/p5-Parse-Yapp (1/1)

=3D=3D=3D>>> Port directory: /usr/ports/devel/p5-Parse-Yapp

=3D=3D=3D>>> Launching 'make checksum' for devel/p5-Parse-Yapp in background
=3D=3D=3D>>> Gathering dependency list for devel/p5-Parse-Yapp from ports
=3D=3D=3D>>> Initial dependency check complete for devel/p5-Parse-Yapp

=3D=3D=3D>>> Continuing initial dependency check for net/samba44
=3D=3D=3D>>> Initial dependency check complete for net/samba44


=3D=3D=3D>>> samba44-4.4.14 >> (1)

=3D=3D=3D>>> The following actions will be taken if you choose to proceed:
        Upgrade samba44-4.4.14 to samba44-4.4.14_1
        Install devel/p5-Parse-Yapp

=3D=3D=3D>>> Proceed? y/n [y] n


=3D=3D=3D>>> If you would like to upgrade or install some, but not
       all of the above try adding '-i' to the command line.
curlew:/root#=20


########## Example with pkg ##########

curlew:/root# pkg upgrade samba44
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        compat6x-amd64: 6.4.604000.200810_3

Installed packages to be UPGRADED:
        samba44: 4.4.14 -> 4.4.15

Number of packages to be installed: 1
Number of packages to be upgraded: 1

The process will require 17 MiB more space.
21 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/2] Fetching samba44-4.4.15.txz: 100%   21 MiB   2.0MB/s    00:11=20=20=
=20=20
Checking integrity... done (0 conflicting)
[1/2] Upgrading samba44 from 4.4.14 to 4.4.15...
Extracting samba44-4.4.15: 100%
[1/2] Installing compat6x-amd64-6.4.604000.200810_3...
Extracting compat6x-amd64-6.4.604000.200810_3: 100%
Message from samba44-4.4.15:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D

How to start: http://wiki.samba.org/index.php/Samba4/HOWTO

* Your configuration is: /usr/local/etc/smb4.conf

* All the relevant databases are under: /var/db/samba4

* All the logs are under: /var/log/samba4

* Provisioning script is: /usr/local/bin/samba-tool

For additional documentation check: http://wiki.samba.org/index.php/Samba4

Bug reports should go to the: https://bugzilla.samba.org/

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
Message from compat6x-amd64-6.4.604000.200810_3:
***************************************************************************=
****
*                                                                          =
   *
* Do not forget to add COMPAT_FREEBSD6 into                                =
   *
* your kernel configuration (enabled by default).                          =
   *
*                                                                          =
   *
* To configure and recompile your kernel see:                              =
   *
* http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.ht=
ml *
*                                                                          =
   *
***************************************************************************=
****

=3D=3D=3D>   NOTICE:

The compat6x-amd64 port currently does not have a maintainer. As a result, =
it
is
more likely to have unresolved issues, not be up-to-date, or even be remove=
d in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.htm=
l#maintain-port

curlew:/root# pkg info -d samba44
samba44-4.4.15:
        libsunacl-1.0
        gnutls-3.5.13
        openldap-client-2.4.45
        python27-2.7.13_6
        python2-2_3
        py27-dnspython-1.15.0
        tevent-0.9.31
        talloc-2.1.9
        readline-7.0.3
        py27-iso8601-0.1.11
        popt-1.16_2
        libinotify-20160505
        gamin-0.1.10_9
        tdb-1.3.12,1
        ldb-1.1.29_1
        libarchive-3.3.1,1

curlew:/root# pkg info -r compat6x-amd64
compat6x-amd64-6.4.604000.200810_3:

curlew:/root# pkg delete compat6x-amd64
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packag=
es
in the universe):

Installed packages to be REMOVED:
        compat6x-amd64-6.4.604000.200810_3

Number of packages to be removed: 1

The operation will free 17 MiB.

Proceed with deinstalling packages? [y/N]: y
[1/1] Deinstalling compat6x-amd64-6.4.604000.200810_3...
[1/1] Deleting files for compat6x-amd64-6.4.604000.200810_3: 100%
curlew:/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-220755-13>