Re: Any way to stop dist-upgrade from upgrading tetex to texlive

2007-08-25 Thread Sven Joachim
- Tong - [EMAIL PROTECTED] writes:

 Is there any way to stop dist-upgrade from upgrading tetex to texlive? 

 I just upgraded from Etch to Lenny, and have loads of things to fix,
 keeping tetex from upgrading to texlive will sure ease the transition for
 the moment. 

You should put your tetex packages on hold:

# aptitude hold tetex-base tetex-bin tetex-extra

Then try aptitude -s dist-upgrade.  If that would still pull in
texlive, you are bitten by bug #434731: aptitude will ignore the hold
if a package that is _not_ put on hold can only be upgraded by
upgrading a package that _is_ on hold.  But hopefully that will not be
the case.

The migration to texlive will pull in many hundred of megabytes if you
have tetex-extra installed.  In that case I would recommend to use
aptitude's TUI to uninstall it and manually select the texlive
packages you want (look in the dependencies of texlive-full).  This is
how I managed the transition without pulling in too much stuff.

Hope this helps,
Sven


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Any way to stop dist-upgrade from upgrading tetex to texlive

2007-08-25 Thread Mathias Brodala
Hi.

- Tong -, 25.08.2007 05:51:
 On Sat, 25 Aug 2007 02:03:42 +0200, Mathias Brodala wrote:
 
 Is there any way to stop dist-upgrade from upgrading tetex to texlive? 
 See the manpage of aptitude and look for hold.
 
 […]
 
 Please be *responsible* with what you said. Do you know that your hold
 does not work?

Nope. Only heard about it multiple times and thought it might be the solution
here. I never used it myself.

 If you are not sure yourself, shouldn't you at least test
 it before blunt it out?

I don’t use aptitude.

 If you want to help, then give *real* help, not
 giving false directions to waste other's time. 

You just could take my hint for further research if it doesn’t work directly.
(You could have come up with the idea to put everything tex-related on hold, for
example.)


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: Any way to stop dist-upgrade from upgrading tetex to texlive

2007-08-25 Thread Daniel Burrows
On Fri, Aug 24, 2007 at 11:44:28PM +, - Tong - [EMAIL PROTECTED] was 
heard to say:
 Is there any way to stop dist-upgrade from upgrading tetex to texlive? 

  Holding the various tetex packages (tetex-bin, tetex-common,
tetex-extra, tetex-doc) should work -- but I wouldn't be surprised
if they get dragged in by dependencies anyway.  aptitude holds don't
prevent versioned dependencies from forcing an upgrade, unfortunately.
(and TBH, I hardly ever use holds these days, so they may be even more
 buggy than I think)

  Personally, I would just bite the bullet and do the upgrade -- tetex
is going away and you'll have to switch over eventually anyway.  Is there
a particular difficulty you're running into with the upgrade?

  Daniel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Any way to stop dist-upgrade from upgrading tetex to texlive

2007-08-25 Thread - Tong -
On Sat, 25 Aug 2007 12:38:52 +0200, Mathias Brodala wrote:

 You just could take my hint for further research if it doesn’t work directly.
 (You could have come up with the idea to put everything tex-related on hold, 
 for
 example.)

Thanks for the hint, as you may have already discovered from Sven's post,
this is much more complicated than that...

thanks all the same.

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Any way to stop dist-upgrade from upgrading tetex to texlive

2007-08-25 Thread Sven Joachim
Daniel Burrows [EMAIL PROTECTED] writes:

   Holding the various tetex packages (tetex-bin, tetex-common,
 tetex-extra, tetex-doc) should work -- but I wouldn't be surprised
 if they get dragged in by dependencies anyway.  aptitude holds don't
 prevent versioned dependencies from forcing an upgrade, unfortunately.
 (and TBH, I hardly ever use holds these days, so they may be even more
  buggy than I think)

   Personally, I would just bite the bullet and do the upgrade -- tetex
 is going away and you'll have to switch over eventually anyway.  Is there
 a particular difficulty you're running into with the upgrade?

The problem is that upgrading tetex-extra will pull in a lot
texlive-*lang packages you will probably never need:

$ aptitude -s install tetex-extra
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Reading extended state information   
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
The following NEW packages will be automatically installed:
  tetex-bin texlive-bibtex-extra texlive-fonts-extra texlive-generic-extra 
  texlive-lang-croatian texlive-lang-cyrillic texlive-lang-czechslovak 
  texlive-lang-danish texlive-lang-dutch texlive-lang-finnish 
  texlive-lang-french texlive-lang-greek texlive-lang-hungarian 
  texlive-lang-italian texlive-lang-latin texlive-lang-mongolian 
  texlive-lang-norwegian texlive-lang-other texlive-lang-polish 
  texlive-lang-portuguese texlive-lang-spanish texlive-lang-swedish 
  texlive-lang-vietnamese texlive-latex-extra texlive-math-extra 
  texlive-pstricks texlive-publishers texpower texpower-manual 
The following packages have been kept back:
  bash-doc expectk icedove icedove-locale-de 
The following NEW packages will be installed:
  tetex-bin tetex-extra texlive-bibtex-extra texlive-fonts-extra 
  texlive-generic-extra texlive-lang-croatian texlive-lang-cyrillic 
  texlive-lang-czechslovak texlive-lang-danish texlive-lang-dutch 
  texlive-lang-finnish texlive-lang-french texlive-lang-greek 
  texlive-lang-hungarian texlive-lang-italian texlive-lang-latin 
  texlive-lang-mongolian texlive-lang-norwegian texlive-lang-other 
  texlive-lang-polish texlive-lang-portuguese texlive-lang-spanish 
  texlive-lang-swedish texlive-lang-vietnamese texlive-latex-extra 
  texlive-math-extra texlive-pstricks texlive-publishers texpower 
  texpower-manual 
0 packages upgraded, 30 newly installed, 0 to remove and 4 not upgraded.
Need to get 216MB of archives. After unpacking 420MB will be used.
Do you want to continue? [Y/n/?] 
Would download/install/remove packages.


I found no other way than deselecting tetex-extra and manually
installing the wanted texlive packages to avoid this.  And it is
probably easier to do this if the rest of the system is up to date
already.

Regards,
Sven 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Any way to stop dist-upgrade from upgrading tetex to texlive

2007-08-24 Thread - Tong -
Hi, 

Is there any way to stop dist-upgrade from upgrading tetex to texlive? 

I just upgraded from Etch to Lenny, and have loads of things to fix,
keeping tetex from upgrading to texlive will sure ease the transition for
the moment. 

thanks

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Any way to stop dist-upgrade from upgrading tetex to texlive

2007-08-24 Thread Jude DaShiell

In your apt.conf file try a line like exclude texl* and see if that helps.



On Fri, 24 Aug 2007, - Tong - wrote:


Hi,

Is there any way to stop dist-upgrade from upgrading tetex to texlive?

I just upgraded from Etch to Lenny, and have loads of things to fix,
keeping tetex from upgrading to texlive will sure ease the transition for
the moment.

thanks

--
Tong (remove underscore(s) to reply)
 http://xpt.sourceforge.net/techdocs/
 http://xpt.sourceforge.net/tools/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Any way to stop dist-upgrade from upgrading tetex to texlive

2007-08-24 Thread - Tong -
On Fri, 24 Aug 2007 18:48:25 -0500, Jude DaShiell wrote:

 Is there any way to stop dist-upgrade from upgrading tetex to texlive?

 I just upgraded from Etch to Lenny, and have loads of things to fix,
 keeping tetex from upgrading to texlive will sure ease the transition for
 the moment.
 
 In your apt.conf file try a line like exclude texl* and see if that
 helps.

wow, that's fast respond! 

unfortunately, it doesn't work for me:

echo 'exclude texl*'  /etc/apt/apt.conf

$ aptitude dist-upgrade
The following NEW packages will be installed:
[...]
  python2.5-minimal texlive texlive-base texlive-base-bin 
  texlive-bibtex-extra texlive-common texlive-doc-base texlive-font-utils 
[...]
1127 packages upgraded, 146 newly installed, 28 to remove and 0 not upgraded.
[...]

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Any way to stop dist-upgrade from upgrading tetex to texlive

2007-08-24 Thread Mathias Brodala
Hi.

- Tong -, 25.08.2007 01:44:
 Is there any way to stop dist-upgrade from upgrading tetex to texlive? 

See the manpage of aptitude and look for hold.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: Any way to stop dist-upgrade from upgrading tetex to texlive

2007-08-24 Thread - Tong -
On Sat, 25 Aug 2007 02:03:42 +0200, Mathias Brodala wrote:

 Is there any way to stop dist-upgrade from upgrading tetex to texlive? 
 
 See the manpage of aptitude and look for hold.

so what?

Actively participate in group discussion is good thing, but please be
responsible with what you said. Just now there is an expert suggest
twisting apt.conf with something that doesn't even exist in man apt.conf.
Now her comes another expert brush away a complicate problem with *three*
letter -- look for hold. 

Please be *responsible* with what you said. Do you know that your hold
does not work? If you are not sure yourself, shouldn't you at least test
it before blunt it out? If you want to help, then give *real* help, not
giving false directions to waste other's time. 

thanks

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]