Re: Strange error w/ fai-mirror

2007-02-08 Thread Michael Tautschnig
[...]
 
 To really fix it please file a bug with the Debian BTS to get this issue 
 solved
 as soon as possible, it probably doesn't even take too much effort.
   
 For this bug I would report that fai-mirror fails when detecting two 
 archs in a mirror?  That seems like one bug (i.e. better error 
 message).  I also think I'm going to read into this a little more (when 
 i have time) to see if I can figure out why fai-mirror is populating 
 /srv/fai/mirror with more than one arch or would that type of 
 investigation be generally discouraged? (I'm a bit new to open source 
 and contributing to projects, but would like to help more if i could)

Such an investigation is never discouraged, at least not within Debian, rather
the converse is true: Whenever you find some bug or way to improve the software,
this will be highly appreciated.

It would be cool if you could file a bug report, such that this issue gets
documented (publically), feel free to add the information that you are already
investigating this issue.

Thanks for your efforts,
Michael



pgpoJ0xxW4Ml7.pgp
Description: PGP signature


Re: Strange error w/ fai-mirror

2007-02-07 Thread Michael Tautschnig
[...]
 
 /srv/fai/mirror/dists/etch/main/binary-i386/Packages
 /srv/fai/mirror/dists/etch/main/binary-amd64/Packages
 
 I use this machine to do fai installations for both 32bit and 64bit 
 machines.  Originally I set things up on original machines and copied 
 them over.  I was hoping to make things work on a single machine without 
 having to set things up on two different machines.  For a workaround 
 i'll continue to do things on separate machines (a 32bit and a 64bit)  
 and copy the results over to my server unless anyone has a better 
 suggestion?


Hmm, for the fix: It probably suffices to choose different mirror directories
rather than different machines, but that's up to you.

To really fix it please file a bug with the Debian BTS to get this issue solved
as soon as possible, it probably doesn't even take too much effort.

Best,
Michael



pgpR2NpVvjgcS.pgp
Description: PGP signature


Re: Strange error w/ fai-mirror

2007-02-07 Thread Carl J. Van Arsdall

Michael Tautschnig wrote:

[snip]





Hmm, for the fix: It probably suffices to choose different mirror directories
rather than different machines, but that's up to you.
  
Well, its funny you mention that.  I do have two different mirror 
directories.  I have a /srv/fai/mirror and a /srv/fai/mirror64.  I'm 
honestly not sure how /srv/fai/mirror ended up containing both arches in 
it.  Before when i had done things, I had noticed that various fai 
scripts would detect my architecture and download accordingly.  For 
example, I can't make an nfsroot for a 32bit machine on the 64 bit 
machine, at least I don't know how.  What I had tried this time was to 
fake it out using debian's linux32 package and running the command:


#linux32 fai-mirror /srv/fai/mirror

Where /srv/fai/mirror is a completely empty directory (i run an rm -rf 
/srv/fai/mirror/* before hand).  Granted my package_config/DEFAULT 
contains packages for both i386 and amd64, I assumed (or hoped) that it 
would detect the architecture and build the appropriate mirror.  It 
appears to have attempted to build mirrors for both archs and then 
failed right at the end, but I haven't read into the script enough to 
really understand what's going on, which would be my next step.



To really fix it please file a bug with the Debian BTS to get this issue solved
as soon as possible, it probably doesn't even take too much effort.
  
For this bug I would report that fai-mirror fails when detecting two 
archs in a mirror?  That seems like one bug (i.e. better error 
message).  I also think I'm going to read into this a little more (when 
i have time) to see if I can figure out why fai-mirror is populating 
/srv/fai/mirror with more than one arch or would that type of 
investigation be generally discouraged? (I'm a bit new to open source 
and contributing to projects, but would like to help more if i could)


Thanks for your help,

Carl

--

Carl J. Van Arsdall
[EMAIL PROTECTED]
Build and Release
MontaVista Software



Strange error w/ fai-mirror

2007-02-06 Thread Carl J. Van Arsdall
I'm running 3.1.6.  After running the command and some downloading the 
script produces an error...


[apt doing stuff.]
Calling apt-move
/usr/bin/fai-mirror: line 319: $pfile: ambiguous redirect
overlord:/srv/fai/config/package_config#

Is this something I've done wrong or a problem with the script?

-carl

--

Carl J. Van Arsdall
[EMAIL PROTECTED]
Build and Release
MontaVista Software



Re: Strange error w/ fai-mirror

2007-02-06 Thread Michael Tautschnig
 I'm running 3.1.6.  After running the command and some downloading the 
 script produces an error...
 
 [apt doing stuff.]
 Calling apt-move
 /usr/bin/fai-mirror: line 319: $pfile: ambiguous redirect
 overlord:/srv/fai/config/package_config#
 
 Is this something I've done wrong or a problem with the script?
 
Definitely a problem of the script as it should deal with such situations
properly, but in essence it means that

pfile=$(find $mirrordir/dists -name Packages)

returns more than one match (or none?)

Could you try this find command manually after the script has failed? $mirrordir
is the directory you are using for creating a mirror.

Thanks,
Michael


pgpJZMrDcVK8T.pgp
Description: PGP signature


Re: Strange error w/ fai-mirror

2007-02-06 Thread Carl J. Van Arsdall

Michael Tautschnig wrote:
I'm running 3.1.6.  After running the command and some downloading the 
script produces an error...


[apt doing stuff.]
Calling apt-move
/usr/bin/fai-mirror: line 319: $pfile: ambiguous redirect
overlord:/srv/fai/config/package_config#

Is this something I've done wrong or a problem with the script?



Definitely a problem of the script as it should deal with such situations
properly, but in essence it means that

pfile=$(find $mirrordir/dists -name Packages)

returns more than one match (or none?)

Could you try this find command manually after the script has failed? $mirrordir
is the directory you are using for creating a mirror.

Thanks,
Michael
  
Sure enough, it was finding two dists. 


/srv/fai/mirror/dists/etch/main/binary-i386/Packages
/srv/fai/mirror/dists/etch/main/binary-amd64/Packages

I use this machine to do fai installations for both 32bit and 64bit 
machines.  Originally I set things up on original machines and copied 
them over.  I was hoping to make things work on a single machine without 
having to set things up on two different machines.  For a workaround 
i'll continue to do things on separate machines (a 32bit and a 64bit)  
and copy the results over to my server unless anyone has a better 
suggestion?


Thanks,

Carl

p.s. Thanks to everyone that works on fai, its incredibly useful.







--

Carl J. Van Arsdall
[EMAIL PROTECTED]
Build and Release
MontaVista Software



Conflicting MTA Packages and fai-mirror

2006-09-20 Thread Rene Caspari
Hello,

I want to use two different MTA (Postfix and Exim) for severeal FAI
classes. If I use fai-mirror to build the mirror, it fails with a
conflict, that Postfix is not installable.

If I exclude the classes, so there is only one MTA providing, it runs
fine.

Maybe apt fails because of two concurrent MTA packages...?


bye, rene
-- 
 · http://rene.ahrcas.net · Rene Caspari · GPG-KeyID: 0xCA40A793 ·


Re: Conflicting MTA Packages and fai-mirror

2006-09-20 Thread Thomas Lange
 On Wed, 20 Sep 2006 11:04:05 +0200, Rene Caspari [EMAIL PROTECTED] said:

 I want to use two different MTA (Postfix and Exim) for severeal FAI
 classes. If I use fai-mirror to build the mirror, it fails with a
 conflict, that Postfix is not installable.

 Maybe apt fails because of two concurrent MTA packages...?
Yes, this is a feature of apt. Even if you use -d (for
download-only) it complains if there are conflicts. Maybe apt should
get a new option --ignore-conflicts. But here's the workaround.
install_packages -m MAX or setting the variable MAXPACKAGES to 1 will
install^wdownload only one package at a time, so there should be not
conflicts.

-- 
regards Thomas


Fwd: fai-mirror and conflicting packages

2006-06-07 Thread Henning Sprang

posted with wrong from address, sorry:

-- Forwarded message --
From: Henning Sprang [EMAIL PROTECTED]
Date: Jun 6, 2006 4:15 PM
Subject: Re: fai-mirror and conflicting packages
To: Larry Lindsey [EMAIL PROTECTED]
Cc: linux-fai@uni-koeln.de


On 6/2/06, Larry Lindsey [EMAIL PROTECTED] wrote:

[...]
I've already attempted
to place all of the packages in files/, but they take up  10MB, causing FAI to
error-out early in the installation.


I agree that fai-mirror should be able to get conflicting packages
into the same mirror, also (which is probably not possible with the
way it currently works)

Bu why and since when does FAI have a 10MB limit for the files directory?
I used to have quite large files in there, I did get rid of it because
it's just not good to have such things. But if somebody wants to, he
should be able to stick GB's into files at will.

Henning


--
Henning Sprang -
http://www.sprang.de - http://faiwiki.informatik.uni-koeln.de
jabber: [EMAIL PROTECTED]


Re: Fwd: fai-mirror and conflicting packages

2006-06-07 Thread Thomas Lange
 On Wed, 7 Jun 2006 13:00:36 +0200, Henning Sprang [EMAIL PROTECTED] 
 said:

 I agree that fai-mirror should be able to get conflicting packages
 into the same mirror, also (which is probably not possible with the
 way it currently works)
Maybe setting MAXPACKAGES=1 will also help. Then, every single package will be
installed^Wdownloaded by a single apt-get call.

-- 
regards Thomas


fai-mirror and conflicting packages

2006-06-02 Thread Larry Lindsey
Is there a way to use fai-mirror to create a mirror with conflicting package
types?

The kernel packages that I've mentioned here before all conflict with each other
(they need to for various reasons), but I'd like to be able to select one of the
set for installation automatically, however, fai-mirror attempts to download all
packages simultaneously, and it seems that apt-get will simply refuse to
concurrently download conflicting packages.  Any ideas?  I've already attempted
to place all of the packages in files/, but they take up  10MB, causing FAI to
error-out early in the installation.

Thanks

--




Re : Strange problem with fai-mirror not finding the kernel package from my mirror

2006-01-13 Thread Henning Sprang
On 1/12/06, Michael Tautschnig [EMAIL PROTECTED] wrote:
 [...]

 Henning, which version of FAI did you try? Was it 2.8.4 or 2.9? If it was 
 2.8.4
 and the above would indeed fix it for you, then it is at least fixed in 2.9.1
 (most probably 2.9 should work as well in that case).

Nope. As I wrote, I know about the FAI 2.8.4 troubles with fai-cd, so
I used 2.9, where I know the fai-cd problems are fixed - I tested
that, 2.9 creates usable cd's without trouble.

The problems I describe happen already at fai-mirror time, not install time.

I'll further investigate that when I find time - I just had the hope
that someone has an idea.

Henning



Re : Strange problem with fai-mirror not finding the kernel package from my mirror

2006-01-12 Thread tundis phil
Hi,  I just use Fai-cd and I had the same problem. I resolved it by putting some a line in the script /usr/sbin/fai-cd.  In the old script, there was :  deb file:/file/mirror stable main  I replace it by  deb file:/file/mirror stable main deb file:/file/mirror sarge main  I think the problem came for the section of the kernel, it was sarge and now it is stable, so you need the two sections (sarge et stable) in order to have all the packages.  Phil 
		 Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
Téléchargez la version beta.

Re: Re : Strange problem with fai-mirror not finding the kernel package from my mirror

2006-01-12 Thread Michael Tautschnig
  Hi,
  
  I just use Fai-cd and I had the same problem.
  I resolved it by putting some a line in the script /usr/sbin/fai-cd.
  
  In the old script, there was :
  
  deb file:/file/mirror stable main
  
  I replace it by
  
  deb file:/file/mirror stable main
  deb file:/file/mirror sarge main

[...]

Henning, which version of FAI did you try? Was it 2.8.4 or 2.9? If it was 2.8.4
and the above would indeed fix it for you, then it is at least fixed in 2.9.1
(most probably 2.9 should work as well in that case).

Regards,
Michael



signature.asc
Description: Digital signature


Re: fai-mirror bugs: conflicting packages and relative directories

2005-09-11 Thread Thomas Lange
 On Sat, 10 Sep 2005 02:54:17 -0400 (EDT), Paul Nijjar [EMAIL PROTECTED] 
 said:

   0. I have two package lists with conflicting packages. In
 package_config/EMACS I have:

 PACKAGES install
 emacs

 and in package_config/EMACS-NOX I have:
 PACKAGES install
 emacs-nox

   Now if I type

 fai-mirror -v -cEMACS,EMACS-NOX /tmp/mirror

   the script fails when calculating the dependencies:
I know this will not work, but I'm think I know how to fix
it. install_packages has to proceed that package list class by class
and not collect all packages from all classes before downloading the
packages. 

It would be nice if you could file a bug against fai.
-- 
regards Thomas


fai-mirror

2005-04-18 Thread Eugen Paiuc
From fai_2.8,
.
[EMAIL PROTECTED]:/# fai-mirror
mkinitrd-cd not found. Please install package.
.
whereis mkinitrd-cd ?


Re: fai-mirror

2005-04-18 Thread Holger Levsen
Hi,

fai_2.8 suggests (between others) the packages mkinitrd-cd. 

In 2.8 some packages have been moved to Suggests:|Recommends: so that the fai 
package can be installed _everywhere_ (for softupdates) without to many 
packages pulled in by dependencies. This will will be fixed by a split of the 
fai package (into fai-server, fai-doc, $whatever) after sarge is released.

Oh, btw, mkinitrd-cd is only available for i386. FAI should use something 
else :-)


regards,
 Holger



fai-mirror is missing a dependency

2005-03-29 Thread Holger Schurig
Hi !

I just tried fai 2.7 and issued the fai-mirror command. It did not work 
out-of-the-box, because the fai deb doesn't include libapt-pkg-perl as 
a dependency.


Re: fai-mirror is missing a dependency

2005-03-29 Thread Thomas Lange
 On Tue, 29 Mar 2005 10:31:38 +0200, Holger Schurig [EMAIL PROTECTED] 
 said:

 Hi !
 I just tried fai 2.7 and issued the fai-mirror command. It did not work 
 out-of-the-box, because the fai deb doesn't include libapt-pkg-perl as 
 a dependency.
Your're right. This will be fixed in the next release.

-- 
regards Thomas


Re: fai-mirror is missing a dependency

2005-03-29 Thread Geert Stappers
On Tue, Mar 29, 2005 at 11:35:00AM +0200, Thomas Lange wrote:
  On Tue, 29 Mar 2005 10:31:38 +0200, Holger Schurig [EMAIL PROTECTED] 
  said:
 
  Hi !
  I just tried fai 2.7 and issued the fai-mirror command. It did not 
 work 
  out-of-the-box, because the fai deb doesn't include libapt-pkg-perl 
 as 
  a dependency.
 Your're right. This will be fixed in the next release.

Could fai-mirror get it's own package?
(or should I file a wishlist BR)


 regards Thomas

Cheers
Geert Stappers



Re: fai-mirror is missing a dependency

2005-03-29 Thread Thomas Lange
 On Tue, 29 Mar 2005 13:19:55 +0200, [EMAIL PROTECTED] (Geert Stappers) 
 said:

 Could fai-mirror get it's own package?
 (or should I file a wishlist BR)

One plan for FAI 3 is to split the fai package into several
packages (like doc, server, client, tools). But this is a long term
plan.

-- 
regards Thomas