Não é possível instalar nada via terminal em 12.04

1

Note que eu estou correndo um 8GB USB com 4gb persistência habilitado, não é por isso porque ontem eu tinha tudo configurado e trabalhando com tudo o download corretamente, então eu fiz uma nova conta de usuário e depois de definir nenhuma senha para ficava me pedindo a senha, então eu formatei meu usb novamente e voltei para o primeiro passo:)

eu tenho Ubuntu trabalhando, eu posso instalar a partir do centro de software, mesmo que eu recebo um código de erro ainda instala :) Estou tentando instalar o Ubuntu tweak e canela via terminal e me disseram que eu faço isso digitando isso em um terminal:

sudo add-apt-repository ppa:tualatrix/ppa  
sudo apt-get update
sudo apt-get install ubuntu-tweak

eu recebi este erro do terminal

Fetched 1,592 kB in 1s (1,327 kB/s)                                          
Selecting previously unselected package gir1.2-gconf-2.0.
(Reading database ... 173066 files and directories currently installed.)
Unpacking gir1.2-gconf-2.0 (from .../gir1.2-gconf-2.0_3.2.5-0ubuntu2_amd64.deb) ...
Selecting previously unselected package gir1.2-unique-3.0.
Unpacking gir1.2-unique-3.0 (from .../gir1.2-unique-3.0_3.0.2-1_amd64.deb) ...
Selecting previously unselected package python-lxml.
Unpacking python-lxml (from .../python-lxml_2.3.2-1_amd64.deb) ...
Selecting previously unselected package python-compizconfig.
Unpacking python-compizconfig (from .../python-compizconfig_0.9.5.94-0ubuntu4_amd64.deb) ...
Selecting previously unselected package ubuntu-tweak.
Unpacking ubuntu-tweak (from .../ubuntu-tweak_0.8.0-1~precise1_all.deb) ...
Processing triggers for gconf2 ...
Processing triggers for libglib2.0-0:i386 ...
Processing triggers for libglib2.0-0 ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Processing triggers for hicolor-icon-theme ...
Setting up linux-image-3.2.0-32-generic (3.2.0-32.51) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-32-generic /boot/vmlinuz-3.2.0-32-generic
update-initramfs: Generating /boot/initrd.img-3.2.0-32-generic
cryptsetup: WARNING: failed to detect canonical device of overlayfs
cryptsetup: WARNING: could not determine root device from /etc/fstab
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-32-generic /boot/vmlinuz-3.2.0-32-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.0-32-generic /boot/vmlinuz-3.2.0-32-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-32-generic /boot/vmlinuz-3.2.0-32-generic
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-32-generic.postinst line 1010.
dpkg: error processing linux-image-3.2.0-32-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-3.2.0-32-generic; however:
  Package linux-image-3.2.0-32-generic is not configured yet.
dpkg: error processing linux-image-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (= 3.2.0.32.35); however:
  Package linux-image-generic is not configured yet.
dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured
Setting up gir1.2-gconf-2.0 (3.2.5-0ubuntu2) ...
Setting up gir1.2-unique-3.0 (3.0.2-1) ...
No apport report written because the error message indicates its a followup error from a previous failure.
                          No apport report written because the error message indicates its a followup error from a previous failure.
                                                    Setting up python-lxml (2.3.2-1) ...
Setting up python-compizconfig (0.9.5.94-0ubuntu4) ...
Setting up ubuntu-tweak (0.8.0-1~precise1) ...
Errors were encountered while processing:
 linux-image-3.2.0-32-generic
 linux-image-generic
 linux-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

EDIT: passo um é formatar meu usb dentro do windows, então usando instalador USB universal para reinstalar o linux no meu USB e tentar de novo, e ainda assim, qualquer um tem idéias iny sobre isso, realmente quer fazer canela e outras coisas funcionando, também de alguma forma ive conseguiu fazer o twit do ubuntu funcionar: D

    
por kris2340k 14.10.2012 / 15:51

1 resposta

0

Tente

sudo apt-get -f install
sudo apt-get update
sudo apt-get upgrade

Espero que isso ajude:)

    
por Erro 14.10.2012 / 22:00