Raphael Hertzog writes ("Bug#466971: dpkg [dpkg] lists output of option -L in 
alphabetical  order"):
> Rather the rest of the man pages are detached from the one marked with
> "!"... and they are detached because they are symlinks. Symlinks always
> appear at the end of dpkg -L. I don't know if there's a good reason for
> this or if this is simply an implementation detail that leacks into the
> user interface.

dpkg -L prints the files in the order they are in the file lists in
the dpkg databases.

The files are in the database in the order that they came in the
package, and I think it would be bad to perturb that (although I
haven't thought it through carefully).  The files are in the package
in that order so that when a symlink is installed by atomic rename
during unpack, the file which it refers to already exists.

I think the right answer is for dpkg -L to sort its output (perhaps
with an option to suppress this if desired).

Ian.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to