Re: Problem with package removal...

2007-02-18 Thread Henning Sprang

On 2/18/07, Carl J. Van Arsdall <[EMAIL PROTECTED]> wrote: I

imagine that at one point in time, Ant wasn't dependent on gcj, but
perhaps they added it.


FAI can only install the packages as they are :)


sometimes I just wish things wouldn't get "fixed".


Sun is on the way to fix it. Hopefully they get their libs gpl'ed this year.

Henning


Re: Problem with package removal...

2007-02-18 Thread Michael Tautschnig
> Henning Sprang wrote:
> >On 2/16/07, Carl J. Van Arsdall <[EMAIL PROTECTED]> wrote:
> >>Is there a way I can tell fai to only remove the packages I explicitly
> >>tell it to?
> >
> >Are you sure that the things you want to do work correctly, depency-wise?
> Well, they had for a long time anyhow.  Ant is a java package, and I 
> install java, I just don't know gnu java, I use sun java (which can't 
> live in the main apt repositories cause of the software license).  I 
> imagine that at one point in time, Ant wasn't dependent on gcj, but 
> perhaps they added it. 
>

Are you using the non-free sun-java5-* packages? I suppose they should properly
provide java-virtual-machine and the like, which ant depends on.

Best,
Michael




pgpLmnHNOkZXc.pgp
Description: PGP signature


Re: Problem with package removal...

2007-02-18 Thread Carl J. Van Arsdall

Henning Sprang wrote:

On 2/16/07, Carl J. Van Arsdall <[EMAIL PROTECTED]> wrote:

Is there a way I can tell fai to only remove the packages I explicitly
tell it to?


Are you sure that the things you want to do work correctly, depency-wise?
Well, they had for a long time anyhow.  Ant is a java package, and I 
install java, I just don't know gnu java, I use sun java (which can't 
live in the main apt repositories cause of the software license).  I 
imagine that at one point in time, Ant wasn't dependent on gcj, but 
perhaps they added it. 



Sounds quite reasonable that ant depends on some java base package,
and therefore is removed when you throw java base packages away.

FAI doesn't circumvent dependencies normally, it uses normal apt and
aptitude calls. I am not sure if there is something to force doing
things against dependencies.
Alright, its not too much of a pain.  gcj will install things into my 
path, I just need to unlink them and put links to the sun java.  Nothing 
a script can't do, sometimes I just wish things wouldn't get "fixed".


Thanks,

-carl




Re: Problem with package removal...

2007-02-18 Thread Henning Sprang

On 2/16/07, Carl J. Van Arsdall <[EMAIL PROTECTED]> wrote:

Is there a way I can tell fai to only remove the packages I explicitly
tell it to?


Are you sure that the things you want to do work correctly, depency-wise?

Sounds quite reasonable that ant depends on some java base package,
and therefore is removed when you throw java base packages away.

FAI doesn't circumvent dependencies normally, it uses normal apt and
aptitude calls. I am not sure if there is something to force doing
things against dependencies.

Henning


Problem with package removal...

2007-02-16 Thread Carl J. Van Arsdall
Hey, I have an issue where a package I am choosing to install is being 
removed, indirectly when removing a package I don't know.  The system 
didn't used to do this one, but maybe someone fixed the package 
dependencies or something.


So here's my conf file:

PACKAGES aptitude AMD64
memtest86+ udev openssh-server rsync cvs cvs2cl mkisofs sudo ntp ntpdate 
bzip2 vim linux32 ncurses-dev ant ibm-j2sdk1.4 ant-optional 
libxerces-java libxml-commons-resolver1.1-java python pyro 
linux-image-2.6.20-fai-client ibm-j2sdk1.4 lm-sensors libsensors3 rpm 
makedev make ia32-libs


PACKAGES aptitude DHCPC
dhcp3-client

PACKAGES aptitude GRUB
grub lilo-

PACKAGES aptitude LILO
lilo grub-

PACKAGES remove
gcj-4.1-base libgcj-common libgcj7-0 libgcj7-jar java-gcj-compat

Basically, there are several java packages I install for the class 
AMD64.  I dunno exactly what happens, but in the process of all this 
stuff, gcj-base gets pulled down (or it happens somewhere else).  I 
don't want this package, so I remove it, but this seems to take ant, 
ant-optional, and a couple other java related packages with it.


Is there a way I can tell fai to only remove the packages I explicitly 
tell it to?


-carl



--

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