Davide Prina wrote:
con l'aggiornamento odierno di Sarge c'erano in programma anche i
pacchetti relativi al gcc. Peccato però che apt non riesce ad
aggiornarli normalmente con un "apt-get -u upgrade" perché genera il
seguente errore per ognuno dei pacchetti (ne riporto uno)
Spacchetto il rimpiazzo di gcc-3.3 ...
dpkg: errore processando
/var/cache/apt/archives/gcc-3.3_1%3a3.3.4-6sarge1.1_i386.deb (--unpack):
tentata sovrascrittura di
`/usr/share/doc/gcc-3.3-base/changelog.Debian.gz', che si trova anche
nel pacchetto gcc-3.3-doc
dpkg-deb: il sottoprocesso paste è stato terminato dal segnale (Pipe
rotta)
per risolvere ho fatto
# dpkg --force-overwrite -i
/var/cache/apt/archives/gcc-3.3_1%3a3.3.4-6sarge1.1_i386.deb
su ogni pacchetto.
Quello che volevo capire è perché c'è stato questo errore che non
avevo mai visto precedentemente
forse la risposta è qui (mi è arrivato subito dopo aver postato)
Toolchain fixes. A misbuilt gcc-3.3 package on alpha left us with a
broken compiler in sarge -- which aside from being release-critical,
made it rather hard to build packages uploaded to the
testing-proposed-updates queue. This is being addressed as we speak,
though with a little more pain than we'd like; by dinstall on the 29th,
we should have a working gcc on all architectures in sarge.
The other end of the toolchain. gcc is fixed, but binutils is not.
There are a number of outstanding issues with binutils in both sarge
and sid that make it harder than necessary to build packages on some
architectures right now. Fixing binutils is still most likely a
precondition for testing-security and testing-proposed-updates
support that we can depend on 100%.
Ciao
Davide