Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm just a newbie for debian, I want to build debian for sh4 arch. When I run debbootstrap, it appears:

E: No pkgdetails available; either install perl, or build pkgdetails.c from source

I don't know where to download the pkgdetails.c, it seems already removed from debootstrap source.

The most similar code I found is here. But I'm not sure

share|improve this question
add comment

1 Answer

If you install Perl somehow (and symlink /usr/bin/perl, if it isn't there), it should work.

In some very minimal environments, that might not be that easy. For me (on a QNAP), I had qpkg available and I could install qpkg packages via the admin webinterface. That allowed me to install ipkg, which is a common package manager which might be available for your system, too.

Via ipkg, you can install Perl (ipkg install perl). For the debootstrap script, you need to have /usr/bin/perl symlinked to your Perl installation, which might be /opt/bin/perl.

On my system, ar was also missing and needed for debootstrap. Via ipkg, you can install binutils, which contains that package (just to be sure, I again symlinked that to /usr/bin/).

Some helpful discussion (with the ipkg tips) was here.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.