PDA

View Full Version : [Ubuntu] il computer non si avvia in seguito agli aggiornamenti


mone.java
14-10-2009, 22:54
Salve a tutti!
Ho Ubuntu 9.04 e non mi funzionavano gli aggiornamenti, allora ho provato ad eseguirli da terminale. Dal terminale mi diceva che i pacchetti non erano verificati (Install these packages without verification [y/N]) ma io li ho installati lo stesso. Ora al riavvio l'interfaccia non parte pių (si blocca proprio il computer non si riesce a fare nemmeno CTRL+ALT+F1). Dopo un po di prove che non hanno portato a nessun risultato ho avviato il pc con un ubuntu su usb ed ho montato la partizione con la vecchia installazione sull'ubuntu su chiave (/mnt/ubuntu). Poi ho dato chroot /mnt/ubuntu per accedere alla partizione e dare un dist-upgrade per reinstallare tutti i pacchetti!!!! il problema č che qualunque cosa faccia con apt (suo apt-get -f install) mi da un errore:


root@ubuntu:/var/cache/apt/archives# sudo apt-get -f install
sudo: unable to resolve host ubuntu
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libfreebob0 python-renderpm ttf-wqy-zenhei libsdl-console ttf-kannada-fonts python-newt phonon screen-profiles python-reportlab-accel libsmbios2 seahorse-plugins ttf-telugu-fonts libffado0 libltdl7-dev
python-uniconvertor phonon-backend-xine libxml++2.6-2 ttf-oriya-fonts jackd ttf-bengali-fonts python-reportlab
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libgnomekbd3
The following packages will be upgraded:
libgnomekbd3
1 upgraded, 0 newly installed, 0 to remove and 529 not upgraded.
6 not fully installed or removed.
Need to get 0B/47.0kB of archives.
After this operation, 73.7kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
libgnomekbd3
Install these packages without verification [y/N]? y
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 184479 files and directories currently installed.)
Preparing to replace libgnomekbd3 2.26.0-0ubuntu2 (using .../libgnomekbd3_2.26.0-1_i386.deb) ...
Unpacking replacement libgnomekbd3 ...
dpkg: error processing /var/cache/apt/archives/libgnomekbd3_2.26.0-1_i386.deb (--unpack):
trying to overwrite '/usr/lib/libgnomekbdui.so.3.0.0', which is also in package libgnomekbdui3 0:2.26.0-0ubuntu2
Errors were encountered while processing:
/var/cache/apt/archives/libgnomekbd3_2.26.0-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

(notare che continua a dirmi di installare i pacchetti senza verifica: "Install these packages without verification [y/N]")

non so come fare!!! Esiste un modo per fare una sorta di ripristino o comunque per aggirare il problema?
Grazie a tutti!!!!!!

attila60
17-10-2009, 19:17
Salve a tutti!
Ho Ubuntu 9.04 e non mi funzionavano gli aggiornamenti, allora ho provato ad eseguirli da terminale. Dal terminale mi diceva che i pacchetti non erano verificati (Install these packages without verification [y/N]) ma io li ho installati lo stesso. Ora al riavvio l'interfaccia non parte pių (si blocca proprio il computer non si riesce a fare nemmeno CTRL+ALT+F1). Dopo un po di prove che non hanno portato a nessun risultato ho avviato il pc con un ubuntu su usb ed ho montato la partizione con la vecchia installazione sull'ubuntu su chiave (/mnt/ubuntu). Poi ho dato chroot /mnt/ubuntu per accedere alla partizione e dare un dist-upgrade per reinstallare tutti i pacchetti!!!! il problema č che qualunque cosa faccia con apt (suo apt-get -f install) mi da un errore:


root@ubuntu:/var/cache/apt/archives# sudo apt-get -f install
sudo: unable to resolve host ubuntu
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libfreebob0 python-renderpm ttf-wqy-zenhei libsdl-console ttf-kannada-fonts python-newt phonon screen-profiles python-reportlab-accel libsmbios2 seahorse-plugins ttf-telugu-fonts libffado0 libltdl7-dev
python-uniconvertor phonon-backend-xine libxml++2.6-2 ttf-oriya-fonts jackd ttf-bengali-fonts python-reportlab
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libgnomekbd3
The following packages will be upgraded:
libgnomekbd3
1 upgraded, 0 newly installed, 0 to remove and 529 not upgraded.
6 not fully installed or removed.
Need to get 0B/47.0kB of archives.
After this operation, 73.7kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
libgnomekbd3
Install these packages without verification [y/N]? y
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 184479 files and directories currently installed.)
Preparing to replace libgnomekbd3 2.26.0-0ubuntu2 (using .../libgnomekbd3_2.26.0-1_i386.deb) ...
Unpacking replacement libgnomekbd3 ...
dpkg: error processing /var/cache/apt/archives/libgnomekbd3_2.26.0-1_i386.deb (--unpack):
trying to overwrite '/usr/lib/libgnomekbdui.so.3.0.0', which is also in package libgnomekbdui3 0:2.26.0-0ubuntu2
Errors were encountered while processing:
/var/cache/apt/archives/libgnomekbd3_2.26.0-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

(notare che continua a dirmi di installare i pacchetti senza verifica: "Install these packages without verification [y/N]")

non so come fare!!! Esiste un modo per fare una sorta di ripristino o comunque per aggirare il problema?
Grazie a tutti!!!!!!

prova a chiedere qui:
http://forum.ubuntu-it.org/
ho risolto varie volte ;)