Rootserver Sponsor

webtropia"

Donations

Please support your operating system's further development:

donate"

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
alexkOffline
Post subject: apt-get update encountering sections with no Package: header  PostPosted: 08.08.2016, 12:04



Joined: 2010-10-01
Posts: 288

Status: Offline
apt-get update has thrown this error with 3 package lists so far in succession. The first 2 were ftp.debian.org_debian_dists_sid_main_binary-amd64_Packages and ftp.debian.org_debian_dists_sid_main_binary-i386_Packages and I found sections at the end that had no Package: headers and manually repaired. But I haven't so far been able to find a problematic section in ftp.debian.org_debian_dists_sid_main_i18n_Translation-en. I've never had this problem before today.
      Code:
# apt-get update
Hit:1 http://ftp.us.debian.org/debian experimental InRelease

Hit:3 http://ftp.debian.org/debian sid InRelease                                               
Hit:4 http://aptosid.office-vienna.at/aptosid/debian sid InRelease                             

Hit:6 http://ftp.debian.org/debian testing InRelease                   
Encountered a section with no Package: header     
Problem with MergeList /var/lib/apt/lists/ftp.debian.org_debian_dists_sid_main_i18n_Translation-en
The package lists or status file could not be parsed or opened.
Can't call method "policy" on an undefined value at /usr/bin/apt-show-versions line 56.
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/ftp.debian.org_debian_dists_sid_main_i18n_Translation-en, E:The package lists or status file could not be parsed or opened.
Reading package lists... Error!
E: Problem executing scripts APT::Update::Post-Invoke-Success 'test -x /usr/bin/apt-show-versions || exit 0 ; apt-show-versions -i'
E: Sub-process returned an error code
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/ftp.debian.org_debian_dists_sid_main_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.
 
 View user's profile Send private message Yahoo Messenger  
Reply with quote Back to top
alexkOffline
Post subject: RE: apt-get update encountering sections with no Package: he  PostPosted: 08.08.2016, 12:11



Joined: 2010-10-01
Posts: 288

Status: Offline
Previous problem with ftp.debian.org_debian_dists_sid_main_binary-amd64_Packages:
      Code:
# tail -40 ftp.debian.org_debian_dists_sid_main_binary-amd64_Packages
Package: python3-zzzeeksphinx
Source: zzzeeksphinx
Version: 1.0.18-2
Installed-Size: 103
Maintainer: Debian Python Modules Team <python>
Architecture: all
Depends: python3-mako, python3-pyscss, python3:any (>= 3.3.2-2~)
Recommends: python3-pygments
Enhances: python3-sphinx
Description: Zzzeek's Sphinx layout and utilities
Homepage: https://bitbucket.org/zzzeek/zzzeeksphinx
Description-md5: 4f212bc11d1a3c5c6d0fa4b9761ac8d1
Section: python
Priority: optional
Filename: pool/main/z/zzzeeksphinx/python3-zzzeeksphinx_1.0.18-2_all.deb
Size: 22854
MD5sum: e1d674b947721c85a949a21a3e63e39c
SHA256: 5ef3f3324fc048e82d4db23d4aad1b007dc19c54444e8ef26a3206b36052fe94

85b
SHA256: a89cad9eda5ac29ab93a069538625a31199177123a1bcf5935601ff2051c1638

Package: python3-zzzeeksphinx
Source: zzzeeksphinx
Version: 1.0.18-2
Installed-Size: 103
Maintainer: Debian Python Modules Team <python>
Architecture: all
Depends: python3-mako, python3-pyscss, python3:any (>= 3.3.2-2~)
Recommends: python3-pygments
Enhances: python3-sphinx
Description: Zzzeek's Sphinx layout and utilities
Homepage: https://bitbucket.org/zzzeek/zzzeeksphinx
Description-md5: 4f212bc11d1a3c5c6d0fa4b9761ac8d1
Section: python
Priority: optional
Filename: pool/main/z/zzzeeksphinx/python3-zzzeeksphinx_1.0.18-2_all.deb
Size: 22854
MD5sum: e1d674b947721c85a949a21a3e63e39c
SHA256: 5ef3f3324fc048e82d4db23d4aad1b007dc19c54444e8ef26a3206b36052fe94
 
 View user's profile Send private message Yahoo Messenger  
Reply with quote Back to top
alexkOffline
Post subject: RE: apt-get update encountering sections with no Package: he  PostPosted: 08.08.2016, 12:16



Joined: 2010-10-01
Posts: 288

Status: Offline
I finally found a problem with ftp.debian.org_debian_dists_sid_main_i18n_Translation-en:
      Code:
Package: python3-zzzeeksphinx
Description-md5: 4f212bc11d1a3c5c6d0fa4b9761ac8d1
Description-en: Zzzeek's Sphinx layout and utilities
 This layout is first and foremost pulled in for the SQLAlchemy documentation
 builds (and possibly other related projects), but is also usable as a
 standalone theme / utility set for any project.
 .
 Features include:
 .
  * uses Mako templates instead of Jinja, for more programmatic capabilities
    inside of templates
  * layout includes an independently scrollable sidebar
  * unique (to Sphinx) “contextual” sidebar contents that shows the current
    page in context with all sibling pages
  * modifications to autodoc which illustrate inherited classes, bases, method
    documentation illustrates if a method is only inherited from the base or
    overridden
  * “dynamic base” feature that will, under ReadTheDocs, pull in optional
    .mako and .py files from the website of your choice that will serve as an
    alternate base template and a source of extra config setup, respectively,
    allowing the layout to be integrated into the layout of an external site
    when viewing on the web
  * “viewsource” extension that can provide highlighted sourcecode to any
    Python file arbitrarily
  * SQLAlchemy-specific stuff, like the [SQL] popups, the dialect info
    directives
  * scss support using pyscss

39573d093fb7d13a
Description-en: Modular synthesizer written in Python
 Zyne is a modular synthesizer which comes with more than 10 builtin modules
 implementing different kind of synthesis engines and provides a simple API to
 create your own custom modules.
 .
 It uses Pyo as its audio engine

Package: zypper
Description-md5: f550d897513fe8b19e4f772bc98d9a52
Description-en: command line software manager using libzypp
 Zypper is a command line tool for managing software. It can be used to add
 package repositories, search for packages, install, remove, or update packages,
 install patches, hardware drivers, verify dependencies, and more.
 Zypper can be used interactively or non-interactively by user, from scripts,
 or front-ends.

Removing the bad section fixed the problem:
      Code:
# apt-get update
Hit:1 http://ftp.us.debian.org/debian experimental InRelease
     
Hit:3 http://aptosid.office-vienna.at/aptosid/debian sid InRelease                                                           
Hit:4 http://ftp.debian.org/debian sid InRelease                                               

Hit:6 http://ftp.debian.org/debian testing InRelease                     
Reading package lists... Done
 
 View user's profile Send private message Yahoo Messenger  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio