Error when updating: "Encountered a section with no Package: header"

Asked by Diego Alcántara

Hi, I'm having an issue whe trying to do an apt-get update KUbuntu 11.04, here is the output for commands from https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure
I'd like to add that I've tried:
sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial

and

> sudo rm /var/lib/apt/lists/* -vf
> sudo apt-get clean
> sudo apt-get update
> sudo apt-get upgrade

and all the commands suggested in https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386

Kind regards,
Diego.

diego@chino-desktop:/var/lib/apt$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.04
DISTRIB_CODENAME=natty
DISTRIB_DESCRIPTION="Ubuntu 11.04"
diego@chino-desktop:/var/lib/apt$ uname -a
Linux chino-desktop 2.6.38-11-generic-pae #48-Ubuntu SMP Fri Jul 29 20:51:21 UTC 2011 i686 athlon i386 GNU/Linux
diego@chino-desktop:/var/lib/apt$ sudo rm /var/lib/apt/lists/lock
diego@chino-desktop:/var/lib/apt$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
diego@chino-desktop:/var/lib/apt$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
diego@chino-desktop:/var/lib/apt$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
diego@chino-desktop:/var/lib/apt$ sudo rm -rf /var/lib/dpkg/updates/*
diego@chino-desktop:/var/lib/apt$ sudo rm -rf /var/lib/apt/lists
diego@chino-desktop:/var/lib/apt$ sudo rm /var/cache/apt/*.bin
diego@chino-desktop:/var/lib/apt$ sudo mkdir /var/lib/apt/lists
diego@chino-desktop:/var/lib/apt$ sudo mkdir /var/lib/apt/lists/partial
diego@chino-desktop:/var/lib/apt$ LANG=C;sudo apt-get clean
diego@chino-desktop:/var/lib/apt$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
diego@chino-desktop:/var/lib/apt$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
65 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up freepats (20060219-1) ...
Setting up libavutil-extra-50 (4:0.6.2-1ubuntu2) ...
Setting up libdirac-encoder0 (1.0.2-3ubuntu1) ...
Setting up libfaad2 (2.7-6ubuntu1) ...
Setting up libgsm1 (1.0.13-3) ...
Setting up libmp3lame0 (3.98.4-0ubuntu1) ...
Setting up libopenjpeg2 (1.3+dfsg-4) ...
Setting up libschroedinger-1.0-0 (1.0.10-2) ...
Setting up libva1 (1.0.8-3) ...
Setting up libvpx0 (0.9.6-1) ...
Setting up libx264-106 (2:0.106.1741-3) ...
Setting up libxvidcore4 (2:1.2.2+debian-1ubuntu2) ...
Setting up libavcodec-extra-52 (4:0.6.2-1ubuntu2) ...
Setting up libavformat52 (4:0.6.2-1ubuntu1) ...
Setting up libpostproc51 (4:0.6.2-1ubuntu1) ...
Setting up libswscale0 (4:0.6.2-1ubuntu1) ...
Setting up gstreamer0.10-ffmpeg (0.10.11-4) ...
Setting up liboil0.3 (0.3.17-2ubuntu1) ...
Setting up gstreamer0.10-fluendo-mp3 (0.10.15.debian-1) ...
Setting up gstreamer0.10-pitfdll (0.9.1.1+cvs20080215-1ubuntu2) ...
Setting up libfaac0 (1.26-0.1ubuntu2) ...
Setting up libquicktime1 (2:1.1.5-1ubuntu3) ...
Setting up libsdl1.2debian-alsa (1.2.14-6.1ubuntu3) ...
Setting up libsdl1.2debian (1.2.14-6.1ubuntu3) ...
Setting up libmjpegtools-1.9 (1:1.9.0-0.5ubuntu4) ...
Setting up gstreamer0.10-plugins-bad-multiverse (0.10.21-1) ...
Setting up liba52-0.7.4 (0.7.4-14ubuntu2) ...
Setting up libcdio10 (0.81-4build1) ...
Setting up libdvdread4 (4.1.3-10ubuntu3) ...
Setting up libid3tag0 (0.15.1b-10build2) ...
Setting up libmad0 (0.15.1b-5ubuntu1) ...
Setting up libmpeg2-4 (0.4.1-3) ...
Setting up libopencore-amrnb0 (0.1.2-1) ...
Setting up libopencore-amrwb0 (0.1.2-1) ...
Setting up libsidplay1 (1.36.59-5) ...
Setting up libtwolame0 (0.3.12-1) ...
Setting up gstreamer0.10-plugins-ugly (0.10.17-1ubuntu2) ...
Setting up gstreamer0.10-plugins-ugly-multiverse (0.10.17-1) ...
Setting up libcdaudio1 (0.99.12p2-9) ...
Setting up libcelt0-0 (0.7.1-1) ...
Setting up libcroco3 (0.6.2-1) ...
Setting up libdca0 (0.0.5-3) ...
Setting up tsconf (1.0-7build1) ...
Setting up libts-0.0-0 (1.0-7build1) ...
Setting up libdirectfb-1.2-9 (1.2.10.0-4ubuntu2) ...
Setting up libdvdnav4 (4.1.3-7) ...
Setting up libenca0 (1.13-3) ...
Setting up libfftw3-3 (3.2.2-1) ...
Setting up libgme0 (0.5.5-2) ...
Setting up libkate1 (0.3.8-1) ...
Setting up libmimic0 (1.0.4-2ubuntu1) ...
Setting up libmms0 (0.6.2-1) ...
Setting up libmodplug1 (1:0.8.8.1-2ubuntu0.2) ...
Setting up libmusicbrainz4c2a (2.1.5-4ubuntu2) ...
Setting up libofa0 (0.9.3-3.1) ...
Setting up libopenspc0 (0.3.99a-2) ...
Setting up librsvg2-2 (2.32.1-0ubuntu3) ...
Setting up libsoundtouch0 (1.5.0-4) ...
Setting up libwildmidi1 (0.2.3.2-2) ...
Setting up libzbar0 (0.10+doc-4ubuntu2) ...
Setting up libass4 (0.9.11-1) ...
Setting up libdc1394-22 (2.1.2-3ubuntu3) ...
Setting up libflite1 (1.4-release-2) ...
Setting up librtmp0 (2.3-2) ...
Setting up gstreamer0.10-plugins-bad (0.10.21-1ubuntu11) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
diego@chino-desktop:/var/lib/apt$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Ign http://archive.ubuntu.com natty InRelease
Ign http://archive.canonical.com natty InRelease
Ign http://ppa.launchpad.net natty InRelease
Ign http://extras.ubuntu.com natty InRelease
Ign http://security.ubuntu.com natty-security InRelease
Get:1 http://archive.ubuntu.com natty-updates InRelease
Ign http://dl.google.com stable InRelease
Ign http://archive.ubuntu.com natty-updates InRelease
Get:2 http://archive.ubuntu.com natty-security InRelease
Ign http://archive.ubuntu.com natty-security InRelease
Get:3 http://archive.ubuntu.com natty Release.gpg
Get:4 http://archive.canonical.com natty Release.gpg [198 B]
Get:5 http://security.ubuntu.com natty-security Release.gpg [198 B]
Get:6 http://ppa.launchpad.net natty Release.gpg [316 B]
Get:7 http://archive.ubuntu.com natty-updates/main Sources
Get:8 http://extras.ubuntu.com natty Release.gpg [72 B]
Get:9 http://dl.google.com stable Release.gpg [198 B]
98% [7 Sources bzip2 0 B] [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting for headersbzip2: (stdin) is not a bzip2 file.
Get:10 http://archive.ubuntu.com natty-updates/restricted Sources
98% [10 Sources bzip2 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting forbzip2: (stdin) is not a bzip2 file.
Get:11 http://archive.ubuntu.com natty-updates/universe Sources
98% [11 Sources bzip2 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting forbzip2: (stdin) is not a bzip2 file.
Get:12 http://dl.google.com stable Release [1347 B]
Get:13 http://archive.ubuntu.com natty-updates/multiverse Sources
99% [13 Sources bzip2 0 B] [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting for headerbzip2: (stdin) is not a bzip2 file.
Get:14 http://security.ubuntu.com natty-security Release [31.4 kB]
Get:15 http://archive.canonical.com natty Release [5916 B]
Get:16 http://extras.ubuntu.com natty Release [9753 B]
Get:17 http://ppa.launchpad.net natty Release [9747 B]
Get:18 http://archive.ubuntu.com natty-updates/main i386 Packages
42% [18 Packages bzip2 0 B] [15 Release gpgv 5916 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [14 Release 6844 B/31.4 kB 21%] [16 Release 4096 B/9bzip2: (stdin) is not a bzip2 file.
Get:19 http://archive.ubuntu.com natty-updates/restricted i386 Packages
58% [19 Packages bzip2 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [14 Release 6844 B/31.4 kB 21%] [Waiting for headers] [Waiting for headers] [bzip2: (stdin) is not a bzip2 file.
Get:20 http://dl.google.com stable/main i386 Packages [1195 B]
Get:21 http://archive.ubuntu.com natty-updates/universe i386 Packages
83% [21 Packages bzip2 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [14 Release 21.3 kB/31.4 kB 68%] [Waiting for headers] [Waiting for headers] bzip2: (stdin) is not a bzip2 file.
Get:22 http://archive.canonical.com natty/partner i386 Packages [8649 B]
Get:23 http://ppa.launchpad.net natty/main Sources [40.3 kB]
Get:24 http://archive.ubuntu.com natty-updates/multiverse i386 Packages
Ign http://dl.google.com stable/main TranslationIndex
Get:25 http://extras.ubuntu.com natty/main Sources [14 B]
58% [24 Packages bzip2 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [14 Release 22.8 kB/31.4 kB 72%] [22 Packages 8192 B/8649 B 94%] [25 Sources bzip2: (stdin) is not a bzip2 file.
Get:26 http://archive.ubuntu.com natty-updates/main TranslationIndex
Get:27 http://archive.ubuntu.com natty-updates/multiverse TranslationIndex
Get:28 http://extras.ubuntu.com natty/main i386 Packages [14 B]
Ign http://archive.canonical.com natty/partner TranslationIndex
Get:29 http://security.ubuntu.com natty-security/main i386 Packages [170 kB]
Get:30 http://archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://extras.ubuntu.com natty/main TranslationIndex
Get:31 http://archive.ubuntu.com natty-updates/universe TranslationIndex
Get:32 http://archive.ubuntu.com natty-security/main Sources
Get:33 http://ppa.launchpad.net natty/main i386 Packages [95.1 kB]
50% [32 Sources bzip2 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [29 Packages 77.9 kB/170 kB 45%] [33 Packages 1063 B/95.1 kB 1%]bzip2: (stdin) is not a bzip2 file.
Get:34 http://archive.ubuntu.com natty-security/restricted Sources
69% [34 Sources bzip2 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [29 Packages 143 kB/170 kB 84%] [Connecting to archive.canonical.com (91.189.8bzip2: (stdin) is not a bzip2 file.
Get:35 http://archive.ubuntu.com natty-security/universe Sources
Get:36 http://security.ubuntu.com natty-security/restricted i386 Packages [14 B]
Ign http://archive.canonical.com natty/partner Translation-en
89% [35 Sources bzip2 0 B] [Waiting for headers] [Waiting for headers] [33 Packages 55.2 kB/95.1 kB 58%]bzip2: (stdin) is not a bzip2 file.
Get:37 http://archive.ubuntu.com natty-security/multiverse Sources
99% [37 Sources bzip2 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting forbzip2: (stdin) is not a bzip2 file.
Get:38 http://archive.ubuntu.com natty Release
Get:39 http://security.ubuntu.com natty-security/universe i386 Packages [34.5 kB]
Ign http://archive.ubuntu.com natty Release
W: GPG error: http://archive.ubuntu.com natty-updates InRelease: File /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty-updates_InRelease doesn't start with a clearsigned message
W: GPG error: http://archive.ubuntu.com natty-security InRelease: File /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty-security_InRelease doesn't start with a clearsigned message
E: GPG error: http://archive.ubuntu.com natty Release: The following signatures were invalid: NODATA 1 NODATA 2
diego@chino-desktop:/var/lib/apt$ sudo dpkg --clear-avail
diego@chino-desktop:/var/lib/apt$ sudo dpkg --configure -a
diego@chino-desktop:/var/lib/apt$ 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.
diego@chino-desktop:/var/lib/apt$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
diego@chino-desktop:/var/lib/apt$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Ign http://ppa.launchpad.net natty InRelease
Ign http://archive.canonical.com natty InRelease
Ign http://security.ubuntu.com natty-security InRelease
Ign http://extras.ubuntu.com natty InRelease
Get:1 http://archive.ubuntu.com natty InRelease
Ign http://archive.ubuntu.com natty InRelease
Get:2 http://archive.ubuntu.com natty-updates InRelease
Ign http://archive.ubuntu.com natty-updates InRelease
Get:3 http://archive.ubuntu.com natty-security InRelease
Ign http://archive.ubuntu.com natty-security InRelease
Ign http://dl.google.com stable InRelease
Get:4 http://archive.ubuntu.com natty/main Sources
81% [4 Sources bzip2 0 B] [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
Get:5 http://archive.ubuntu.com natty/restricted Sources
84% [5 Sources bzip2 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting for bzip2: (stdin) is not a bzip2 file.
Get:6 http://archive.ubuntu.com natty/universe Sources
86% [6 Sources bzip2 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting for bzip2: (stdin) is not a bzip2 file.
Get:7 http://security.ubuntu.com natty-security Release.gpg [198 B]
Get:8 http://dl.google.com stable Release.gpg [198 B]
Hit http://archive.canonical.com natty Release.gpg
Hit http://ppa.launchpad.net natty Release.gpg
Get:9 http://archive.ubuntu.com natty/multiverse Sources
95% [9 Sources bzip2 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting for bzip2: (stdin) is not a bzip2 file.
Hit http://extras.ubuntu.com natty Release.gpg
Get:10 http://archive.ubuntu.com natty/main i386 Packages
95% [10 Packages bzip2 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting fobzip2: (stdin) is not a bzip2 file.
Get:11 http://archive.ubuntu.com natty/restricted i386 Packages
95% [11 Packages bzip2 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting fobzip2: (stdin) is not a bzip2 file.
Get:12 http://archive.ubuntu.com natty/universe i386 Packages
95% [12 Packages bzip2 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting fobzip2: (stdin) is not a bzip2 file.
Get:13 http://dl.google.com stable Release [1347 B]
Hit http://security.ubuntu.com natty-security Release
Hit http://archive.canonical.com natty Release
Hit http://ppa.launchpad.net natty Release
Hit http://extras.ubuntu.com natty Release
Get:14 http://archive.ubuntu.com natty/multiverse i386 Packages
98% [14 Packages bzip2 0 B] [Release gpgv 9747 B] [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
Get:15 http://archive.ubuntu.com natty/main TranslationIndex
Get:16 http://dl.google.com stable/main i386 Packages [1195 B]
Get:17 http://archive.ubuntu.com natty/multiverse TranslationIndex
Get:18 http://archive.ubuntu.com natty/restricted TranslationIndex
Hit http://security.ubuntu.com natty-security/main i386 Packages
Hit http://archive.canonical.com natty/partner i386 Packages
Hit http://ppa.launchpad.net natty/main Sources
Hit http://extras.ubuntu.com natty/main Sources
Ign http://archive.canonical.com natty/partner TranslationIndex
Ign http://archive.canonical.com natty/partner Translation-en
Get:19 http://archive.ubuntu.com natty/universe TranslationIndex
Ign http://dl.google.com stable/main TranslationIndex
Get:20 http://archive.ubuntu.com natty-updates/main Sources
95% [20 Sources bzip2 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers] [Waiting for headers] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
Get:21 http://archive.ubuntu.com natty-updates/restricted Sources
95% [21 Sources bzip2 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers] [Waiting for headers] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
Get:22 http://security.ubuntu.com natty-security/restricted i386 Packages [14 B]
Hit http://extras.ubuntu.com natty/main i386 Packages
Ign http://extras.ubuntu.com natty/main TranslationIndex
Ign http://extras.ubuntu.com natty/main Translation-en
Get:23 http://archive.ubuntu.com natty-updates/universe Sources
95% [23 Sources bzip2 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers] [Waiting for headers] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
Hit http://ppa.launchpad.net natty/main i386 Packages
Ign http://ppa.launchpad.net natty/main TranslationIndex
Get:24 http://archive.ubuntu.com natty-updates/multiverse Sources
95% [24 Sources bzip2 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers] [Waiting for headers] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
Get:25 http://archive.ubuntu.com natty-updates/main i386 Packages
95% [25 Packages bzip2 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
Get:26 http://security.ubuntu.com natty-security/universe i386 Packages [34.5 kB]
Get:27 http://archive.ubuntu.com natty-updates/restricted i386 Packages
27% [27 Packages bzip2 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [26 Packages 6835 B/34.5 kB 19%] [Waiting for headers] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
Get:28 http://archive.ubuntu.com natty-updates/universe i386 Packages
27% [28 Packages bzip2 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [26 Packages 6835 B/34.5 kB 19%] [Waiting for headers] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
Get:29 http://archive.ubuntu.com natty-updates/multiverse i386 Packages
27% [29 Packages bzip2 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [26 Packages 6835 B/34.5 kB 19%] [Waiting for headers] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
Get:30 http://archive.ubuntu.com natty-updates/main TranslationIndex
Get:31 http://archive.ubuntu.com natty-updates/multiverse TranslationIndex
Get:32 http://archive.ubuntu.com natty-updates/restricted TranslationIndex
Get:33 http://archive.ubuntu.com natty-updates/universe TranslationIndex
Get:34 http://archive.ubuntu.com natty-security/main Sources
99% [34 Sources bzip2 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers] [Connecting to ppa.launchpad.net (91.189.90.217)]bzip2: (stdin) is not a bzip2 file.
Get:35 http://archive.ubuntu.com natty-security/restricted Sources
99% [35 Sources bzip2 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers] [Waiting for headers] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
Get:36 http://archive.ubuntu.com natty-security/universe Sources
99% [36 Sources bzip2 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers] [Waiting for headers] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
Ign http://dl.google.com stable/main Translation-en
Get:37 http://security.ubuntu.com natty-security/multiverse i386 Packages [2071 B]
Ign http://ppa.launchpad.net natty/main Translation-en
Get:38 http://archive.ubuntu.com natty-security/multiverse Sources
99% [38 Sources bzip2 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
99% [4 Sources xz 0 B] [Waiting for headers] [Waiting for headers]/usr/bin/xz: (stdin): File format not recognized
Ign http://security.ubuntu.com natty-security/main TranslationIndex
99% [5 Sources xz 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers]/usr/bin/xz: (stdin): File format not recognized
99% [6 Sources xz 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers]/usr/bin/xz: (stdin): File format not recognized
99% [9 Sources xz 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers]/usr/bin/xz: (stdin): File format not recognized
99% [10 Packages xz 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers]/usr/bin/xz: (stdin): File format not recognized
Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex
99% [11 Packages xz 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers]/usr/bin/xz: (stdin): File format not recognized
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex
99% [12 Packages xz 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers]/usr/bin/xz: (stdin): File format not recognized
99% [14 Packages xz 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers]/usr/bin/xz: (stdin): File format not recognized
99% [20 Sources xz 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers]/usr/bin/xz: (stdin): File format not recognized
99% [21 Sources xz 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers]/usr/bin/xz: (stdin): File format not recognized
Ign http://security.ubuntu.com natty-security/universe TranslationIndex
99% [23 Sources xz 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers]/usr/bin/xz: (stdin): File format not recognized
99% [24 Sources xz 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers]/usr/bin/xz: (stdin): File format not recognized
99% [25 Packages xz 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers]/usr/bin/xz: (stdin): File format not recognized
99% [27 Packages xz 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers]/usr/bin/xz: (stdin): File format not recognized
99% [28 Packages xz 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers]/usr/bin/xz: (stdin): File format not recognized
99% [29 Packages xz 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers]/usr/bin/xz: (stdin): File format not recognized
99% [34 Sources xz 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers]/usr/bin/xz: (stdin): File format not recognized
99% [35 Sources xz 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers]/usr/bin/xz: (stdin): File format not recognized
99% [36 Sources xz 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers]/usr/bin/xz: (stdin): File format not recognized
99% [38 Sources xz 0 B] [Connecting to archive.ubuntu.com (91.189.92.170)] [Waiting for headers]/usr/bin/xz: (stdin): File format not recognized
Ign http://security.ubuntu.com natty-security/main Translation-en
Ign http://security.ubuntu.com natty-security/multiverse Translation-en
Ign http://security.ubuntu.com natty-security/restricted Translation-en
Ign http://security.ubuntu.com natty-security/universe Translation-en
Fetched 40.4 kB in 7s (5221 B/s)
W: GPG error: http://archive.ubuntu.com natty InRelease: File /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty_InRelease doesn't start with a clearsigned message
W: GPG error: http://archive.ubuntu.com natty-updates InRelease: File /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty-updates_InRelease doesn't start with a clearsigned message
W: GPG error: http://archive.ubuntu.com natty-security InRelease: File /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty-security_InRelease doesn't start with a clearsigned message
W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty_main_source_Sources Encountered a section with no Package: header

W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty_restricted_source_Sources Encountered a section with no Package: header

W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty_universe_source_Sources Encountered a section with no Package: header

W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty_multiverse_source_Sources Encountered a section with no Package: header

W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages Encountered a section with no Package: header

W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty_restricted_binary-i386_Packages Encountered a section with no Package: header

W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty_universe_binary-i386_Packages Encountered a section with no Package: header

W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty_multiverse_binary-i386_Packages Encountered a section with no Package: header

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/natty/main/i18n/Index No Hash entry in Release file /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty_main_i18n_Index

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/natty/multiverse/i18n/Index No Hash entry in Release file /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty_multiverse_i18n_Index

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/natty/restricted/i18n/Index No Hash entry in Release file /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty_restricted_i18n_Index

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/natty/universe/i18n/Index No Hash entry in Release file /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty_universe_i18n_Index

W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty-updates_main_source_Sources Encountered a section with no Package: header

W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty-updates_restricted_source_Sources Encountered a section with no Package: header

W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty-updates_universe_source_Sources Encountered a section with no Package: header

W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty-updates_multiverse_source_Sources Encountered a section with no Package: header

W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty-updates_main_binary-i386_Packages Encountered a section with no Package: header

W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty-updates_restricted_binary-i386_Packages Encountered a section with no Package: header

W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty-updates_universe_binary-i386_Packages Encountered a section with no Package: header

W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty-updates_multiverse_binary-i386_Packages Encountered a section with no Package: header

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/natty-updates/main/i18n/Index No Hash entry in Release file /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty-updates_main_i18n_Index

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/natty-updates/multiverse/i18n/Index No Hash entry in Release file /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty-updates_multiverse_i18n_Index

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/natty-updates/restricted/i18n/Index No Hash entry in Release file /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty-updates_restricted_i18n_Index

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/natty-updates/universe/i18n/Index No Hash entry in Release file /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty-updates_universe_i18n_Index

W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty-security_main_source_Sources Encountered a section with no Package: header

W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty-security_restricted_source_Sources Encountered a section with no Package: header

W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty-security_universe_source_Sources Encountered a section with no Package: header

W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty-security_multiverse_source_Sources Encountered a section with no Package: header

E: Some index files failed to download. They have been ignored, or old ones used instead.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Diego Alcántara
Solved:
Last query:
Last reply:
Revision history for this message
Diego Alcántara (diego-faz) said :
#1

Sorry, somebody "accidentally" wrote a rule in some networking device which was causing this problem, so it's no a problem at all.