luis@luis-laptop:~$ sudo dpkg --remove --force-remove-reinstreq flashplugin-nonfree [sudo] password for luis: dpkg: warning: overriding problem because --force enabled: Package is in a very bad inconsistent state - you should reinstall it before attempting a removal. (Reading database ... 272673 files and directories currently installed.) Removing flashplugin-nonfree ... update-alternatives: error: no alternatives for iceape-flashplugin. update-alternatives: error: no alternatives for iceape-flashplugin. dpkg: error processing flashplugin-nonfree (--remove): subprocess installed pre-removal script returned error exit status 2 postinst called with argument `abort-remove' dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: flashplugin-nonfree luis@luis-laptop:~$ ^C luis@luis-laptop:~$ sudo apt-get upgrade 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: libavformat52: Depends: libavcodec52 (>= 4:0.5+svn20090706) but it is not installed or libavcodec-extra-52 (>= 4:0.5+svn20090706) but it is not installed Depends: libavcodec52 (< 4:0.5+svn20090706-99) but it is not installed or libavcodec-extra-52 (< 4:0.5+svn20090706-99) but it is not installed Depends: libavutil49 (>= 4:0.5+svn20090706) but it is not installed or libavutil-extra-49 (>= 4:0.5+svn20090706) but it is not installed Depends: libavutil49 (< 4:0.5+svn20090706-99) but it is not installed or libavutil-extra-49 (< 4:0.5+svn20090706-99) but it is not installed libpostproc51: Depends: libavutil49 (>= 4:0.5+svn20090706) but it is not installed or libavutil-extra-49 (>= 4:0.5+svn20090706) but it is not installed Depends: libavutil49 (< 4:0.5+svn20090706-99) but it is not installed or libavutil-extra-49 (< 4:0.5+svn20090706-99) but it is not installed libquicktime1: Depends: libavcodec52 (>= 3:0.svn20090303-1) but it is not installed or libavcodec-extra-52 (>= 3:0.svn20090303-1) but it is not installed libswscale0: Depends: libavutil49 (>= 4:0.5+svn20090706) but it is not installed or libavutil-extra-49 (>= 4:0.5+svn20090706) but it is not installed Depends: libavutil49 (< 4:0.5+svn20090706-99) but it is not installed or libavutil-extra-49 (< 4:0.5+svn20090706-99) but it is not installed libxine1-ffmpeg: Depends: libavcodec52 (>= 3:0.svn20090303-1) but it is not installed or libavcodec-extra-52 (>= 3:0.svn20090303-1) but it is not installed Depends: libavutil49 (>= 3:0.svn20090303-1) but it is not installed or libavutil-extra-49 (>= 3:0.svn20090303-1) but it is not installed mplayer: Depends: libavcodec52 (>= 3:0.svn20090303-1) but it is not installed or libavcodec-extra-52 (>= 3:0.svn20090303-1) but it is not installed Depends: libavutil49 (>= 3:0.svn20090303-1) but it is not installed or libavutil-extra-49 (>= 3:0.svn20090303-1) but it is not installed mplayer-nogui: Depends: libavcodec52 (>= 3:0.svn20090303-1) but it is not installed or libavcodec-extra-52 (>= 3:0.svn20090303-1) but it is not installed Depends: libavutil49 (>= 3:0.svn20090303-1) but it is not installed or libavutil-extra-49 (>= 3:0.svn20090303-1) but it is not installed E: Unmet dependencies. Try using -f. luis@luis-laptop:~$ sudo apt-get update Get:1 http://archive.canonical.com karmic Release.gpg [189B] Ign http://archive.canonical.com karmic/partner Translation-en_US Hit http://archive.ubuntu.com karmic Release.gpg Ign http://archive.ubuntu.com karmic/main Translation-en_US Get:2 http://archive.canonical.com karmic Release [9,347B] Ign http://archive.ubuntu.com karmic/restricted Translation-en_US Ign http://archive.ubuntu.com karmic/universe Translation-en_US Ign http://archive.ubuntu.com karmic/multiverse Translation-en_US Get:3 http://archive.ubuntu.com karmic-updates Release.gpg [189B] Ign http://archive.ubuntu.com karmic-updates/main Translation-en_US Ign http://archive.ubuntu.com karmic-updates/restricted Translation-en_US Ign http://archive.ubuntu.com karmic-updates/universe Translation-en_US Ign http://archive.ubuntu.com karmic-updates/multiverse Translation-en_US Get:4 http://archive.ubuntu.com karmic-security Release.gpg [189B] Ign http://archive.ubuntu.com karmic-security/main Translation-en_US Ign http://archive.ubuntu.com karmic-security/restricted Translation-en_US Ign http://archive.ubuntu.com karmic-security/universe Translation-en_US Ign http://archive.ubuntu.com karmic-security/multiverse Translation-en_US Hit http://archive.ubuntu.com karmic Release Get:5 http://archive.ubuntu.com karmic-updates Release [44.1kB] Get:6 http://archive.canonical.com karmic/partner Packages [4,964B] Get:7 http://archive.canonical.com karmic/partner Sources [1,856B] Get:8 http://archive.ubuntu.com karmic-security Release [44.1kB] Hit http://archive.ubuntu.com karmic/main Packages Hit http://archive.ubuntu.com karmic/restricted Packages Hit http://archive.ubuntu.com karmic/restricted Sources Hit http://archive.ubuntu.com karmic/main Sources Hit http://archive.ubuntu.com karmic/multiverse Sources Hit http://archive.ubuntu.com karmic/universe Sources Hit http://archive.ubuntu.com karmic/universe Packages Hit http://archive.ubuntu.com karmic/multiverse Packages Get:9 http://archive.ubuntu.com karmic-updates/main Packages [223kB] Get:10 http://archive.ubuntu.com karmic-updates/restricted Packages [14B] Get:11 http://archive.ubuntu.com karmic-updates/restricted Sources [14B] Get:12 http://archive.ubuntu.com karmic-updates/main Sources [64.1kB] Get:13 http://archive.ubuntu.com karmic-updates/multiverse Sources [4,932B] Get:14 http://archive.ubuntu.com karmic-updates/universe Sources [31.5kB] Get:15 http://archive.ubuntu.com karmic-updates/universe Packages [131kB] Get:16 http://archive.ubuntu.com karmic-updates/multiverse Packages [10.8kB] Get:17 http://archive.ubuntu.com karmic-security/main Packages [100kB] Get:18 http://archive.ubuntu.com karmic-security/restricted Packages [14B] Get:19 http://archive.ubuntu.com karmic-security/restricted Sources [14B] Get:20 http://archive.ubuntu.com karmic-security/main Sources [29.6kB] Get:21 http://archive.ubuntu.com karmic-security/multiverse Sources [577B] Get:22 http://archive.ubuntu.com karmic-security/universe Sources [9,458B] Get:23 http://archive.ubuntu.com karmic-security/universe Packages [53.6kB] Get:24 http://archive.ubuntu.com karmic-security/multiverse Packages [1,666B] Fetched 765kB in 5s (152kB/s) Reading package lists... Done luis@luis-laptop:~$ sudo apt-get --fix-broken upgrade Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following NEW packages will be installed: flashplugin-installer libavcodec52 libavutil49 The following packages have been kept back: gij linux-generic linux-headers-generic linux-image-generic The following packages will be upgraded: flashplugin-nonfree kde-zeroconf kdenetwork-filesharing kopete kppp krdc krfb libboost-program-options1.38.0 libkopete4 libpq5 linux-libc-dev tzdata tzdata-java 13 upgraded, 3 newly installed, 0 to remove and 4 not upgraded. 1 not fully installed or removed. Need to get 9,156kB/13.2MB of archives. After this operation, 11.3MB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://archive.ubuntu.com karmic-updates/main tzdata-java 2010i-0ubuntu0.9.10 [144kB] Get:2 http://archive.ubuntu.com karmic-updates/main tzdata 2010i-0ubuntu0.9.10 [679kB] Get:3 http://archive.ubuntu.com karmic-updates/main kdenetwork-filesharing 4:4.3.2-0ubuntu4.1 [334kB] Get:4 http://archive.ubuntu.com karmic-updates/main libkopete4 4:4.3.2-0ubuntu4.1 [364kB] Get:5 http://archive.ubuntu.com karmic-updates/main kopete 4:4.3.2-0ubuntu4.1 [5,198kB] Get:6 http://archive.ubuntu.com karmic-updates/main kppp 4:4.3.2-0ubuntu4.1 [591kB] Get:7 http://archive.ubuntu.com karmic-updates/main krdc 4:4.3.2-0ubuntu4.1 [394kB] Get:8 http://archive.ubuntu.com karmic-updates/main krfb 4:4.3.2-0ubuntu4.1 [451kB] Get:9 http://archive.ubuntu.com karmic-updates/main libboost-program-options1.38.0 1.38.0-6ubuntu6.1 [117kB] Get:10 http://archive.ubuntu.com karmic-updates/main libpq5 8.4.3-0ubuntu9.10.1 [78.7kB] Get:11 http://archive.ubuntu.com karmic-updates/main linux-libc-dev 2.6.31-21.59 [753kB] Get:12 http://archive.ubuntu.com karmic-updates/main kde-zeroconf 4:4.3.2-0ubuntu4.1 [52.2kB] Fetched 9,156kB in 51s (178kB/s) Preconfiguring packages ... dpkg: error processing flashplugin-nonfree (--remove): Package is in a very bad inconsistent state - you should reinstall it before attempting a removal. Errors were encountered while processing: flashplugin-nonfree E: Sub-process /usr/bin/dpkg returned an error code (1) luis@luis-laptop:~$ sudo aptitude reinstall flashplugin-nonfree Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done The following packages are BROKEN: libavformat52 libpostproc51 libquicktime1 libswscale0 libxine1-ffmpeg mplayer mplayer-nogui The following packages will be REINSTALLED: flashplugin-nonfree The following packages will be REMOVED: bsh{u} cli-common{u} dhcdbd{u} g++-4.2{u} gcj-4.1-base{u} libart2.0-cil{u} libasound2-plugins{u} libavahi1.0-cil{u} libavcodec1d{u} libcamel1.2-11{u} libchipcardd0{u} libchm1{u} libdns35{u} libdvdnav4{u} libdvdread4{u} libedataserver1.2-9{u} libenca0{u} libgalago1.0-cil{u} libgalago3{u} libgconf2.0-cil{u} libgdiplus{u} libggi2{u} libgii1{u} libgii1-target-x{u} libglade2.0-cil{u} libglib2.0-cil{u} libgmime-2.0-2{u} libgnome-vfs2.0-cil{u} libgnome2.0-cil{u} libgnome2.24-cil{u} libgnomecups1.0-1{u} libgnomeprint2.2-0{u} libgnomeprint2.2-data{u} libgnomeprintui2.2-0{u} libgnomeprintui2.2-common{u} libgnutlsxx13{u} libgsf0.0-cil{u} libgsm1{u} libgtk2.0-cil{u} libgtkhtml2-0{u} libjaxp1.3-java{u} libkadm55{u} liblame0{u} libltdl3-dev{u} liblzo2-dev{u} libmono-cairo1.0-cil{u} libmono-cairo2.0-cil{u} libmono-corlib1.0-cil{u} libmono-corlib2.0-cil{u} libmono-data-tds1.0-cil{u} libmono-data-tds2.0-cil{u} libmono-i18n-west1.0-cil{u} libmono-i18n-west2.0-cil{u} libmono-posix1.0-cil{u} libmono-posix2.0-cil{u} libmono-security1.0-cil{u} libmono-security2.0-cil{u} libmono-sharpzip0.84-cil{u} libmono-sharpzip2.84-cil{u} libmono-sqlite2.0-cil{u} libmono-system-data1.0-cil{u} libmono-system-data2.0-cil{u} libmono-system-web1.0-cil{u} libmono-system-web2.0-cil{u} libmono-system1.0-cil{u} libmono-system2.0-cil{u} libmono0{u} libmono1.0-cil{u} libmono2.0-cil{u} libndesk-dbus-glib1.0-cil{u} libndesk-dbus1.0-cil{u} libnm-glib0{u} liboil0.3{u} libopenal0a{u} libopencdk10-dev{u} libpanel-applet2-0{u} libphonon4{u} libpoppler-glib2{u} librasqal0{u} libschroedinger-1.0-0{u} libsqlite0{u} libstdc++6-4.2-dev{u} libtaglib2.0-cil{u} libwv-1.2-3{u} libx264-57{u} libxalan2-java{u} libxerces2-java{u} linux-headers-2.6.24-19{u} linux-headers-2.6.24-19-generic{u} linux-headers-2.6.24-21{u} linux-headers-2.6.24-21-generic{u} linux-headers-2.6.24-22{u} linux-headers-2.6.24-22-generic{u} linux-headers-2.6.24-23{u} linux-headers-2.6.24-23-generic{u} linux-headers-2.6.24-24{u} linux-headers-2.6.24-24-generic{u} linux-headers-2.6.24-25{u} linux-headers-2.6.24-25-generic{u} linux-headers-2.6.24-26{u} linux-headers-2.6.24-26-generic{u} linux-headers-2.6.24-27{u} linux-headers-2.6.24-27-generic{u} mono-2.0-gac{u} mono-gac{u} mono-runtime{u} xulrunner-1.9{u} xulrunner-1.9-gnome-support{u} 0 packages upgraded, 0 newly installed, 1 reinstalled, 108 to remove and 16 not upgraded. Need to get 0B of archives. After unpacking 653MB will be freed. The following packages have unmet dependencies: libswscale0: Depends: libavutil49 (>= 4:0.5+svn20090706) but it is not installable or libavutil-extra-49 (>= 4:0.5+svn20090706) but it is not installable Depends: libavutil49 (< 4:0.5+svn20090706-99) but it is not installable or libavutil-extra-49 (< 4:0.5+svn20090706-99) but it is not installable mplayer: Depends: libavcodec52 (>= 3:0.svn20090303-1) but it is not installable or libavcodec-extra-52 (>= 3:0.svn20090303-1) but it is not installable Depends: libavutil49 (>= 3:0.svn20090303-1) but it is not installable or libavutil-extra-49 (>= 3:0.svn20090303-1) but it is not installable libpostproc51: Depends: libavutil49 (>= 4:0.5+svn20090706) but it is not installable or libavutil-extra-49 (>= 4:0.5+svn20090706) but it is not installable Depends: libavutil49 (< 4:0.5+svn20090706-99) but it is not installable or libavutil-extra-49 (< 4:0.5+svn20090706-99) but it is not installable libavformat52: Depends: libavcodec52 (>= 4:0.5+svn20090706) but it is not installable or libavcodec-extra-52 (>= 4:0.5+svn20090706) but it is not installable Depends: libavcodec52 (< 4:0.5+svn20090706-99) but it is not installable or libavcodec-extra-52 (< 4:0.5+svn20090706-99) but it is not installable Depends: libavutil49 (>= 4:0.5+svn20090706) but it is not installable or libavutil-extra-49 (>= 4:0.5+svn20090706) but it is not installable Depends: libavutil49 (< 4:0.5+svn20090706-99) but it is not installable or libavutil-extra-49 (< 4:0.5+svn20090706-99) but it is not installable libxine1-ffmpeg: Depends: libavcodec52 (>= 3:0.svn20090303-1) but it is not installable or libavcodec-extra-52 (>= 3:0.svn20090303-1) but it is not installable Depends: libavutil49 (>= 3:0.svn20090303-1) but it is not installable or libavutil-extra-49 (>= 3:0.svn20090303-1) but it is not installable libquicktime1: Depends: libavcodec52 (>= 3:0.svn20090303-1) but it is not installable or libavcodec-extra-52 (>= 3:0.svn20090303-1) but it is not installable mplayer-nogui: Depends: libavcodec52 (>= 3:0.svn20090303-1) but it is not installable or libavcodec-extra-52 (>= 3:0.svn20090303-1) but it is not installable Depends: libavutil49 (>= 3:0.svn20090303-1) but it is not installable or libavutil-extra-49 (>= 3:0.svn20090303-1) but it is not installable E: I wasn't able to locate file for the flashplugin-nonfree package. This might mean you need to manually fix this package. The following actions will resolve these dependencies: Remove the following packages: libavformat52 libquicktime1 libxine1-ffmpeg mozilla-mplayer mplayer mplayer-nogui quicktime-utils quicktime-x11utils xawtv-plugin-qt Install the following packages: libavutil49 [4:0.5+svn20090706-2ubuntu2.2 (karmic-updates, karmic-security, now)] Score is -408 Accept this solution? [Y/n/q/?] y The following packages will be REINSTALLED: flashplugin-nonfree The following packages will be REMOVED: bsh{u} cli-common{u} dhcdbd{u} g++-4.2{u} gcj-4.1-base{u} libart2.0-cil{u} libasound2-plugins{u} libavahi1.0-cil{u} libavc1394-0{u} libavcodec1d{u} libavformat52{a} libcamel1.2-11{u} libcelt0{u} libchipcardd0{u} libchm1{u} libdns35{u} libdv4{u} libdvdnav4{u} libdvdread4{u} libedataserver1.2-9{u} libenca0{u} libfaac0{u} libfaad0{u} libffado1{u} libfreebob0{u} libgalago1.0-cil{u} libgalago3{u} libgconf2.0-cil{u} libgdiplus{u} libggi2{u} libgii1{u} libgii1-target-x{u} libglade2.0-cil{u} libglib2.0-cil{u} libglibmm-2.4-1c2a{u} libgmime-2.0-2{u} libgnome-vfs2.0-cil{u} libgnome2.0-cil{u} libgnome2.24-cil{u} libgnomecups1.0-1{u} libgnomeprint2.2-0{u} libgnomeprint2.2-data{u} libgnomeprintui2.2-0{u} libgnomeprintui2.2-common{u} libgnutlsxx13{u} libgsf0.0-cil{u} libgsm1{u} libgtk2.0-cil{u} libgtkhtml2-0{u} libiec61883-0{u} libjack0{u} libjaxp1.3-java{u} libkadm55{u} liblame0{u} liblircclient0{u} libltdl3-dev{u} liblzo2-dev{u} libmono-cairo1.0-cil{u} libmono-cairo2.0-cil{u} libmono-corlib1.0-cil{u} libmono-corlib2.0-cil{u} libmono-data-tds1.0-cil{u} libmono-data-tds2.0-cil{u} libmono-i18n-west1.0-cil{u} libmono-i18n-west2.0-cil{u} libmono-posix1.0-cil{u} libmono-posix2.0-cil{u} libmono-security1.0-cil{u} libmono-security2.0-cil{u} libmono-sharpzip0.84-cil{u} libmono-sharpzip2.84-cil{u} libmono-sqlite2.0-cil{u} libmono-system-data1.0-cil{u} libmono-system-data2.0-cil{u} libmono-system-web1.0-cil{u} libmono-system-web2.0-cil{u} libmono-system1.0-cil{u} libmono-system2.0-cil{u} libmono0{u} libmono1.0-cil{u} libmono2.0-cil{u} libmp3lame0{u} libndesk-dbus-glib1.0-cil{u} libndesk-dbus1.0-cil{u} libnm-glib0{u} liboil0.3{u} libopenal0a{u} libopenal1{u} libopencdk10-dev{u} libpanel-applet2-0{u} libphonon4{u} libpoppler-glib2{u} libpostproc51{u} libquicktime1{a} librasqal0{u} libraw1394-11{u} libschroedinger-1.0-0{u} libsqlite0{u} libstdc++6-4.2-dev{u} libsvga1{u} libswscale0{u} libtaglib2.0-cil{u} libwv-1.2-3{u} libx264-57{u} libx264-67{u} libxalan2-java{u} libxerces2-java{u} libxine1-ffmpeg{a} libxml++2.6-2{u} libxvidcore4{u} linux-headers-2.6.24-19{u} linux-headers-2.6.24-19-generic{u} linux-headers-2.6.24-21{u} linux-headers-2.6.24-21-generic{u} linux-headers-2.6.24-22{u} linux-headers-2.6.24-22-generic{u} linux-headers-2.6.24-23{u} linux-headers-2.6.24-23-generic{u} linux-headers-2.6.24-24{u} linux-headers-2.6.24-24-generic{u} linux-headers-2.6.24-25{u} linux-headers-2.6.24-25-generic{u} linux-headers-2.6.24-26{u} linux-headers-2.6.24-26-generic{u} linux-headers-2.6.24-27{u} linux-headers-2.6.24-27-generic{u} mono-2.0-gac{u} mono-gac{u} mono-runtime{u} mozilla-mplayer{a} mplayer{a} mplayer-nogui{a} mplayer-skins{u} quicktime-utils{a} quicktime-x11utils{a} xawtv-plugin-qt{a} xulrunner-1.9{u} xulrunner-1.9-gnome-support{u} 0 packages upgraded, 0 newly installed, 1 reinstalled, 138 to remove and 16 not upgraded. Need to get 0B of archives. After unpacking 679MB will be freed. Do you want to continue? [Y/n/?] y E: I wasn't able to locate file for the flashplugin-nonfree package. This might mean you need to manually fix this package. Writing extended state information... Done E: I wasn't able to locate file for the flashplugin-nonfree package. This might mean you need to manually fix this package. E: Internal error: couldn't generate list of packages to download luis@luis-laptop:~$