All of lore.kernel.org
 help / color / mirror / Atom feed
* package_deb and update-alteernatives-dpkg-native on amd64 fails
@ 2010-04-30  7:01 Michael Westermann
  0 siblings, 0 replies; only message in thread
From: Michael Westermann @ 2010-04-30  7:01 UTC (permalink / raw)
  To: openembedded-devel

Hi,

I use openembeeded too make a short distro for our embedded boards. We
use a arm mx27 cpu. The Host system is a amd64 debian sid linux.
I use the git version from openembedded-dev.

I've the follow mistake/problem, on the rootfs the update-alternatives
dont work. I get the foolow messages:

Can't locate dpkg-gettext.pl in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl . ../usr/lib/dpkg) at
/opt/oe/platform/cwmx27-awek-smartstorage-rel1/staging/x86_64-linux/usr/sbin/update-alternatives
line 7.

/opt/oe/platform/rel1/staging/x86_64-linux/usr/sbin/update-alternatives 

in /usr/sbin/update-alternatives are the

$admindir= "/var/lib/dpkg"; 
$dpkglibdir= "/usr/lib/dpkg";

but this is are paths from the host-system, the location from
dpkg-gettext.pl is:

/opt/oe/platform/rel1/staging/x86_64-linux/usr/lib/dpkg/dpkg-gettext.pl

How can I set the correct this paths?

I've test different versions from update-alternatives-dpkg-native e.g.

PREFERRED_VERSION_update-alternatives-native = "1.13.22"
PREFERRED_VERSION_dpkg-native = "1.13.22"

Michael



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-04-30  7:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-30  7:01 package_deb and update-alteernatives-dpkg-native on amd64 fails Michael Westermann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.