I've started to hate portupgrade
Gerard
gerard at seibercom.net
Wed Feb 20 21:27:12 UTC 2008
On Wed, 20 Feb 2008 15:25:32 +0100
Angelo Turetta <aturetta at commit.it> wrote:
> Every new version has such *evident* regressions!
>
> Beside needlessly repackaging ports that fail build when doing "-a
> -p" (obviously non repeatable by the developers), and sometimes
> failing to reinstall a package if the install phase fails (also non
> reproducible, but happening nonetheless in production servers).
>
> Now, since the last upgrade, I cannot use -R if there's a port with
> an unknown origin.
>
> Look:
>
> [root at mail]# portversion -vL=
> openldap-client-2.3.40 < needs updating (port has 2.3.41)
> p5-Mail-IMAPClient-2.2.9 < [held] needs updating (port has 3.04)
> p5-PathTools-3.2700 < needs updating (port has 3.2701)
> p5-Socket6-0.19 < needs updating (port has 0.20)
> p5-Test-Harness-3.07 < needs updating (port has 3.09)
> squid-2.5.14_4 ? [held] error - origin not found
> squirrelmail-compatibility-plugin-2.0.9_1 < needs updating (port
> has 2.0.10)
>
> [root at mail]# portupgrade -aRp
> ** There are errors in a meta info for squid-2.5.14_4
> ** Run 'pkgdb -F' to interactively fix them.
>
> Of course pkgdb -F asks me to delete squid-2.5.14_4. I also tried to
> add it to HOLD_PKGS in pkgtools.conf, no change.
I have had a similar experience with portupgrade from time to time. I
made sure I had no reference to it in pkgtools.conf and when I ran
pkgdb -F, actually pkgdb -Ffuv, I would choose to delete the entry if
I could not get it set correctly. Thereafter, running "portupgrade
-apRr" usually worked without any snags.
You can always use: "portmanager -u -l -p -bu" to get hard to fix ports
working again. At least it has worked for me in the past. Of course,
you should run 'pkgdb -Ffu' to insure that portupgrade will operate
correctly the next time you invoke it.
Anyway, that is my 2¢.
--
Gerard
gerard at seibercom.net
Everybody has something to conceal.
Humphrey Bogart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20080220/86d33f65/signature.pgp
More information about the freebsd-ports
mailing list