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

Bug#318877: udpkg: Avoid error message on first run



Petter Reinholdtsen wrote:
> If I am not mistaken, udpkg will issue a warning when it is running
> for the first time, because the status file is missing.  Here is a
> patch to try to create the status file on the first run, and only
> report an error if this failed.
> 
> I wrote this patch a long time ago, but never found time to test it.
> Sending it here to make sure it isn't lost.

Hmm, my assumption was that this behavior was intentional and that you
were intended to provide a status file (and the directory it goes in).

Also, dpkg's behavior isn't much different.

joey@dragon:~>mkdir -p /tmp/var/lib/dpkg
joey@dragon:~>sudo dpkg --root /tmp -i ~/lib/debian/unstable/pdmenu_1.2.87_i386.deb        
dpkg: failed to open package info file `/tmp/var/lib/dpkg/status' for reading: No such file or directory

Isn't this just avoidance of bloat?

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: