Your message dated Wed, 9 Dec 2015 17:31:54 +0000
with message-id <[email protected]>
and subject line Re: aptitude safe-upgrade segfaults, aptitude update fails: E:
Encountered a section with no Package: header
has caused the Debian Bug report #650885,
regarding Encountered a section with no Package: header
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
650885: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650885
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package:aptitude
Version:update-manager0.4.11.11
aptitude実効時にエラーが出ます:
debian:/# aptitude update
E: Encountered a section with no Package: header
E: Problem with
MergeList
/var/lib/apt/lists/security.debian.org_dists_lenny_updates_main_binary-i386_Packages
E: パッケージ一覧または状態ファイルをパースできませんでした、または開け
ませんでした。
E: Encountered a section with no Package: header
E: Problem with
MergeList
/var/lib/apt/lists/security.debian.org_dists_lenny_updates_main_binary-i386_Packages
E: パッケージ一覧または状態ファイルをパースできませんでした、または開け
ませんでした。
発見 http://security.debian.org lenny/updates
Release.gpg
無視 http://security.debian.org lenny/updates/main
Translation-ja
発見 http://ftp.jp.debian.org lenny
Release.gpg
発見 http://ftp.jp.debian.org lenny/main
Translation-ja
発見 http://ftp.jp.debian.org lenny
Release
発見 http://security.debian.org lenny/updates
Release
無視 http://ftp.jp.debian.org lenny/main
Packages/DiffIndex
無視 http://ftp.jp.debian.org lenny/main
Sources/DiffIndex
発見 http://ftp.jp.debian.org lenny/main
Packages
発見 http://ftp.jp.debian.org lenny/main
Sources
無視 http://security.debian.org lenny/updates/main
Packages/DiffIndex
無視 http://security.debian.org lenny/updates/main
Sources/DiffIndex
発見 http://security.debian.org lenny/updates/main Packages
発見 http://security.debian.org lenny/updates/main Sources
発見 http://volatile.debian.org lenny/volatile Release.gpg
無視 http://volatile.debian.org lenny/volatile/main Translation-ja
発見 http://volatile.debian.org lenny/volatile Release
無視 http://volatile.debian.org lenny/volatile/main Packages/DiffIndex
無視 http://volatile.debian.org lenny/volatile/main Sources/DiffIndex
発見 http://volatile.debian.org lenny/volatile/main Packages
発見 http://volatile.debian.org lenny/volatile/main Sources
パッケージリストを読み込んでいます... エラー!
E: Encountered a section with no Package: header
E: Problem with
MergeList
/var/lib/apt/lists/security.debian.org_dists_lenny_updates_main_binary-i386_Packages
E: パッケージリストまたはステータスファイルを解釈またはオープンすること
ができません。
E: パッケージキャッシュを再構築できませんでした
E: Encountered a section with no Package: header
E: Problem with
MergeList
/var/lib/apt/lists/security.debian.org_dists_lenny_updates_main_binary-i386_Packages
E: パッケージ一覧または状態ファイルをパースできませんでした、または開け
ませんでした。
E: Encountered a section with no Package: header
E: Problem with
MergeList
/var/lib/apt/lists/security.debian.org_dists_lenny_updates_main_binary-i386_Packages
E: パッケージ一覧または状態ファイルをパースできませんでした、または開け
ませんでした。
類似バグの Debian Bug report logs - #650846 で:
/var/lib/apt/lists/security.debian.org_dists_lenny_updates_main_binary-i386_Packagesをhttp://security.debian.org/dists/lenny/updates/main/binary-i386/で置き換えても変わりません。
--- End Message ---
--- Begin Message ---
tags 650885 + unreproducible
stop
2011-12-04 09:01 Ralf Spenneberg:
Package: aptitude
Version: 0.4.11.11-1~lenny2
Severity: grave
Tags: security
Justification: renders package unusable
Since December 2nd 2011 aptitude fails to work.
aptitude update shows:
....
Hit http://volatile.debian.org lenny/volatile/main Packages
Hit http://volatile.debian.org lenny/volatile/contrib Packages
Hit http://volatile.debian.org lenny/volatile/non-free Packages
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList
/var/lib/apt/lists/security.debian.org_dists_lenny_updates_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
E: Couldn't rebuild package cache
E: Encountered a section with no Package: header
E: Problem with MergeList
/var/lib/apt/lists/security.debian.org_dists_lenny_updates_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
E: Encountered a section with no Package: header
E: Problem with MergeList
/var/lib/apt/lists/security.debian.org_dists_lenny_updates_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
Running aptitude upgrade then fails:
LANG=C aptitude safe-upgrade
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList
/var/lib/apt/lists/security.debian.org_dists_lenny_updates_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
Reading package lists... Error!
Speicherzugriffsfehler
removing /var/lib/apt/lists/* and /var/lib/apt/lists/partial/* does not help
2011-12-05 10:06 Alexander Reichle-Schmehl:
reassign 650885 aptitude
forcemerge 650885 650880
thanks
Hi!
This bug seems to be related with the recent change in the FTP adding
"metapackages", "introspection" and other sections.
Actually not, ftp-team changed they way package index files get created.
(A change with was activated on the main archive for quite some time
already and was now also activated for the security archive.)
The archive itself is already fixed, however aptitude shouldn't have
stumbled over it.
By modifying the package lists, I attempted to reproduce it (below).
aptitude was already checking for errors coming from libapt in the only
place that seems to call the method printing the "Reading package
lists...", but maybe not with such old versions as reported, or perhaps
libapt was not communicating correctly or causing the crash itself.
In any case, everything seems to work fine now, so closing the bug.
# aptitude update; echo $?
E: Encountered a section with no Package: header
E: Problem with MergeList
/var/lib/apt/lists/ftp.uk.debian.org_debian_dists_experimental_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
E: Encountered a section with no Package: header
E: Problem with MergeList
/var/lib/apt/lists/ftp.uk.debian.org_debian_dists_experimental_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
Hit http://ftp.uk.debian.org/debian unstable InRelease
Hit http://ftp.uk.debian.org/debian experimental InRelease
[ ERR] Reading package lists
E: Encountered a section with no Package: header
E: Problem with MergeList
/var/lib/apt/lists/ftp.uk.debian.org_debian_dists_experimental_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
E: Couldn't rebuild package cache
E: Encountered a section with no Package: header
E: Problem with MergeList
/var/lib/apt/lists/ftp.uk.debian.org_debian_dists_experimental_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
E: Encountered a section with no Package: header
E: Problem with MergeList
/var/lib/apt/lists/ftp.uk.debian.org_debian_dists_experimental_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
255
# aptitude safe-upgrade; echo $?
[ ERR] Reading package lists
E: Encountered a section with no Package: header
E: Problem with MergeList
/var/lib/apt/lists/ftp.uk.debian.org_debian_dists_experimental_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
[ ERR] Reading package lists
E: Encountered a section with no Package: header
E: Problem with MergeList
/var/lib/apt/lists/ftp.uk.debian.org_debian_dists_experimental_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
255
--
Manuel A. Fernandez Montecelo <[email protected]>
--- End Message ---
_______________________________________________
Aptitude-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/aptitude-devel