portupgrade broken

DA Forsyth d.forsyth at ru.ac.za
Wed Sep 16 09:18:43 UTC 2009


> Hiya all
> 
> Something weird going on with portupgrade (and maybe ports in 
> general) here.  Somewhere between last months upgrade and this month, 
> portupgrade has started to ignore ports that are reported by 
> portversion as needing upgrading.  The result is I have to force each 
> one, one at a time.  Big schlep.
> 
> For example
> > portversion -v | grep samba
> samba-3.0.35,1              <  needs updating (port has 3.0.36,1)
> 
> > portupgrade -vr samba
> --->  Session started at: Wed, 02 Sep 2009 10:18:47 +0200
> ** None has been installed or upgraded.
> --->  Session ended at: Wed, 02 Sep 2009 10:18:47 +0200 (consumed 
> 00:00:00)

I am still facing this issue.  I have tried several ways of 
rebuilding the index and pkgdb but nothing is changing this 
behaviour.

Doing a 'make index && pkgdb -fu' gets me a portversion list that 
shows nothing needs updating, which is clearly wrong when the cvsup 
just prior to it shows changes in ports I have installed.

'make fetchindex && pkgdb -fu'
is more successful, showing all the ports I need to update 
correctly(?), however, portversion will still do this....

> portversion -v | grep png
png-1.2.38                  <  needs updating (port has 1.2.40)

> portupgrade -vrR png-1.2.38
--->  Session started at: Wed, 16 Sep 2009 11:11:50 +0200
[Gathering depends for graphics/png  done]
[Gathering depends for misc/mc 
................................................ done]
[Gathering depends for audio/sox ................................ 
done]
[Gathering depends for x11-toolkits/pango 
......................................................................
............................... done]
[Gathering depends for databases/rrdtool ............... done]
[Gathering depends for sysutils/apcupsd ............. done]
[Gathering depends for multimedia/mplayer .......... done]
[Gathering depends for net-mgmt/mrtg .......... done]
[Exclude up-to-date packages 
......................................................................
........ done]
** None has been installed or upgraded.
--->  Session ended at: Wed, 16 Sep 2009 11:12:06 +0200 (consumed 
00:00:16)

I saw someone ask about this in Google Groups on the 14th but he has 
not got an answer yet, so I am not the only one.

How do I fix this?

--
       DA Fo rsyth            Network Supervisor
Principal Technical Officer -- Institute for Water Research
http://www.ru.ac.za/institutes/iwr/




More information about the freebsd-questions mailing list