Re: On unpopularity
[ This isn't really -private fodder, so I'm cc'ing to -devel. I suggest people
follow up appropriately. ]
Rob Browning <rlb@cs.utexas.edu> writes:
> Steve Dunham <dunham@cps.msu.edu> writes:
>
> > Err, I'm complaing about the fact that it doesn't sort the packages
> > before it installs them, requiring the user to go through contortions of
> > install, config, install, config... Perhaps I was a bit terse.
>
> Doesn't dpkg-mountable do this now?
Um ... no. Sorry. (In fact it does order packages -- alphabetically -- but
that was just a placeholder).
What it /does/ do is to get the list of packages from *all* distributions,
unpack them all, and then configure them all. The idea was (I don't do large
installs very often) that this should cope with all orderings apart from
predepends (by making sure that any depended-on package is unpacked when the
other package is configured), and it currently aborts on predepends anyway.
[ I have some alpha code to cope with predepends, which I really wanted to get
in for the freeze, but I can't get dpkg --predep-pacakge to behave
consistently. If anyone has knowledge, that might be cool. If anyone happens
to know how much this would hurt a full Bo -> Hamm upgrade, I would be
interested; if it would kill it, I might try to argue that it's a bugfix.
OTOH, that's a bit naughty. ]
> Most people don't know that you can use dpkg-mountable in almost every
> situation except ftp. You don't really have to give it a partition
> that it can mount and unmount. Just give it "/", and then give it a
> relative path to your mirror or whatever. It just wants it's top
> level dir to be in the fstab (not sure why it cares).
So it can check whether the filesystem is mounted or not by running mount and
grepping through the list; it's not very intelligent. I never really thought
it needed to be.
Andy
flattered dpkg-mountable author/maintainer
--
Andy Mortimer, andy.mortimer@poboxes.com
http://www.poboxes.com/andy.mortimer
PGP public key available on key servers
--
My mind is glowing.
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: