Discussion:
[Bug 224413] ports-mgmt/pkg: pkg command will pickup wrong FLAVOR for sysutils/py-salt
b***@freebsd.org
2017-12-18 04:01:55 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224413

Mark Linimon <***@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Assignee|freebsd-ports-***@FreeBSD. |***@FreeBSD.org
|org |
Summary|pkg command will pickup |ports-mgmt/pkg: pkg command
|wrong FLAVOR if run within |will pickup wrong FLAVOR
|python |for sysutils/py-salt
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2018-04-14 16:55:00 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224413

Christer Edwards <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Flags|maintainer-feedback?(christ |
|***@gmail.com) |
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2018-04-15 19:51:38 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224413

Brad Davis <***@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@FreeBSD.org

--- Comment #2 from Brad Davis <***@FreeBSD.org> ---
I am curious, why you have a Salt state that installs salt?

If you want 36, why not just `pkg install -y py36-salt' ?
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2018-04-20 06:35:13 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224413

--- Comment #3 from TAO ZHOU <***@laocius.org> ---
@brad

That's to ensure every machine have the same version of salt running.
that's not important.

Even if I run by hand 'pkg install sysutils/py-salt, it have the same problem.
If the current installed package is py27-salt, it will install py36-salt. And
when you run it again, it will install py-salt.
I cannot specify the flavor in the package name, say if I do 'pkg install
sysutils/py36-salt or py27-salt, it will say the package does not exist. I am
not sure if this is bug of pkg or could it be the way I build the packages with
poudiere.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2018-04-20 19:00:57 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224413

--- Comment #4 from Brad Davis <***@FreeBSD.org> ---
What happens if you do:

pkg upgrade sysutils/py-salt
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2018-04-20 19:03:58 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224413

--- Comment #5 from Brad Davis <***@FreeBSD.org> ---
Hmm, no that doesn't work either..
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2018-04-30 15:40:37 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224413

--- Comment #6 from Mathieu Arnold <***@FreeBSD.org> ---
The main problem is that sysutils/py-salt is not unique:

# pkg search -f sysutils/py-salt |grep '^Name'
Name : py36-salt
Name : py27-salt

So, of course, pkg install sysutils/py-salt does not work as you could expect,
or want.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2018-05-15 23:59:52 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224413

--- Comment #7 from TAO ZHOU <***@laocius.org> ---
The problem is If I do pkg install sysutils/py36-salt, it will say 'pkg: No
packages available'
So I have to use 'sysutils/py-salt' as the package name in my script, which
will cause problem is the script was executed a second time.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2018-05-18 00:35:51 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224413

TAO ZHOU <***@laocius.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Summary|ports-mgmt/pkg: pkg command |ports-mgmt/pkg: pkg
|will pickup wrong FLAVOR |overwrites current package
|for sysutils/py-salt |with different python
| |version
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...