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

Re: empty status



On Sun, Sep 15, 2002 at 04:14:51PM -0500, Adam Heath wrote:
> On Sun, 15 Sep 2002, Marc Singer wrote:
> 
> > I've wondered about this for a while.  Is there a reason that apt-get
> > chokes when the status file doesn't exist?  If, for some reason, I
> > delete the status file then I must create an empty file before apt-get
> > will run properly.  Is there a reason it doesn't just make a new file
> > when none exists?
> 
> Because apt doesn't own that file, dpkg does.
> 
> And dpkg chokes when that file doesn't exist.
> 
> And no, that is not going to change.

Apparently, both programs write the file.  If both accept an empty
file, what is the harm in both of them creating it when it doesn't
exist?



Reply to: