dpkg status file missing ?


Forum: Apt-get
Topic: dpkg status file missing ?
started by: MimiFleX

Posted by MimiFleX on July 29 2004,14:03
Hi there !

I hope you'll understand my very poor english because I'm a french guy  ???

I'm trying to modify DSL to fit it on an usb-key without cloop system (I want a fully writable file system) keeping the wonderfull X system of DSL.

But I've a problem to install the missing dpkg/apt files :
I unpacked the dsl-dpkg.dsl in the system, but
Code Sample

host1:/microdist2# chroot rootfs/KNOPPIX/
root@3[/]# dpkg -l
dpkg-query: failed to open package info file `/var/lib/dpkg/status' for reading: No such file or directory

I verified if this file was in the dpkg-dsl package but :
Code Sample

host1:/microdist2# tar tvzf dsl-dpkg.dsl | grep status | wc -l
0

/var/lib/dpkg/status is missing  :(
But all other files from the package seem to be OK :
Code Sample
host1:/microdist2/rootfs/KNOPPIX# tar dzf ../../dsl-dpkg.dsl


I hope you understand my problem, and you can help me quickly :)

MFX

PS: I use dsl-0.7.2.iso and dsl-dpkg 1.10.10

Posted by nucpc on July 29 2004,15:40
Well you're quite correct (it doesn't contain the file) and I can't see immediately where
it gets it from (the dpkg dsl DOES work and does create the file).

What I might be able to help you with is an old copy of the .dsl (which already definitely
contains the status file) . Not sure if it will work, the package was remade as some
permissions needed changing, so its at your own risk but it might get you on a bit further
than you are at the moment...............hopefully.

You can find the old copy at

< http://arthur.ph.man.ac.uk/~pc/dsl.html >

scroll down right to the bottom........

.......hopefully someone else can explain what's happening. All the best.

Posted by roberts on July 29 2004,15:47
Use enable-apt, Apps->Tools->Enable Apt  Then that file as well as the apt programs are restored.

If you are not running X while chroot'ed in then have a look at /usr/sbin/dpkg-restore

This all works, as the command you are attempting to use is used extensively when building myDSL extensions.

Posted by MimiFleX on July 29 2004,15:53
Quote (roberts @ July 29 2004,11:47)
If you are not running X while chroot'ed in then have a look at /usr/sbin/dpkg-restore

Ok that works fine !

Thanks a lot.

MFX.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.