dpkg problems
Glenn L. McGrath
bug1 at ihug.co.nz
Mon Apr 24 19:54:56 UTC 2006
On Mon, 24 Apr 2006 10:01:36 -0700 (PDT)
Tim Bots <tim_bots at yahoo.com> wrote:
> Hello,
>
> I have busybox compiled recently (version 1.1.2) with the "allyesconfig" (exept debug options (don't know the name anymore)). After that I entered the config and selected sh as default shell
>
> When I tried to run dpkg for the 1st time it couden't find /var/lib/pkg/status so I created an empty file here.
Thats correct, it needs to be created.
> So when I want to install libc6 (for in the end ntp-simple) I still get messages that file's arn't found.
>
> This is the result after I created libc6.shlibs in the /var/lib/dpkg/info folder.
You shouldnt have have had to create this file.
> /tim/ntp $ dpkg -i libc6_2.3.6-7_mipsel.deb tzdata_2006c-2_all.deb
> Unpacking libc6 (from libc6_2.3.6-7_mipsel.deb) ...
> sh: /var/lib/dpkg/info/libc6.preinst: not found
> dpkg: subprocess pre-installation script returned error.
>
> I hope someone can help me,
dpkg-deb -I libc6_2.3.6-7_mipsel.deb
new debian package, version 2.0.
size 3929896 bytes: control archive= 16573 bytes.
21 bytes, 1 lines conffiles
894 bytes, 17 lines control
15707 bytes, 263 lines md5sums
11449 bytes, 387 lines * postinst #!/bin/bash
1314 bytes, 51 lines * postrm #!/bin/sh
11723 bytes, 357 lines * preinst #!/bin/bash
612 bytes, 20 lines shlibs
When dpkg trys to install stuff, it first creates these files,
prepending their name with the package name.
Looks like there might be a problem extracting them, do any of them
exist, do you have anything else in /var/lib/dpkg/info/, do you have
permission to write there ?.
Glenn
More information about the busybox
mailing list