Mail Archives: cygwin/2007/07/03/03:17:54
The new version of setup fails to accommodate the following approved
practice (ie. recommended on this list).
A user who has iterated to a bespoke system and who wishes to build it
elsewhere (or who just wants to build a tailored system from scratch)
need not follow the painful process of selecting packages. Just take the
existing file /etc/setup/installed.db and edit it (or start a new one)
to replace all version numbers with 0 as in (say)
INSTALLED.DB 2
bc bc-0.tar.bz2 0
gnuplot gnuplot-0.tar.bz2 0
gv gv-0.tar.bz2 0
lyx lyx-0.tar.bz2 0
rxvt rxvt-0.tar.bz2 0
xterm xterm-0.tar.bz2 0
and then locate the edited file appropriately eg.
c:\MyNewCygwin\etc\setup\installed.db.
Then run setup - that is, the old version of setup. It will scan
installed.db, supply all necessary updates (0 -> current) AND draw down
all the necessary dependencies. Hey presto, your bespoke system with
properly integrated bc, gnuplot, gv, lyx, rxvt and xterm. (Or whatever
must-haves you wrote into installed.db.)
The new version of setup does not cope at all with this, either not
looking at, or not understanding, installed.db.
I guess (only a guess) that, as in my previous note, it finds that
MyNewCygwin is un-mounted and for this reason just tries a new
installation from scratch. If you select Default ("Base") you don't get
enough; if you select Install ("All") you get too much. In neither case
do you get the bespoke system required.
Fergus
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -