Hi I tried to upgrade png because of a vulnerability and I had 2 different errors: 1. when trying to upgrade php 4.3.6 to 4.3.7 I had the follwing error: ---> Updating dependency info ---> Uninstallation of php4-4.3.6 started at: Thu, 15 Jul 2004 02:01:15 +0300 ---> Fixing up dependencies before creating a package ---> Backing up the old version ---> Uninstalling the old version Stale dependency: php4-4.3.6 --> apache-1.3.29_3 -- manually run 'pkgdb -F' to f ix, or specify -O to force. it seems that php4 requires apache 1.3.29 and I have 1.3.31. this problem is not new, because I had it 2 weeks ago. it's not that bad because php4 doesn't have vulnerabilities (according to portaudit) right now but one could be discovered any day... 2. the second problem is that I can't "make index". when I run it, it doesn't report any error, but when trying to run "portsman" I get an error that "INDEX file seems to be corrupted or is of an unknown format". the only way to fix it is to run cvsup, but then the versions I see in portsman are old. since I'm only using FreeBSD for a month and I'm not yet familiar with how things work I'm not sure if the second problem causes the first one, does the dependencies taken from the INDEX file? how can I create an up-to-date INDEX file? any ideas? thanx -- Haim
On Thu, Jul 15, 2004 at 12:26:57PM +0300, Haim Ashkenazi wrote:> > 2. the second problem is that I can't "make index". when I run it, it > doesn't report any error, but when trying to run "portsman" I get an error > that "INDEX file seems to be corrupted or is of an unknown format". the > only way to fix it is to run cvsup, but then the versions I see in > portsman are old.I've seen this problem when cvsup runs after "make index" - patch conflict stuff is left in the file for you to resolve, and it's not in the right format for INDEX. If you're going to make your own INDEX, you should put INDEX in the cvsup refuse file to avoid this. Also, make index will do odd stuff if you have any ports in the cvsup refuse file, because there will be dependencies that can't be resolved - and the error messages, which I think are also left in the generated INDEX, again are not in the expected INDEX format. -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net.
Haim Ashkenazi schrieb:> Stale dependency: php4-4.3.6 --> apache-1.3.29_3 -- manually run 'pkgdb -F' to f > ix, or specify -O to force. > > it seems that php4 requires apache 1.3.29 and I have 1.3.31. this problem > is not new, because I had it 2 weeks ago.That's normal and not a problem. Run 'pkgdb -F' as suggested. It will bend the dependency from apache-1.3.29 to your apache-1.3.31. It won't hurt.> 2. the second problem is that I can't "make index". when I run it, it > doesn't report any error, but when trying to run "portsman" I get an error > that "INDEX file seems to be corrupted or is of an unknown format". the > only way to fix it is to run cvsup, but then the versions I see in > portsman are old.Try also "portsdb -uU". I'd never serious problems with it. I update my local ports tree and INDEX file daily. Bj?rn