E: Problem with MergeList /var/lib/apt/lists/repository.akirad.net_dists_akirad-natty_main_binary-amd64_Packages

Asked by chauncey

The main error.

Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/repository.akirad.net_dists_akirad-natty_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.

I ran the lines in the Package Manager Troubleshooting Procedure. Here is the output.

[cc]$ sudo fuser -vvv /var/lib/dpkg/lock
[cc]$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.04
DISTRIB_CODENAME=natty
DISTRIB_DESCRIPTION="Ubuntu 11.04"
[cc]$ uname -a
Linux cc 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
[cc]$ sudo rm /var/lib/apt/lists/lock
[cc]$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
[cc]$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
[cc]$
[cc]$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
[cc]$ sudo rm -rf /var/lib/dpkg/updates/*
zsh: no matches found: /var/lib/dpkg/updates/*
[cc]$ sudo rm -rf /var/lib/dpkg/updates/*
zsh: no matches found: /var/lib/dpkg/updates/*
[cc]$ sudo rm -rf /var/lib/apt/lists
[cc]$ sudo rm /var/cache/apt/*.bin
[cc]$ sudo mkdir /var/lib/apt/lists
[cc]$ sudo mkdir /var/lib/apt/lists/partial
[cc]$ LANG=C;sudo apt-get clean
[cc]$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
[cc]$ 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.
[cc]$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Ign http://extras.ubuntu.com natty InRelease
Get:1 http://extras.ubuntu.com natty Release.gpg [72 B]
Get:2 http://extras.ubuntu.com natty Release [9753 B]
Get:3 http://extras.ubuntu.com natty/main amd64 Packages [14 B]
Ign http://extras.ubuntu.com natty/main TranslationIndex
Ign http://dl.google.com stable InRelease
Get:4 http://dl.google.com stable Release.gpg [198 B]
Get:5 http://dl.google.com stable Release [1347 B]
Get:6 http://dl.google.com stable/main amd64 Packages [1076 B]
Ign http://dl.google.com stable/main TranslationIndex
Ign http://extras.ubuntu.com natty/main Translation-en
Ign http://dl.google.com stable/main Translation-en
Ign http://archive.canonical.com natty InRelease
Ign http://us.archive.ubuntu.com natty InRelease
Ign http://us.archive.ubuntu.com natty-updates InRelease
Get:7 http://archive.canonical.com natty Release.gpg [198 B]
Get:8 http://us.archive.ubuntu.com natty Release.gpg [198 B]
Get:9 http://archive.canonical.com natty Release [5916 B]
Get:10 http://us.archive.ubuntu.com natty-updates Release.gpg [198 B]
Get:11 http://us.archive.ubuntu.com natty Release [39.8 kB]
Get:12 http://archive.canonical.com natty/partner amd64 Packages [6733 B]
Ign http://archive.canonical.com natty/partner TranslationIndex
Get:13 http://us.archive.ubuntu.com natty-updates Release [27.2 kB]
Ign http://archive.canonical.com natty/partner Translation-en
Get:14 http://us.archive.ubuntu.com natty/restricted Sources [4104 B]
Get:15 http://us.archive.ubuntu.com natty/main Sources [862 kB]
Ign http://ppa.launchpad.net natty InRelease
Get:16 http://ppa.launchpad.net natty Release.gpg [316 B]
Get:17 http://ppa.launchpad.net natty Release [9756 B]
Get:18 http://ppa.launchpad.net natty/main Sources [1239 B]
Get:19 http://ppa.launchpad.net natty/main amd64 Packages [2004 B]
Ign http://ppa.launchpad.net natty/main TranslationIndex
Ign http://ppa.launchpad.net natty/main Translation-en
Get:20 http://us.archive.ubuntu.com natty/multiverse Sources [155 kB]
Get:21 http://us.archive.ubuntu.com natty/universe Sources [4380 kB]
Ign http://security.ubuntu.com natty-security InRelease
Get:22 http://security.ubuntu.com natty-security Release.gpg [198 B]
Get:23 http://repository.akirad.net akirad-natty InRelease
Get:24 http://security.ubuntu.com natty-security Release [23.2 kB]
Ign http://repository.akirad.net akirad-natty InRelease
Get:25 http://security.ubuntu.com natty-security/restricted Sources [14 B]
Get:26 http://security.ubuntu.com natty-security/main Sources [5499 B]
Get:27 http://security.ubuntu.com natty-security/multiverse Sources [14 B]
Get:28 http://security.ubuntu.com natty-security/universe Sources [2151 B]
Get:29 http://security.ubuntu.com natty-security/main amd64 Packages [19.1 kB]
Get:30 http://security.ubuntu.com natty-security/restricted amd64 Packages [14 B]
Get:31 http://security.ubuntu.com natty-security/universe amd64 Packages [9483 B]
Get:32 http://security.ubuntu.com natty-security/multiverse amd64 Packages [14 B]
Ign http://security.ubuntu.com natty-security/main TranslationIndex
Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex
Ign http://security.ubuntu.com natty-security/universe TranslationIndex
Ign http://security.ubuntu.com natty-security/main Translation-en
Ign http://security.ubuntu.com natty-security/multiverse Translation-en
Get:33 http://us.archive.ubuntu.com natty/main amd64 Packages [1550 kB]
Ign http://security.ubuntu.com natty-security/restricted Translation-en
Ign http://security.ubuntu.com natty-security/universe Translation-en
Get:34 http://repository.akirad.net akirad-natty/main amd64 Packages [2603 B]
89% [34 Packages bzip2 0 B] [33 Packages 828 kB/1550 kB 53%] 423 kB/s 1sbzip2: (stdin) is not a bzip2 file.
Get:35 http://us.archive.ubuntu.com natty/restricted amd64 Packages [9001 B]
Get:36 http://us.archive.ubuntu.com natty/universe amd64 Packages [6004 kB]
Get:37 http://repository.akirad.net akirad-natty/main TranslationIndex
94% [34 Packages xz 0 B] [36 Packages 5353 kB/6004 kB 89%] [Connecting to repository.akirad.net (209.85.51.154)] 201 kB/s 3s/usr/bin/xz: (stdin): File format not recognized
Get:38 http://us.archive.ubuntu.com natty/multiverse amd64 Packages [181 kB]
Ign http://us.archive.ubuntu.com natty/main TranslationIndex
Ign http://us.archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com natty/restricted TranslationIndex
Ign http://us.archive.ubuntu.com natty/universe TranslationIndex
Get:39 http://us.archive.ubuntu.com natty-updates/restricted Sources [14 B]
Get:40 http://us.archive.ubuntu.com natty-updates/main Sources [22.3 kB]
Get:41 http://us.archive.ubuntu.com natty-updates/multiverse Sources [980 B]
Get:42 http://us.archive.ubuntu.com natty-updates/universe Sources [6905 B]
Get:43 http://us.archive.ubuntu.com natty-updates/main amd64 Packages [83.0 kB]
Get:44 http://us.archive.ubuntu.com natty-updates/restricted amd64 Packages [14 B]
Get:45 http://us.archive.ubuntu.com natty-updates/universe amd64 Packages [29.1 kB]
Get:46 http://us.archive.ubuntu.com natty-updates/multiverse amd64 Packages [2191 B]
Ign http://us.archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/universe TranslationIndex
Ign http://us.archive.ubuntu.com natty/main Translation-en
Ign http://us.archive.ubuntu.com natty/multiverse Translation-en
Ign http://us.archive.ubuntu.com natty/restricted Translation-en
Ign http://us.archive.ubuntu.com natty/universe Translation-en
Ign http://us.archive.ubuntu.com natty-updates/main Translation-en
Ign http://us.archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://us.archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://us.archive.ubuntu.com natty-updates/universe Translation-en
Get:47 http://repository.akirad.net akirad-natty/main Translation-en [2621 B]
99% [47 Translation-en bzip2 0 B] 155 kB/s 0sbzip2: (stdin) is not a bzip2 file.
99% [34 Packages lzma 0 B] [Connecting to repository.akirad.net (209.85.51.154)]/usr/bin/lzma: Decoder error
99% [47 Translation-en xz 0 B] [Connecting to repository.akirad.net (209.85.51.154)]/usr/bin/xz: (stdin): File format not recognized
99% [47 Translation-en lzma 0 B]/usr/bin/lzma: Decoder error
Fetched 13.5 MB in 1min 40s (134 kB/s)
Reading package lists... Error!
W: GPG error: http://repository.akirad.net akirad-natty InRelease: The following signatures were invalid: NODATA 1 NODATA 2
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/repository.akirad.net_dists_akirad-natty_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
[cc]$ sudo dpkg --clear-avail
[cc]$ sudo dpkg --configure -a
[cc]$ LANG=C;sudo apt-get -f install
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/repository.akirad.net_dists_akirad-natty_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
[cc]$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/repository.akirad.net_dists_akirad-natty_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
[cc]$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Ign http://security.ubuntu.com natty-security InRelease
Hit http://security.ubuntu.com natty-security Release.gpg
Hit http://security.ubuntu.com natty-security Release
Hit http://security.ubuntu.com natty-security/restricted Sources
Hit http://security.ubuntu.com natty-security/main Sources
Hit http://security.ubuntu.com natty-security/multiverse Sources
Hit http://security.ubuntu.com natty-security/universe Sources
Hit http://security.ubuntu.com natty-security/main amd64 Packages
Hit http://security.ubuntu.com natty-security/restricted amd64 Packages
Hit http://security.ubuntu.com natty-security/universe amd64 Packages
Hit http://security.ubuntu.com natty-security/multiverse amd64 Packages
Ign http://security.ubuntu.com natty-security/main TranslationIndex
Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex
Ign http://security.ubuntu.com natty-security/universe TranslationIndex
Ign http://archive.canonical.com natty InRelease
Hit http://archive.canonical.com natty Release.gpg
Hit http://archive.canonical.com natty Release
Hit http://archive.canonical.com natty/partner amd64 Packages
Ign http://archive.canonical.com natty/partner TranslationIndex
Ign http://ppa.launchpad.net natty InRelease
Hit http://ppa.launchpad.net natty Release.gpg
Hit http://ppa.launchpad.net natty Release
Ign http://archive.canonical.com natty/partner Translation-en
Hit http://ppa.launchpad.net natty/main Sources
Ign http://security.ubuntu.com natty-security/main Translation-en
Hit http://ppa.launchpad.net natty/main amd64 Packages
Ign http://ppa.launchpad.net natty/main TranslationIndex
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
Ign http://ppa.launchpad.net natty/main Translation-en
Ign http://dl.google.com stable InRelease
Get:1 http://dl.google.com stable Release.gpg [198 B]
Ign http://extras.ubuntu.com natty InRelease
Get:2 http://dl.google.com stable Release [1347 B]
Hit http://extras.ubuntu.com natty Release.gpg
Get:3 http://dl.google.com stable/main amd64 Packages [1076 B]
Hit http://extras.ubuntu.com natty Release
Ign http://dl.google.com stable/main TranslationIndex
Hit http://extras.ubuntu.com natty/main amd64 Packages
Ign http://extras.ubuntu.com natty/main TranslationIndex
Ign http://dl.google.com stable/main Translation-en
Ign http://extras.ubuntu.com natty/main Translation-en
Ign http://us.archive.ubuntu.com natty InRelease
Ign http://us.archive.ubuntu.com natty-updates InRelease
Hit http://us.archive.ubuntu.com natty Release.gpg
Hit http://us.archive.ubuntu.com natty-updates Release.gpg
Hit http://us.archive.ubuntu.com natty Release
Hit http://us.archive.ubuntu.com natty-updates Release
Hit http://us.archive.ubuntu.com natty/restricted Sources
Hit http://us.archive.ubuntu.com natty/main Sources
Hit http://us.archive.ubuntu.com natty/multiverse Sources
Hit http://us.archive.ubuntu.com natty/universe Sources
Hit http://us.archive.ubuntu.com natty/main amd64 Packages
Hit http://us.archive.ubuntu.com natty/restricted amd64 Packages
Hit http://us.archive.ubuntu.com natty/universe amd64 Packages
Hit http://us.archive.ubuntu.com natty/multiverse amd64 Packages
Ign http://us.archive.ubuntu.com natty/main TranslationIndex
Ign http://us.archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com natty/restricted TranslationIndex
Ign http://us.archive.ubuntu.com natty/universe TranslationIndex
Hit http://us.archive.ubuntu.com natty-updates/restricted Sources
Hit http://us.archive.ubuntu.com natty-updates/main Sources
Hit http://us.archive.ubuntu.com natty-updates/multiverse Sources
Hit http://us.archive.ubuntu.com natty-updates/universe Sources
Hit http://us.archive.ubuntu.com natty-updates/main amd64 Packages
Hit http://us.archive.ubuntu.com natty-updates/restricted amd64 Packages
Hit http://us.archive.ubuntu.com natty-updates/universe amd64 Packages
Hit http://us.archive.ubuntu.com natty-updates/multiverse amd64 Packages
Ign http://us.archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/universe TranslationIndex
Get:4 http://repository.akirad.net akirad-natty InRelease
Ign http://repository.akirad.net akirad-natty InRelease
Get:5 http://repository.akirad.net akirad-natty/main amd64 Packages/DiffIndex
Ign http://us.archive.ubuntu.com natty/main Translation-en
Ign http://us.archive.ubuntu.com natty/multiverse Translation-en
Ign http://us.archive.ubuntu.com natty/restricted Translation-en
Ign http://us.archive.ubuntu.com natty/universe Translation-en
Ign http://us.archive.ubuntu.com natty-updates/main Translation-en
Ign http://us.archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://us.archive.ubuntu.com natty-updates/restricted Translation-en
Get:6 http://repository.akirad.net akirad-natty/main TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/universe Translation-en
Get:7 http://repository.akirad.net akirad-natty/main amd64 Packages [2567 B]
38% [7 Packages bzip2 0 B] [Connecting to repository.akirad.net]bzip2: (stdin) is not a bzip2 file.
Get:8 http://repository.akirad.net akirad-natty/main Translation-en [2637 B]
40% [8 Translation-en bzip2 0 B]bzip2: (stdin) is not a bzip2 file.
40% [7 Packages xz 0 B] [Connecting to repository.akirad.net (209.85.51.154)]/usr/bin/xz: (stdin): File format not recognized
40% [8 Translation-en xz 0 B]/usr/bin/xz: (stdin): File format not recognized
40% [7 Packages lzma 0 B] [Connecting to repository.akirad.net (209.85.51.154)]/usr/bin/lzma: Decoder error
40% [8 Translation-en lzma 0 B]/usr/bin/lzma: Decoder error
Fetched 75.2 kB in 1min 31s (819 B/s)
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/repository.akirad.net_dists_akirad-natty_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.

I don't ever remember having any problems with File formats not recognized before but I don't know if that's directly related or not.

Any help is appreciated. I can do a clean install if necessary but would rather try to salvage this install since I'm crunched for time right now.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

Remove the http://repository.akirad.net repo you added. All will be well.

Revision history for this message
chauncey (chauncey) said :
#2

Thanks actionparsnip, that solved my question.