Re: console-data
> What is the status on the console-data fix..? I don't mean to be
> pushy, but dselect won't finish installing the X packages (including
> netscape, enlightenment, etc) so I'm stuck running afterstep and
> lynx...:-)
> Is there something I could test..?
my $arch = `dpkg --print-installation-architecture`;
chomp $arch;
if (($arch eq 'powerpc') || ($arch eq 'm68k')) {
my $subarch;
if ($arch eq 'powerpc') {
my $line = `grep ^machine /proc/cpuinfo`;
abort ($defs, "No \"machine\" field in /proc/cpuinfo") if $line eq '';
$subarch = lc substr ($line, 11);
} elsif ($arch eq 'm68k') {
my $line = `grep ^Model: /proc/hardware`;
abort ($defs, "No \"Model\" field in /proc/hardware") if $line eq '';
$subarch = lc substr ($line, 8);
}
$subarch =~ s/ .*//;
chop($subarch);
$subarch = 'mac' if $subarch =~ m/^macintosh|powermac|powerbook|power|imac|powermac1/;
$subarch = 'mvme' if $subarch eq 'motorola';
$arch = "$arch/$subarch";
}
Test this for : /var/lib/dpkg/info/console-data.config
MfG,
Hartmut
Reply to: