[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-xfce-devel] Bug#866033: Bug#866033: Bug#866033: lightdm: postinst says error 1, dpkg can not finish configuration off lightdm an tast-lxde-desktop



On Wed, 2017-06-28 at 15:06 +0200, Yves-Alexis Perez wrote:
> > After chanching line 67 in postinst
> >?
> > from:?? SERVICE=/lib/systemd/system/$(basename $(cat
> > "$DEFAULT_DISPLAY_MANAGER_FILE")).service
> > to:???? SERVICE=/lib/systemd/system/$(basename "$(cat
> > "$DEFAULT_DISPLAY_MANAGER_FILE")").service
> >?
> That doesn't make much sense to me, DEFAULT_DISPLAY_MANAGER_FILE is defined
> above, it shouldn't be empty. And if it's empty it won't work correctly
> either.

So actually you do have a $DEFAULT_DISPLAY_MANAGER_FILE (/etc/X11/default-
display-manager) but the file content is empty so cat returns nothing. Can you
double check that?

You definitely have an issue here because the file content should have been
set just above in the postinst file. Can you try to add set -x and retry?

Regards,
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20170629/8f1de982/attachment.sig>



Reply to: