Downloaded Packages fail to install

Asked by John Adrian Brooker on 2011-01-03

I am able to use the update Manager to download updates
But they won't install
I get the Following Message

nstallArchives() failed:
Extract templates from packages: 37%
Extract templates from packages: 74%
Extract templates from packages: 100%
Preconfiguring packages ...

Extract templates from packages: 37%
Extract templates from packages: 74%
Extract templates from packages: 100%
Preconfiguring packages ...
dpkg: unrecoverable fatal error, aborting:
 syntax error: unknown user 'clamav' in statoverride file

Question information

English Edit question
Ubuntu clamav Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:

Can you give the output of:

lsb_release -a; sudo apt-get update; sudo apt-get -y upgrade


Here is the output that you requested.

Many Thanks

john@johnbzero:~$ sudo apt-get update; sudo apt-get -y upgrade
[sudo] password for john:
Hit maverick Release.gpg
Ign maverick/partner Translation-en
Hit maverick Release.gpg
Ign maverick/main Translation-en
Hit maverick Release.gpg
Ign maverick/main Translation-en
Hit maverick-security Release.gpg
Ign maverick-security/main Translation-en
Ign maverick-security/main Translation-en_GB
Get:1 maverick/main Translation-en_GB [94.5kB]
Ign maverick/partner Translation-en_GB
Hit maverick Release
Ign maverick/main Translation-en_GB
Hit maverick Release
Ign maverick-security/multiverse Translation-en
Ign maverick-security/multiverse Translation-en_GB
Ign maverick-security/restricted Translation-en
Ign maverick-security/restricted Translation-en_GB
Ign maverick-security/universe Translation-en
Ign maverick-security/universe Translation-en_GB
Hit maverick-security Release
Hit maverick/partner Sources
Hit maverick/main i386 Packages
Hit maverick/partner i386 Packages
Hit maverick-security/main Sources
Get:2 stable Release.gpg [197B]
Hit maverick-security/restricted Sources
Hit maverick-security/universe Sources
Hit maverick-security/multiverse Sources
Hit maverick-security/main i386 Packages
Hit maverick-security/restricted i386 Packages
Ign stable/main Translation-en
Hit maverick-security/universe i386 Packages
Hit maverick-security/multiverse i386 Packages
Ign maverick/multiverse Translation-en
Get:3 maverick/multiverse Translation-en_GB [91.2kB]
Ign stable/main Translation-en_GB
Get:4 stable Release [1,347B]
Ign maverick/restricted Translation-en
Get:5 maverick/restricted Translation-en_GB [2,332B]
Ign maverick/universe Translation-en
Get:6 maverick/universe Translation-en_GB [32.0kB]
Hit maverick-updates Release.gpg
Ign maverick-updates/main Translation-en
Get:7 stable/main i386 Packages [1,088B]
Ign maverick-updates/main Translation-en_GB
Ign maverick-updates/multiverse Translation-en
Ign maverick-updates/multiverse Translation-en_GB
Ign maverick-updates/restricted Translation-en
Ign maverick-updates/restricted Translation-en_GB
Ign maverick-updates/universe Translation-en
Ign maverick-updates/universe Translation-en_GB
Hit maverick-backports Release.gpg
Ign maverick-backports/main Translation-en
Ign maverick-backports/main Translation-en_GB
Ign maverick-backports/multiverse Translation-en
Ign maverick-backports/multiverse Translation-en_GB
Ign maverick-backports/restricted Translation-en
Ign maverick-backports/restricted Translation-en_GB
Ign maverick-backports/universe Translation-en
Ign maverick-backports/universe Translation-en_GB
Hit lucid-backports Release.gpg
Hit maverick-proposed Release.gpg
Ign maverick-proposed/main Translation-en
Get:8 maverick-proposed/main Translation-en_GB [98.8kB]
Ign maverick-proposed/multiverse Translation-en
Get:9 maverick-proposed/multiverse Translation-en_GB [91.2kB]
Ign maverick-proposed/restricted Translation-en
Get:10 maverick-proposed/restricted Translation-en_GB [2,332B]
Ign maverick-proposed/universe Translation-en
Get:11 maverick-proposed/universe Translation-en_GB [32.2kB]
Hit maverick Release
Hit maverick-updates Release
Hit maverick-backports Release
Hit lucid-backports Release
Hit maverick-proposed Release
Hit maverick/main Sources
Hit maverick/restricted Sources
Hit maverick/universe Sources
Hit maverick/multiverse Sources
Hit maverick/main i386 Packages
Hit maverick/restricted i386 Packages
Hit maverick/universe i386 Packages
Hit maverick/multiverse i386 Packages
Hit maverick-updates/main Sources
Hit maverick-updates/restricted Sources
Hit maverick-updates/universe Sources
Hit maverick-updates/multiverse Sources
Hit maverick-updates/main i386 Packages
Hit maverick-updates/restricted i386 Packages
Hit maverick-updates/universe i386 Packages
Hit maverick-updates/multiverse i386 Packages
Hit maverick-backports/main i386 Packages
Hit maverick-backports/restricted i386 Packages
Hit maverick-backports/universe i386 Packages
Hit maverick-backports/multiverse i386 Packages
Hit lucid-backports/main Sources
Hit lucid-backports/restricted Sources
Hit lucid-backports/universe Sources
Hit lucid-backports/multiverse Sources
Hit maverick-proposed/restricted i386 Packages
Hit maverick-proposed/main i386 Packages
Hit maverick-proposed/multiverse i386 Packages
Hit maverick-proposed/universe i386 Packages
Fetched 447kB in 0s (603kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  linux-generic linux-headers-generic linux-image-generic
The following packages will be upgraded:
  apparmor apparmor-utils aptdaemon brasero brasero-cdrkit brasero-common cups
  cups-bsd cups-client cups-common cups-ppdc dell-recovery dpkg dpkg-dev
  evince evince-common evolution evolution-common evolution-data-server
  evolution-data-server-common evolution-plugins git git-core
  google-chrome-stable gstreamer0.10-packagekit icedtea-6-jre-cacao
  icedtea6-plugin ifupdown imagemagick indicator-sound krb5-multidev
  language-pack-en language-pack-gnome-en libapparmor-perl libapparmor1
  libbrasero-media-dev libbrasero-media1 libcamel1.2-14 libcups2 libcupscgi1
  libcupsdriver1 libcupsimage2 libcupsmime1 libcupsppdc1 libdpkg-perl
  libebackend1.2-0 libebook1.2-9 libecal1.2-7 libedata-book1.2-2
  libedata-cal1.2-7 libedataserver1.2-13 libedataserverui1.2-8
  libegroupwise1.2-13 libevdocument3 libevolution libevview3
  libgdata-google1.2-1 libgdata1.2-1 libgssapi-krb5-2 libgssrpc4 libk5crypto3
  libkadm5clnt-mit7 libkadm5srv-mit7 libkdb5-4 libkrb5-3 libkrb5-dev
  libkrb5support0 libmagick++3 libmagickcore3 libmagickcore3-extra
  libmagickwand3 libpackagekit-glib2-14 libparted0debian1 libsmbclient
  libsqlite3-0 libsqlite3-dev libssl-dev libssl0.9.8 libvlc-dev libvlc5
  libvlccore-dev libvlccore4 libwbclient0 libx264-98 linux-firmware
  linux-libc-dev mozilla-plugin-vlc openjdk-6-jre openjdk-6-jre-headless
  openjdk-6-jre-lib openssl packagekit packagekit-backend-aptcc parted
  perlmagick python python-aptdaemon python-aptdaemon-gtk python-dbg
  python-dev python-minimal python-packagekit samba-common samba-common-bin
  smbclient thunderbird thunderbird-gnome-support ttf-symbol-replacement
  ubuntu-docs ubuntu-sso-client vlc vlc-data vlc-dbg vlc-nox vlc-plugin-ggi
  vlc-plugin-jack vlc-plugin-notify vlc-plugin-pulse vlc-plugin-sdl
  vlc-plugin-svg vlc-plugin-svgalib winbind wine-gecko wine1.2 wine1.2-dbg
  wine1.2-dev xulrunner-1.9.2
127 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 0B/214MB of archives.
After this operation, 6,222kB of additional disk space will be used.
Extract templates from packages: 100%
Preconfiguring packages ...
dpkg: unrecoverable fatal error, aborting:
 syntax error: unknown user 'clamav' in statoverride file
E: Sub-process /usr/bin/dpkg returned an error code (2)

May help:

sudo apt-get update
sudo service clamav stop
gksudo gedit /var/lib/dpkg/statoverride

( delete the line with clamav)

sudo apt-get -f install
sudo apt-get install clamav
sudo apt-get purge clamav
sudo apt-get update
sudo service clamav start


Thanks actionparsnip, that solved my question.