Re: ma volessi solo aggiornare alcuni pacchetti?
On Sunday 18 August 2002 03:05, `matte wrote:
> On Sat, Aug 17, 2002 at 08:53:18PM +0200, k wrote:
> > Vorrei aggiornare solo il compilatore gcc all'ultimissima versione,
> > ma rimanendo sempre con woody. Come posso fare utilizzando apt-get?
>
> apt-get remove gcc
> apt-get install gcc-3.1
In realtà la domanda è equivoca appunto perché di gcc ce ne sono
due... Se usi il gcc 2.95 e vuoi aggiornare quello, aggiungi questo a
/etc/apt/preferences, ammesso che in sources.list hai i puntatori sia
a woody/stable che sarge/testing:
Package: cpp
Pin: release a=testing
Pin-Priority: 990
Package: cpp-2.95
Pin: release a=testing
Pin-Priority: 990
Package: cpp-2.95-doc
Pin: release a=testing
Pin-Priority: 990
Package: gcc
Pin: release a=testing
Pin-Priority: 990
Package: gcc-2.95
Pin: release a=testing
Pin-Priority: 990
Package: gcc-2.95-doc
Pin: release a=testing
Pin-Priority: 990
Package: g++
Pin: release a=testing
Pin-Priority: 990
Package: g++-2.95
Pin: release a=testing
Pin-Priority: 990
Package: libstdc++2.10-glibc2.2
Pin: release a=testing
Pin-Priority: 990
Package: *
Pin: release a=stable
Pin-Priority: 989
Package: *
Pin: release a=testing
Pin-Priority: 99
Sul mio sistema funziona.
Ciao,
Paolo
--
If Linux is not Unix then Windows are not Gates
Anonymous, XXI Century
Reply to: