NavigationUser loginSpam?See spam posts on this site? If so, please don't reply to the spam! Instead, just report the URL to the webmaster. |
problem with apt-get -f install & chrootIn The name of God I'll be Thankfull if you guide me : ubuntu:/# apt-get -f install<br /> Reading package lists... Done<br /> Building dependency tree... Done<br /> 0 upgraded, 0 newly installed, 0 to remove and 172 not upgraded.<br /> 5 not fully installed or removed.<br /> Need to get 0B of archives.<br /> After unpacking 0B of additional disk space will be used.<br /> Setting up linux-image-2.6.18-6-486 (2.6.18.dfsg.1-22etch2) ...<br /> Running depmod.<br /> Finding valid ramdisk creators.<br /> Using mkinitramfs-kpkg to build the ramdisk.<br /> The link /initrd.img is a dangling linkto /boot/initrd.img-2.6.18-4-486<br /> The link /vmlinuz is a dangling linkto /boot/vmlinuz-2.6.18-4-486<br /> Running postinst hook script /sbin/update-grub.<br /> You shouldn't call /sbin/update-grub. Please call /usr/sbin/update-grub instead!</p> <p>Searching for GRUB installation directory ...<br /> No GRUB directory found.<br /> To create a template run 'mkdir /boot/grub' first.<br /> To install grub, install it manually or try the 'grub-install' command.<br /> ### Warning, grub-install is used to change your MBR. ###</p> <p>User postinst hook script [/sbin/update-grub] exited with value 1<br /> dpkg: error processing linux-image-2.6.18-6-486 (--configure):<br /> subprocess post-installation script returned error exit status 1<br /> dpkg: dependency problems prevent configuration of linux-image-2.6-486:<br /> linux-image-2.6-486 depends on linux-image-2.6.18-6-486; however:<br /> Package linux-image-2.6.18-6-486 is not configured yet.<br /> dpkg: error processing linux-image-2.6-486 (--configure):<br /> dependency problems - leaving unconfigured<br /> Setting up nvidia-kernel-common (20051028+1) ...</p> <p>dpkg: dependency problems prevent configuration of nvidia-kernel-legacy-2.6.18-6-486:<br /> nvidia-kernel-legacy-2.6.18-6-486 depends on linux-image-2.6.18-6-486; however:<br /> Package linux-image-2.6.18-6-486 is not configured yet.<br /> dpkg: error processing nvidia-kernel-legacy-2.6.18-6-486 (--configure):<br /> dependency problems - leaving unconfigured<br /> dpkg: dependency problems prevent configuration of nvidia-kernel-legacy-2.6-486:<br /> nvidia-kernel-legacy-2.6-486 depends on nvidia-kernel-legacy-2.6.18-6-486; however:<br /> Package nvidia-kernel-legacy-2.6.18-6-486 is not configured yet.<br /> nvidia-kernel-legacy-2.6-486 depends on linux-image-2.6-486; however:<br /> Package linux-image-2.6-486 is not configured yet.<br /> dpkg: error processing nvidia-kernel-legacy-2.6-486 (--configure):<br /> dependency problems - leaving unconfigured<br /> Errors were encountered while processing:<br /> linux-image-2.6.18-6-486<br /> linux-image-2.6-486<br /> nvidia-kernel-legacy-2.6.18-6-486<br /> nvidia-kernel-legacy-2.6-486<br /> E: Sub-process /usr/bin/dpkg returned an error code (1) regards dehqan |
Re: problem with apt-get -f install & chroot
In The Name Of God
Hello
Before above error that is commented , it gave me this error:
I fixed the problem with this command :"mount --bind /dev /media/disk/dev".
but now, if i want to do so "mount --bind /boot /media/disk/boot " to fix the problem it gives an error cause of that version of live cd grub files do not match debian files version .
regards dehqan
Re: problem with apt-get -f install & chroot
Is your debian system all in one partition?
It's possible to seriously jack up if everything isn't mounted correctly...
Re: problem with apt-get -f install & chroot
In The name Of God
hello
Thanks alot jake .
The problem fixed when i mounted boot partition .
reagrs dehqan