Ubuntu Sudo apt-get -f install
Posted
by
Justin
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Justin
Published on 2011-11-25T17:44:00Z
Indexed on
2011/11/25
18:03 UTC
Read the original article
Hit count: 774
I was trying to install a program. And It said that my Dependencies were unmet. And that I should run, sudo apt-get -f install. I have moved everything I didn't need in /etc/apt/sources.list.d/ into the trash. My source.list is all Natty while I am running Oneiric. So maybe I need a new source.list? But here are the things I have:
justin@justin-000:~$ sudo apt-get -f install
[sudo] password for justin:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
linux-image-3.0.0-13-generic
Suggested packages:
fdutils linux-doc-3.0.0 linux-source-3.0.0 linux-tools
The following NEW packages will be installed:
linux-image-3.0.0-13-generic
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
2 not fully installed or removed.
Need to get 0 B/36.5 MB of archives.
After this operation, 117 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 270736 files and directories currently installed.)
Unpacking linux-image-3.0.0-13-generic (from .../linux-image-3.0.0-13- generic_3.0.0-13.22_i386.deb) ...
Done.
dpkg: error processing /var/cache/apt/archives/linux-image-3.0.0-13
generic_3.0.0-13.22_i386.deb (--unpack):
corrupted filesystem tarfile - corrupted package archive
No apport report written because MaxReports is reached already
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.0.0-13-generic /boot/vmlinuz-3.0.0-13-generic
run-parts: executing /etc/kernel/postrm.d/zz-extlinux 3.0.0-13-generic /boot/vmlinuz-3.0.0-13-generic
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.0.0-12-generic...
P: Writing config for /boot/vmlinuz-2.6.38-11-generic...
P: Installing debian theme... done.
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.0.0-13-generic /boot/vmlinuz-3.0.0-13-generic
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-3.0.0-13-generic_3.0.0-13.22_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
justin@justin-000:~$
sudo apt-get update
justin@justin-000:~$ sudo apt-get update
Ign dl.google.com stable InRelease
Ign dl.google.com stable InRelease
Get:1dl.google.com stable Release.gpg [198 B]
Ign us.archive.ubuntu.com oneiric InRelease
Ign us.archive.ubuntu.com oneiric-security InRelease
Ign http://us.archive.ubuntu.com oneiric-updates InRelease
Get:2 dl.google.com stable Release.gpg [198 B]
Get:3 dl.google.com stable Release [1,347 B]
Get:4 dl.google.com stable Release [1,338 B]
Hit us.archive.ubuntu.com oneiric Release.gpg
Hit us.archive.ubuntu.com oneiric-security Release.gpg
Get:5/dl.google.com stable/main i386 Packages [1,220 B]
Hit tp://us.archive.ubuntu.com oneiric-updates Release.gpg
Ign tp://dl.google.com stable/main TranslationIndex
Get:6 tp://dl.google.com stable/main i386 Packages [464 B]
Ign ttp://ppa.launchpad.net oneiric InRelease
Hit ttp://us.archive.ubuntu.com oneiric Release
Ign ttp://ppa.launchpad.net oneiric InRelease
Ign ttp://dl.google.com stable/main TranslationIndex
Hit ttp://ppa.launchpad.net oneiric Release.gpg
Hit ttp://us.archive.ubuntu.com oneiric-security Release
Hit ttp://ppa.launchpad.net oneiric Release.gpg
Hit ttp://us.archive.ubuntu.com oneiric-updates Release
Hit ttp://us.archive.ubuntu.com oneiric/main Sources
Hit ttp://us.archive.ubuntu.com oneiric/restricted Sources
Hit ttp://us.archive.ubuntu.com oneiric/universe Sources
Hit ttp://us.archive.ubuntu.com oneiric/multiverse Sources
Hit ttp://us.archive.ubuntu.com oneiric/main i386 Packages
Hit ttp://ppa.launchpad.net oneiric Release
Hit ttp://us.archive.ubuntu.com oneiric/restricted i386 Packages
Hit ttp://us.archive.ubuntu.com oneiric/universe i386 Packages
Hit ttp://us.archive.ubuntu.com oneiric/multiverse i386 Packages
Hit ttp://us.archive.ubuntu.com oneiric/main TranslationIndex
Hit ttp://us.archive.ubuntu.com oneiric/multiverse TranslationIndex
Hit ://us.archive.ubuntu.com oneiric/restricted TranslationIndex
Hit htp://us.archive.ubuntu.com oneiric/universe TranslationIndex
Hit htp://us.archive.ubuntu.com oneiric-security/main Sources
Hit ttp://us.archive.ubuntu.com oneiric-security/restricted Sources
Hit ttp://ppa.launchpad.net oneiric Release
Hit ttp://us.archive.ubuntu.com oneiric-security/universe Sources
Hit tp://us.archive.ubuntu.com oneiric-security/multiverse Sources
Hit htp://us.archive.ubuntu.com oneiric-security/main i386 Packages
Hit tp://us.archive.ubuntu.com oneiric-security/restricted i386 Packages
Hit ttp://us.archive.ubuntu.com oneiric-security/universe i386 Packages
Hit ttp://us.archive.ubuntu.com oneiric-security/multiverse i386 Packages
Hit htp://ppa.launchpad.net oneiric/main Sources
Hit ttp://ppa.launchpad.net oneiric/main i386 Packages
Ign htp://ppa.launchpad.net oneiric/main TranslationIndex
Hit ttp://us.archive.ubuntu.com oneiric-security/main TranslationIndex
Hit ttp://us.archive.ubuntu.com oneiric-security/multiverse TranslationIndex
Hit htp://us.archive.ubuntu.com oneiric-security/restricted TranslationIndex
Hit htp://us.archive.ubuntu.com oneiric-security/universe TranslationIndex
Ign htp://dl.google.com stable/main Translation-en_US
Hit htp://us.archive.ubuntu.com oneiric-updates/main Sources
Hit htp://us.archive.ubuntu.com oneiric-updates/restricted Sources
Hit tp://us.archive.ubuntu.com oneiric-updates/universe Sources
Hit htp://us.archive.ubuntu.com oneiric-updates/multiverse Sources
Hit htp://us.archive.ubuntu.com oneiric-updates/main i386 Packages
Ign htp://dl.google.com stable/main Translation-en
Hit ttp://ppa.launchpad.net oneiric/main Sources
Hit htp://ppa.launchpad.net oneiric/main i386 Packages
Hit ttp://us.archive.ubuntu.com oneiric-updates/restricted i386 Packages
Ign htp://dl.google.com stable/main Translation-en_US
Ign htp://ppa.launchpad.net oneiric/main TranslationIndex
Hit hp://us.archive.ubuntu.com oneiric-updates/universe i386 Packages
Hit ttp://us.archive.ubuntu.com oneiric-updates/multiverse i386 Packages
Hit htp://us.archive.ubuntu.com oneiric-updates/main TranslationIndex
Hit htp://us.archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Hit htp://us.archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Ign htp://dl.google.com stable/main Translation-en
Hit htp://us.archive.ubuntu.com oneiric-updates/universe TranslationIndex
Hit ttp://us.archive.ubuntu.com oneiric/main Translation-en
Hit ttp://us.archive.ubuntu.com oneiric/multiverse Translation-en
Hit htp://us.archive.ubuntu.com oneiric/restricted Translation-en
Hit htp://us.archive.ubuntu.com oneiric/universe Translation-en
Hit htp://us.archive.ubuntu.com oneiric-security/main Translation-en
Hit hp://us.archive.ubuntu.com oneiric-security/multiverse Translation-en
Hit htp://us.archive.ubuntu.com oneiric-security/restricted Translation-en
Hit htp://us.archive.ubuntu.com oneiric-security/universe Translation-en
Hit htp://us.archive.ubuntu.com oneiric-updates/main Translation-en
Hit htp://us.archive.ubuntu.com oneiric-updates/multiverse Translation-en
Hit htp://us.archive.ubuntu.com oneiric-updates/restricted Translation-en
Hit htp://us.archive.ubuntu.com oneiric-updates/universe Translation-en
Ign htp://ppa.launchpad.net oneiric/main Translation-en_US
Ign htt://ppa.launchpad.net oneiric/main Translation-en
Ign htp://ppa.launchpad.net oneiric/main Translation-en_US
Ign htp://ppa.launchpad.net oneiric/main Translation-en
Fetched 4,765 B in 2s (2,158 B/s)
Reading package lists... Done
justin@justin-000:~$
© Ask Ubuntu or respective owner