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

Bug#325802: libc6: glibc.sh uses dpkg



At Wed, 31 Aug 2005 01:12:25 -0400,
Daniel Jacobowitz wrote:
> /etc/init.d/glibc.sh uses dpkg --compare-versions extensively.
> 
> drow@caradoc:~% which dpkg
> /usr/bin/dpkg
> 
> Init scripts, at least this early, can't use /usr.  It isn't mounted yet!

Good point, I missed this issue.  I don't know the exact way to fix
for this:
  (1) Use sed script instead of dpkg.
  (2) Don't mind even if dpkg is existed at /usr/bin - this check is
      just passed through.
  (3) dpkg should be put at /bin instead of /usr/bin.

Regards,
-- gotom



Reply to: