Kent Stewart wrote:
On Tuesday 23 March 2004 07:00 pm, Aeefyu wrote:

"portupgrade -Rv <dir>/<package>" ie. upgrading a package seems to be working fine, however. It seems to only affect "portinstall"

I have reinstall manually portupgrade and ruby* (using make install
clean), rebuild INDEX with "portsdb -Uu" and "pkgdb -fu" or "pkgdb
-F". Even went to the extent of blowing my /usr/ports and cvsup all
over again. However, :
1. my /usr/ports/INDEX has the following as its first few lines:
*** Error code 1|||||||
Stop in /usr/ports/databases.|||||||
Stop in /usr/ports.||||||

2. portsdb -Uu reports hundred of make_index error.

So, as it is - i cant install new stuff via portupgrade "portinstall
-Rv <package>". I seem to be able to maintain it though i.e.
"portupgrade -Rv <package>". Anyone can shed light on this matter?

There was a time where a "make index" was doing this. Have you tried recvsuping ports-all. You need a good index for portupgrade to work. My cron job that updated my mirror at 1020 UTC produced an INDEX that built without any errors.

Yes. Have blown /usr/ports twice and re-cvsup ports-all. /usr/ports/INDEX is correct upon update. "portsdb -Uu" will somehow introduce errors into it.

I think it might be  related to my very very outdated
/var/db/pkg/*/CONTENT .. but its just a guess . I cant blow it and
start all over again, right? Too risky, this is a production machine.

That might affect something else in the pkgtools but not the index. I have always used cd /usr/ports
make index
portsdb -u

The latest portsdb -U uses make index to build INDEX or INDEX-5.

Yes, that was what I was led to believe the function of the command "portsdb -Uu" :)
However, running that command nowadays seems to corrupt the INDEX :(

I have found a new quirk with my portupgrade:
Running "portinstall -Rv <PACKAGE00>" will actually update all PACKAGE00 dependencies (if needed), however, it wont actually install PACKAGE00. No errors. No build. Strange.

[EMAIL PROTECTED]: ports]$ portinstall -Rv editors/vim-lite
---> Session started at: Thu, 25 Mar 2004 10:12:49
** No need to upgrade 'libiconv-1.9.1_3' (>= libiconv-1.9.1_3). (specify -f to force)
** No need to upgrade 'libtool-1.3.5_2' (>= libtool-1.3.5_2). (specify -f to force)
---> Reporting the results (+:done / -:ignored / *:skipped / !:failed)
- converters/libiconv (libiconv-1.9.1_3)
- devel/libtool13 (libtool-1.3.5_2)
---> Session ended at: Thu, 25 Mar 2004 10:12:52 (consumed 00:00:03)

Webcraft Solutions -
Feel disillusioned?  I've got some great new illusions ...
[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to