Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: dpkg status file missing ?, Unable to find dpkg status file :(< Next Oldest | Next Newest >
MimiFleX Offline





Group: Members
Posts: 2
Joined: July 2004
Posted: July 29 2004,14:03 QUOTE

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
Back to top
Profile PM 
nucpc Offline





Group: Members
Posts: 89
Joined: Dec. 2003
Posted: July 29 2004,15:40 QUOTE

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.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: July 29 2004,15:47 QUOTE

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.
Back to top
Profile PM WEB 
MimiFleX Offline





Group: Members
Posts: 2
Joined: July 2004
Posted: July 29 2004,15:53 QUOTE

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.
Back to top
Profile PM 
3 replies since July 29 2004,14:03 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: dpkg status file missing ?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code