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

Bug#210980: spurious /etc/X11/app-defaults/app-defaults symlink



Package: xlibs
Version: 4.1.0-16woody1

As discussed on IRC.

--bod

13:35 <bod> hrm...  wonder why I have /etc/X11/app-defaults/app-defaults as a symlink
13:35 <Overfiend> bod: old bug, fixed for a long time
13:36 <bod> Overfiend: the symlink is dated today (just upgraded stable+security)
13:36 <Overfiend> bod: what's your version of xlibs?
13:36 <Overfiend> 4.1.0-16woody1?
13:37 <bod> Version: 4.1.0-16woody1
13:37 <Overfiend> bod: Okay.  Hmm.
13:37 <Overfiend> bod: checking on it.  Maybe I can clean it up in 4.2.1/4.3.0's xlibs preinst
13:38 <bod> calc: killing imake would be annoying, there are a bunch of programs which use it
13:38 <Overfiend> xlibs.postinst.in:ln -sf /etc/X11/app-defaults /usr/X11R6/lib/X11/app-defaults || true
13:38 <Overfiend> bod: there's the bug
13:38 <Overfiend> bod: back then I didn't know about ln -nsf
13:39 <Overfiend> joeyh didn't either :)
13:39 <bod> I had to look the darned thing up just then :)
13:39 <Overfiend> bod: I don't know that there will ever be a non-security stable update of XFree86.
13:40 <Overfiend> bod: However, I can make 4.2.1/4.3.0 clean those up in the corresponding preinsts.
13:40 <Overfiend> bod: I don't do ln -sf anymore.
13:40 <bod> Overfiend: no biggy, just noticed it
13:40 <Overfiend> bod: can I ask you to file a normal bug about this?
13:40 <Overfiend> bod: just quoting this IRC chatter will suffice.
13:41 <bod> k
13:41 <Overfiend> bod: I need to go through branches/4.1.0/woody, identify all uses of ln -sf in the postinst, and have the modern preinst scripts clean that 
13:42 <Overfiend> e.g., if [ "$1" = "install" -o "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt "4.2.0"; then
13:42 <Overfiend>   etc.
13:42 <Overfiend> that sort of thing
13:42 <Overfiend> because I think I started shipping the symlinks post-woody.  That was my plan, anyway.
13:42 <Overfiend> yup.
13:43 <Overfiend> bod: I don't use ln -sf at *all* anymore for that purpose.




Reply to: