On September 6, 2001 04:58 am, you wrote:
> David Eastcott <[EMAIL PROTECTED]> writes:
> > At the end of the GUI install (printer installs successfully) I generate
> > the 'Automated' disk and then, boot and let the auto install start. I
> > get to 'Summary' message, then the error message "Cannot read printrc
> > file!" shows up and I am asked to reboot. On the ALT-F3 screen I see
> > the message: warning: foomatic-configure failed at
> > /usr/bin/perl-install/printer.pm line 676.
>
> Ok, I know what it is, I fix.
>
> Thanks a lot,
>
> Fran�ois.
Sorry for delay in responding, but internet service was not working till this
morning.
Still no luck, however the failure point moved to line 726 in printer.pm.
I did some more checking and I found two things:
1. The required packages are not being installed during the automated
install. Based on observered differences on the ALT-F3 screen between the
regular GUI install and the auto install.
2. line 722 reference ( $printer->{currentqueue}{'id'} ) to 'id' is
different than the value in my auto_inst.cfg file and causes a missing value
for the '-p' option.
I got the install to complete successfully by:
1. modifying the 'packages' to force install all rpms that where present
after a regular GUI install. (see file contents at end)
2. modifying the auto_inst.cfg printer key from 'printer' to 'id'.
From:
'printer' => {
'configured' => {
'HP990CL2' => {
'queuedata' => {
'printer' =>
'530418',
to:
'printer' => {
'configured' => {
'HP990CL2' => {
'queuedata' => {
'id' =>
'530418',
I know that my solutions is not the right one, but it may provide you with
the hint needed to identify the correct solution.
The following is my auto_inst.cfg file that was generated by the 'Automated'
button at the end of the GUI install, following that is the one that I had to
use to get a successful install.
I am going to be away for a couple days, so I will not be able to test any
thing until Sunday.
Best regards
Dave
1. Automated file (did not work):
#!/usr/bin/perl -cw
#
# You should check the syntax of this file before using it in an auto-install.
# You can do this with 'perl -cw auto_inst.cfg.pl' or by executing this file
# (note the '#!/usr/bin/perl -cw' on the first line).
$o = {
'partitions' => [
{
'mntpoint' => '/boot',
'size' => 96327,
'type' => 387
},
{
'mntpoint' => 'swap',
'size' => 497952,
'type' => 130
},
{
'mntpoint' => '/',
'size' => 7871787,
'type' => 387
}
],
'superuser' => {
'shell' => '/bin/bash',
'gid' => '0',
'name' => undef,
'realname' => 'root',
'home' => '/root',
'password' => 'horse',
'uid' => '0'
},
'lang' => 'en_US',
'default_packages' => [
'gcc3.0-cpp',
'linux_logo',
'reiserfsprogs',
'numlock',
'nfs-utils-clients',
'locales-en',
'MAKEDEV',
'mandrake-mime',
'rpmdrake',
'bc',
'hexedit',
'hotplug',
'gurpmi',
'samba-client',
'joe',
'mandrake_desk',
'printer-testpages',
'printer-utils',
'cpio',
'libsasl7',
'open',
'xpp',
'drakconf',
'fonts-ttf-decoratives',
'sndconfig',
'fonts-ttf-west_european',
'foomatic',
'cups-drivers',
'icewm-light',
'imwheel',
'ftp-client-krb5',
'ntp',
'kudzu',
'strace',
'lvm',
'gpm',
'XFree86-server',
'draksync',
'ldetect',
'at',
'qtcups',
'man-pages'
],
'partitioning' => {
'clearall' => 1,
'eraseBadPartitions' => 0,
'auto_allocate' => 1
},
'intf' => {
'eth0' => {
'isPtp' => 0,
'BROADCAST' => '192.168.5.255',
'isUp' => 1,
'DEVICE' => 'eth0',
'NETMASK' => '255.255.255.0',
'ONBOOT' => 'yes',
'BOOTPROTO' => 'static',
'IPADDR' => '192.168.5.202',
'NETWORK' => '192.168.5.0'
}
},
'users' => [],
'useSupermount' => 0,
'netcnx' => {
'NET_DEVICE' => undef,
'NET_INTERFACE' => undef
},
'printer' => {
'configured' => {
'HP990CL2' => {
'queuedata' => {
'printer' =>
'530418',
'foomatic' =>
1,
'desc' =>
'Color',
'spooler' =>
'cups',
'queue' =>
'HP990CL2',
'driver' =>
'gimp-print',
'connect' =>
'smb://david:puch@EASTCOTT/cherry/HP-990C',
'loc' => 'on
L2'
}
}
},
'DBENTRY' => '',
'TYPE' => 'SMB',
'SPOOLER' => 'cups',
'OPTIONS' => [],
'str_type' => 'Printer on SMB/Windows 95/98/NT server'
},
'authentication' => {
'shadow' => 1,
'md5' => 1,
'NIS' => '',
'LDAP' => ''
},
'isUpgrade' => 0,
'security' => 2,
'timezone' => {
'UTC' => 1,
'ntp' => 'time-server.eastcott.net',
'timezone' => 'Canada/Mountain'
},
'mouse' => {
'MOUSETYPE' => 'imps2',
'device' => 'psaux',
'WHEEL' => undef,
'XEMU3' => undef,
'FULLNAME' => undef,
'XMOUSETYPE' => 'IMPS/2',
'type' => 'PS/2',
'name' => 'Generic PS2 Wheel Mouse',
'nbuttons' => 5
},
'mkbootdisk' => '',
'X' => {
'resolution_wanted' => '1024x768',
'default_depth' => '32'
},
'wacom' => [],
'manualFstab' => [],
'keyboard' => 'us',
'autoExitInstall' => 0,
'netc' => {
'NETWORKING' => 'yes',
'minus_one' => 0,
'nb_cards' => 1,
'dnsServer' => '192.168.5.253',
'FORWARD_IPV4' => 'false',
'DOMAINNAME' => 'eastcott.net',
'HOSTNAME' => 'linux2.eastcott.net',
'GATEWAY' => '192.168.5.253'
}
};
2. Manual Adjusted file (worked):
#!/usr/bin/perl -cw
#
# You should check the syntax of this file before using it in an auto-install.
# You can do this with 'perl -cw auto_inst.cfg.pl' or by executing this file
# (note the '#!/usr/bin/perl -cw' on the first line).
$o = {
'partitions' => [
{
'mntpoint' => '/boot',
'size' => 96327,
'type' => 387
},
{
'mntpoint' => 'swap',
'size' => 497952,
'type' => 130
},
{
'mntpoint' => '/',
'size' => 7871787,
'type' => 387
}
],
'superuser' => {
'shell' => '/bin/bash',
'gid' => '0',
'name' => undef,
'realname' => 'root',
'home' => '/root',
'password' => 'horse',
'uid' => '0'
},
'lang' => 'en_US',
'default_packages' => [
'ash',
'at',
'awesfx',
'basesystem',
'bash',
'bc',
'bdflush',
'bzip2',
'chkconfig',
'chkfontpath',
'common-licenses',
'console-tools',
'control-center',
'cpio',
'cracklib',
'cracklib-dicts',
'crontabs',
'cups',
'cups-common',
'cups-drivers',
'db1',
'db2',
'detect',
'detect-lst',
'dev',
'devfsd',
'diffutils',
'dosfstools',
'drakconf',
'drakfloppy',
'drakfont',
'draksync',
'drakxtools',
'drakxtools-newt',
'dynamic',
'e2fsprogs',
'eject',
'esound',
'etcskel',
'expat',
'expect',
'filesystem',
'fileutils',
'findutils',
'fonts-ttf-decoratives',
'fonts-ttf-west_european',
'foomatic',
'freetype',
'freetype-tools',
'ftp-client-krb5',
'gawk',
'gcc3.0-cpp',
'GConf',
'gdk-pixbuf',
'gdk-pixbuf-loaders',
'gettext-base',
'getty_ps',
'ghostscript',
'ghostscript-fonts',
'glibc',
'gnome-libs',
'gnupg',
'gpm',
'grep',
'groff-for-man',
'grpmi',
'grub',
'gtkdialogs',
'gurpmi',
'gzip',
'harddrake',
'hdparm',
'hexedit',
'hotplug',
'icewm-light',
'imlib',
'imwheel',
'info',
'info-install',
'initscripts',
'iproute2',
'iputils',
'isapnptools',
'joe',
'kernel',
'krb5-libs',
'kudzu',
'ldconfig',
'ldetect',
'ldetect-lst',
'less',
'libaudiofile0',
'libbzip2_1',
'libcups1',
'libcurl2',
'libdb3.2',
'libdetect0',
'libelf0',
'libesound0',
'libexpat1_95',
'libext2fs2',
'libGConf1',
'libgdbm2',
'libgimpprint1',
'libglade0',
'libglib1.2',
'libgmp3',
'libgnome-vfs0',
'libgpm1',
'libgtk+1.2',
'libgtk+mdk0.1_6',
'libgtkxmhtml1',
'libimlib1',
'libintl1',
'libjpeg62',
'liblcms1',
'libldap2',
'libmng1',
'libncurses5',
'libnetpbm1',
'libnewt0.50',
'liboaf0',
'libopenssl0',
'libpng2',
'libqt2',
'libqtcups2',
'libsasl7',
'libscrollkeeper0',
'libslang1',
'libstdc++2.10',
'libtermcap2',
'libtiff3',
'libungif4',
'libutempter0',
'libxml',
'libxpm4',
'lilo',
'linux_logo',
'locales',
'locales-en',
'logrotate',
'losetup',
'lvm',
'MAKEDEV',
'man',
'mandrake_desk',
'mandrake-mime',
'mandrake-release',
'man-pages',
'menu',
'menudrake',
'Mesa-common',
'mingetty',
'mkbootdisk',
'mkinitrd',
'mktemp',
'modutils',
'mount',
'mpage',
'msec',
'nc',
'ncurses',
'netpbm',
'net-tools',
'nfs-utils-clients',
'ntp',
'ntsysv',
'numlock',
'open',
'openssh',
'openssh-clients',
'openssl',
'ORBit',
'pam',
'passwd',
'perl',
'perl-base',
'perl-DateManip',
'perl-Digest-MD5',
'perl-gettext',
'perl-GTK',
'perl-GTK-GdkImlib',
'perl-HTML-Parser',
'perl-HTML-Tagset',
'perl-libnet',
'perl-libwww-perl',
'perl-libxml-enno',
'perl-libxml-perl',
'perl-MDK-Common',
'perl-MIME-Base64',
'perl-Parse-Yapp',
'perl-Storable',
'perl-URI',
'perl-XML-Dumper',
'perl-XML-Encoding',
'perl-XML-Grove',
'perl-XML-Parser',
'perl-XML-Twig',
'playmidi',
'popt',
'portmap',
'printer-filters',
'printer-testpages',
'printer-utils',
'procmail',
'procps',
'psmisc',
'pwdb',
'pygtk',
'python',
'python-numeric',
'qtcups',
'readline',
'reiserfsprogs',
'rmt',
'rootfiles',
'rpm',
'rpmdrake',
'rpmtools',
'rsync',
'rxvt',
'samba-client',
'samba-common',
'sash',
'scrollkeeper',
'sed',
'setserial',
'setup',
'shadow-utils',
'sh-utils',
'sndconfig',
'sox',
'stat',
'strace',
'sysklogd',
'syslinux',
'SysVinit',
'tar',
'tcl',
'termcap',
'textutils',
'time',
'tk',
'tmpwatch',
'urpmi',
'urw-fonts',
'usermode',
'utempter',
'util-linux',
'VFlib2',
'vim-minimal',
'vixie-cron',
'wget',
'which',
'XFree86',
'XFree86-100dpi-fonts',
'XFree86-75dpi-fonts',
'XFree86-libs',
'XFree86-server',
'XFree86-xfs',
'xinitrc',
'xpp',
'zlib1'
],
'partitioning' => {
'clearall' => 1,
'eraseBadPartitions' => 0,
'auto_allocate' => 1
},
'intf' => {
'eth0' => {
'isPtp' => 0,
'BROADCAST' => '192.168.5.255',
'isUp' => 1,
'DEVICE' => 'eth0',
'NETMASK' => '255.255.255.0',
'ONBOOT' => 'yes',
'BOOTPROTO' => 'static',
'IPADDR' => '192.168.5.202',
'NETWORK' => '192.168.5.0'
}
},
'users' => [],
'useSupermount' => 0,
'netcnx' => {
'NET_DEVICE' => undef,
'NET_INTERFACE' => undef
},
'printer' => {
'configured' => {
'HP990CL2' => {
'queuedata' => {
'id' =>
'530418',
'foomatic' =>
1,
'desc' =>
'l2',
'spooler' =>
'cups',
'queue' =>
'HP990CL2',
'driver' =>
'gimp-print',
'connect' =>
'smb://david:puch@EASTCOTT/cherry/HP-990C',
'loc' =>
'lin2'
}
}
},
'DBENTRY' => '',
'TYPE' => 'SMB',
'SPOOLER' => 'cups',
'OPTIONS' => [],
'str_type' => 'Printer on SMB/Windows 95/98/NT server'
},
'authentication' => {
'shadow' => 1,
'md5' => 1,
'NIS' => '',
'LDAP' => ''
},
'isUpgrade' => 0,
'security' => 2,
'timezone' => {
'UTC' => 1,
'ntp' => 'time-server.eastcott.net',
'timezone' => 'Canada/Mountain'
},
'mouse' => {
'MOUSETYPE' => 'imps2',
'device' => 'psaux',
'WHEEL' => undef,
'XEMU3' => undef,
'FULLNAME' => undef,
'XMOUSETYPE' => 'IMPS/2',
'type' => 'PS/2',
'name' => 'Generic PS2 Wheel Mouse',
'nbuttons' => 5
},
'mkbootdisk' => '',
'X' => {
'resolution_wanted' => '1024x768',
'default_depth' => '32'
},
'wacom' => [],
'manualFstab' => [],
'keyboard' => 'us',
'autoExitInstall' => 0,
'netc' => {
'NETWORKING' => 'yes',
'minus_one' => 0,
'nb_cards' => 1,
'dnsServer' => '192.168.5.253',
'FORWARD_IPV4' => 'false',
'DOMAINNAME' => 'eastcott.net',
'HOSTNAME' => 'linux2.eastcott.net',
'GATEWAY' => '192.168.5.253'
}
};