Terminal output from PackageManagerTroubleshootingProcedure

Asked by Kevin Rieder on 2010-08-24

kevin@kevin-desktop:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04 LTS"
kevin@kevin-desktop:~$ uname -a
Linux kevin-desktop 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 08:03:28 UTC 2010 x86_64 GNU/Linux
kevin@kevin-desktop:~$ sudo rm /var/lib/apt/lists/lock
kevin@kevin-desktop:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup

kevin@kevin-desktop:~$
kevin@kevin-desktop:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
kevin@kevin-desktop:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
kevin@kevin-desktop:~$ sudo rm -rf /var/lib/dpkg/updates/*
kevin@kevin-desktop:~$ sudo rm -rf /var/lib/apt/lists
kevin@kevin-desktop:~$ sudo mkdir /var/lib/apt/lists
kevin@kevin-desktop:~$ sudo mkdir /var/lib/apt/lists/partial
kevin@kevin-desktop:~$ sudo rm /var/cache/apt/*.bin
kevin@kevin-desktop:~$ LANG=C;sudo apt-get clean
kevin@kevin-desktop:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
kevin@kevin-desktop:~$ LANG=C;sudo apt-get --purge 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:
  mozilla-plugin-vlc: Depends: vlc-nox (= 1.1.0-2~ppa1) but 1.1.0-1~ppa1 is installed
  vlc-plugin-pulse: Depends: vlc-nox (= 1.1.0-2~ppa1) but 1.1.0-1~ppa1 is installed
E: Unmet dependencies. Try using -f.
kevin@kevin-desktop:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Get:1 http://dl.google.com stable Release.gpg [189B]
Get:2 http://dl.google.com stable Release [2544B]
Ign http://ppa.launchpad.net lucid Release.gpg
Get:3 http://dl.google.com stable/main Packages [1076B]
Get:4 http://archive.ubuntu.com lucid Release.gpg [189B]
Get:5 http://archive.ubuntu.com lucid-updates Release.gpg [189B]
Ign http://ppa.launchpad.net lucid Release
Get:6 http://archive.ubuntu.com lucid-security Release.gpg [189B]
Get:7 http://archive.ubuntu.com lucid Release [57.2kB]
Ign http://ppa.launchpad.net lucid/main Packages
Ign http://ppa.launchpad.net lucid/main Packages
Err http://ppa.launchpad.net lucid/main Packages
  404 Not Found
Get:8 http://archive.ubuntu.com lucid-updates Release [44.7kB]
Get:9 http://archive.ubuntu.com lucid-security Release [38.5kB]
Get:10 http://archive.ubuntu.com lucid/main Packages [1383kB]
Get:11 http://archive.ubuntu.com lucid/restricted Packages [6193B]
Get:12 http://archive.ubuntu.com lucid/main Sources [659kB]
Get:13 http://archive.ubuntu.com lucid/restricted Sources [3775B]
Get:14 http://archive.ubuntu.com lucid/universe Packages [5430kB]
Get:15 http://archive.ubuntu.com lucid/universe Sources [3165kB]
Get:16 http://archive.ubuntu.com lucid/multiverse Packages [176kB]
Get:17 http://archive.ubuntu.com lucid/multiverse Sources [119kB]
Get:18 http://archive.ubuntu.com lucid-updates/main Packages [282kB]
Get:19 http://archive.ubuntu.com lucid-updates/restricted Packages [3270B]
Get:20 http://archive.ubuntu.com lucid-updates/main Sources [101kB]
Get:21 http://archive.ubuntu.com lucid-updates/restricted Sources [1292B]
Get:22 http://archive.ubuntu.com lucid-updates/universe Packages [95.0kB]
Get:23 http://archive.ubuntu.com lucid-updates/universe Sources [31.9kB]
Get:24 http://archive.ubuntu.com lucid-updates/multiverse Packages [3648B]
Get:25 http://archive.ubuntu.com lucid-updates/multiverse Sources [1508B]
Get:26 http://archive.ubuntu.com lucid-security/main Packages [59.7kB]
Get:27 http://archive.ubuntu.com lucid-security/restricted Packages [14B]
Get:28 http://archive.ubuntu.com lucid-security/main Sources [19.6kB]
Get:29 http://archive.ubuntu.com lucid-security/restricted Sources [14B]
Get:30 http://archive.ubuntu.com lucid-security/universe Packages [33.7kB]
Get:31 http://archive.ubuntu.com lucid-security/universe Sources [7041B]
Get:32 http://archive.ubuntu.com lucid-security/multiverse Packages [1876B]
Get:33 http://archive.ubuntu.com lucid-security/multiverse Sources [573B]
Fetched 11.7MB in 18s (641kB/s)
W: Failed to fetch http://ppa.launchpad.net/c-korn/vlc/ubuntu/dists/lucid/main/binary-amd64/Packages.gz 404 Not Found

E: Some index files failed to download, they have been ignored, or old ones used instead.
kevin@kevin-desktop:~$ sudo dpkg --clear-avail
kevin@kevin-desktop:~$ sudo dpkg --configure -a
Setting up evolution-data-server (2.28.3.1-0ubuntu5) ...
Setting up gnome-keyring (2.92.92.is.2.30.3-0ubuntu1) ...

dpkg: dependency problems prevent configuration of vlc-plugin-pulse:
 vlc-plugin-pulse depends on vlc-nox (= 1.1.0-2~ppa1); however:
  Version of vlc-nox on system is 1.1.0-1~ppa1.
dpkg: error processing vlc-plugin-pulse (--configure):
 dependency problems - leaving unconfigured
Processing triggers for python-central ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
dpkg: dependency problems prevent configuration of mozilla-plugin-vlc:
 mozilla-plugin-vlc depends on vlc-nox (= 1.1.0-2~ppa1); however:
  Version of vlc-nox on system is 1.1.0-1~ppa1.
dpkg: error processing mozilla-plugin-vlc (--configure):
 dependency problems - leaving unconfigured
Setting up language-selector (0.5.8) ...

Processing triggers for python-central ...
Setting up firefox-branding (3.6.6+nobinonly-0ubuntu0.10.04.1) ...
Setting up firefox (3.6.6+nobinonly-0ubuntu0.10.04.1) ...
Please restart all running instances of firefox, or you will experience problems.

Errors were encountered while processing:
 vlc-plugin-pulse
 mozilla-plugin-vlc
kevin@kevin-desktop:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libkworkspace4 libplasma-geolocation-interface4 libplasmaclock4
  libweather-ion4 kdebase-workspace-bin mysql-server-core-5.1 libprocessui4
  libprocesscore4 libsolidcontrol4 libsolidcontrolifaces4 akonadi-server
  libksgrd4 libtaskmanager4 mysql-client-core-5.1 kdebase-workspace-data
  libplasmagenericshell4 kdebase-workspace-kgreet-plugins libkephal4
  plasma-dataengines-workspace ksysguardd libkscreensaver5 libkfontinst4
  libplasma-applet-system-monitor4 kdepim-runtime plasma-widgets-workspace
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  mozilla-plugin-vlc vlc-plugin-pulse
0 upgraded, 0 newly installed, 2 to remove and 117 not upgraded.
2 not fully installed or removed.
After this operation, 254kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 189015 files and directories currently installed.)
Removing mozilla-plugin-vlc ...
Removing vlc-plugin-pulse ...
kevin@kevin-desktop:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Get:1 http://dl.google.com stable Release.gpg [189B]
Get:2 http://dl.google.com stable Release [2544B]
Get:3 http://dl.google.com stable/main Packages [1076B]
Ign http://ppa.launchpad.net lucid Release.gpg
Hit http://archive.ubuntu.com lucid Release.gpg
Hit http://archive.ubuntu.com lucid-updates Release.gpg
Ign http://ppa.launchpad.net lucid Release
Hit http://archive.ubuntu.com lucid-security Release.gpg
Hit http://archive.ubuntu.com lucid Release
Ign http://ppa.launchpad.net lucid/main Packages
Hit http://archive.ubuntu.com lucid-updates Release
Ign http://ppa.launchpad.net lucid/main Packages
Err http://ppa.launchpad.net lucid/main Packages
  404 Not Found
Hit http://archive.ubuntu.com lucid-security Release
Hit http://archive.ubuntu.com lucid/main Packages
Hit http://archive.ubuntu.com lucid/restricted Packages
Hit http://archive.ubuntu.com lucid/main Sources
Hit http://archive.ubuntu.com lucid/restricted Sources
Hit http://archive.ubuntu.com lucid/universe Packages
Hit http://archive.ubuntu.com lucid/universe Sources
Hit http://archive.ubuntu.com lucid/multiverse Packages
Hit http://archive.ubuntu.com lucid/multiverse Sources
Hit http://archive.ubuntu.com lucid-updates/main Packages
Hit http://archive.ubuntu.com lucid-updates/restricted Packages
Hit http://archive.ubuntu.com lucid-updates/main Sources
Hit http://archive.ubuntu.com lucid-updates/restricted Sources
Hit http://archive.ubuntu.com lucid-updates/universe Packages
Hit http://archive.ubuntu.com lucid-updates/universe Sources
Hit http://archive.ubuntu.com lucid-updates/multiverse Packages
Hit http://archive.ubuntu.com lucid-updates/multiverse Sources
Hit http://archive.ubuntu.com lucid-security/main Packages
Hit http://archive.ubuntu.com lucid-security/restricted Packages
Hit http://archive.ubuntu.com lucid-security/main Sources
Hit http://archive.ubuntu.com lucid-security/restricted Sources
Hit http://archive.ubuntu.com lucid-security/universe Packages
Hit http://archive.ubuntu.com lucid-security/universe Sources
Hit http://archive.ubuntu.com lucid-security/multiverse Packages
Hit http://archive.ubuntu.com lucid-security/multiverse Sources
Fetched 3809B in 1s (3497B/s)
W: Failed to fetch http://ppa.launchpad.net/c-korn/vlc/ubuntu/dists/lucid/main/binary-amd64/Packages.gz 404 Not Found

E: Some index files failed to download, they have been ignored, or old ones used instead.
kevin@kevin-desktop:~$

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
2010-08-26
Last query:
2010-08-26
Last reply:
2010-08-25

Still using terminal you need to type ( the system messages you post here has the instruction in it):

sudo apt-get -f install

give your user password when requested you will not see any backchars when you type it, then press enter

Then to be sure your system is fully up to date type

sudo apt-get update
sudo apt-get dist-upgrade

Hope this helps

New to Ubuntu: read the Ubuntu Manual, it's very informative: http://ubuntu-manual.org/
Click on the "download Button" to download the latest PDF version.

I think the PackageManagerTroubleshootingProcedure solved your issue.

To be absolutely sure, please run all the commands one more time and send us the full output.

Kevin Rieder (kevinrieder) said : #3

kevin@kevin-desktop:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS"
kevin@kevin-desktop:~$ uname -a
Linux kevin-desktop 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 08:03:28 UTC 2010 x86_64 GNU/Linux
kevin@kevin-desktop:~$ sudo rm /var/lib/apt/lists/lock
[sudo] password for kevin:
kevin@kevin-desktop:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
kevin@kevin-desktop:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
kevin@kevin-desktop:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
kevin@kevin-desktop:~$ sudo rm -rf /var/lib/dpkg/updates/*
kevin@kevin-desktop:~$ sudo rm -rf /var/lib/apt/lists
kevin@kevin-desktop:~$ sudo mkdir /var/lib/apt/lists
kevin@kevin-desktop:~$ sudo mkdir /var/lib/apt/lists/partial
kevin@kevin-desktop:~$ sudo rm /var/cache/apt/*.bin
kevin@kevin-desktop:~$ LANG=C;sudo apt-get clean
kevin@kevin-desktop:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
kevin@kevin-desktop:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  akonadi-server* kdebase-workspace-bin* kdebase-workspace-data*
  kdebase-workspace-kgreet-plugins* kdepim-runtime* ksysguardd* libkephal4*
  libkfontinst4* libkscreensaver5* libksgrd4* libkworkspace4* libparted0*
  libplasma-applet-system-monitor4* libplasma-geolocation-interface4*
  libplasmaclock4* libplasmagenericshell4* libprocesscore4* libprocessui4*
  libsolidcontrol4* libsolidcontrolifaces4* libtaskmanager4* libweather-ion4*
  mysql-client-core-5.1* mysql-server-core-5.1* plasma-dataengines-workspace*
  plasma-widgets-workspace*
0 upgraded, 0 newly installed, 26 to remove and 0 not upgraded.
5 not fully installed or removed.
After this operation, 60.8MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 210389 files and directories currently installed.)
Removing kdebase-workspace-bin ...
Purging configuration files for kdebase-workspace-bin ...
Removing plasma-widgets-workspace ...
Removing kdepim-runtime ...
Purging configuration files for kdepim-runtime ...
Removing akonadi-server ...
 * Reloading AppArmor profiles Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
                                                                         [ OK ]
Purging configuration files for akonadi-server ...
 * Reloading AppArmor profiles Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
                                                                         [ OK ]
Removing kdebase-workspace-data ...
Purging configuration files for kdebase-workspace-data ...
Removing kdebase-workspace-kgreet-plugins ...
Removing ksysguardd ...
Purging configuration files for ksysguardd ...
Removing plasma-dataengines-workspace ...
Removing libtaskmanager4 ...
Purging configuration files for libtaskmanager4 ...
Removing libkephal4 ...
Purging configuration files for libkephal4 ...
Removing libkfontinst4 ...
Purging configuration files for libkfontinst4 ...
Removing libkscreensaver5 ...
Purging configuration files for libkscreensaver5 ...
Removing libksgrd4 ...
Purging configuration files for libksgrd4 ...
Removing libplasmagenericshell4 ...
Purging configuration files for libplasmagenericshell4 ...
Removing libkworkspace4 ...
Purging configuration files for libkworkspace4 ...
Removing libparted0 ...
Removing libplasma-applet-system-monitor4 ...
Purging configuration files for libplasma-applet-system-monitor4 ...
Removing libplasma-geolocation-interface4 ...
Purging configuration files for libplasma-geolocation-interface4 ...
Removing libplasmaclock4 ...
Purging configuration files for libplasmaclock4 ...
Removing libprocessui4 ...
Purging configuration files for libprocessui4 ...
Removing libprocesscore4 ...
Purging configuration files for libprocesscore4 ...
Removing libsolidcontrol4 ...
Purging configuration files for libsolidcontrol4 ...
Removing libsolidcontrolifaces4 ...
Purging configuration files for libsolidcontrolifaces4 ...
Removing libweather-ion4 ...
Purging configuration files for libweather-ion4 ...
Removing mysql-client-core-5.1 ...
Removing mysql-server-core-5.1 ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.C.cache...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for hicolor-icon-theme ...
Processing triggers for shared-mime-info ...
Unknown media type in type 'all/all'

Unknown media type in type 'all/allfiles'

Unknown media type in type 'uri/mms'

Unknown media type in type 'uri/mmst'

Unknown media type in type 'uri/mmsu'

Unknown media type in type 'uri/pnm'

Unknown media type in type 'uri/rtspt'

Unknown media type in type 'uri/rtspu'

Unknown media type in type 'fonts/package'

Unknown media type in type 'interface/x-winamp-skin'

Processing triggers for python-support ...
Setting up language-pack-en-base (1:10.04+20100714) ...
Generating locales...
  en_AG.UTF-8... up-to-date
  en_AU.UTF-8... up-to-date
  en_BW.UTF-8... up-to-date
  en_CA.UTF-8... up-to-date
  en_DK.UTF-8... up-to-date
  en_GB.UTF-8... up-to-date
  en_HK.UTF-8... up-to-date
  en_IE.UTF-8... up-to-date
  en_IN.UTF-8... up-to-date
  en_NG.UTF-8... up-to-date
  en_NZ.UTF-8... up-to-date
  en_PH.UTF-8... up-to-date
  en_SG.UTF-8... up-to-date
  en_US.UTF-8... up-to-date
  en_ZA.UTF-8... up-to-date
  en_ZW.UTF-8... up-to-date
Generation complete.

Setting up firefox-branding (3.6.8+build1+nobinonly-0ubuntu0.10.04.1) ...
Setting up firefox (3.6.8+build1+nobinonly-0ubuntu0.10.04.1) ...
Please restart all running instances of firefox, or you will experience problems.

Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.C.cache...
Setting up language-pack-gnome-en (1:10.04+20100714) ...
Setting up language-pack-gnome-en-base (1:10.04+20100714) ...

Processing triggers for python-support ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.C.cache...
Processing triggers for python-support ...
kevin@kevin-desktop:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Get:1 http://dl.google.com stable Release.gpg [189B]
Get:2 http://dl.google.com stable Release [2544B]
Ign http://ppa.launchpad.net lucid Release.gpg
Get:3 http://dl.google.com stable/main Packages [1076B]
Get:4 http://archive.ubuntu.com lucid Release.gpg [189B]
Get:5 http://archive.ubuntu.com lucid-updates Release.gpg [189B]
Ign http://ppa.launchpad.net lucid Release
Get:6 http://archive.ubuntu.com lucid-security Release.gpg [189B]
Get:7 http://archive.ubuntu.com lucid Release [57.2kB]
Ign http://ppa.launchpad.net lucid/main Packages
Ign http://ppa.launchpad.net lucid/main Packages
Err http://ppa.launchpad.net lucid/main Packages
  404 Not Found
Get:8 http://archive.ubuntu.com lucid-updates Release [44.7kB]
Get:9 http://archive.ubuntu.com lucid-security Release [38.5kB]
Get:10 http://archive.ubuntu.com lucid/main Packages [1383kB]
Get:11 http://archive.ubuntu.com lucid/restricted Packages [6193B]
Get:12 http://archive.ubuntu.com lucid/main Sources [659kB]
Get:13 http://archive.ubuntu.com lucid/restricted Sources [3775B]
Get:14 http://archive.ubuntu.com lucid/universe Packages [5430kB]
Get:15 http://archive.ubuntu.com lucid/universe Sources [3165kB]
Get:16 http://archive.ubuntu.com lucid/multiverse Packages [176kB]
Get:17 http://archive.ubuntu.com lucid/multiverse Sources [119kB]
Get:18 http://archive.ubuntu.com lucid-updates/main Packages [283kB]
Get:19 http://archive.ubuntu.com lucid-updates/restricted Packages [3270B]
Get:20 http://archive.ubuntu.com lucid-updates/main Sources [103kB]
Get:21 http://archive.ubuntu.com lucid-updates/restricted Sources [1292B]
Get:22 http://archive.ubuntu.com lucid-updates/universe Packages [105kB]
Get:23 http://archive.ubuntu.com lucid-updates/universe Sources [34.6kB]
Get:24 http://archive.ubuntu.com lucid-updates/multiverse Packages [3648B]
Get:25 http://archive.ubuntu.com lucid-updates/multiverse Sources [1508B]
Get:26 http://archive.ubuntu.com lucid-security/main Packages [59.7kB]
Get:27 http://archive.ubuntu.com lucid-security/restricted Packages [14B]
Get:28 http://archive.ubuntu.com lucid-security/main Sources [19.6kB]
Get:29 http://archive.ubuntu.com lucid-security/restricted Sources [14B]
Get:30 http://archive.ubuntu.com lucid-security/universe Packages [33.7kB]
Get:31 http://archive.ubuntu.com lucid-security/universe Sources [7041B]
Get:32 http://archive.ubuntu.com lucid-security/multiverse Packages [1876B]
Get:33 http://archive.ubuntu.com lucid-security/multiverse Sources [573B]
Fetched 11.7MB in 20s (571kB/s)
W: Failed to fetch http://ppa.launchpad.net/c-korn/vlc/ubuntu/dists/lucid/main/binary-amd64/Packages.gz 404 Not Found

E: Some index files failed to download, they have been ignored, or old ones used instead.
kevin@kevin-desktop:~$ sudo dpkg --clear-avail
kevin@kevin-desktop:~$ sudo dpkg --configure -a
kevin@kevin-desktop:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
kevin@kevin-desktop:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Get:1 http://dl.google.com stable Release.gpg [189B]
Get:2 http://dl.google.com stable Release [2544B]
Ign http://ppa.launchpad.net lucid Release.gpg
Get:3 http://dl.google.com stable/main Packages [1076B]
Hit http://archive.ubuntu.com lucid Release.gpg
Hit http://archive.ubuntu.com lucid-updates Release.gpg
Ign http://ppa.launchpad.net lucid Release
Hit http://archive.ubuntu.com lucid-security Release.gpg
Hit http://archive.ubuntu.com lucid Release
Ign http://ppa.launchpad.net lucid/main Packages
Hit http://archive.ubuntu.com lucid-updates Release
Ign http://ppa.launchpad.net lucid/main Packages
Hit http://archive.ubuntu.com lucid-security Release
Hit http://archive.ubuntu.com lucid/main Packages
Hit http://archive.ubuntu.com lucid/restricted Packages
Err http://ppa.launchpad.net lucid/main Packages
  404 Not Found
Hit http://archive.ubuntu.com lucid/main Sources
Hit http://archive.ubuntu.com lucid/restricted Sources
Hit http://archive.ubuntu.com lucid/universe Packages
Hit http://archive.ubuntu.com lucid/universe Sources
Hit http://archive.ubuntu.com lucid/multiverse Packages
Hit http://archive.ubuntu.com lucid/multiverse Sources
Hit http://archive.ubuntu.com lucid-updates/main Packages
Hit http://archive.ubuntu.com lucid-updates/restricted Packages
Hit http://archive.ubuntu.com lucid-updates/main Sources
Hit http://archive.ubuntu.com lucid-updates/restricted Sources
Hit http://archive.ubuntu.com lucid-updates/universe Packages
Hit http://archive.ubuntu.com lucid-updates/universe Sources
Hit http://archive.ubuntu.com lucid-updates/multiverse Packages
Hit http://archive.ubuntu.com lucid-updates/multiverse Sources
Hit http://archive.ubuntu.com lucid-security/main Packages
Hit http://archive.ubuntu.com lucid-security/restricted Packages
Hit http://archive.ubuntu.com lucid-security/main Sources
Hit http://archive.ubuntu.com lucid-security/restricted Sources
Hit http://archive.ubuntu.com lucid-security/universe Packages
Hit http://archive.ubuntu.com lucid-security/universe Sources
Hit http://archive.ubuntu.com lucid-security/multiverse Packages
Hit http://archive.ubuntu.com lucid-security/multiverse Sources
Fetched 3809B in 1s (2052B/s)
W: Failed to fetch http://ppa.launchpad.net/c-korn/vlc/ubuntu/dists/lucid/main/binary-amd64/Packages.gz 404 Not Found

E: Some index files failed to download, they have been ignored, or old ones used instead.
kevin@kevin-desktop:~$

Kevin Rieder (kevinrieder) said : #4

kevin@kevin-desktop:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS"
kevin@kevin-desktop:~$ uname -a
Linux kevin-desktop 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 08:03:28 UTC 2010 x86_64 GNU/Linux
kevin@kevin-desktop:~$ sudo rm /var/lib/apt/lists/lock
[sudo] password for kevin:
kevin@kevin-desktop:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
kevin@kevin-desktop:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
kevin@kevin-desktop:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
kevin@kevin-desktop:~$ sudo rm -rf /var/lib/dpkg/updates/*
kevin@kevin-desktop:~$ sudo rm -rf /var/lib/apt/lists
kevin@kevin-desktop:~$ sudo mkdir /var/lib/apt/lists
kevin@kevin-desktop:~$ sudo mkdir /var/lib/apt/lists/partial
kevin@kevin-desktop:~$ sudo rm /var/cache/apt/*.bin
kevin@kevin-desktop:~$ LANG=C;sudo apt-get clean
kevin@kevin-desktop:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
kevin@kevin-desktop:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  akonadi-server* kdebase-workspace-bin* kdebase-workspace-data*
  kdebase-workspace-kgreet-plugins* kdepim-runtime* ksysguardd* libkephal4*
  libkfontinst4* libkscreensaver5* libksgrd4* libkworkspace4* libparted0*
  libplasma-applet-system-monitor4* libplasma-geolocation-interface4*
  libplasmaclock4* libplasmagenericshell4* libprocesscore4* libprocessui4*
  libsolidcontrol4* libsolidcontrolifaces4* libtaskmanager4* libweather-ion4*
  mysql-client-core-5.1* mysql-server-core-5.1* plasma-dataengines-workspace*
  plasma-widgets-workspace*
0 upgraded, 0 newly installed, 26 to remove and 0 not upgraded.
5 not fully installed or removed.
After this operation, 60.8MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 210389 files and directories currently installed.)
Removing kdebase-workspace-bin ...
Purging configuration files for kdebase-workspace-bin ...
Removing plasma-widgets-workspace ...
Removing kdepim-runtime ...
Purging configuration files for kdepim-runtime ...
Removing akonadi-server ...
 * Reloading AppArmor profiles Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
                                                                         [ OK ]
Purging configuration files for akonadi-server ...
 * Reloading AppArmor profiles Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
                                                                         [ OK ]
Removing kdebase-workspace-data ...
Purging configuration files for kdebase-workspace-data ...
Removing kdebase-workspace-kgreet-plugins ...
Removing ksysguardd ...
Purging configuration files for ksysguardd ...
Removing plasma-dataengines-workspace ...
Removing libtaskmanager4 ...
Purging configuration files for libtaskmanager4 ...
Removing libkephal4 ...
Purging configuration files for libkephal4 ...
Removing libkfontinst4 ...
Purging configuration files for libkfontinst4 ...
Removing libkscreensaver5 ...
Purging configuration files for libkscreensaver5 ...
Removing libksgrd4 ...
Purging configuration files for libksgrd4 ...
Removing libplasmagenericshell4 ...
Purging configuration files for libplasmagenericshell4 ...
Removing libkworkspace4 ...
Purging configuration files for libkworkspace4 ...
Removing libparted0 ...
Removing libplasma-applet-system-monitor4 ...
Purging configuration files for libplasma-applet-system-monitor4 ...
Removing libplasma-geolocation-interface4 ...
Purging configuration files for libplasma-geolocation-interface4 ...
Removing libplasmaclock4 ...
Purging configuration files for libplasmaclock4 ...
Removing libprocessui4 ...
Purging configuration files for libprocessui4 ...
Removing libprocesscore4 ...
Purging configuration files for libprocesscore4 ...
Removing libsolidcontrol4 ...
Purging configuration files for libsolidcontrol4 ...
Removing libsolidcontrolifaces4 ...
Purging configuration files for libsolidcontrolifaces4 ...
Removing libweather-ion4 ...
Purging configuration files for libweather-ion4 ...
Removing mysql-client-core-5.1 ...
Removing mysql-server-core-5.1 ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.C.cache...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for hicolor-icon-theme ...
Processing triggers for shared-mime-info ...
Unknown media type in type 'all/all'

Unknown media type in type 'all/allfiles'

Unknown media type in type 'uri/mms'

Unknown media type in type 'uri/mmst'

Unknown media type in type 'uri/mmsu'

Unknown media type in type 'uri/pnm'

Unknown media type in type 'uri/rtspt'

Unknown media type in type 'uri/rtspu'

Unknown media type in type 'fonts/package'

Unknown media type in type 'interface/x-winamp-skin'

Processing triggers for python-support ...
Setting up language-pack-en-base (1:10.04+20100714) ...
Generating locales...
  en_AG.UTF-8... up-to-date
  en_AU.UTF-8... up-to-date
  en_BW.UTF-8... up-to-date
  en_CA.UTF-8... up-to-date
  en_DK.UTF-8... up-to-date
  en_GB.UTF-8... up-to-date
  en_HK.UTF-8... up-to-date
  en_IE.UTF-8... up-to-date
  en_IN.UTF-8... up-to-date
  en_NG.UTF-8... up-to-date
  en_NZ.UTF-8... up-to-date
  en_PH.UTF-8... up-to-date
  en_SG.UTF-8... up-to-date
  en_US.UTF-8... up-to-date
  en_ZA.UTF-8... up-to-date
  en_ZW.UTF-8... up-to-date
Generation complete.

Setting up firefox-branding (3.6.8+build1+nobinonly-0ubuntu0.10.04.1) ...
Setting up firefox (3.6.8+build1+nobinonly-0ubuntu0.10.04.1) ...
Please restart all running instances of firefox, or you will experience problems.

Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.C.cache...
Setting up language-pack-gnome-en (1:10.04+20100714) ...
Setting up language-pack-gnome-en-base (1:10.04+20100714) ...

Processing triggers for python-support ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.C.cache...
Processing triggers for python-support ...
kevin@kevin-desktop:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Get:1 http://dl.google.com stable Release.gpg [189B]
Get:2 http://dl.google.com stable Release [2544B]
Ign http://ppa.launchpad.net lucid Release.gpg
Get:3 http://dl.google.com stable/main Packages [1076B]
Get:4 http://archive.ubuntu.com lucid Release.gpg [189B]
Get:5 http://archive.ubuntu.com lucid-updates Release.gpg [189B]
Ign http://ppa.launchpad.net lucid Release
Get:6 http://archive.ubuntu.com lucid-security Release.gpg [189B]
Get:7 http://archive.ubuntu.com lucid Release [57.2kB]
Ign http://ppa.launchpad.net lucid/main Packages
Ign http://ppa.launchpad.net lucid/main Packages
Err http://ppa.launchpad.net lucid/main Packages
  404 Not Found
Get:8 http://archive.ubuntu.com lucid-updates Release [44.7kB]
Get:9 http://archive.ubuntu.com lucid-security Release [38.5kB]
Get:10 http://archive.ubuntu.com lucid/main Packages [1383kB]
Get:11 http://archive.ubuntu.com lucid/restricted Packages [6193B]
Get:12 http://archive.ubuntu.com lucid/main Sources [659kB]
Get:13 http://archive.ubuntu.com lucid/restricted Sources [3775B]
Get:14 http://archive.ubuntu.com lucid/universe Packages [5430kB]
Get:15 http://archive.ubuntu.com lucid/universe Sources [3165kB]
Get:16 http://archive.ubuntu.com lucid/multiverse Packages [176kB]
Get:17 http://archive.ubuntu.com lucid/multiverse Sources [119kB]
Get:18 http://archive.ubuntu.com lucid-updates/main Packages [283kB]
Get:19 http://archive.ubuntu.com lucid-updates/restricted Packages [3270B]
Get:20 http://archive.ubuntu.com lucid-updates/main Sources [103kB]
Get:21 http://archive.ubuntu.com lucid-updates/restricted Sources [1292B]
Get:22 http://archive.ubuntu.com lucid-updates/universe Packages [105kB]
Get:23 http://archive.ubuntu.com lucid-updates/universe Sources [34.6kB]
Get:24 http://archive.ubuntu.com lucid-updates/multiverse Packages [3648B]
Get:25 http://archive.ubuntu.com lucid-updates/multiverse Sources [1508B]
Get:26 http://archive.ubuntu.com lucid-security/main Packages [59.7kB]
Get:27 http://archive.ubuntu.com lucid-security/restricted Packages [14B]
Get:28 http://archive.ubuntu.com lucid-security/main Sources [19.6kB]
Get:29 http://archive.ubuntu.com lucid-security/restricted Sources [14B]
Get:30 http://archive.ubuntu.com lucid-security/universe Packages [33.7kB]
Get:31 http://archive.ubuntu.com lucid-security/universe Sources [7041B]
Get:32 http://archive.ubuntu.com lucid-security/multiverse Packages [1876B]
Get:33 http://archive.ubuntu.com lucid-security/multiverse Sources [573B]
Fetched 11.7MB in 20s (571kB/s)
W: Failed to fetch http://ppa.launchpad.net/c-korn/vlc/ubuntu/dists/lucid/main/binary-amd64/Packages.gz 404 Not Found

E: Some index files failed to download, they have been ignored, or old ones used instead.
kevin@kevin-desktop:~$ sudo dpkg --clear-avail
kevin@kevin-desktop:~$ sudo dpkg --configure -a
kevin@kevin-desktop:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
kevin@kevin-desktop:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Get:1 http://dl.google.com stable Release.gpg [189B]
Get:2 http://dl.google.com stable Release [2544B]
Ign http://ppa.launchpad.net lucid Release.gpg
Get:3 http://dl.google.com stable/main Packages [1076B]
Hit http://archive.ubuntu.com lucid Release.gpg
Hit http://archive.ubuntu.com lucid-updates Release.gpg
Ign http://ppa.launchpad.net lucid Release
Hit http://archive.ubuntu.com lucid-security Release.gpg
Hit http://archive.ubuntu.com lucid Release
Ign http://ppa.launchpad.net lucid/main Packages
Hit http://archive.ubuntu.com lucid-updates Release
Ign http://ppa.launchpad.net lucid/main Packages
Hit http://archive.ubuntu.com lucid-security Release
Hit http://archive.ubuntu.com lucid/main Packages
Hit http://archive.ubuntu.com lucid/restricted Packages
Err http://ppa.launchpad.net lucid/main Packages
  404 Not Found
Hit http://archive.ubuntu.com lucid/main Sources
Hit http://archive.ubuntu.com lucid/restricted Sources
Hit http://archive.ubuntu.com lucid/universe Packages
Hit http://archive.ubuntu.com lucid/universe Sources
Hit http://archive.ubuntu.com lucid/multiverse Packages
Hit http://archive.ubuntu.com lucid/multiverse Sources
Hit http://archive.ubuntu.com lucid-updates/main Packages
Hit http://archive.ubuntu.com lucid-updates/restricted Packages
Hit http://archive.ubuntu.com lucid-updates/main Sources
Hit http://archive.ubuntu.com lucid-updates/restricted Sources
Hit http://archive.ubuntu.com lucid-updates/universe Packages
Hit http://archive.ubuntu.com lucid-updates/universe Sources
Hit http://archive.ubuntu.com lucid-updates/multiverse Packages
Hit http://archive.ubuntu.com lucid-updates/multiverse Sources
Hit http://archive.ubuntu.com lucid-security/main Packages
Hit http://archive.ubuntu.com lucid-security/restricted Packages
Hit http://archive.ubuntu.com lucid-security/main Sources
Hit http://archive.ubuntu.com lucid-security/restricted Sources
Hit http://archive.ubuntu.com lucid-security/universe Packages
Hit http://archive.ubuntu.com lucid-security/universe Sources
Hit http://archive.ubuntu.com lucid-security/multiverse Packages
Hit http://archive.ubuntu.com lucid-security/multiverse Sources
Fetched 3809B in 1s (2052B/s)
W: Failed to fetch http://ppa.launchpad.net/c-korn/vlc/ubuntu/dists/lucid/main/binary-amd64/Packages.gz 404 Not Found

E: Some index files failed to download, they have been ignored, or old ones used instead.
kevin@kevin-desktop:~$

Everything is solved, except for the following warning message:

W: Failed to fetch http://ppa.launchpad.net/c-korn/vlc/ubuntu/dists/lucid/main/binary-amd64/Packages.gz 404 Not Found

If you check that website, you will see that the subdirectory vlc under directory c-korn does not exist anymore....

So you will need to remove the line(s) in the file /etc/apt/sources.list that refers to c-korn

Also delete any files in the /etc/apt/sources.list.d directory that contain c-korn in their name.

Kevin Rieder (kevinrieder) said : #6

Thanks Mark Rijckenberg, that solved my question.

ysingh (ys-rajput) said : #7

I find many errors..

Need additional help to rectify..

ysingh@ysingh-desktop:~$ sudo dpkg --clear-avail
ysingh@ysingh-desktop:~$ sudo dpkg --configure -a
ysingh@ysingh-desktop:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ysingh@ysingh-desktop:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111011) oneiric Release.gpg
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111011) oneiric Release
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111011) oneiric/main Packages
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111011) oneiric/restricted Packages
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111011) oneiric/main Packages
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111011) oneiric/restricted Packages
Err cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111011) oneiric/main Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111011) oneiric/restricted Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Get:1 http://ppa.launchpad.net lucid Release.gpg [307B]
Ign http://ppa.launchpad.net lucid Release.gpg
Hit http://archive.canonical.com lucid Release.gpg
Ign http://archive.canonical.com YOUR_UBUNTU_VERSION_HERE Release.gpg
Ign http://archive.canonical.com 10.04 Release.gpg
Hit http://archive.ubuntu.com lucid Release.gpg
Hit http://archive.ubuntu.com lucid-updates Release.gpg
Hit http://archive.ubuntu.com lucid-security Release.gpg
Get:2 http://dl.google.com stable Release.gpg [198B]
Hit http://archive.canonical.com lucid Release
Hit http://archive.ubuntu.com lucid Release
Get:3 http://ppa.launchpad.net lucid Release [57.3kB]
Ign http://ppa.launchpad.net lucid Release
Ign http://archive.canonical.com YOUR_UBUNTU_VERSION_HERE Release
Hit http://archive.ubuntu.com lucid-updates Release
Ign http://ppa.launchpad.net lucid Release
Hit http://archive.ubuntu.com lucid-security Release
Ign http://archive.canonical.com 10.04 Release
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://archive.ubuntu.com lucid/main Packages
Hit http://archive.ubuntu.com lucid/restricted Packages
Hit http://archive.ubuntu.com lucid/main Sources
Hit http://archive.ubuntu.com lucid/universe Packages
Hit http://archive.ubuntu.com lucid/universe Sources
Hit http://archive.canonical.com lucid/partner Packages
Hit http://archive.canonical.com lucid/partner Sources
Ign http://ppa.launchpad.net lucid/main Packages
Hit http://archive.ubuntu.com lucid-updates/main Packages
Hit http://archive.ubuntu.com lucid-updates/restricted Packages
Hit http://archive.ubuntu.com lucid-updates/main Sources
Hit http://archive.ubuntu.com lucid-updates/universe Packages
Hit http://archive.ubuntu.com lucid-updates/universe Sources
Ign http://archive.canonical.com YOUR_UBUNTU_VERSION_HERE/partner Packages
Ign http://archive.canonical.com YOUR_UBUNTU_VERSION_HERE/partner Sources
Ign http://ppa.launchpad.net lucid/main Packages
Hit http://archive.ubuntu.com lucid-security/main Packages
Hit http://archive.ubuntu.com lucid-security/restricted Packages
Hit http://archive.ubuntu.com lucid-security/main Sources
Hit http://archive.ubuntu.com lucid-security/universe Packages
Hit http://archive.ubuntu.com lucid-security/universe Sources
Ign http://archive.canonical.com 10.04/Lucid Packages
Ign http://archive.canonical.com 10.04/partner Packages
Ign http://archive.canonical.com 10.04/Lucid Sources
Err http://ppa.launchpad.net lucid/main Packages
  404 Not Found
Ign http://archive.canonical.com 10.04/partner Sources
Get:4 http://dl.google.com stable Release [1347B]
Ign http://archive.canonical.com YOUR_UBUNTU_VERSION_HERE/partner Packages
Ign http://archive.canonical.com YOUR_UBUNTU_VERSION_HERE/partner Sources
Ign http://archive.canonical.com 10.04/Lucid Packages
Ign http://archive.canonical.com 10.04/partner Packages
Ign http://archive.canonical.com 10.04/Lucid Sources
Ign http://archive.canonical.com 10.04/partner Sources
Err http://archive.canonical.com YOUR_UBUNTU_VERSION_HERE/partner Packages
  404 Not Found
Err http://archive.canonical.com YOUR_UBUNTU_VERSION_HERE/partner Sources
  404 Not Found
Err http://archive.canonical.com 10.04/Lucid Packages
  404 Not Found
Err http://archive.canonical.com 10.04/partner Packages
  404 Not Found
Err http://archive.canonical.com 10.04/Lucid Sources
  404 Not Found
Err http://archive.canonical.com 10.04/partner Sources
  404 Not Found
Get:5 http://dl.google.com stable/main Packages [1214B]
Fetched 3067B in 2s (1074B/s)
W: GPG error: http://ppa.launchpad.net lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 632D16BB0C713DA6
W: Failed to fetch cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111011)/dists/oneiric/main/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111011)/dists/oneiric/restricted/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch http://ppa.launchpad.net/user/ppa-name/ubuntu/dists/lucid/main/binary-i386/Packages.gz 404 Not Found

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/YOUR_UBUNTU_VERSION_HERE/partner/binary-i386/Packages.gz 404 Not Found

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/YOUR_UBUNTU_VERSION_HERE/partner/source/Sources.gz 404 Not Found

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/10.04/Lucid/binary-i386/Packages.gz 404 Not Found

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/10.04/partner/binary-i386/Packages.gz 404 Not Found

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/10.04/Lucid/source/Sources.gz 404 Not Found

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/10.04/partner/source/Sources.gz 404 Not Found

E: Some index files failed to download, they have been ignored, or old ones used instead.
ysingh@ysingh-desktop:~$