Forum OpenACS Q&A: Re: Problems installing dowload package with OpenACS 5.1.4

I had a similar problem before. It seems that just downloading from head or install from repository will give an older version (version 5.1). Should this happen?
Example (look at what version is at the top):
http://cvs.openacs.org/cvs/openacs-4/packages/acs-content-repository/sql/postgresql/content-item.sql?rev=1.65&view=log

Which means I will get version 1.50.2.10 instead of 1.65.2.2. This is the case for almost every package/file in the cvs (another one is packages/acs-tcl/tcl/request-processor-procs.tcl). It might have to do with my beginner knowledge of CVS but it seems I am not alone to download the wrong files. Is it possible to make the latest version appear on top or how should I type the cvs command to get the latest version?

Now this problem you all are having is because of the function content_item__get_root_folder in the database.

Get the correct version of content-item.sql (and other files with the wrong version) and re-install/re-run the faulty scripts to update the functions.