PDA

View Full Version : insolito problema con apt


xfulviox
27-11-2003, 07:13
da una settimana quando lancio il mio script update (apt-get update && apt-get -uy dist-upgrade && apt-get clean) ottengo il seguente output:
------------------------------------------------------------------------------------------------------------------------
desktop:/home/fulvio# update
Hit http://ftp.it.debian.org unstable/main Packages
Hit http://ftp.it.debian.org unstable/main Release
Hit http://ftp.it.debian.org unstable/contrib Packages
Hit http://ftp.it.debian.org unstable/contrib Release
Hit http://ftp.it.debian.org unstable/non-free Packages
Hit http://ftp.it.debian.org unstable/non-free Release
Hit http://ftp.it.debian.org unstable/non-US/main Packages
Hit http://ftp.it.debian.org unstable/non-US/main Release
Hit http://ftp.it.debian.org unstable/non-US/contrib Packages
Hit http://ftp.it.debian.org unstable/non-US/contrib Release
Hit http://marillat.free.fr unstable/main Packages
Hit http://security.debian.org stable/updates/main Packages
Hit http://security.debian.org stable/updates/main Release
Hit http://marillat.free.fr unstable/main Release
Reading Package Lists... Done
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages will be upgraded
python python2.3
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/2897kB of archives.
After unpacking 16.4kB of additional disk space will be used.
(Reading database ... 72213 files and directories currently installed.)
Preparing to replace python 2.3.2-4 (using .../python_2.3.2-6_all.deb) ...
Unpacking replacement python ...
dpkg: error processing /var/cache/apt/archives/python_2.3.2-6_all.deb (--unpack) :
trying to overwrite `/usr/share/doc/python2.3/python-policy.html', which is als o in package python2.3
dpkg: considering removing python in favour of python2.3 ...
dpkg: no, cannot remove python (--auto-deconfigure will help):
eroaster depends on python (<< 2.4)
python is to be removed.
dpkg: regarding .../python2.3_2.3.2-6_i386.deb containing python2.3:
python2.3 conflicts with python (<= 2.3.2-5)
python (version 2.3.2-4) is installed.
dpkg: error processing /var/cache/apt/archives/python2.3_2.3.2-6_i386.deb (--unp ack):
conflicting packages - not installing python2.3
Errors were encountered while processing:
/var/cache/apt/archives/python_2.3.2-6_all.deb
/var/cache/apt/archives/python2.3_2.3.2-6_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
------------------------------------------------------------------------------------------------------------------------
inizialmente pensavo si trattasse di un problema di repository, ma il fatto che nemmeno dopo una settimana scaricasse alcuna nuova lista di .deb aggiornata mi ha insospettitto, facendomi pensare che l'intoppo fosse proprio a causa mia... i tipi di errori in effetti confermano i sospetti, ma come potrei rimediare? la soluzione apt-get remove python (mi comporterebbe l'eliminazione anche dei seguenti pacchetti: eroaster foomatic-gui kdelibs-bin kdelibs4 khelpcenter knewsticker-scripts kopete nicotine pyslsk python python-glade2 python-gnome2 python-gtk2 quanta ) mi appare decisamente poco elegante... che mi suggerite?
grazie, ciao!

malanaz
27-11-2003, 07:41
Secondo me puoi risolvere cosė:
# apt-get update && apt-get dist-upgrade&& dpkg -i --force-all /var/cache/apt/archives/python2.3_2.3.2-6_i386.deb

Anche a me python2.3 mi dava quell'errore...
Ciao

DjMix
27-11-2003, 09:15
anche a me apt-get non scarica pių. immagino che i ragazzi di debian stiano controllando tutto l'enorme repository instable alla caccia di manomissioni.