I have been using Ubuntu on my laptop for a while now but am not proficient in it. I am using Ubuntu 14.04 LTS on a Dell Inspiron Laptop, Pentium(R) Dual-Core CPU T4200 @ 2.00GHz × 2, 3GB memory.   The Software Updater crashes and updating from the Terminal gives back unmet dependencies. When I try apt-get -f install I get the following:  Reading package lists... Done Building dependency tree        ... 0 upgraded, 2 newly installed, 0 to remove and 201 not upgraded. 5 not fully installed or removed. Need to get 0 B/10,7 MB of archives. After this operation, 87,5 MB of additional disk space will be used. Do you want to continue? [Y/n] y ... (Reading database ... 896154 files and directories currently installed.) Preparing to unpack .../linux-headers-4.4.0-112_4.4.0-112.135~14.04.1_all.deb ... Unpacking linux-headers-4.4.0-112 (4.4.0-112.135~14.04.1) ... dpkg: error processing archive /var/cache/apt/archives/linux-headers-4.4.0-112_4.4.0-112.135~14.04.1_all.deb (--unpack):  error creating directory `./usr/src/linux-headers-4.4.0-112/drivers/isdn/act2000': No space left on device No apport report written because the error message indicates a disk full error    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Preparing to unpack .../linux-headers-4.4.0-112-generic_4.4.0-112.135~14.04.1_amd64.deb ... Unpacking linux-headers-4.4.0-112-generic (4.4.0-112.135~14.04.1) ... dpkg: error processing archive /var/cache/apt/archives/linux-headers-4.4.0-112-generic_4.4.0-112.135~14.04.1_amd64.deb (--unpack):  error creating directory `./usr/src/linux-headers-4.4.0-112-generic/include/config/lp8788': No space left on device No apport report written because the error message indicates a disk full error                                                                               dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing:  /var/cache/apt/archives/linux-headers-4.4.0-112_4.4.0-112.135~14.04.1_all.deb  /var/cache/apt/archives/linux-headers-4.4.0-112-generic_4.4.0-112.135~14.04.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)   df -h shows the /boot partition is 84% full  $ df -h Filesystem      Size  Used Avail Use% Mounted on udev            1,5G  4,0K  1,5G   1% /dev tmpfs           298M  1,4M  296M   1% /run /dev/sda1        41G   20G   19G  52% / none            4,0K     0  4,0K   0% /sys/fs/cgroup none            5,0M     0  5,0M   0% /run/lock none            1,5G   24M  1,5G   2% /run/shm none            100M   56K  100M   1% /run/user /dev/sda5       945M  734M  147M  84% /boot /dev/sda7        12G  8,1G  3,0G  74% /usr /dev/sda3       178G  152G   26G  86% /media/andrei/OS
5605
My first issue was when I tried to apt-get update or apt-get upgrade. On upgrade I get the following error:  You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: linux-image-server : Depends: linux-image-3.2.0-27-generic but it is not installed E: Unmet dependencies. Try using -f.   I tried running apt-get install -f and this was the output(after saying yes on prompt)  (Reading database ... 186183 files and directories currently installed.) Unpacking linux-image-3.2.0-27-generic (from .../linux-image-3.2.0-27-generic_3.2.0-27.43_amd64.deb) ... Done. dpkg: error processing /var/cache/apt/archives/linux-image-3.2.0-27-generic_3.2.0-27.43_amd64.deb (--unpack):  failed in write on buffer copy for backend dpkg-deb during `./boot/System.map-3.2.0-27-generic': No space left on device  No apport report written because the error message indicates a disk full error                                                                           dpkg-deb:    error: subprocess paste was killed by signal (Broken pipe) Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.2.0-27-generic   /boot/vmlinuz-3.2.0-27-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.2.0-27-generic /boot/vmlinuz-3.2.0-27-generic Errors were encountered while processing: /var/cache/apt/archives/linux-image-3.2.0-27-generic_3.2.0-27.43_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)   I tried running apt-get autoremove and it gives me the same error as apt-get upgrade.  When I run df, I get this for /boot:  /dev/sda1                    233191     230297         0 100% /boot   So, I read elsewhere that I should try to purge old kernels. I checked for what kernels I had with:  $ dpkg -l linux-image-\* | grep ^ii ii  linux-image-2.6.38-13-server  2.6.38-13.52  Linux kernel image for version 2.6.38 on x86_64 ii  linux-image-3.0.0-13-server   3.0.0-13.22   Linux kernel image for version 3.0.0  on x86_64 ii  linux-image-3.0.0-14-server   3.0.0-14.23   Linux kernel image for version 3.0.0  on x86_64 ii  linux-image-3.0.0-15-server   3.0.0-15.26   Linux kernel image for version 3.0.0  on x86_64 ii  linux-image-3.0.0-16-server   3.0.0-16.29   Linux kernel image for version 3.0.0  on x86_64 ii  linux-image-3.0.0-17-server   3.0.0-17.30   Linux kernel image for version 3.0.0  on x86_64 ii  linux-image-3.2.0-24-generic  3.2.0-24.39   Linux kernel image for version 3.2.0  on 64 bit x86 SMP ii  linux-image-3.2.0-25-generic  3.2.0-25.40   Linux kernel image for version 3.2.0  on 64 bit x86 SMP ii  linux-image-3.2.0-26-generic  3.2.0-26.41   Linux kernel image for version 3.2.0  on 64 bit x86 SMP   When I try to remove the oldest with this:  $ sudo apt-get purge linux-image-2.6.38-13-server Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: linux-image-server : Depends: linux-image-3.2.0-27-generic but it is not going to be     installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).   How can I free up or extend boot without messing up my installation?
38543
I am trying to install php curl like so:  sudo apt-get update sudo apt-get install php5-curl   But I keep getting an error.  Reading package lists... Done Building dependency tree        Reading state information... Done php5-curl is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] Y Setting up runit (2.1.2-3ubuntu1) ... start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused dpkg: error processing package runit (--configure):  subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of git-daemon-run:  git-daemon-run depends on runit; however:   Package runit is not configured yet.  dpkg: error processing package git-daemon-run (--configure):  dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure.                           Errors were encountered while processing:  runit  git-daemon-run E: Sub-process /usr/bin/dpkg returned an error code (1)   when I try sudo dpkg --configure -a I get:  dpkg: dependency problems prevent configuration of git-daemon-run:  git-daemon-run depends on runit; however:   Package runit is not configured yet.  dpkg: error processing package git-daemon-run (--configure):  dependency problems - leaving unconfigured Errors were encountered while processing:  git-daemon-run   when I try sudo apt-get install --reinstall runit I get:  Reading package lists... Done Building dependency tree        Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 8 not upgraded. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. E: Internal Error, No file name for runit:amd64   when I try sudo apt-get install runit I get:  Reading package lists... Done Building dependency tree        Reading state information... Done runit is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] Y Setting up runit (2.1.2-3ubuntu1) ... start: Job is already running: runsvdir dpkg: error processing package runit (--configure):  subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of git-daemon-run:  git-daemon-run depends on runit; however:   Package runit is not configured yet.  dpkg: error processing package git-daemon-run (--configure):  dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure.                                                                                                           Errors were encountered while processing:  runit  git-daemon-run E: Sub-process /usr/bin/dpkg returned an error code (1)   when I try sudo apt-get install --reinstall git-daemon-run I get:  Reading package lists... Done Building dependency tree        Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 8 not upgraded. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. E: Internal Error, No file name for git-daemon-run:amd64   How can I fix this?  System Specs:  Processor: Intel® Core™ i7-3630QM CPU @ 2.40GHz × 8 Graphics: Gallium 0.4 on AMD TURKS (DRM 2.43.0, LLVM 3.6.2) OS Type: Ubuntu 15.10 64-bit
19729
I'm running ubuntu 14.04. I cannot use software center to install anything, even a local deb package so I have to rely on Terminal.  Recently I was trying to install mysql-server which generated error which I could pin-point was the required version of libstdc++6 . My system had 4.8.x while mysql 5.6 required >=4.9. Trying the usual upgrading process and unsuccessful, I consulted my sys admin, who tried installing the 4.9 package manually(using a local .deb package), which failed as well citing unmet dependencies.   At present, what I have is a system with error saying no new software can be installed.  The sudo apt-get install -f gives following output:  Reading package lists... Done Building dependency tree        Reading state information... Done Correcting dependencies... failed. The following packages have unmet dependencies:  libstdc++6 : Depends: gcc-4.9-base (= 4.9.2-10) but 4.9.1-0ubuntu1 is installed  libstdc++6:i386 : Depends: gcc-4.9-base:i386 (= 4.9.2-10) but 4.9.1-0ubuntu1 is installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.   I checked for held packages using  dpkg -l | grep ^h dpkg -l | grep hold   Result: nothing.  Also tried to find the broken package, if any but the file  /var/log/dist-upgrade/apt.log doesn't exist.  So, what should/can I do now.
99634
I'm trying to upgrade some package in a VM, but I dpkg refuses to apply the upgrades due the following:  dpkg: error processing /var/cache/apt/archives/ifupdown_0.7.5ubuntu2.2_amd64.deb (--unpack):  unable to make backup link of `./sbin/ifquery' before installing new version: No such file or directory Preparing to replace unzip 6.0-8ubuntu1 (using .../unzip_6.0-8ubuntu2_amd64.deb) ... Unpacking replacement unzip ... dpkg: error processing /var/cache/apt/archives/unzip_6.0-8ubuntu2_amd64.deb (--unpack):  unable to make backup link of `./usr/bin/unzip' before installing new version: No such file or directory dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)   What it means? The permissions are fine and the file definitively exist:  ls -l /sbin/ifquery -rwxr-xr-x 1 1500000 1500000 58496 dic 12  2012 /sbin/ifquery
100260
I typed  sudo apt-get upgrade   And I got this  $ sudo apt-get upgrade Reading package lists... Done Building dependency tree        Reading state information... Done Calculating upgrade... Done The following packages will be upgraded:   bind9-host dnsutils google-chrome-stable libbind9-161 libdns-export1104   libdns1104 libirs161 libisc-export1100 libisc1100 libisccc161 libisccfg163   liblwres161 python3-distupgrade ubuntu-release-upgrader-core   ubuntu-release-upgrader-gtk 15 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/61.1 MB of archives. After this operation, 1,769 kB of additional disk space will be used. Do you want to continue? [Y/n]  dpkg: unrecoverable fatal error, aborting:  unknown system group 'smmsp' in statoverride file; the system group got removed before the override, which is most probably a packaging bug, to recover you can remove the override manually with dpkg-statoverride E: Sub-process /usr/bin/dpkg returned an error code (2)   Can any one throw any light on this?
103091
When I using try to update using apt-get update, I am getting error as follows,  Err http://ppa.launchpad.net trusty/main amd64 Packages                           404  Not Found Hit http://vn.archive.ubuntu.com trusty-backports/main amd64 Packages           Err http://ppa.launchpad.net trusty/main i386 Packages                            404  Not Found Hit http://vn.archive.ubuntu.com trusty-backports/restricted amd64 Packages     Ign http://ppa.launchpad.net trusty/main Translation-en_US                      Hit http://vn.archive.ubuntu.com trusty-backports/universe amd64 Packages       .......                                         W: Failed to fetch http://ppa.launchpad.net/upubuntu-com/web/ubuntu/dists/trusty/main/binary-amd64/Packages  404  Not Found  W: Failed to fetch http://ppa.launchpad.net/upubuntu-com/web/ubuntu/dists/trusty/main/binary-i386/Packages  404  Not Found  E: Some index files failed to download. They have been ignored, or old ones used instead.   how can to fix this ?
17076
(This question was not resolved. Due to time constraints Computer was restored to factory settings.)  I was attempting to upgrade from 14.04 to 16.04, but apt threw this error:  The required dependency 'apt (&gt;= 1.0.1ubuntu2.13)' is not installed.   What does this mean, and how can I fix it?  When I type in the command apt-cache policy apt  Shageenth@shageenth-Inspiron-3451:~$ apt-cache policy apt apt: Installed: 1.0.1ubuntu2.11 Candidate: 1.0.1ubuntu2.11 Version table: *** 1.0.1ubuntu2.11 0 100 /var/lib/dpkg/status 1.0.1ubuntu2 0 500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64  Packages   The error happens when I run the command:   sudo do-release-upgrade -d   and it produces the following:  Checking for a new Ubuntu release Get:1 Upgrade tool signature [198 B] Get:2 Upgrade tool [1,265 kB] Fetched 1,265 kB in 0s (0 B/s) authenticate 'xenial.tar.gz' against 'xenial.tar.gz.gpg' extracting 'xenial.tar.gz'  Reading cache  Checking package manager Reading package lists... Done Building dependency tree Reading state information... Done Building data structures... Done  Required depends is not installed  The required dependency 'apt (&gt;= 1.0.1ubuntu2.13)' is not installed.
58328
I tried to upgrade Intel graphics in ubuntu 16.10 using the official installer. The last stage of unpacking libcairo2 produces an error (see figure).  When I do upgrade I get the same error also:   Preparing to unpack .../0-libcairo2_1.15.2-0intel1_amd64.deb ... Unpacking libcairo2:amd64 (1.15.2-0intel1) over (1.15.2-0intel1) ... dpkg: error processing archive /tmp/apt-dpkg-install-aYhdFd/0 libcairo2_1.15.2-0intel1_amd64.deb (--unpack): trying to overwrite shared '/usr/share/doc/libcairo2/changelog.Debian.gz', which is different from other instances of package libcairo2:amd64 Preparing to unpack .../1-libcairo2_1.15.2-0intel1_i386.deb ... Unpacking libcairo2:i386 (1.15.2-0intel1) over (1.15.2-0intel1) ... dpkg: error processing archive /tmp/apt-dpkg-install-aYhdFd/1-libcairo2_1.15.2-0intel1_i386.deb (--unpack): trying to overwrite shared '/usr/share/doc/libcairo2/changelog.Debian.gz', which is different from other instances of package libcairo2:i386 Errors were encountered while processing: /tmp/apt-dpkg-install-aYhdFd/0-libcairo2_1.15.2-0intel1_amd64.deb /tmp/apt-dpkg-install-aYhdFd/1-libcairo2_1.15.2-0intel1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)   It seems that there is a conflict in thelibcairo releases; if yes, how to resolve it ?
72420
Today I ran apt-get autoremove to remove un-needed packages and it wants to remove linux-headers-3.2.0-37 and linux-headers-3.2.0-37-generic  Reading package lists... Done Building dependency tree        Reading state information... Done The following packages will be REMOVED: libglademm-2.4-1c2a linux-headers-3.2.0-37 linux-headers-3.2.0-37-generic ttf-umefont    ttf-unfonts-core 0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded. After this operation, 67.6 MB disk space will be freed. Do you want to continue [Y/n]?    Is it safe to remove these? My installed kernel is a newer version than the headers that autoremove lists.  uname -r 3.2.0-38-generic
39614
Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded:   apt apt-transport-https apt-utils dpkg libapt-inst2.0 libapt-pkg5.0 ntpdate   oracle-java8-installer oracle-java8-set-default thermald 10 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/4,389 kB of archives. After this operation, 8,192 B of additional disk space will be used. Do you want to continue? [Y/n] Y Preconfiguring packages ... dpkg: unrecoverable fatal error, aborting:  files list file for package 'linux-generic' is missing final newline E: Sub-process /usr/bin/dpkg returned an error code (2)   I already tried the usual stuff like:   sudo dpkg --configure -a   sudo apt-get -f install  sudo apt-get clean  sudo apt-get update &amp;&amp; sudo apt-get upgrade   Any help, thanks!  cat -net /var/lib/dpkg/info/linux-generic.list      1  ^LbM-BM-^FRq^MU^Evalueq^NK^HubU^Mcertificationq^ONU^Hoverviewq^PNU$      2  updated_atq^QNU^Vavailable_translationsq^RNU^Dyearq^SMM-CM-^]^GU^Fimagesq^TNU^Bidq^UNU^Ipaused_atq^VNU^Eindex
507
There are now errors when updating and I cannot install most software due to a corrupted  /etc/apt/sources.list   file. Is there a copy I can download to replace it?  The file would be for Ubuntu 12.04 (Final Beta) in the United States.
78346
I have deleted some files around /var/lib/dpkg/, namely:  /var/lib/dpkg/status /var/lib/dpkg/available /var/lib/dpkg/info/*   I understand Debian uses these files to keep some information about installed packages. Now when I do apt-get update, I get following error:  Reading package lists... Error! E: Could not open file /var/lib/dpkg/status - open  (2: No such file or directory) E: The package lists or status file could not be parsed or opened.   As I understand the , files located in /var are not supposed to be system-critical. Rater these should be temporary files, logs, caches, and similar.   Is there therefore a way to recreate the deleted files ?
34415
I see the following error while trying run the command shown below. I read somewhere that my /boot partition is low on disk space. How can I increase the size of the /boot partition so I can install more software? I have a 500GB hard disk, so there is enough space to play with.  sudo apt-get install libdvdread4  gzip: stdout: No space left on device                                                                                                                                                                                  E: mkinitramfs failure cpio 141 gzip 1                                                                                                                                                                                 update-initramfs: failed for /boot/initrd.img-3.2.0-33-generic with 1.                                                                                                                                                 run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1                                                                                                                                            Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-33-generic.postinst line 1010.                                                                                                        dpkg: error processing linux-image-3.2.0-33-generic (--configure):                                                                                                                                                      subprocess installed post-installation script returned error exit status 2                                                                                                                                            dpkg: dependency problems prevent configuration of linux-image-server:                                                                                                                                                 linux-image-server depends on linux-image-3.2.0-33-generic; however:                                                                                                                                                    Package linux-image-3.2.0-33-generic is not configured yet.    dpkg: error processing linux-image-server (--configure):     dependency problems - leaving unconfigured    dpkg: dependency problems prevent configuration of linux-server:     linux-server depends on linux-image-server (= 3.2.0.33.36); however:      Package linux-image-server is not configured yet.    dpkg: error processing linux-server (--configure):     dependency problems - leaving unconfigured    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-33-generic  linux-image-server  linux-server N: Ignoring file 'michael-gruz-canon-precise.list.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension N: Ignoring file 'michael-gruz-canon-precise.list.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension   Listed below is the output of du  Filesystem              1K-blocks      Used Available Use% Mounted on /dev/mapper/ubuntu-root 712660664 104095912 572363692  16% / udev                      3964792         4   3964788   1% /dev tmpfs                     1591012      1064   1589948   1% /run none                         5120         0      5120   0% /run/lock none                      3977528       684   3976844   1% /run/shm /dev/sda1                  233191    219821       929 100% /boot
75754
I got an error message explaining my /boot is full. trying to clean up old image files always seems to fail because of disk full errors or dependency errors. Could someone explain where I’m going wrong.   $ sudo apt-get autoremove Reading package lists... Done Building dependency tree        Reading state information... Done You might want to run ‘apt-get -f install’ to correct these. The following packages have unmet dependencies.  linux-image-extra-3.13.0-44-generic : Depends: linux-image-3.13.0-44-generic but it is not installed  linux-image-extra-3.13.0-45-generic : Depends: linux-image-3.13.0-45-generic but it is not installed  linux-image-generic : Depends: linux-image-3.13.0-45-generic but it is not installed E: Unmet dependencies. Try using -f.  $ ls /boot abi-3.13.0-32-generic         initrd.img-3.13.0-43-generic abi-3.13.0-36-generic         lost+found abi-3.13.0-37-generic         memtest86+.bin abi-3.13.0-39-generic         memtest86+.elf abi-3.13.0-40-generic         memtest86+_multiboot.bin abi-3.13.0-43-generic         System.map-3.13.0-32-generic config-3.13.0-32-generic      System.map-3.13.0-36-generic config-3.13.0-36-generic      System.map-3.13.0-37-generic config-3.13.0-37-generic      System.map-3.13.0-39-generic config-3.13.0-39-generic      System.map-3.13.0-40-generic config-3.13.0-40-generic      System.map-3.13.0-43-generic config-3.13.0-43-generic      vmlinuz-3.13.0-32-generic grub                          vmlinuz-3.13.0-36-generic initrd.img-3.13.0-32-generic  vmlinuz-3.13.0-37-generic initrd.img-3.13.0-36-generic  vmlinuz-3.13.0-39-generic initrd.img-3.13.0-37-generic  vmlinuz-3.13.0-40-generic initrd.img-3.13.0-39-generic  vmlinuz-3.13.0-43-generic initrd.img-3.13.0-40-generic   I used   kernelver=$(uname -r | sed -r 's/-[a-z]+//') dpkg -l linux-{image,headers}-"[0-9]*" | awk '/ii/{print $2}' | grep -ve $kernelver   to get   linux-headers-3.13.0-32 linux-headers-3.13.0-32-generic linux-headers-3.13.0-36 linux-headers-3.13.0-36-generic linux-headers-3.13.0-37 linux-headers-3.13.0-37-generic linux-headers-3.13.0-39 linux-headers-3.13.0-39-generic linux-headers-3.13.0-40 linux-headers-3.13.0-40-generic linux-headers-3.13.0-44 linux-headers-3.13.0-44-generic linux-headers-3.13.0-45 linux-headers-3.13.0-45-generic linux-image-3.13.0-32-generic linux-image-3.13.0-36-generic linux-image-3.13.0-37-generic linux-image-3.13.0-39-generic linux-image-3.13.0-40-generic   Then picking the first image to remove   $ sudo apt-get purge linux-image-3.13.0-32-generic Reading package lists... Done Building dependency tree        Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies.  linux-image-extra-3.13.0-32-generic : Depends: linux-image-3.13.0-32-generic but it is not going to be installed  linux-image-extra-3.13.0-44-generic : Depends: linux-image-3.13.0-44-generic but it is not going to be installed  linux-image-extra-3.13.0-45-generic : Depends: linux-image-3.13.0-45-generic but it is not going to be installed  linux-image-generic : Depends: linux-image-3.13.0-45-generic but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
34338
I just installed Ubuntu (12.04.4) and I upgraded to 13.10  I have no idea how to fix this :/  $ sudo apt-get install -f  Reading package lists... Done Building dependency tree        Reading state information... Done The following packages will be REMOVED:   xserver-common-lts-saucy 0 upgraded, 0 newly installed, 1 to remove and 2 not upgraded. 1 not fully installed or removed. After this operation, 1,718 kB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 175174 files and directories currently installed.) Removing xserver-common-lts-saucy ... Removing 'diversion of /usr/lib/xorg/protocol.txt to /usr/lib/xorg/protocol-precise.txt by xserver-common-lts-saucy' dpkg-divert: error: rename involves overwriting `/usr/lib/xorg/protocol.txt' with   different file `/usr/lib/xorg/protocol-precise.txt', not allowed dpkg: error processing xserver-common-lts-saucy (--remove):  subprocess installed post-removal script returned error exit status 2 Errors were encountered while processing:  xserver-common-lts-saucy E: Sub-process /usr/bin/dpkg returned an error code (1)
7338
After I made a system upgrade (apt-get upgrade) on a debian box, I get an error everytime i tries to use apt-get. Example:  # apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up initscripts (2.88dsf-41+deb7u1) ... insserv: Service killprocs has to be enabled to start service single insserv: exiting now! update-rc.d: error: insserv rejected the script header dpkg: error processing initscripts (--configure):  subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing:  initscripts E: Sub-process /usr/bin/dpkg returned an error code (1)   I have tried to find a solution, but can't find anything that looks like this. First of all I have this packet which is "not fully installed or removed". But I can't find the command to locate it. Have tried:  dpkg -l | grep rc   But it list about 20 packets, so there must be a better way to find this packet.  To fix the packet system I have tried normal procedures, like:  apt-get clean &amp;&amp; sudo apt-get autoremove  apt-get -f install dpkg --configure -a   The clean command is good, but the install command will fail with as shown above.  In a desperate try, I tried to reinstall insserv (not sure it's the packet which is broken), but it fails the same way:  # apt-get install --reinstall insserv Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 8 not upgraded. 1 not fully installed or removed. Need to get 63.8 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://ftp.us.debian.org/debian/ wheezy/main insserv armel 1.14.0-5 [63.8 kB] Fetched 63.8 kB in 0s (85.5 kB/s) Setting up initscripts (2.88dsf-41+deb7u1) ... insserv: Service killprocs has to be enabled to start service single insserv: exiting now! update-rc.d: error: insserv rejected the script header dpkg: error processing initscripts (--configure):  subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing:  initscripts E: Sub-process /usr/bin/dpkg returned an error code (1)
34562
Last night I was updating my Ubuntu 10.04 to either 11.04 or 12.04 (I'm not entirely sure which one it was, but I think it was 11.04) and I left it overnight to finish. When I came down in the morning, I noticed that the computer hadn't barely begun installing the updates! The update thing said that my computer was on the installation step, but it was still preparing the libc bin (or whatever its called) . It's like the first part of the step installing the upgrades. So, I stupidly restarted the computer, and when it rebooted, I got five options on a purple screen:  Ubuntu, with Linux 3.0.0-28-generic Ubuntu, with Linux 3.0.0-28-generic (recovery mode) Previous Linux versions Memory test (memtest86+) Memory test (memtest86+, serial console 115200)   Long story short, not matter which way I enter Ubuntu to try and reinstall the updates using the root thing (it's like terminal) after I enter sudo apt-get update it basically said it failed to fetch every url link, and it then says:  W: Some index files have failed to download. They have been ignored, or old ones used instead. W: Not using locking for read only lock file /var/lib/dpkg/lock E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.   So, I entered sudo dpkg --configure -a, and it says:  dpkg: error: unable to access dpkg status area: Read-only file system"   I'm left like wtf, and I really just some guidance here. I just got this laptop, and I can not afford a new one if I broke this one.