Subject: Re: pkg_install Catch-22
To: Curt Sampson <cjs@cynic.net>
From: John Nemeth <jnemeth@victoria.tc.ca>
List: tech-pkg
Date: 04/18/2005 22:02:28
On Aug 5,  2:01am, Curt Sampson wrote:
}
} The usual message:
} 
}      /usr/pkg/bin/sudo ===> pkg_install-20050204 is already installed - perhaps an older version?
} [snip]
} 
} So let's try it!
} 
} [snip various failed attempts]
} 
} Hm. What do I do? Wipe out /usr/pkg and start from scratch?

     Wouldn't help since it would be checking the database in
/var/db/pkg.  :->  The answer is 'make update'.  Until recently
pkg_install didn't get listed as an installed package.  But, now that
it is, you have to use 'make update' instead of 'make install' to
upgrade it.

}-- End of excerpt from Curt Sampson