portupgrade fails to upgrade the package because the older version is installed

Sergey Matveychuk sem at FreeBSD.org
Fri Jul 11 21:49:00 UTC 2008


Yuri wrote:
> I got the error below during portupgrade -aP.
> 
> Why wouldn't portupgrade just upgrade neon?
> 
> 'pkgdb -F' doesn;t find any problems.
> 
> Yuri
> 
> ===>  Installing for neon28-0.28.2_1
> 
> ===>  neon28-0.28.2_1 conflicts with installed package(s):
>      neon26-0.26.4_1
> 
>      They install files into the same place.
>      Please remove them first with pkg_delete(1).
> *** Error code 1
> 
> Stop in /usr/ports/www/neon28.

Unfortunately portupgrade knows nothing about how neon26 relate with 
neon28. You should upgrade it by yourself with the command:
portupgrade -o www/neon28 neon

How it's described in entry 20080701 of UPDATING file. Reading this file 
is useful when you got any troubles. Or even better before you any 
upgrading.
-- 
Dixi.
Sem.


More information about the freebsd-ports mailing list