Bug#499070: dpkg leaves system in unusable state after running out of diskspace

2008-11-09 Thread Guillem Jover
Hi, On Wed, 2008-10-22 at 09:51:05 +0300, Guillem Jover wrote: > > The correct approach is the one in ood-abort, implementing what I > guess was meant to be done with onerr_abort. What's missing is > untangling onerr_abort being activated by the archi

Bug#499070: dpkg leaves system in unusable state after running out of diskspace

2008-10-22 Thread Guillem Jover
Hi, Hmm all this time passed already... On Tue, 2008-10-07 at 17:47:52 +0200, Raphael Hertzog wrote: > On Tue, 07 Oct 2008, Guillem Jover wrote: > > Yeah got the code the day after that mail, but I've not found the time > > to test it. I guess the easiest is to change one of the function > > retu

Bug#499070: dpkg leaves system in unusable state after running out of diskspace

2008-10-07 Thread Raphael Hertzog
On Tue, 07 Oct 2008, Guillem Jover wrote: > > Any progress ? > > Yeah got the code the day after that mail, but I've not found the time > to test it. I guess the easiest is to change one of the function > return values to the output of rand() or similar and see from there. > I'll try to get to it

Bug#499070: dpkg leaves system in unusable state after running out of diskspace

2008-10-07 Thread Guillem Jover
Hey! On Tue, 2008-10-07 at 09:02:54 +0200, Raphael Hertzog wrote: > On Thu, 18 Sep 2008, Guillem Jover wrote: > > > The other is that when onerr_abort is signaled dpkg should not > > > continue processing anything anymore, it should just do whatever cleanup > > > is required and exit. But that can

Bug#499070: dpkg leaves system in unusable state after running out of diskspace

2008-10-07 Thread Raphael Hertzog
On Thu, 18 Sep 2008, Guillem Jover wrote: > > The other is that when onerr_abort is signaled dpkg should not > > continue processing anything anymore, it should just do whatever cleanup > > is required and exit. But that can wait probably post-lenny. > > So this is the proper fix, and it should no

Bug#499070: dpkg leaves system in unusable state after running out of diskspace

2008-09-18 Thread Guillem Jover
Hey, On Tue, 2008-09-16 at 23:14:04 +0300, Guillem Jover wrote: > So I think there's two things to fix here, one is that the fseek() in > createimptmp() should be done just before the fwrite() in > modstatdb_note_core() to guarantee that we are going to be always at the > beginning, and we make pr

Bug#499070: dpkg leaves system in unusable state after running out of diskspace

2008-09-16 Thread Guillem Jover
forcemerge 499070 497041 thanks On Tue, 2008-09-16 at 01:06:05 +0200, Alexander Prinsier wrote: > Package: dpkg > Version: 1.14.22 > Severity: serious > > I was installing php5 while my system ran out of disk space. dpkg > breaks, and leaves the system in a state where I can no longer use dpkg. >