[prev in list] [next in list] [prev in thread] [next in thread]
List: openbsd-ports
Subject: Re: tcsh Ambiguous: choose package on every update
From: Stuart Henderson <stu () spacehopper ! org>
Date: 2016-05-31 11:18:14
Message-ID: 20160531111814.GA84131 () symphytum ! spacehopper ! org
[Download RAW message or body]
On 2016/05/31 13:06, Kapetanakis Giannis wrote:
> Hi,
>
> I'm having this strange issue with tcsh package.
>
> Every time I'm upgrading packages it asks if I want the dynamic or the
> static flavor.
>
> This does not happen with other packages (ie. gtar)
>
> # pkg_info | egrep 'tcsh|gtar'
> gtar-1.28p2 GNU version of the traditional tape archiver
> tcsh-6.19.00 extended C-shell with many useful features
>
> # pkg_add -ui -F update -F updatedepends (or pkg_add -u)
> # pkg_add -u
>
> quirks-2.234 signed on 2016-05-24T23:44:35Z
> Ambiguous: choose package for tcsh-6.19.00
> a 0: <None>
> 1: tcsh-6.19.00
> 2: tcsh-6.19.00-static
> Your choice: 1
>
> regards,
>
> Giannis
> ps. Please cc me directly as I'm not the @ports list
>
>
tcsh used to have a static flavour, then it was removed (with
an @pkgpath marker added), then it was added again (but the marker
was not removed).
At update time, pkg_add sees the @pkgpath marker so it considers
both versions of the package as a suitable upgrade path.
This should fix it ... ok?
Index: Makefile
===================================================================
RCS file: /cvs/ports/shells/tcsh/Makefile,v
retrieving revision 1.54
diff -u -p -r1.54 Makefile
--- Makefile 10 Jun 2015 13:02:34 -0000 1.54
+++ Makefile 31 May 2016 11:17:14 -0000
@@ -3,6 +3,7 @@
COMMENT= extended C-shell with many useful features
DISTNAME= tcsh-6.19.00
+REVISION= 0
CATEGORIES= shells
HOMEPAGE= http://www.tcsh.org/
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/shells/tcsh/pkg/PLIST,v
retrieving revision 1.12
diff -u -p -r1.12 PLIST
--- pkg/PLIST 27 May 2007 18:04:47 -0000 1.12
+++ pkg/PLIST 31 May 2016 11:17:14 -0000
@@ -1,5 +1,4 @@
@comment $OpenBSD: PLIST,v 1.12 2007/05/27 18:04:47 naddy Exp $
-@pkgpath shells/tcsh,static
@shell bin/tcsh
@man man/man1/tcsh.1
share/nls/C/tcsh.cat
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic