Re: apt-get dist-upgrade-except-foo1[-and-foo2] ?
> Hi all,
> I get several responses, groupable in two solutions:
> 1) put the packages to hold;
> 2) mark my custom packages with epoch >= 1
> Tried the first without success (actually I think I had them in hold when I
> first wrote to the list); I'll try 2nd approach whenever I have a night to
> spend :)
I encountered one case where hold didn't seem to work, but I was doing some
things fast enough I thought I'd just done something wrong (and it didn't
need doing twice, so I left it alone). Maybe there is something more nasty
going on here?
> Thank you all for your quick responses,
> > Hi everyone
> > Recently I compiled myself a kernel and packed it with the aid of
> > kernel-package. I ended up with two .debs,
> > kernel-image-2.2.17_kermit.1_i386.deb
> > pcmcia-modules-2.2.17_3.1.8-16+kermit.1_i386.deb
> > with suit my laptop setup (now it powers off and pcmcia works fine).
> > Now, I'm living on the edge with woody, and everytime I run 'apt-get
> > dist-upgrade' I am told to upgrade these two packages, which means kernel
> > freezing on pcmcia insertion and no automagic power-off.
the no automagic power-off may be because of those desktop folk running the
kernel packages, building in apm but defaulting it to off.
If your pcmcia happens to be sensitive to apm issues it *might* fix that too,
but it might not.
> > Question is: Is there a way of upgrade all but these two (or any other)
> > packages?
the immutable bit often helps. chattr +i file-to-keep-package-from-ruining
* Heather Stern * star@ many places...