Re: use of aptitude instead of apt-get in FAI ?

2007-08-23 Diskussionsfäden Thomas Lange
 On Thu, 23 Aug 2007 10:31:36 +0200, Frédéric BOITEUX [EMAIL PROTECTED] 
 said:

   I would like to use aptitude instead of apt-get during FAI packages
 installation (to have packages dependencies knowledge) : is it
 possible ?
Yes. In FAI 3.2 install_packages -h will give you a list of all
possible commands, that can be used after the PACKAGES keyword.
For aptitude just write: PACKAGES aptitude

But even apt-get will resolv package dependencies.
-- 
regards Thomas



Re: use of aptitude instead of apt-get in FAI ?

2007-08-23 Diskussionsfäden Frédéric BOITEUX
Le jeu 23 aoû 2007 11:27:31 CEST, Thomas Lange
[EMAIL PROTECTED] a écrit :

  On Thu, 23 Aug 2007 10:31:36 +0200, Frédéric BOITEUX [EMAIL 
  PROTECTED] said:
 
I would like to use aptitude instead of apt-get during FAI packages
  installation (to have packages dependencies knowledge) : is it
  possible ?
 Yes. In FAI 3.2 install_packages -h will give you a list of all
 possible commands, that can be used after the PACKAGES keyword.
 For aptitude just write: PACKAGES aptitude
 
 But even apt-get will resolv package dependencies.

  I'm not sure I've well described my request : I don't only want to install 
aptitude during FAI installation, but also that FAI uses aptitude instead of 
apt-get to install all packages defined in packages/* files : is it possible ?
  About the package dependencies, aptitude marks packages installed as a 
dependance of other ones, and can later remove it automatically when all its 
requesters have been removed...

Fred.




Re: use of aptitude instead of apt-get in FAI ?

2007-08-23 Diskussionsfäden Stephan Hermann
hi,

Frédéric BOITEUX wrote:
 Le jeu 23 aoû 2007 11:27:31 CEST, Thomas Lange
 [EMAIL PROTECTED] a écrit :

   
 On Thu, 23 Aug 2007 10:31:36 +0200, Frédéric BOITEUX [EMAIL 
 PROTECTED] said:
   
I would like to use aptitude instead of apt-get during FAI packages
  installation (to have packages dependencies knowledge) : is it
  possible ?
 Yes. In FAI 3.2 install_packages -h will give you a list of all
 possible commands, that can be used after the PACKAGES keyword.
 For aptitude just write: PACKAGES aptitude

 But even apt-get will resolv package dependencies.
 

   I'm not sure I've well described my request : I don't only want to install 
 aptitude during FAI installation, but also that FAI uses aptitude instead of 
 apt-get to install all packages defined in packages/* files : is it possible ?
   About the package dependencies, aptitude marks packages installed as a 
 dependance of other ones, and can later remove it automatically when all its 
 requesters have been removed...
   
This is what PACKAGES aptitude is doing...using aptitude to install
packages during installation of a machine, it's not using apt-get anymore.
there are also examples in the package_config directory of FAIs config
space.

\sh



Re: use of aptitude instead of apt-get in FAI ?

2007-08-23 Diskussionsfäden Frédéric BOITEUX
Le jeu 23 aoû 2007 11:41:31 CEST, Stephan Hermann [EMAIL PROTECTED] a
écrit :
 
 This is what PACKAGES aptitude is doing...using aptitude to install
 packages during installation of a machine, it's not using apt-get anymore.
 there are also examples in the package_config directory of FAIs config
 space.
 
Ok, thanks for the precision !

with regards,
Fred.



strange /proc mount definition in fstab...

2007-08-23 Diskussionsfäden Frédéric BOITEUX
Hello,

  Using FAI 3.1.8 (from Etch) to install some HP servers, I get a
strange /proc definition in /etc/fstab :

# /etc/fstab: static file system information.
#
#file sys  mount point type   options   dump   pass
/dev/cciss/c0d0p1   / ext3defaults  01   
/dev/cciss/c0d0p2   none  swaprw00   
none /proc procrw,nosuid,noexec  00   
/dev/cciss/c0d0p9   /appliext3defaults,nodev  02   
/dev/cciss/c0d0p8   /log  ext3defaults,nodev,nosuid,noexec  0   
 2   
/dev/cciss/c0d0p7   /opt  ext3defaults,nodev  02   
/dev/cciss/c0d0p6   /tmp  ext3defaults,nodev,nosuid  02   
/dev/cciss/c0d0p5   /var  ext3defaults,nodev  02   

The rw,nosuid,noexec options cause /etc/init.d/mountall.sh to give
a 'failed' status at boot... Is it correct ?

Fred.


Re: strange /proc mount definition in fstab...

2007-08-23 Diskussionsfäden Thomas Lange
 On Thu, 23 Aug 2007 15:51:12 +0200, Frédéric BOITEUX [EMAIL PROTECTED] 
 said:

   Using FAI 3.1.8 (from Etch) to install some HP servers, I get a
 strange /proc definition in /etc/fstab :

 none /proc procrw,nosuid,noexec  00   

 The rw,nosuid,noexec options cause /etc/init.d/mountall.sh to give
 a 'failed' status at boot... Is it correct ?
The red failed message during boot is caused by the string none. FAI
3.2 now uses proc instead of none.
-- 
regards Thomas



Re: strange /proc mount definition in fstab...

2007-08-23 Diskussionsfäden Henning Glawe
On Thu, Aug 23, 2007 at 05:26:54PM +0200, Thomas Lange wrote:
Using FAI 3.1.8 (from Etch) to install some HP servers, I get a
  strange /proc definition in /etc/fstab :
 
  none /proc procrw,nosuid,noexec  00   
 
  The rw,nosuid,noexec options cause /etc/init.d/mountall.sh to give
  a 'failed' status at boot... Is it correct ?
 The red failed message during boot is caused by the string none. FAI
 3.2 now uses proc instead of none.

AFAIK all the virtual filesystems are now handled in an init script, so
putting procfs and sysfs into fstab is not strictly necessairy anymore...

-- 
c u
henning


perl modules?

2007-08-23 Diskussionsfäden John Heim
How can I add perl modules via FAI? I need to install Net::LDAP on the 
machines I run an FAI install. The problem is that I've been unable to make 
the CPAN module non-interactive. I changed several of the CPAN parameters so 
it's a lot closer to being non-interactive. But it still occasionally asks 
questions.



o conf prerequisites_policy follow
o conf inhibit_startup_message  1
o conf inactivity_timeout  1
o conf build_requires_install_policy yes
o conf commit


--
John Heim
[EMAIL PROTECTED] / 608-263-4189
If you are blind and you use linux, please subscribe to 
[EMAIL PROTECTED]





Re: perl modules?

2007-08-23 Diskussionsfäden Carsten Aulbert


John Heim wrote:
 How can I add perl modules via FAI? I need to install Net::LDAP on the
 machines I run an FAI install. The problem is that I've been unable to
 make the CPAN module non-interactive. I changed several of the CPAN
 parameters so it's a lot closer to being non-interactive. But it still
 occasionally asks questions.
 

Have you tried installing
libnet-ldap-perl
? Tath way you might be able to get around CPAN.

Carsten