Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Note i am running off an 8GB usb with 4gb persistence enabled, no its not because of this because yesterday i had it all setup and working with everything downloading properly, then i made a new user account and after i set no password for it, it kept asking me for the password so i formatted my usb again and went back to step one :)

i have Ubuntu working, i can install from software center, even though i get an error code it still installs:) I'm trying to install Ubuntu tweak and cinnamon via terminal and i was told i do it by typing this into a terminal:

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

i got this error from the 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: step one is formatting my usb within windows, then using universal USB installer to reinstall linux on my USB and trying again, and still, anyone got iny ideas on this, really wanna get cinnamon and other things working, also somehow ive managed to get ubuntu tweak working :D

share|improve this question
    
"so i formatted my usb again and went back to step one :)" What's step one? –  Alvar Oct 14 '12 at 14:12
    
step one is formatting my usb within windows, then using universal USB installer to reinstall Ubuntu on my USB and trying again, and still, anyone got iny ideas on this, really wanna get cinnamon and other things working, also somehow ive managed to get ubuntu tweak working :D but still wanna get this broken packe problem with my terminal working –  kris2340k Oct 14 '12 at 19:31

1 Answer 1

Try

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

Hope this helps :)

share|improve this answer
    
ive just noticed ubuntu tweak and dconf actually installed via terminal, they just didnt show a success,could someone please explain to me what these lines mean, they seem to pop up in everything cryptsetup: WARNING: failed to detect canonical device of overlayfs cryptsetup: WARNING: could not determine root device from /etc/fstab –  kris2340k Oct 14 '12 at 20:26
    
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. 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) ubuntu@ubuntu:~$ ^C ubuntu@ubuntu:~$ –  kris2340k Oct 14 '12 at 20:27
    
its fine ive reinstalled and everything installs fine now, how do i close the question hehe, could someone also tell me how to comment on others questions i cant find an option? –  kris2340k Jun 13 '13 at 12:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.