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

Re: Kernel version and dpkg bug?



On Fri 27 Feb 1998, Miquel van Smoorenburg wrote:

> In article <[🔎] m0y89Sp-0002EzC@eros.cs.hut.fi>, Lars Wirzenius <liw@iki.fi> wrote:
> >When I try to run 2.1.85 or 2.1.88, and install ncurses-base_1.9.9g-8.deb
> >(md5sum 9bb12011c945a1d425cbb5e4300dbaba), I get an error message about
> >being unable to set ownership of a symlink and then a "Segmentation
> >violation", and the package doesn't get installed. When I try to do the
> >same with 2.0.33, it works. This is bug #18575, as far as I can see.
> >Does anyone have a workaround or fix for 2.1.88?
> 
> It should have been fixed by Linus in 2.1.86 or 2.1.87 AFAIK. In fact
> I'm sure it was 2.1.86. Perhaps the Alpha is different ?

I reported a similar problem with the xview packages yesterday. I've
been strace-ing dpkg, and what happens is this:

    symlink("/etc/blabla", "/usr/doc/xview/blabla.dpkg-new");
    chown("/usr/doc/xview/blabla.dpkg-new", 0, 0);

This fails if /etc/blabla doesn't exist already. This only happens with
some packages, because in others the file being linked to is in the
data.tar.gz file earlier on, so it exists. A quick workaround is
"touch /etc/blabla" before running dpkg, I've discovered. Not good,
however.

The SIGSEGV is in "paste", I think. Also not good. I'll investigate that
further (a utility should never crash, irrespective of unexpected input).

This was with 2.1.87. With 2.0.31 it works fine.

> (Linus put lchown() on the old chown() system call number, thereby
> retaining backwards binary compatibility).

Hmm, maybe not yet in 2.1.87? I'll try the latest next week.


Paul Slootman
-- 
home: paul@wurtel.demon.nl | work: paul@murphy.nl
http://www.wurtel.demon.nl | Murphy Software, Enschede, the Netherlands


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-alpha-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: