provo a installare un pacchetto da shell su ubuntu:

codice:
root@caladan:/home/gianiaz# apt-get install ncftp
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso
Reading state information... Fatto
Ã^ consigliabile eseguire 'apt-get -f install' per correggere questi problemi:
I seguenti pacchetti hanno dipendenze non soddisfatte:
  python-uno: Dipende: openoffice.org-core (= 2.0.4-0ubuntu4) ma 2.0.4-0ubuntu5 sta per essere insta
llato
E: Dipendenze non soddisfatte. Provare 'apt-get -f install' senza pacchetti (o specificare una soluz
ione).
allora provo apt-get -f install
codice:
root@caladan:/home/gianiaz# apt-get -f install
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso
Reading state information... Fatto
Correzione delle dipendenze in corso... Fatto
I seguenti pacchetti verranno inoltre installati:
  python-uno
I seguenti pacchetti saranno aggiornati:
  python-uno
1 aggiornati, 0 installati, 0 da rimuovere e 41 non aggiornati.
Ã^ necessario prendere 0B/220kB di archivi.
Dopo l'estrazione, verranno occupati 0B di spazio su disco.
Continuare [S/n]? s
(Lettura del database ... 115949 file e directory attualmente installati.)
Mi preparo a sostituire python-uno 2.0.4-0ubuntu4 (con .../python-uno_2.0.4-0ubuntu5_i386.deb) ..
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1348, in <module>
    main()
  File "/usr/bin/pycentral", line 1342, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 935, in run
    pkg.remove(runtimes, remove_script_files=True)
  File "/usr/bin/pycentral", line 693, in remove
    default_runtime.remove_byte_code(self.private_files)
AttributeError: 'NoneType' object has no attribute 'remove_byte_code'
dpkg: attenzione - il vecchio script di pre-removal ha restituito un codice di errore 1
dpkg - provo quindi lo script dal nuovo pacchetto ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1348, in <module>
    main()
  File "/usr/bin/pycentral", line 1342, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 935, in run
    pkg.remove(runtimes, remove_script_files=True)
  File "/usr/bin/pycentral", line 693, in remove
    default_runtime.remove_byte_code(self.private_files)
AttributeError: 'NoneType' object has no attribute 'remove_byte_code'
dpkg: errore processando /var/cache/apt/archives/python-uno_2.0.4-0ubuntu5_i386.deb (--unpack):
 il sottoprocesso nuovo script di pre-removal ha restituito un codice di errore 1
Sono occorsi degli errori processando:
 /var/cache/apt/archives/python-uno_2.0.4-0ubuntu5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@caladan:/home/gianiaz#
ovviamente il pacchetto è uno di quelli a cui non si può assolutamente rinunciare, infatti :

codice:
root@caladan:/home/gianiaz# apt-get remove python-uno
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso
Reading state information... Fatto
Ã^ consigliabile eseguire 'apt-get -f install' per correggere questi problemi:
I seguenti pacchetti hanno dipendenze non soddisfatte:
  openoffice.org-writer: Dipende: python-uno (>= 2.0.4) ma non sta per essere installato
E: Dipendenze non soddisfatte. Provare 'apt-get -f install' senza pacchetti (o specificare una soluz
ione).
root@caladan:/home/gianiaz#
Farei anche a meno di openoffice, ma il problema è che mi perdo in mille altre dipendenze.

Se serve posto anche il mio sources.list

codice:
deb http://it.archive.ubuntu.com/ubuntu/ edgy main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ edgy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://it.archive.ubuntu.com/ubuntu/ edgy-updates main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ edgy-updates main restricted


## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://it.archive.ubuntu.com/ubuntu/ edgy universe
deb-src http://it.archive.ubuntu.com/ubuntu/ edgy universe

deb http://rpm.rutgers.edu/repository/ubuntu/ edgy universe

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://it.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu edgy-security main restricted
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted
# deb http://security.ubuntu.com/ubuntu edgy-security universe
# deb-src http://security.ubuntu.com/ubuntu edgy-security universe

deb http://it.archive.ubuntu.com/ubuntu/ edgy universe multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ edgy universe multiverse


#deb http://medibuntu.sos-sts.com/repo/ edgy free non-free
#deb-src http://medibuntu.sos-sts.com/repo/ edgy free non-free
è un problema che eoni fa con la debian sid risolvevo senza problemi, ma ora non ricordo molti comandi, e su ubuntu mi trovo un po' disorientato... abbiate pazienza...

ciao
[/code]
problema avuto altre volte con deb, ma con