I've been working to get OpenPKG things working on Ubuntu Dapper
Drake, and have some questions which may well be a result of my
ignorance on Debian style systems (the vast majority of my Linux
experience is SuSE, and previously Caldera).

The Ubuntu system is installed from the alternate server CD so
starts out as a very minimal install.  Part of my learning curve
has been to figure out what essential things are missing, and how
to deal with dpkg/apt-get to find and install the necessary bits
and pieces.

Things were going along reasonably well although for some reason
the root PATH always seemed to include the OpenPKG directories in
front of the normal root directories, and I couldn't figure out
where this is set so had to hack the /etc/profile to fix that.

The most recent problem I found was the lack of the ``mail''
program, and when I installed mailx using apt-get, it also
installed postfix because of the dependencies which can cause
problems as it conflicts with the OpenPKG version of postfix.

I can disable the Ubuntu postfix by setting DAEMON to something
that isn't executable in the /etc/default/postfix file, but that
doesn't deal with programs like mail that want to pipe through
the /usr/sbin/sendmail or /usr/lib/sendmail programs.  I suspect
that a dpkg update of the postfix program may change these if
they're symlinked to the OpenPKG postfix.

I ran into a similar problem with SuSE Linux, and did a Dirty
Hack(tm) to the OpenPKG postfix package we use locally that
installs a /bin/rpm package, openpkg-postfix, which ``Provides''
smtp_daemon and ``Obsoletes: postfix'' and makes symlinks in
/usr/lib/sendmail and /usr/sbin/sendmil to the OpenPKG sendmail.
Without the /bin/rpm openpkg-postfix package, SuSE on-line
updates insist on reinstalling postfix if it's been removed
unless there's another package which provices smtp_daemon.

I don't know anything about building packages for Debian systems
so can't do something similar with climbing a long learning curve.

My main questions then are:

  1.  Does anybody have an idea why the root PATH has the OpenPKG
      directories by default?  I have used grep on all the textfiles in the
      root file system to see if I could find out where this is being set
      without success.

  2.  How do people deal with replacing the MTA on the underlying system
      without running into conflicts with its package management system?

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

``It will be of little avail to the people that the laws are made by men of
their own choice if the laws be so voluminous that they cannot be read, or
so incoherent that they cannot be understood.''
    -James Madison, Federalist Paper #62
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to