[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#831762: apt data corrupts with MergeList



On Tue, Jul 19, 2016 at 01:12:54PM +0530, Ritesh Raj Sarraf wrote:
> Package: apt
> Version: 1.3~pre2
> Severity: important
> 
> On `apt update`, the following errors have become very frequent in the
> last 1 week. I think it started with the 1.3 release of apt.
> 
> The workaround is to cleanup /v/l/a/lists/* and do an update again.
> 
> 
> rrs@learner:~$ sudo apt update
> Ign:1 http://dl.google.com/linux/talkplugin/deb stable InRelease
> Hit:2 http://ftp.debian.org/debian testing InRelease                                          
> Hit:3 http://dl.google.com/linux/talkplugin/deb stable Release                                
> Hit:5 http://ftp.debian.org/debian unstable InRelease                                         
> Hit:6 http://debug.mirrors.debian.org/debian-debug unstable-debug InRelease               
> Hit:7 http://security.debian.org testing/updates InRelease                                    
> Hit:9 http://ftp.debian.org/debian experimental InRelease                
> Hit:8 http://debian.telecoms.bg/debian testing InRelease
> Hit:10 http://debian.telecoms.bg/debian unstable InRelease
> Hit:11 http://debian.telecoms.bg/debian experimental InRelease
> Traceback (most recent call last):
>   File "/usr/bin/debtags", line 694, in <module>
>     main()
>   File "/usr/bin/debtags", line 688, in main
>     sys.exit(action.main(args))
>   File "/usr/bin/debtags", line 632, in main
>     for pkg, tags in self.tags_from_apt():
>   File "/usr/bin/debtags", line 256, in tags_from_apt
>     cache = self.apt_cache
>   File "/usr/bin/debtags", line 241, in apt_cache
>     res = self._apt_cache = apt.Cache()
>   File "/usr/lib/python3/dist-packages/apt/cache.py", line 113, in __init__
>     self.open(progress)
>   File "/usr/lib/python3/dist-packages/apt/cache.py", line 164, in open
>     self._cache = apt_pkg.Cache(progress)
> apt_pkg.Error: E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/httpredir.debian.org_debian_dists_unstable_main_binary-amd64_Packages, E:The package lists or status file could not be parsed or opened.
> Reading package lists... Error!
> E: Encountered a section with no Package: header
> E: Problem with MergeList /var/lib/apt/lists/httpredir.debian.org_debian_dists_unstable_main_binary-amd64_Packages
> E: The package lists or status file could not be parsed or opened.
> 2016-07-19 / 13:07:30 ♒♒♒  ☹  => 100  

Given that APT did not download anything in that run, it seems
like your hard disk or RAM is broken.

-- 
Debian Developer - deb.li/jak | jak-linux.org - free software dev

When replying, only quote what is necessary, and write each reply
directly below the part(s) it pertains to (`inline'). Thank you.


Reply to: