Apt-get :: dsl-dpkg.dsl doesn't load properly



I get lots of
Quote
/var/lib/dpkg/methods/floppy: Cannot mkdir: No such file or directory
/var/lib/dpkg/parts: Cannot mkdir: No such file or directory
...
tar:  Error exit delayed from previous errors
when starting up DSL.  It seems to coincide with dsl-dpkg.dsl getting loaded.

I tried adding
Code Sample
var/lib/dpkg
to my .filetool.lst file, but it still gets the errors.  ('Though, interestingly, /var/lib/dpkg does exist after everything gets booted.)

What is the canonical/preferred way of doing this?  I would assume that there were an "apt" cheatcode, but I don't see one documented.

Thanks.

Are you using DSL or DSL-N?
Plain ol' DSL.
hmm, maybe a corrupted download? md5sum?
I don't think it's a corrupted download.   Everything else works.

I have a feeling it has something to do with this line in dpkg-restore:
Code Sample
  sudo rm -f /var/lib/dpkg
Does the /var/lib/dpkg directory get recreated as a writeable one after mkwriteable is called?

Next Page...
original here.