bug: 346386 title: [MASTER] Update fails with invalid package files with "Encountered a section with no Package: header" date-reported: Sat, 21 Mar 2009 15:40:03 -0000 date-updated: Wed, 22 Nov 2017 00:50:17 -0000 reporter: RonParent (ronap) duplicate-of: duplicates: 226361 271045 276982 282748 287111 292905 317345 320851 325448 336069 358012 362319 370294 371642 375820 379195 380239 380243 380655 381079 382241 386360 386960 387009 387276 388255 393446 397488 404745 407123 409142 409211 410131 410292 410619 415045 417513 463122 476135 497701 497702 500631 546767 548913 566261 651538 653876 680012 682753 720599 721732 721797 728881 731085 732764 735219 735491 737164 737501 737778 738677 741716 742176 745211 746124 747693 748148 748323 750983 752124 754570 755788 756286 756458 757152 757947 758376 758867 759690 759825 764120 764370 764800 764808 765334 768901 770109 770617 770678 771422 772337 773344 774739 776115 776941 777211 777338 777602 777885 779559 779775 779903 780574 780761 780852 780913 780944 781132 781293 781689 782519 783015 783180 783245 784128 784446 784625 784745 784812 784882 785366 785872 787003 788150 789341 789735 789952 790232 790357 790371 790746 790850 791696 792223 792687 792774 792884 792926 793586 793917 793951 794058 794247 794587 794694 794703 795194 795356 795384 795942 795967 796002 796583 796637 796740 797279 797481 797574 798294 798312 798817 800049 800438 800608 802061 802239 802257 802640 803049 803474 803854 804147 804432 804959 804963 804983 805143 805247 806808 809075 809735 810016 810611 811168 812175 812989 816111 819781 819819 821217 822391 823992 824109 825736 826842 827484 827723 827917 829693 830296 831307 831971 832438 832539 832976 837466 837840 837841 840692 845886 850522 851968 852091 854669 854693 857065 860577 865324 865336 868646 869757 870323 871939 874425 875119 876587 879588 880167 882016 884878 886884 907627 907788 911211 916190 916571 917479 919441 923907 927175 928073 930375 930473 930818 934900 938599 938607 941870 943590 944356 946680 946692 948744 953923 955205 960220 961268 963423 965258 965904 967411 968826 974594 982695 986307 986568 986622 986727 989262 989270 989293 989528 989602 989625 991958 993239 994242 995168 996030 996775 996779 997327 997554 997684 997719 998930 998995 999499 999684 999979 1000157 1000291 1000440 1000848 1001769 1001932 1002447 1002583 1005970 1006103 1006260 1006592 1006707 1007329 1008004 1008465 1008616 1009850 1010212 1010860 1010938 1011667 1015127 1016177 1016721 1016931 1017114 1017269 1017373 1017725 1017745 1017764 1017995 1019045 1019507 1019724 1020437 1020620 1021569 1022056 1023162 1023402 1024440 1024615 1025136 1025157 1025849 1025972 1027106 1029191 1030004 1030027 1030071 1030702 1030809 1030852 1031766 1031979 1032272 1032475 1032523 1033479 1033507 1033785 1033945 1033958 1034844 1035516 1036756 1037041 1037478 1038321 1038478 1038939 1039236 1039510 1039680 1040321 1040838 1041442 1041592 1041754 1041914 1042082 1042136 1042444 1042636 1044734 1045555 1046445 1046797 1046949 1047744 1048071 1048241 1048249 1048445 1048825 1048872 1049580 1050207 1052074 1052341 1052416 1053264 1053649 1054496 1054531 1054648 1054731 1054967 1055368 1055407 1055467 1055958 1056925 1057213 1058362 1059138 1059550 1060146 1061679 1061732 1063105 1063261 1063861 1063897 1064390 1064591 1064994 1065164 1065239 1065706 1065980 1066075 1066216 1066856 1067419 1067641 1067893 1068122 1068148 1068192 1068343 1068375 1069390 1070014 1070364 1070469 1070578 1071188 1072065 1072336 1072553 1073338 1074605 1074972 1076378 1077145 1078617 1078651 1078688 1078727 1079317 1079572 1079576 1080313 1080600 1082075 1085406 1086031 1088025 1089248 1089852 1090405 1091369 1091705 1092228 1093936 1094910 1094913 1095148 1097029 1097204 1097238 1097461 1098192 1099569 1099971 1103503 1103558 1108028 1108467 1113053 1114774 1117528 1123084 1123385 1128405 1129443 1129864 1130096 1131915 1134474 1134946 1136876 1139115 1144208 1145212 1146726 1154241 1154620 1154815 1158118 1158216 1161792 1162754 1168087 1168521 1168527 1168821 1168822 1171581 1171719 1173334 1174103 1176633 1176658 1176722 1178942 1179901 1181658 1181800 1184545 1187495 1187817 1190499 1190799 1194357 1196017 1202217 1203911 1213450 1214797 1219587 1222545 1223081 1223595 1229088 1229852 1232344 1234308 1235250 1237418 1237445 1237448 1240544 1243689 1256126 1258572 1258702 1261532 1263414 1264896 1268037 1268038 1268520 1273818 1273971 1276264 1279153 1280956 1291301 1291385 1305084 1308098 1311969 1325155 1327698 1328815 1329576 1334417 1346847 1352383 1358205 1388343 1395496 1407475 1415368 1415370 1442461 1455717 1512487 1529830 1545490 1697547 1717789 attachments: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+attachment/3393829/+files/dummy-proxy text/plain patches: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+attachment/2147661/+files/lp-346386.diff text/plain https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+attachment/2147672/+files/lp-346386v2.diff text/plain https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+attachment/2169144/+files/apt_0.8.13.2ubuntu4.debdiff text/plain https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+attachment/3195930/+files/lp346386.diff text/plain https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+attachment/3195940/+files/lp346386-slightly-cleaner.diff text/plain tags: iso-testing metabug rls-q-incoming verification-done subscribers: RonParent (ronap) mp (m-p) Thierry Mallard (thierrymallard) Stefan (sbossb) Andrea Corbellini (andrea.corbellini) Nandan Vaidya (gotunandan) Jean-Baptiste Lallement (jibel) Wagih (w-tawfik) Brian Murray (brian-murray) Metakirby5 (metakirby5) Steven (singingotter) James King (jlking3) Hideki Tawarayama (hideki-tawarayama) SRU Verification (sru-verification) leandros (lstefanopoulos) Aar95 (weird14552) Laxman Poudel (laxman-poudel2001) paul keizer (apmkeizer) pierrot66 (jeantet-yvette) Diego Alcántara (diego-faz) mirshad (mirshadonline) benjamin magoarou (benjamin-magoarou) mazurkin (mazurkin) ugo (celoria) Eugenio Piasini (eugenio-piasini) friderieke (hkosanke) abdullahi (abdupesi) Ravi Kumar (kumarravi-kumar267) Edward Donovan (edward.donovan) Eliah Kagan (degeneracypressure) Hobson Lane (hobs) Rod J (rod-jamieson) neau (ceciloo) Paul F (boxjunk) John Gonzales (jgonzales394) Ben D'Angelo (ben-dangelo2) maboiteaspam (maboiteaspam) rajat (visitdagod) Radu C (quarkshooter) Eurik (napiste) Barneedhar (barneedhar) Lembu (lembu-kivuyo) Dany (dany-kaiser-il) chriswcy (chriswcy) fulvio (fulvio-parodi) Les H (les-horrocks) task: apt (Ubuntu) status: Fix Released date-created: Sat, 21 Mar 2009 15:40:03 -0000 date-left-new: Wed, 17 Jun 2009 09:13:43 -0000 date-confirmed: Thu, 26 May 2011 14:03:43 -0000 date-triaged: Thu, 26 May 2011 14:03:43 -0000 date-inprogress: Thu, 06 Sep 2012 19:36:05 -0000 date-closed: Thu, 06 Sep 2012 19:36:05 -0000 date-fix-committed: Thu, 06 Sep 2012 19:36:05 -0000 date-fix-released: Thu, 06 Sep 2012 19:36:05 -0000 date-left-closed: Wed, 06 Jun 2012 15:25:13 -0000 reporter: RonParent (ronap) importance: High component: main assignee: milestone: task: apt (Ubuntu Natty) status: Fix Released date-created: Fri, 10 Jun 2011 16:11:11 -0000 date-left-new: Fri, 10 Jun 2011 19:41:26 -0000 date-confirmed: Fri, 10 Jun 2011 19:41:26 -0000 date-triaged: Fri, 10 Jun 2011 19:41:26 -0000 date-inprogress: Tue, 21 Jun 2011 16:13:26 -0000 date-closed: Tue, 05 Jul 2011 13:41:24 -0000 date-fix-committed: Fri, 24 Jun 2011 16:03:49 -0000 date-fix-released: Tue, 05 Jul 2011 13:41:24 -0000 date-left-closed: Wed, 29 Jun 2011 09:38:40 -0000 reporter: Michael Vogt (mvo) importance: High assignee: milestone: task: apt (Ubuntu Precise) status: Fix Released date-created: Wed, 12 Sep 2012 23:18:07 -0000 date-left-new: Thu, 13 Sep 2012 08:22:38 -0000 date-confirmed: Thu, 13 Sep 2012 08:22:38 -0000 date-triaged: Wed, 10 Oct 2012 21:17:35 -0000 date-inprogress: Wed, 10 Oct 2012 21:17:35 -0000 date-closed: Wed, 24 Oct 2012 16:30:19 -0000 date-fix-committed: Wed, 10 Oct 2012 21:17:35 -0000 date-fix-released: Wed, 24 Oct 2012 16:30:19 -0000 reporter: Clint Byrum (clint-fewbar) importance: High component: main assignee: milestone: task: apt (Debian) status: Fix Released date-created: Mon, 23 May 2011 20:57:05 -0000 date-left-new: Tue, 28 Jun 2011 15:36:29 -0000 date-confirmed: Tue, 28 Jun 2011 15:36:29 -0000 date-triaged: Tue, 28 Jun 2011 15:36:29 -0000 date-inprogress: Tue, 28 Jun 2011 15:36:29 -0000 date-closed: Tue, 28 Jun 2011 15:36:29 -0000 date-fix-committed: Tue, 28 Jun 2011 15:36:29 -0000 date-fix-released: Tue, 28 Jun 2011 15:36:29 -0000 date-left-closed: Mon, 30 May 2011 12:13:18 -0000 reporter: Andrea Corbellini (andrea.corbellini) importance: Undecided component: main assignee: milestone: Content-Type: multipart/mixed; boundary="===============1879523233178813699==" MIME-Version: 1.0 --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Binary package hint: adept-updater Pertinent data printed when attempting to run Updater as follows: An unresolvable problem occurred while initializing the package information. Please report this bug against the 'update-manager' package and include the following error message: 'E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_intrepid_universe_bin= ary- amd64_Packages, E:The package lists or status file could not be parsed or opened.' WORKAROUND: Remove problematic files from /var/lib/apt/lists/ and rerun apt-get update. In the event that one is connected to a network with a proxy server that returns html pages (like a web page requesting you to login) and not package list files. Those html files will get downloaded to /var/lib/apt/lists/ and prevent someone from using a package manager until the problem html pages are removed. TEST CASE: 1) download the dummy-proxy attachment from this bug report 2) run dummy-proxy (python dummy-proxy) on a precise system (this simulates= a proxy that is not allowing access to archive.ubuntu.com and gives you = garbage html instead) 2.5) Execute 'sudo -i' in a terminal 3) Execute 'http_proxy=3Dhttp://localhost:8080 apt-get update' in same term= inal 4) Observe the following error messages in your terminal: W: GPG error: http://archive.ubuntu.com precise InRelease: File /var/lib/ap= t/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InRelease doesn't = start with a clearsigned message W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/multivers= e/i18n/Index No Hash entry in Release file /var/lib/apt/lists/partial/ = archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubunt= u_dists_precise_multiverse_source_Sources Encountered a section with no = Package: header 5) Stop dummy-proxy 6) Execute 'sudo apt-get update' in a terminal 7) Observe the following error message: Reading package lists... Done W: GPG error: http://archive.ubuntu.com precise Release: The following sign= atures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic = Signing Key 8) Remove the problematic files in /var/lib/apt/lists (sudo rm /var/lib/apt= /lists/*) Install apt from -proposed 1) run dummy-proxy (python dummy-proxy) on a precise system (this simulates= a proxy that is not allowing access to archive.ubuntu.com and gives you = garbarge html instead) 1.5) Execute 'sudo -i' in a terminal 2) Execute 'http_proxy=3Dhttp://localhost:8080 apt-get update' in same term= inal 3) Observe the following error messages in your terminal: W: A error occurred during the signature verification. The repository is no= t updated and the previous index files will be used. GPG error: http:// = archive.ubuntu.com precise Release: The following signatures were invalid: = NODATA 1 NODATA 2 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/Release W: Some index files failed to download. They have been ignored, or old ones= used instead. 4) Stop dummy-proxy 5) Execute 'sudo apt-get update' in a terminal 6) Observe the update succeed --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: mp (m-p) Date: Wed, 17 Jun 2009 09:12:19 -0000 Message-Id: <20090617091219.5268.56754.malone@palladium.canonical.com> I confirm this bug. It started today.=20 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux All updates done. Proposed NOT enabled. It prevents Synaptic and Update-Manager GUIs to run. They shut down upon encountering the error. From terminal it looks like this: $ sudo aptitude update E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/ftp.heanet.ie_pub_ubuntu_dists= _jaunty-updates_main_binary-i386_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.heanet.ie_pub_ubuntu_dists= _jaunty-updates_main_binary-i386_Packages E: The package lists or status file could not be parsed or opened. apt-get returns the same Update Manager returns more or less the same in the GUI: 'E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/ftp.heanet.ie_pub_ubuntu_dists_jaunty- updates_main_binary-i386_Packages, E:The package lists or status file could not be parsed or opened.' It is a duplicate of https://bugs.launchpad.net/bugs/358012 reported in Synaptic. And it is not repository specific as suggested in some places. It is an old bug it seems, fixed in 2003, that has come back: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D195301 - where it says: "This bug was fixed in 0.8.5 with the help of Matt Zimmermann." Following these instructions works for some (from http://oclug.on.ca/archives/linux/2007-February/001056.html): cd /var/lib/dpkg sudo mv status status-bad sudo cp status-old status sudo apt-get update apt-get upgrade For others this was also needed: sudo rm -f /var/lib/dpkg/lock While for the rest of us nothing seems to work so far! In other words: CONFIRMED --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: mp (m-p) Date: Wed, 17 Jun 2009 09:13:41 -0000 Message-Id: <20090617091343.20286.32529.malone@gangotri.canonical.com> This bug is confirmed - and also filed as a bug in Synaptic --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: mp (m-p) Date: Wed, 17 Jun 2009 09:24:37 -0000 Message-Id: <20090617092437.25120.77847.malone@gandwana.canonical.com> In one of the duplicates the following is suggested to fix the problem: sudo cd /var/lib/apt/lists/ sudo rm archive.ubuntu.com_ubuntu_dists_jaunty_universe_binary-i386_Packages also the same for all packages filled with HTLM from the modem when finished with it, just update....... hope it helps from: https://bugs.launchpad.net/ubuntu/+source/update- manager/+bug/370294/comments/1 --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: mp (m-p) Date: Wed, 17 Jun 2009 09:36:08 -0000 Message-Id: <20090617093609.5171.90950.malone@palladium.canonical.com> The solution above fixes the problem for me: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/370294/commen= ts/1 For someone not used to command line operations, from the terminal just do: gksu nautilus (it will ask for your pwd) Then navigate to /var/lib/apt/lists Choose: "View" --> "List" (can also be done via CTRL+2) ....and then click on "Type" in the Nautilus interface in order to get all files of the same kind to line up with each other. Mark/highlight all the files of the type HTML and delete them. (I actually copied them to another folder just in case they were needed, but they once they are gone all is fine (for me)). Finally: sudo aptitude update (or run your usual GUI). sudo aptitude dist-upgrade --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Jonathan Thomas (echidnaman) Date: Wed, 17 Jun 2009 12:15:37 -0000 Message-Id: <20090617121538.22100.37498.malone@potassium.ubuntu.com> So... a dpkg bug then? --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: mp (m-p) Date: Wed, 17 Jun 2009 12:33:31 -0000 Message-Id: <4A38E29B.6010607@aktivix.org> Yes, if dpkg is the (most) underlying element of the package management architectures. Jonathan Thomas wrote: > So... a dpkg bug then? >=20 > ** Package changed: adept (Ubuntu) =3D> dpkg (Ubuntu) > --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Stefan (sbossb) Date: Wed, 20 Apr 2011 18:17:11 -0000 Message-Id: <20110420181711.5615.20211.malone@soybean.canonical.com> Got this error today. E:Encountered a section with no Package: header, E:Problem with MergeList /= var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_natty_main_binary-amd6= 4_Packages, E:The package lists or status file could not be parsed or opene= d. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: =?utf-8?q?Rapha=C3=ABl_Hertzog_=28hertzog=29?= Date: Wed, 20 Apr 2011 20:58:21 -0000 Message-Id: <20110420205822.3753.27366.malone@chaenomeles.canonical.com> This all looks like corrupted Packages files... and it's not at all a problem in dpkg. The "E:" error messages come from APT. If anything it's APT that can be improved to deal better with invalid Packages files. For example it could refuse to put them in place after having downloaded them if they are invalid. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Marty (martin-e-duke) Date: Sat, 07 May 2011 01:59:35 -0000 Message-Id: <20110507015935.8614.18253.malone@chaenomeles.canonical.com> I am having this issue as well --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Patrick Kilgore (patrick-kilgore) Date: Sat, 07 May 2011 23:47:52 -0000 Message-Id: <20110507234752.18742.52619.malone@gac.canonical.com> Confirmed on:=20 Linux ubuntu 2.6.38-8-generic #42-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux The fix above (remove html from /var/lib/apt/lists/) worked for me. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: J21bernas (j21bernas) Date: Sat, 14 May 2011 08:25:07 -0000 Message-Id: <20110514082507.16324.6492.malone@chaenomeles.canonical.com> E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dist= s_natty_multiverse_binary-i386_Packages E: The package lists or status file could not be parsed or opened. E: _cache->open() failed, please report. help me with this guys!!! all the above solutions won't work.....help me please!!! thanks in advance --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Julian Andres Klode (juliank) Date: Sat, 14 May 2011 09:49:02 -0000 Message-Id: <20110514094903.17498.78857.malone@gac.canonical.com> This is a bug report, not a user support channel. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: AndrewW (c7borg) Date: Thu, 26 May 2011 15:38:15 -0000 Message-Id: <20110526153815.16545.74139.malone@soybean.canonical.com> the solution by mp wrote on 2009-06-17 worked for me - thanks for the simpleton solution at the end of the day I just want to use Ubuntu :) --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: redrabbit (redrabbit) Date: Thu, 26 May 2011 16:06:35 -0000 Message-Id: <20110526160635.13706.66792.malone@gac.canonical.com> Many files in /var/lib/apt/lists was empty, so i copied them from another machine with the same distribution and then i was able to run synaptic and update as before. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Vladimir Dergachev (volodya-k) Date: Sat, 28 May 2011 19:09:07 -0000 Message-Id: <20110528190907.13706.85672.malone@gac.canonical.com> I have just been bitten by this myself. After some poking around I realized what happened - I was connected to hotel's wireless which has one of these DNS redirect paywalls. The package manager tried to download the package lists before the connection was unauthorized and got copies of the paywall page which apt choked on. There needs to be a check that a downloaded package list is actually a package list. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Christopher (soft-kristal) Date: Sat, 28 May 2011 19:59:38 -0000 Message-Id: <20110528195938.29964.23035.malone@chaenomeles.canonical.com> That's similar to what happened to me - I was in a hospital with a guest access. RedSingularity gave me these to fix it: sudo rm /var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i38= 6_Packages ..then sudo rm -r /var/lib/apt/lists/* --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Jean-Baptiste Lallement (jibel) Date: Mon, 30 May 2011 09:33:49 -0000 Message-Id: <20110530093349.27755.46993.malone@wampee.canonical.com> Raising importance because it affect lot of users in Natty. Related debian bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D627642 --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Julian Andres Klode (juliank) Date: Mon, 30 May 2011 10:42:44 -0000 Message-Id: <20110530104244.12735.13858.malone@gac.canonical.com> Early patch. Causes APT to reject invalid package files (thus not having a Package field in the first section). Does not help if the Package file is invalid in the middle though, this would be too hard to check. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Julian Andres Klode (juliank) Date: Mon, 30 May 2011 11:21:57 -0000 Message-Id: <20110530112157.16027.94764.malone@soybean.canonical.com> Version 2 of the patch. This catches errors for translation indexes as well, and aborts earlier in case gpg gives us a NODATA response. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Julian Andres Klode (juliank) Date: Mon, 30 May 2011 12:07:30 -0000 Message-Id: <20110530120730.28355.44189.malone@wampee.canonical.com> Fixed in the debian-sid branch ------------------------------------------------------------ revno: 2126 revision-id: jak@debian.org-20110530120401-ink7r9btg1i1ul2j parent: bubulle@debian.org-20110525124504-zai6t9rst710l6ek fixes bug(s): http://bugs.debian.org/195301 https://launchpad.net/bugs/3463= 86 committer: Julian Andres Klode branch nick: debian-sid timestamp: Mon 2011-05-30 14:04:01 +0200 message: apt-pkg/acquire-item.cc: Reject files known to be invalid (LP: #346386) (= Closes: #195301) =20 This commit deals with the following cases: =20 - First section of index file (Packages,Sources,Translation) without Pa= ckage field - Signed release files without GPG data (NODATA) - i18n/Index files without hash sums =20 Handling unsigned Release files is more complicated, and the example code using indexRecords is disabled as it can reject correct Release files without hashes. How we can reliably check unsigned Release files is another question, and not urgent anyway, as it should have no dramatic effect (we could check that it is a valid RFC-822 section, but that's a bit too long to write) --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Launchpad Janitor (janitor) Date: Mon, 30 May 2011 16:00:11 -0000 Message-Id: <20110530160019.16029.27575.malone@cocoplum.canonical.com> This bug was fixed in the package apt - 0.8.14.1ubuntu4 --------------- apt (0.8.14.1ubuntu4) oneiric; urgency=3Dlow [ Julian Andres Klode ] * apt-pkg/acquire-item.cc: - Reject files known to be invalid (LP: #346386) (Closes: #627642) -- Michael Vogt Mon, 30 May 2011 17:12:27 +0200 --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Stefan Maimescu (superman) Date: Wed, 01 Jun 2011 14:59:27 -0000 Message-Id: <20110601145927.7957.49282.malone@chaenomeles.canonical.com> I have this bug too on Ubuntu 11.04 !!! Update-manager: Could not initialize the package information An unresolvable problem occurred while initializing the package information. Please report this bug against the 'update-manager' package and include the following error message: 'E:Encountered a section with no Package: header,=20 E:Problem with MergeList=20 /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_natty_partner_binary-= i386_Packages,=20 E:The package lists or status file could not be parsed or opened.' Terminal: Reading package lists... Error! E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/archive.canonical.com_ubuntu_d= ists_natty_partner_binary-i386_Packages E: The package lists or status file could not be parsed or opened. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Stefan Maimescu (superman) Date: Wed, 01 Jun 2011 15:16:18 -0000 Message-Id: <20110601151618.6757.75218.malone@chaenomeles.canonical.com> Update: I fixed that! my provider needs a login and password [one day] when I acces addresses from other countries... and the updater makes update files with --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Fritz Kassner (fritz-kassner) Date: Wed, 01 Jun 2011 16:09:41 -0000 Message-Id: <20110601160941.14734.76471.malone@wampee.canonical.com> I reported this bug for Ubuntu 11.04 too (bug #788150). The problem was successfully fixed by the method described by mp 2009-06-11= (#3). I deleted all HTML-files in /var/lib/apt/lists/. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Anne Chalmers (annechalmers62) Date: Wed, 01 Jun 2011 17:22:30 -0000 Message-Id: Many thanks for feedback much appreciated On Thu, May 26, 2011 at 3:03 PM, Jean-Baptiste Lallement < jean-baptiste@ubuntu.com> wrote: > ** Summary changed: > > - Update fails with invalid package files with "Encountered a section with > no Package: header" > + [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" > > ** Changed in: apt (Ubuntu) > Status: Incomplete =3D> Triaged > > -- > You received this bug notification because you are a direct subscriber > of a duplicate bug (784812). > https://bugs.launchpad.net/bugs/346386 > > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" > > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Triaged > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Fix Released > > Bug description: > Binary package hint: adept-updater > > Pertinent data printed when attempting to run Updater as follows: > > An unresolvable problem occurred while initializing the package > information. > > Please report this bug against the 'update-manager' package and > include the following error message: > > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' > > Ubuntu 8.10 > > Need workaround to permit updating - usual apt-get commands (clean, > update) haven't worked; message as follows: > > Reading package lists... Error! > E: Encountered a section with no Package: header > E: Problem with MergeList > /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_intrepid_universe_b= inary-amd64_Packages > E: The package lists or status file could not be parsed or opened. > > To unsubscribe from this bug, go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscribe > --=20 love and peace x --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Julian Andres Klode (juliank) Date: Wed, 01 Jun 2011 17:43:06 -0000 Message-Id: <20110601174306.16793.74324.malone@gac.canonical.com> Stop commenting me too style. The problem is know, a fix for broken systems exists, and it is prevented in oneiric. If you are affected by this as well, click on "Does this bug affect you?" at the top of the site. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Brian Murray (brian-murray) Date: Wed, 08 Jun 2011 20:42:00 -0000 Message-Id: <20110608204200.16526.86308.malone@soybean.canonical.com> Julian is the 2nd version of the patch that is attached to the bug report something that would be possible to backport so we can get updated packages in Lucid and Natty? --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Julian Andres Klode (juliank) Date: Thu, 09 Jun 2011 08:54:44 -0000 Message-Id: <20110609085444.822.57440.malone@chaenomeles.canonical.com> The one uploaded (0.8.14.1ubuntu4) would be the one to backport, that is, those revisions: http://bazaar.launchpad.net/~mvo/apt/debian-sid/revision/2126 http://bazaar.launchpad.net/~mvo/apt/debian-sid/revision/2127 aka http://bazaar.launchpad.net/~ubuntu-core-dev/apt/ubuntu/revision/1876 --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: S Venkata Srikanth (svsrikanth2001) Date: Thu, 09 Jun 2011 17:23:28 -0000 Message-Id: <806921.1364.qm@web95909.mail.in.yahoo.com> Hi I'm new to Ubuntu and not sure about how to resolve the issue. Can someone = give any pointers to make the Update functionality working again I'm using version 11.04=20 Thanks in Advance S Venkata Srikanth ________________________________ From: Brian Murray To: svsrikanth2001@yahoo.com Sent: Thursday, 9 June 2011 2:12 AM Subject: [Bug 346386] Re: [MASTER] Update fails with invalid package files = with "Encountered a section with no Package: header" Julian is the 2nd version of the patch that is attached to the bug report something that would be possible to backport so we can get updated packages in Lucid and Natty? --=20 You received this bug notification because you are a direct subscriber of a duplicate bug (789952). https://bugs.launchpad.net/bugs/346386 Title: =C2=A0 [MASTER] Update fails with invalid package files with "Encountered a =C2=A0 section with no Package: header" Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: =C2=A0 Fix Released Status in =E2=80=9Capt=E2=80=9D package in Debian: =C2=A0 Unknown Bug description: =C2=A0 Binary package hint: adept-updater =C2=A0 Pertinent data printed when attempting to run Updater as follows: =C2=A0 An unresolvable problem occurred while initializing the package =C2=A0 information. =C2=A0 Please report this bug against the 'update-manager' package and =C2=A0 include the following error message: =C2=A0 'E:Encountered a section with no Package: header, E:Problem with =C2=A0 MergeList /var/lib/apt/lists/us.archive.ubuntu =C2=A0 .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The =C2=A0 package lists or status file could not be parsed or opened.' =C2=A0 Ubuntu 8.10 =C2=A0 Need workaround to permit updating - usual apt-get commands (clean, =C2=A0 update) haven't worked; message as follows: =C2=A0 Reading package lists... Error! =C2=A0 E: Encountered a section with no Package: header =C2=A0 E: Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_u= buntu_dists_intrepid_universe_binary-amd64_Packages =C2=A0 E: The package lists or status file could not be parsed or opened. To unsubscribe from this bug, go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscribe --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Xillix (xillix) Date: Fri, 10 Jun 2011 01:19:01 -0000 Message-Id: <20110610011901.31586.51867.malone@gac.canonical.com> I had this issue and fixed it by the following. Make sure you are authenticated before running the rm. sudo rm /var/lib/apt/lists/* -vf sudo apt-get clean sudo apt-get update sudo apt-get upgrade --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: rjonnal (rjonnal) Date: Fri, 10 Jun 2011 01:51:01 -0000 Message-Id: <20110610015101.28623.22207.malone@soybean.canonical.com> Xillix, Thank you--it worked like a charm. In fact, I don't think the upgrade is necessary. Once I deleted everything and then ran update, the update- manager appeared and looked functional. It's strange--I had tried the same thing with just the offending list, which in my case was us.archive.ubuntu.com_ubuntu_dists_natty_main_binary-amd64_Packages I did: sudo rm /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_natty_main_bi= nary-amd64_Packages sudo apt-get update And that didn't work. The newly downloaded version of us.archive.ubuntu.com_ubuntu_dists_natty_main_binary-amd64_Packages also caused the "section with no Package: header" error. I'm not sure whether the crucial thing is 'clean' or removing all the lists. Anyway, thank you very much! -Ravi --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Teddy (ted-saker-law) Date: Fri, 10 Jun 2011 02:15:11 -0000 Message-Id: <4DF17E2F.5060405@saker-law.com> Dear Xillix: Thank you very much for your suggestion. Like Ravi, I didn't have to=20 run upgrade, but running rm, clean and update gave the Update Manager=20 the defibrillation it needed in order to resume what appears to be=20 normal operation. On 06/09/2011 09:19 PM, Xillix wrote: > I had this issue and fixed it by the following. Make sure you are > authenticated before running the rm. > > sudo rm /var/lib/apt/lists/* -vf > sudo apt-get clean > sudo apt-get update > sudo apt-get upgrade > --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Med Idriss Taki (takidriss) Date: Tue, 14 Jun 2011 16:40:21 -0000 Message-Id: <20110614164021.24554.92095.malone@soybean.canonical.com> Thank you all of you I had this bug too on Ubuntu 11.04. Now it is fixed with this: > sudo rm /var/lib/apt/lists/* -vf > sudo apt-get clean > sudo apt-get update > sudo apt-get upgrade God bless you --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: jim carlson (carxfrog) Date: Tue, 14 Jun 2011 17:43:55 -0000 Message-Id: Absolutely perfect solution. Worked extremely well. I knew I had a proble= m with one of the files, and it should have been deleted. However I didn't= known about clean, update and upgrade (which I guess is what the Update-Ma= nager does). Thank you for the quick response. JIM > Date: Tue, 14 Jun 2011 16:40:21 +0000 > From: 346386@bugs.launchpad.net > To: carxfrog@hotmail.com > Subject: [Bug 346386] Re: [MASTER] Update fails with invalid package file= s with "Encountered a section with no Package: header" >=20 > Thank you all of you > I had this bug too on Ubuntu 11.04. > Now it is fixed with this: >=20 > > sudo rm /var/lib/apt/lists/* -vf > > sudo apt-get clean > > sudo apt-get update > > sudo apt-get upgrade >=20 > God bless you >=20 > --=20 > You received this bug notification because you are subscribed to a > duplicate bug report (796583). > https://bugs.launchpad.net/bugs/346386 >=20 > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" >=20 > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Triaged > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Unknown >=20 > Bug description: > Binary package hint: adept-updater >=20 > Pertinent data printed when attempting to run Updater as follows: >=20 > An unresolvable problem occurred while initializing the package > information. >=20 > Please report this bug against the 'update-manager' package and > include the following error message: >=20 > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' >=20 > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get upd= ate. >=20 > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. >=20 > TEST CASE: > 1) Ensure /etc/apt/sources.list points to archive.ubuntu.com > 2) Setup proxy server to block access to archive.ubuntu.com and return = something like http://people.canonical.com/~brian/tmp/not-packages.html > 3) Execute 'sudo apt-get update' in a terminal > 4) Observe the following: > 'E: Encountered a section with no Package: header > E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu= _dists_natty_main_binary-amd64_Packages > E: The package lists or status file could not be parsed or opened.' > 5) Try 'apt-cache policy apt' and be sad that it doesn't work >=20 > With the proposed package installed repeat steps 1 to 3. > 4) Observe the following: > ''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B] > Ign http://archive.ubuntu.com oneiric InRelease > E: GPG error: http://archive.ubuntu.com oneiric InRelease: The followin= g signatures were invalid: NODATA 1 NODATA 2' > 5) Try 'apt-cache policy apt' and be happy that it works >=20 > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Brian Murray (brian-murray) Date: Tue, 14 Jun 2011 23:34:21 -0000 Message-Id: <20110614233421.23037.76731.malone@soybean.canonical.com> Attached is a debdiff suitable for SRU to Natty. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Dalison Rocha (dalisonsr68) Date: Thu, 16 Jun 2011 17:51:45 -0000 Message-Id: Obrigado!(Thank you!) 2011/6/14 Med Idriss Taki <346386@bugs.launchpad.net> > Thank you all of you > I had this bug too on Ubuntu 11.04. > Now it is fixed with this: > > > sudo rm /var/lib/apt/lists/* -vf > > sudo apt-get clean > > sudo apt-get update > > sudo apt-get upgrade > > God bless you > > -- > You received this bug notification because you are subscribed to a > duplicate bug report (796740). > https://bugs.launchpad.net/bugs/346386 > > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" > > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Triaged > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Unknown > > Bug description: > Binary package hint: adept-updater > > Pertinent data printed when attempting to run Updater as follows: > > An unresolvable problem occurred while initializing the package > information. > > Please report this bug against the 'update-manager' package and > include the following error message: > > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' > > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get > update. > > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. > > TEST CASE: > 1) Ensure /etc/apt/sources.list points to archive.ubuntu.com > 2) Setup proxy server to block access to archive.ubuntu.com and return > something like http://people.canonical.com/~brian/tmp/not-packages.html > 3) Execute 'sudo apt-get update' in a terminal > 4) Observe the following: > 'E: Encountered a section with no Package: header > E: Problem with MergeList > /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-amd6= 4_Packages > E: The package lists or status file could not be parsed or opened.' > 5) Try 'apt-cache policy apt' and be sad that it doesn't work > > With the proposed package installed repeat steps 1 to 3. > 4) Observe the following: > ''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B] > Ign http://archive.ubuntu.com oneiric InRelease > E: GPG error: http://archive.ubuntu.com oneiric InRelease: The following > signatures were invalid: NODATA 1 NODATA 2' > 5) Try 'apt-cache policy apt' and be happy that it works > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions > --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Dalison Rocha (dalisonsr68) Date: Thu, 16 Jun 2011 17:53:03 -0000 Message-Id: Obrigado!(Thank you!) 2011/6/14 jim carlson <346386@bugs.launchpad.net> > Absolutely perfect solution. Worked extremely well. I knew I had a > problem with one of the files, and it should have been deleted. However I > didn't known about clean, update and upgrade (which I guess is what the > Update-Manager does). > > Thank you for the quick response. > > JIM > > > Date: Tue, 14 Jun 2011 16:40:21 +0000 > > From: 346386@bugs.launchpad.net > > To: carxfrog@hotmail.com > > Subject: [Bug 346386] Re: [MASTER] Update fails with invalid package > files with "Encountered a section with no Package: header" > > > > Thank you all of you > > I had this bug too on Ubuntu 11.04. > > Now it is fixed with this: > > > > > sudo rm /var/lib/apt/lists/* -vf > > > sudo apt-get clean > > > sudo apt-get update > > > sudo apt-get upgrade > > > > God bless you > > > > -- > > You received this bug notification because you are subscribed to a > > duplicate bug report (796583). > > https://bugs.launchpad.net/bugs/346386 > > > > Title: > > [MASTER] Update fails with invalid package files with "Encountered a > > section with no Package: header" > > > > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > > Fix Released > > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > > Triaged > > Status in =E2=80=9Capt=E2=80=9D package in Debian: > > Unknown > > > > Bug description: > > Binary package hint: adept-updater > > > > Pertinent data printed when attempting to run Updater as follows: > > > > An unresolvable problem occurred while initializing the package > > information. > > > > Please report this bug against the 'update-manager' package and > > include the following error message: > > > > 'E:Encountered a section with no Package: header, E:Problem with > > MergeList /var/lib/apt/lists/us.archive.ubuntu > > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > > package lists or status file could not be parsed or opened.' > > > > WORKAROUND: > > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get > update. > > > > In the event that one is connected to a network with a proxy server > > that returns html pages (like a web page requesting you to login) and > > not package list files. Those html files will get downloaded to > > /var/lib/apt/lists/ and prevent someone from using a package manager > > until the problem html pages are removed. > > > > TEST CASE: > > 1) Ensure /etc/apt/sources.list points to archive.ubuntu.com > > 2) Setup proxy server to block access to archive.ubuntu.com and return > something like http://people.canonical.com/~brian/tmp/not-packages.html > > 3) Execute 'sudo apt-get update' in a terminal > > 4) Observe the following: > > 'E: Encountered a section with no Package: header > > E: Problem with MergeList > /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-amd6= 4_Packages > > E: The package lists or status file could not be parsed or opened.' > > 5) Try 'apt-cache policy apt' and be sad that it doesn't work > > > > With the proposed package installed repeat steps 1 to 3. > > 4) Observe the following: > > ''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B] > > Ign http://archive.ubuntu.com oneiric InRelease > > E: GPG error: http://archive.ubuntu.com oneiric InRelease: The > following signatures were invalid: NODATA 1 NODATA 2' > > 5) Try 'apt-cache policy apt' and be happy that it works > > > > To manage notifications about this bug go to: > > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions > > -- > You received this bug notification because you are subscribed to a > duplicate bug report (796740). > https://bugs.launchpad.net/bugs/346386 > > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" > > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Triaged > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Unknown > > Bug description: > Binary package hint: adept-updater > > Pertinent data printed when attempting to run Updater as follows: > > An unresolvable problem occurred while initializing the package > information. > > Please report this bug against the 'update-manager' package and > include the following error message: > > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' > > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get > update. > > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. > > TEST CASE: > 1) Ensure /etc/apt/sources.list points to archive.ubuntu.com > 2) Setup proxy server to block access to archive.ubuntu.com and return > something like http://people.canonical.com/~brian/tmp/not-packages.html > 3) Execute 'sudo apt-get update' in a terminal > 4) Observe the following: > 'E: Encountered a section with no Package: header > E: Problem with MergeList > /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-amd6= 4_Packages > E: The package lists or status file could not be parsed or opened.' > 5) Try 'apt-cache policy apt' and be sad that it doesn't work > > With the proposed package installed repeat steps 1 to 3. > 4) Observe the following: > ''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B] > Ign http://archive.ubuntu.com oneiric InRelease > E: GPG error: http://archive.ubuntu.com oneiric InRelease: The following > signatures were invalid: NODATA 1 NODATA 2' > 5) Try 'apt-cache policy apt' and be happy that it works > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions > --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Dalison Rocha (dalisonsr68) Date: Thu, 16 Jun 2011 17:53:30 -0000 Message-Id: Obrigado!(Thank you!) 2011/6/14 Brian Murray > Attached is a debdiff suitable for SRU to Natty. > > ** Patch added: "apt_0.8.13.2ubuntu4.debdiff" > > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+attachment/216= 9144/+files/apt_0.8.13.2ubuntu4.debdiff > > -- > You received this bug notification because you are subscribed to a > duplicate bug report (796740). > https://bugs.launchpad.net/bugs/346386 > > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" > > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Triaged > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Unknown > > Bug description: > Binary package hint: adept-updater > > Pertinent data printed when attempting to run Updater as follows: > > An unresolvable problem occurred while initializing the package > information. > > Please report this bug against the 'update-manager' package and > include the following error message: > > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' > > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get > update. > > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. > > TEST CASE: > 1) Ensure /etc/apt/sources.list points to archive.ubuntu.com > 2) Setup proxy server to block access to archive.ubuntu.com and return > something like http://people.canonical.com/~brian/tmp/not-packages.html > 3) Execute 'sudo apt-get update' in a terminal > 4) Observe the following: > 'E: Encountered a section with no Package: header > E: Problem with MergeList > /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-amd6= 4_Packages > E: The package lists or status file could not be parsed or opened.' > 5) Try 'apt-cache policy apt' and be sad that it doesn't work > > With the proposed package installed repeat steps 1 to 3. > 4) Observe the following: > ''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B] > Ign http://archive.ubuntu.com oneiric InRelease > E: GPG error: http://archive.ubuntu.com oneiric InRelease: The following > signatures were invalid: NODATA 1 NODATA 2' > 5) Try 'apt-cache policy apt' and be happy that it works > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions > --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: PMPope (3dgelabs) Date: Thu, 16 Jun 2011 21:03:44 -0000 Message-Id: Thanks for the help! It worked like a charm! Pace e bene Philip *MultiMedia* by *P*M*P*o*p*e [image: Creative Commons License] Works by PMPope 2011 by PMPope, Philip M. Pope is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License . =EF=BB=BF*704-726-2780* *2011* Signature powered by WiseStamp On Thu, Jun 9, 2011 at 9:19 PM, Xillix <346386@bugs.launchpad.net> wrote: > I had this issue and fixed it by the following. Make sure you are > authenticated before running the rm. > > sudo rm /var/lib/apt/lists/* -vf > sudo apt-get clean > sudo apt-get update > sudo apt-get upgrade > > -- > You received this bug notification because you are subscribed to a > duplicate bug report (791696). > https://bugs.launchpad.net/bugs/346386 > > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" > > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Unknown > > Bug description: > Binary package hint: adept-updater > > Pertinent data printed when attempting to run Updater as follows: > > An unresolvable problem occurred while initializing the package > information. > > Please report this bug against the 'update-manager' package and > include the following error message: > > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' > > Ubuntu 8.10 > > Need workaround to permit updating - usual apt-get commands (clean, > update) haven't worked; message as follows: > > Reading package lists... Error! > E: Encountered a section with no Package: header > E: Problem with MergeList > /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_intrepid_universe_b= inary-amd64_Packages > E: The package lists or status file could not be parsed or opened. > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions > --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Hideki Tawarayama (hideki-tawarayama) Date: Fri, 17 Jun 2011 22:55:29 -0000 Message-Id: <4DFBDB61.8040609@gmail.com> I fixed this bug. Thank you. (2011=E5=B9=B406=E6=9C=8817=E6=97=A5 02:51), Dalison Rocha wrote: > Obrigado!(Thank you!) > > 2011/6/14 Med Idriss Taki<346386@bugs.launchpad.net> > >> Thank you all of you >> I had this bug too on Ubuntu 11.04. >> Now it is fixed with this: >> >>> sudo rm /var/lib/apt/lists/* -vf >>> sudo apt-get clean >>> sudo apt-get update >>> sudo apt-get upgrade >> God bless you >> >> -- >> You received this bug notification because you are subscribed to a >> duplicate bug report (796740). >> https://bugs.launchpad.net/bugs/346386 >> >> Title: >> [MASTER] Update fails with invalid package files with "Encountered a >> section with no Package: header" >> >> Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: >> Fix Released >> Status in =E2=80=9Capt=E2=80=9D source package in Natty: >> Triaged >> Status in =E2=80=9Capt=E2=80=9D package in Debian: >> Unknown >> >> Bug description: >> Binary package hint: adept-updater >> >> Pertinent data printed when attempting to run Updater as follows: >> >> An unresolvable problem occurred while initializing the package >> information. >> >> Please report this bug against the 'update-manager' package and >> include the following error message: >> >> 'E:Encountered a section with no Package: header, E:Problem with >> MergeList /var/lib/apt/lists/us.archive.ubuntu >> .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The >> package lists or status file could not be parsed or opened.' >> >> WORKAROUND: >> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get >> update. >> >> In the event that one is connected to a network with a proxy server >> that returns html pages (like a web page requesting you to login) and >> not package list files. Those html files will get downloaded to >> /var/lib/apt/lists/ and prevent someone from using a package manager >> until the problem html pages are removed. >> >> TEST CASE: >> 1) Ensure /etc/apt/sources.list points to archive.ubuntu.com >> 2) Setup proxy server to block access to archive.ubuntu.com and return >> something like http://people.canonical.com/~brian/tmp/not-packages.html >> 3) Execute 'sudo apt-get update' in a terminal >> 4) Observe the following: >> 'E: Encountered a section with no Package: header >> E: Problem with MergeList >> /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-amd= 64_Packages >> E: The package lists or status file could not be parsed or opened.' >> 5) Try 'apt-cache policy apt' and be sad that it doesn't work >> >> With the proposed package installed repeat steps 1 to 3. >> 4) Observe the following: >> ''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B] >> Ign http://archive.ubuntu.com oneiric InRelease >> E: GPG error: http://archive.ubuntu.com oneiric InRelease: The followi= ng >> signatures were invalid: NODATA 1 NODATA 2' >> 5) Try 'apt-cache policy apt' and be happy that it works >> >> To manage notifications about this bug go to: >> https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions >> --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Martin Pitt (pitti) Date: Fri, 24 Jun 2011 16:04:01 -0000 Message-Id: <20110624160401.31515.72424.malone@soybean.canonical.com> Accepted apt into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Hobson Lane (hobs) Date: Sat, 25 Jun 2011 01:25:22 -0000 Message-Id: <20110625012522.19692.10430.malone@wampee.canonical.com> Doesn't this bug allow malicious users to root any Ubuntu system connected to a wifi cafe that uses web logon and no encryption? I'm not sure if I understand this, but it seems like proxies can insert URLs into the apt lists at will. And at logon-style wifi cafe's, a malicious user sitting at the table next to you could impersonate the cafe proxy (MITM), potentially inserting whatever they like into the lists URL. Wouldn't this then affect the Ubuntu upgrade and update cycles, redirecting requests to those chosen by the malicious laptop owner, perhaps weeks late while not connected to the malicious proxy? Perhaps the user would be required to accept some bogus security certificate before downloading the malicious code--so maybe only 10% of infected Ubuntu users would be caught. But might it be possible that if the user updates/upgrades while still connected through the malicious proxy, the proxy could peform a MITM on the certificates and still get the user to unknowingly install whatever "upgrades" the malicious user intends, to root the wifi user's system. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Steve Langasek (vorlon) Date: Mon, 27 Jun 2011 08:57:44 -0000 Message-Id: <20110627085744.30569.78009.malone@soybean.canonical.com> fix verified here using the test case in the bug description. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Hobson Lane (hobs) Date: Mon, 27 Jun 2011 15:18:53 -0000 Message-Id: Thanks. Sorry for the duplicate bug report. Glad it's fixed. Will make it much safer to update on public WiFi. On Mon, Jun 27, 2011 at 4:57 PM, Steve Langasek wrote: > fix verified here using the test case in the bug description. > > ** Description changed: > > =C2=A0Binary package hint: adept-updater > > =C2=A0Pertinent data printed when attempting to run Updater as follows: > > =C2=A0An unresolvable problem occurred while initializing the package > =C2=A0information. > > =C2=A0Please report this bug against the 'update-manager' package and inc= lude > =C2=A0the following error message: > > =C2=A0'E:Encountered a section with no Package: header, E:Problem with > =C2=A0MergeList /var/lib/apt/lists/us.archive.ubuntu > =C2=A0.com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The pa= ckage > =C2=A0lists or status file could not be parsed or opened.' > > =C2=A0WORKAROUND: > =C2=A0Remove problematic files from /var/lib/apt/lists/ and rerun apt-get= update. > > =C2=A0In the event that one is connected to a network with a proxy server= that > =C2=A0returns html pages (like a web page requesting you to login) and not > =C2=A0package list files. =C2=A0 Those html files will get downloaded to > =C2=A0/var/lib/apt/lists/ and prevent someone from using a package manager > =C2=A0until the problem html pages are removed. > > =C2=A0TEST CASE: > =C2=A01) Ensure /etc/apt/sources.list points to archive.ubuntu.com > =C2=A02) Setup proxy server to block access to archive.ubuntu.com and ret= urn something like http://people.canonical.com/~brian/tmp/not-packages.html > =C2=A03) Execute 'sudo apt-get update' in a terminal > =C2=A04) Observe the following: > =C2=A0'E: Encountered a section with no Package: header > - =C2=A0E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_u= buntu_dists_natty_main_binary-amd64_Packages > - =C2=A0E: The package lists or status file could not be parsed or opened= .' > + =C2=A0E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_u= buntu_dists_natty_main_binary-amd64_Packages > + =C2=A0E: The package lists or status file could not be parsed or opened= .' > =C2=A05) Try 'apt-cache policy apt' and be sad that it doesn't work > + 6) run 'sudo rm /var/lib/apt/lists/*Packages' to clear the error. > > =C2=A0With the proposed package installed repeat steps 1 to 3. > =C2=A04) Observe the following: > =C2=A0''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B] > =C2=A0Ign http://archive.ubuntu.com oneiric InRelease > =C2=A0E: GPG error: http://archive.ubuntu.com oneiric InRelease: The foll= owing signatures were invalid: NODATA 1 NODATA 2' > =C2=A05) Try 'apt-cache policy apt' and be happy that it works > > ** Tags added: verification-done > ** Tags removed: verification-needed > > -- > You received this bug notification because you are subscribed to a > duplicate bug report (800438). > https://bugs.launchpad.net/bugs/346386 > > Title: > =C2=A0[MASTER] Update fails with invalid package files with "Encountered a > =C2=A0section with no Package: header" > > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > =C2=A0Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > =C2=A0Fix Committed > Status in =E2=80=9Capt=E2=80=9D package in Debian: > =C2=A0Unknown > > Bug description: > =C2=A0Binary package hint: adept-updater > > =C2=A0Pertinent data printed when attempting to run Updater as follows: > > =C2=A0An unresolvable problem occurred while initializing the package > =C2=A0information. > > =C2=A0Please report this bug against the 'update-manager' package and > =C2=A0include the following error message: > > =C2=A0'E:Encountered a section with no Package: header, E:Problem with > =C2=A0MergeList /var/lib/apt/lists/us.archive.ubuntu > =C2=A0.com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > =C2=A0package lists or status file could not be parsed or opened.' > > =C2=A0WORKAROUND: > =C2=A0Remove problematic files from /var/lib/apt/lists/ and rerun apt-get= update. > > =C2=A0In the event that one is connected to a network with a proxy server > =C2=A0that returns html pages (like a web page requesting you to login) a= nd > =C2=A0not package list files. =C2=A0 Those html files will get downloaded= to > =C2=A0/var/lib/apt/lists/ and prevent someone from using a package manager > =C2=A0until the problem html pages are removed. > > =C2=A0TEST CASE: > =C2=A01) Ensure /etc/apt/sources.list points to archive.ubuntu.com > =C2=A02) Setup proxy server to block access to archive.ubuntu.com and ret= urn something like http://people.canonical.com/~brian/tmp/not-packages.html > =C2=A03) Execute 'sudo apt-get update' in a terminal > =C2=A04) Observe the following: > =C2=A0'E: Encountered a section with no Package: header > =C2=A0=C2=A0E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.c= om_ubuntu_dists_natty_main_binary-amd64_Packages > =C2=A0=C2=A0E: The package lists or status file could not be parsed or op= ened.' > =C2=A05) Try 'apt-cache policy apt' and be sad that it doesn't work > =C2=A06) run 'sudo rm /var/lib/apt/lists/*Packages' to clear the error. > > =C2=A0With the proposed package installed repeat steps 1 to 3. > =C2=A04) Observe the following: > =C2=A0''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B] > =C2=A0Ign http://archive.ubuntu.com oneiric InRelease > =C2=A0E: GPG error: http://archive.ubuntu.com oneiric InRelease: The foll= owing signatures were invalid: NODATA 1 NODATA 2' > =C2=A05) Try 'apt-cache policy apt' and be happy that it works > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions > --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Brian Murray (brian-murray) Date: Mon, 27 Jun 2011 17:41:11 -0000 Message-Id: <20110627174111.18013.47692.malone@gac.canonical.com> I've set this back to Fix Committed as the package with the fix is only available in the proposed repository for Natty. apt | 0.8.13.2ubuntu3 | natty-updates | source, amd64, i386 apt | 0.8.13.2ubuntu4 | natty-proposed | source, amd64, i386 --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Laxman Poudel (laxman-poudel2001) Date: Wed, 29 Jun 2011 02:01:09 -0000 Message-Id: <20110629020109.19700.92872.malone@soybean.canonical.com> 'E:Encountered a section with no Package: header, E:Problem with MergeList = /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i38= 6_Packages, E:The package lists or status file could not be parsed or opene= d. I have this problem Can this be fixed automatically? please help me I am new to the bug fixing. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: PMPope (3dgelabs) Date: Wed, 29 Jun 2011 02:27:00 -0000 Message-Id: Did you try the Xillix fix described earlier in this thread? It worked like a charm for me. On Jun 28, 2011 10:11 PM, "Laxman Poudel" <346386@bugs.launchpad.net> wrote: > 'E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i38= 6_Packages, E:The package lists or status file could not be parsed or opened. > > I have this problem > > Can this be fixed automatically? please help me I am new to the bug > fixing. > > -- > You received this bug notification because you are subscribed to a > duplicate bug report (791696). > https://bugs.launchpad.net/bugs/346386 > > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" > > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Fix Released > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Fix Released > > Bug description: > Binary package hint: adept-updater > > Pertinent data printed when attempting to run Updater as follows: > > An unresolvable problem occurred while initializing the package > information. > > Please report this bug against the 'update-manager' package and > include the following error message: > > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' > > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get update. > > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. > > TEST CASE: > 1) Ensure /etc/apt/sources.list points to archive.ubuntu.com > 2) Setup proxy server to block access to archive.ubuntu.com and return something like http://people.canonical.com/~brian/tmp/not-packages.html > 3) Execute 'sudo apt-get update' in a terminal > 4) Observe the following: > 'E: Encountered a section with no Package: header > E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-amd64_= Packages > E: The package lists or status file could not be parsed or opened.' > 5) Try 'apt-cache policy apt' and be sad that it doesn't work > 6) run 'sudo rm /var/lib/apt/lists/*Packages' to clear the error. > > With the proposed package installed repeat steps 1 to 3. > 4) Observe the following: > ''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B] > Ign http://archive.ubuntu.com oneiric InRelease > E: GPG error: http://archive.ubuntu.com oneiric InRelease: The following signatures were invalid: NODATA 1 NODATA 2' > 5) Try 'apt-cache policy apt' and be happy that it works > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: papukaija (papukaija) Date: Wed, 29 Jun 2011 09:26:20 -0000 Message-Id: <20110629092620.29261.3288.malone@gac.canonical.com> @Heru: Please *STOP* changing the bug statuses. Thanks. @ubuntu-bugcontrol: Please set this bug back to 'Fix committed' as 0.8.13.2ubuntu4 is still in proposed. Thanks in advance. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Edward Goldstick (ejgoldstick) Date: Wed, 29 Jun 2011 15:02:45 -0000 Message-Id: <7E417699-3986-4A6B-B604-DBD38CED880F@gmail.com> Hello, I just got back to the machine that had this problem and that led me to submit bug #863742... ... so thanks for your pointer to #802061 within 48 hours. It seems to have worked just fine. I wish I had been able to dig it up myself but the process is rather convoluted (and while I'm an 'old' Unix user (fwiw, I remember System III), I am not experimenting with Ubuntu other than as aa definitive low-cost alternative to Windows XP... I also thought I'd share this with the last person to post on this subject because you seem to have made the fix permanent... ... so thanks for that, too, but I must admit that I'm intrigued by the fact that I still get announcements. I may try to "unsubscribe" from the reports but am more curious by the long tail of issues that people experience. In any event, keep up the good work. Thanks again. Edward First and foremost, On Jun 26, 2011, at 1:58 PM, William Ranvaud wrote: > This issue was reported on ubuntuforums: > http://ubuntuforums.org/showthread.php?t=3D863742 >=20 > The solution was to type on terminal : >=20 > sudo rm /var/lib/apt/lists/* -vf > sudo apt-get update >=20 > Many people are having this issue, have to manually type this to get it > fixed. >=20 > --=20 > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/802061 On Jun 29, 2011, at 5:26 AM, papukaija wrote: > @Heru: Please *STOP* changing the bug statuses. Thanks. >=20 > @ubuntu-bugcontrol: Please set this bug back to 'Fix committed' as > 0.8.13.2ubuntu4 is still in proposed. Thanks in advance. >=20 > --=20 > You received this bug notification because you are subscribed to a > duplicate bug report (802061). > https://bugs.launchpad.net/bugs/346386 >=20 > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" >=20 > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Fix Released > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Fix Released >=20 > Bug description: > Binary package hint: adept-updater >=20 > Pertinent data printed when attempting to run Updater as follows: >=20 > An unresolvable problem occurred while initializing the package > information. >=20 > Please report this bug against the 'update-manager' package and > include the following error message: >=20 > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' >=20 > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get upda= te. >=20 > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. >=20 > TEST CASE: > 1) Ensure /etc/apt/sources.list points to archive.ubuntu.com > 2) Setup proxy server to block access to archive.ubuntu.com and return s= omething like http://people.canonical.com/~brian/tmp/not-packages.html > 3) Execute 'sudo apt-get update' in a terminal > 4) Observe the following: > 'E: Encountered a section with no Package: header > E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_= dists_natty_main_binary-amd64_Packages > E: The package lists or status file could not be parsed or opened.' > 5) Try 'apt-cache policy apt' and be sad that it doesn't work > 6) run 'sudo rm /var/lib/apt/lists/*Packages' to clear the error. >=20 > With the proposed package installed repeat steps 1 to 3. > 4) Observe the following: > ''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B] > Ign http://archive.ubuntu.com oneiric InRelease > E: GPG error: http://archive.ubuntu.com oneiric InRelease: The following= signatures were invalid: NODATA 1 NODATA 2' > 5) Try 'apt-cache policy apt' and be happy that it works >=20 > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Zarir Syafiqie (zarir93) Date: Mon, 04 Jul 2011 14:12:12 -0000 Message-Id: for me, just delete the folder and reboot the pc.. try to update again after finished booting... --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Launchpad Janitor (janitor) Date: Tue, 05 Jul 2011 13:41:22 -0000 Message-Id: <20110705134128.31929.35913.malone@gac.canonical.com> This bug was fixed in the package apt - 0.8.13.2ubuntu4 --------------- apt (0.8.13.2ubuntu4) natty-proposed; urgency=3Dlow [ Julian Andres Klode ] * apt-pkg/acquire-item.cc: - Reject files known to be invalid (LP: #346386) (Closes: #627642) [ Michael Vogt ] * apt-pkg/acquire-item.cc: - do not reject empty Packages files when checking them for correctness -- Brian Murray Fri, 10 Jun 2011 12:05:03 -0700 --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: typo (gnomeuser8) Date: Wed, 06 Jul 2011 12:38:23 -0000 Message-Id: <20110706123823.26422.24975.malone@gac.canonical.com> I don't get this. I thought debian packages where signed? How could a hotel's wireless inject data into your system? I mean, if the creators of apt did not check this case, what about about other cases? There'll be probably more security gaps, which are yet unknown, because nobody tested the software for security. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Brian Murray (brian-murray) Date: Wed, 06 Jul 2011 14:58:53 -0000 Message-Id: <20110706145854.606.71641.malone@soybean.canonical.com> @typo - Documentation regarding how this can occur appears in the bug's description. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Julian Andres Klode (juliank) Date: Thu, 07 Jul 2011 13:50:12 -0000 Message-Id: <20110707135012.19712.68531.malone@wampee.canonical.com> There are no security implications here. A malicious transparent proxy can send any data it want, but it cannot send any signed repository data. So if the proxy were to send malicious package information, the packages would not be marked as trusted and the user would be warned about it. If a proxy is sending invalid files, those files are rejected at some stage in the process. In short, no security problems for APT. If other programs try to parse APT-internal files themselves, they may have problems, but such use of the files is in no way supported and the contents of /var/lib/apt/lists are implementation-internal files, not meant for public use. I am not aware of any programs having problems with this. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Steven Avampato (avampsj) Date: Sat, 09 Jul 2011 17:01:38 -0000 Message-Id: <20110709170138.24689.62325.malone@gac.canonical.com> The suggested fix: > sudo rm /var/lib/apt/lists/* -vf > sudo apt-get clean > sudo apt-get update > sudo apt-get upgrade is not working for me. Is there another solution to get an updated version of apt that doesn't have the problem? Or a list of files in the /var/lib/apt/lists that are causing the bad version of apt to fail that can be deleted? --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: papukaija (papukaija) Date: Sun, 10 Jul 2011 13:25:25 -0000 Message-Id: <20110710132525.19001.91076.malone@chaenomeles.canonical.com> @Steven: Please try to follow the instruction in the test case (part of the bug's description) and then run the update with update-manager but don't forget that the fix is only available to Natty and newer. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Steven Avampato (avampsj) Date: Sun, 10 Jul 2011 19:22:37 -0000 Message-Id: <20110710192237.26586.21559.malone@gac.canonical.com> Not sure how to accomplish step 2 in the test case. Also how to get the "proposed package installed" as described after step 5. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: papukaija (papukaija) Date: Mon, 11 Jul 2011 15:41:45 -0000 Message-Id: <20110711154145.14452.41257.malone@soybean.canonical.com> This bug is fixed in Natty and newever so using the proposed package is not useful. If you have issues with installing the update, you should try to do do sixth step from the test case and try the update again. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Steven Avampato (avampsj) Date: Tue, 12 Jul 2011 02:20:38 -0000 Message-Id: <20110712022038.13877.41099.malone@chaenomeles.canonical.com> I was already at Natty when the error was introduced. Step 6 of the test case is essentially the same as step 1 of the suggested fix. Do I need to do a clean install to get a functioning version of apt again? --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Manfred Hampl (m-hampl) Date: Tue, 12 Jul 2011 06:09:34 -0000 Message-Id: <20110712060934.14048.66625.malone@soybean.canonical.com> @Steven and others: The package management programs store information about available packages,= their versions, and their sources in some files on your computer. The problem that you encounter is caused by wrong contents in some of these= files. The recently published changes in the apt package prevent that running a pa= ckage management update command creates new files with wrong contents, but = they do not solve the problem if you have already such situation on your sy= stem. To clean up this status please see https://answers.launchpad.net/ubuntu/+faq/1591 Either run: sudo rm -rf /var/lib/apt/lists sudo mkdir /var/lib/apt/lists sudo mkdir /var/lib/apt/lists/partial or perform a full package management troubleshooting as described in https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Jeff Hill (johill-lanl) Date: Tue, 20 Sep 2011 13:32:22 -0000 Message-Id: <20110920133222.23213.20998.malone@chaenomeles.canonical.com> I seem to be experiencing this issue also but "sudo rm -rf /var/lib/apt/lis= ts" doesn't seem to help (I think maybe it did during the first install but= my memory of the magic spells the first time isn't that good at this point= ). We do have a firewall here that returns configuration instructions for t= he proxy script. This may go south even during the install because I config= ured the script as soon as the system came up and have spent the rest of th= e day trying to get around this issue with apt-get. This is Ubuntu 11.04 (a= 2nd install due catastrophic hard drive failure last weekend). hill@Taz:~$ ls /var/lib/apt/lists/lock /var/lib/apt/lists/lock hill@Taz:~$ sudo apt-get update Ign http://us.archive.ubuntu.com natty InRelease Ign http://us.archive.ubuntu.com natty-updates InRelease Ign http://extras.ubuntu.com natty InRelease =20 Ign http://security.ubuntu.com natty-security InRelease Ign http://us.archive.ubuntu.com natty Release.gpg Ign http://extras.ubuntu.com natty Release.gpg=20 .. sudo rm -rf /var/lib/apt/lists hill@Taz:~$ sudo apt-get update Ign http://us.archive.ubuntu.com natty InRelease Ign http://security.ubuntu.com natty-security InRelease =20 Ign http://us.archive.ubuntu.com natty-updates InRelease =20 Ign http://security.ubuntu.com natty-security Release.gpg Ign http://us.archive.ubuntu.com natty Release.gpg =20 Ign http://security.ubuntu.com natty-security Release =20 ... hill@Taz:~$ sudo fuser -vvv /var/lib/dpkg/lock hill@Taz:~$ cat /etc/lsb-release DISTRIB_ID=3DUbuntu DISTRIB_RELEASE=3D11.04 DISTRIB_CODENAME=3Dnatty DISTRIB_DESCRIPTION=3D"Ubuntu 11.04" hill@Taz:~$ uname -a Linux dingy 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i6= 86 athlon i386 GNU/Linux hill@Taz:~$ sudo rm /var/lib/apt/lists/lock=20 hill@Taz:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup hill@Taz:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status hill@Taz:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available hill@Taz:~$ sudo rm -rf /var/lib/dpkg/updates/* hill@Taz:~$ sudo rm -rf /var/lib/apt/lists hill@Taz:~$ sudo rm /var/cache/apt/*.bin hill@Taz:~$ sudo mkdir /var/lib/apt/lists hill@Taz:~$ sudo mkdir /var/lib/apt/lists/partial hill@Taz:~$ LANG=3DC;sudo apt-get clean [sudo] password for hill:=20 hill@Taz:~$ LANG=3DC;sudo apt-get autoclean Reading package lists... Done Building dependency tree =20 Reading state information... Done hill@Taz:~$ LANG=3DC;sudo apt-get --purge autoremove Reading package lists... Done Building dependency tree =20 Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. hill@Taz:~$ LANG=3DC;sudo apt-get update -o APT::Cache-Limit=3D25165824 Ign http://security.ubuntu.com natty-security InRelease Ign http://us.archive.ubuntu.com natty InRelease =20 Ign http://us.archive.ubuntu.com natty-updates InRelease =20 ... --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: =?utf-8?q?Diego_Alc=C3=A1ntara_=28diego-faz=29?= Date: Tue, 20 Sep 2011 13:50:16 -0000 Message-Id: <20110920135017.22812.25806.malone@chaenomeles.canonical.com> This bug doesn't affect me anymore: the problem -in my case- was that a firewall in my network was filtering packages coming from ubuntu's repos. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Chris Bounds (chrisbounds26) Date: Tue, 20 Sep 2011 15:37:55 -0000 Message-Id: <1316533075.62442.YahooMailClassic@web120219.mail.ne1.yahoo.com> Is there anything I can do to correct the problem? --- On Tue, 9/20/11, Diego Alc=C3=A1ntara <346386@bugs.launchpad.net> wrote: From: Diego Alc=C3=A1ntara <346386@bugs.launchpad.net> Subject: [Bug 346386] Re: [MASTER] Update fails with invalid package files = with "Encountered a section with no Package: header" To: chrisbounds26@yahoo.com Date: Tuesday, September 20, 2011, 1:50 PM This bug doesn't affect me anymore: the problem -in my case- was that a firewall in my network was filtering packages coming from ubuntu's repos. --=20 You received this bug notification because you are subscribed to a duplicate bug report (837840). https://bugs.launchpad.net/bugs/346386 Title: =C2=A0 [MASTER] Update fails with invalid package files with "Encountered a =C2=A0 section with no Package: header" Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: =C2=A0 Fix Released Status in =E2=80=9Capt=E2=80=9D source package in Natty: =C2=A0 Fix Released Status in =E2=80=9Capt=E2=80=9D package in Debian: =C2=A0 Fix Released Bug description: =C2=A0 Binary package hint: adept-updater =C2=A0 Pertinent data printed when attempting to run Updater as follows: =C2=A0 An unresolvable problem occurred while initializing the package =C2=A0 information. =C2=A0 Please report this bug against the 'update-manager' package and =C2=A0 include the following error message: =C2=A0 'E:Encountered a section with no Package: header, E:Problem with =C2=A0 MergeList /var/lib/apt/lists/us.archive.ubuntu =C2=A0 .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The =C2=A0 package lists or status file could not be parsed or opened.' =C2=A0 WORKAROUND: =C2=A0 Remove problematic files from /var/lib/apt/lists/ and rerun apt-get = update. =C2=A0 In the event that one is connected to a network with a proxy server =C2=A0 that returns html pages (like a web page requesting you to login) and =C2=A0 not package list files.=C2=A0=C2=A0=C2=A0Those html files will get d= ownloaded to =C2=A0 /var/lib/apt/lists/ and prevent someone from using a package manager =C2=A0 until the problem html pages are removed. =C2=A0 TEST CASE: =C2=A0 1) Ensure /etc/apt/sources.list points to archive.ubuntu.com =C2=A0 2) Setup proxy server to block access to archive.ubuntu.com and retu= rn something like http://people.canonical.com/~brian/tmp/not-packages.html =C2=A0 3) Execute 'sudo apt-get update' in a terminal =C2=A0 4) Observe the following: =C2=A0 'E: Encountered a section with no Package: header =C2=A0 =C2=A0E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.co= m_ubuntu_dists_natty_main_binary-amd64_Packages =C2=A0 =C2=A0E: The package lists or status file could not be parsed or ope= ned.' =C2=A0 5) Try 'apt-cache policy apt' and be sad that it doesn't work =C2=A0 6) run 'sudo rm /var/lib/apt/lists/*Packages' to clear the error. =C2=A0 With the proposed package installed repeat steps 1 to 3. =C2=A0 4) Observe the following: =C2=A0 ''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B] =C2=A0 Ign http://archive.ubuntu.com oneiric InRelease =C2=A0 E: GPG error: http://archive.ubuntu.com oneiric InRelease: The follo= wing signatures were invalid: NODATA 1 NODATA 2' =C2=A0 5) Try 'apt-cache policy apt' and be happy that it works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: soohyun (ksonk) Date: Wed, 21 Sep 2011 06:28:50 -0000 Message-Id: Thanks Chris, =20 I don't know what I did/didn't but it got updated ok but things works littl= e different. =20 Without knowing much, I still like to log onto Ubuntu. Now my desktop pana= l goes away each time I boot up. I type the sudo nohup no-panel(something l= ike that), then the panal re-appears. I wish I can have them stay. =20 Thanks~~Kitty =20 =20 =20 =20 =20 =20 > Date: Tue, 20 Sep 2011 15:37:55 +0000 > From: 346386@bugs.launchpad.net > To: ksonk@hotmail.com > Subject: Re: [Bug 346386] Re: [MASTER] Update fails with invalid package = files with "Encountered a section with no Package: header" >=20 > Is there anything I can do to correct the problem? >=20 > --- On Tue, 9/20/11, Diego Alc=C3=A1ntara <346386@bugs.launchpad.net> wro= te: >=20 > From: Diego Alc=C3=A1ntara <346386@bugs.launchpad.net> > Subject: [Bug 346386] Re: [MASTER] Update fails with invalid package file= s with "Encountered a section with no Package: header" > To: chrisbounds26@yahoo.com > Date: Tuesday, September 20, 2011, 1:50 PM >=20 > This bug doesn't affect me anymore: the problem -in my case- was that a > firewall in my network was filtering packages coming from ubuntu's > repos. >=20 > --=20 > You received this bug notification because you are subscribed to a > duplicate bug report (837840). > https://bugs.launchpad.net/bugs/346386 >=20 > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" >=20 > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Fix Released > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Fix Released >=20 > Bug description: > Binary package hint: adept-updater >=20 > Pertinent data printed when attempting to run Updater as follows: >=20 > An unresolvable problem occurred while initializing the package > information. >=20 > Please report this bug against the 'update-manager' package and > include the following error message: >=20 > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' >=20 > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get upd= ate. >=20 > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. >=20 > TEST CASE: > 1) Ensure /etc/apt/sources.list points to archive.ubuntu.com > 2) Setup proxy server to block access to archive.ubuntu.com and return = something like http://people.canonical.com/~brian/tmp/not-packages.html > 3) Execute 'sudo apt-get update' in a terminal > 4) Observe the following: > 'E: Encountered a section with no Package: header > E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu= _dists_natty_main_binary-amd64_Packages > E: The package lists or status file could not be parsed or opened.' > 5) Try 'apt-cache policy apt' and be sad that it doesn't work > 6) run 'sudo rm /var/lib/apt/lists/*Packages' to clear the error. >=20 > With the proposed package installed repeat steps 1 to 3. > 4) Observe the following: > ''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B] > Ign http://archive.ubuntu.com oneiric InRelease > E: GPG error: http://archive.ubuntu.com oneiric InRelease: The followin= g signatures were invalid: NODATA 1 NODATA 2' > 5) Try 'apt-cache policy apt' and be happy that it works >=20 > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions >=20 > --=20 > You received this bug notification because you are subscribed to a > duplicate bug report (809075). > https://bugs.launchpad.net/bugs/346386 >=20 > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" >=20 > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Fix Released > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Fix Released >=20 > Bug description: > Binary package hint: adept-updater >=20 > Pertinent data printed when attempting to run Updater as follows: >=20 > An unresolvable problem occurred while initializing the package > information. >=20 > Please report this bug against the 'update-manager' package and > include the following error message: >=20 > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' >=20 > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get updat= e. >=20 > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. >=20 > TEST CASE: > 1) Ensure /etc/apt/sources.list points to archive.ubuntu.com > 2) Setup proxy server to block access to archive.ubuntu.com and return so= mething like http://people.canonical.com/~brian/tmp/not-packages.html > 3) Execute 'sudo apt-get update' in a terminal > 4) Observe the following: > 'E: Encountered a section with no Package: header > E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_d= ists_natty_main_binary-amd64_Packages > E: The package lists or status file could not be parsed or opened.' > 5) Try 'apt-cache policy apt' and be sad that it doesn't work > 6) run 'sudo rm /var/lib/apt/lists/*Packages' to clear the error. >=20 > With the proposed package installed repeat steps 1 to 3. > 4) Observe the following: > ''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B] > Ign http://archive.ubuntu.com oneiric InRelease > E: GPG error: http://archive.ubuntu.com oneiric InRelease: The following = signatures were invalid: NODATA 1 NODATA 2' > 5) Try 'apt-cache policy apt' and be happy that it works >=20 > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Hobson Lane (hobs) Date: Wed, 21 Sep 2011 09:50:23 -0000 Message-Id: I had to do a grep on my LAN gateway/proxy IP or a bit of the URL it uses for login. That turned up the corrupted entries for me. My local gateway is 10.10.0.1 so: sudo grep -ri '10.10.' /var/lib/apt/lists On Sun, Jul 10, 2011 at 3:01 AM, Steven Avampato wrote: > The suggested fix: > > > sudo rm /var/lib/apt/lists/* -vf > > sudo apt-get clean > > sudo apt-get update > > sudo apt-get upgrade > > is not working for me. Is there another solution to get an updated > version of apt that doesn't have the problem? Or a list of files in the > /var/lib/apt/lists that are causing the bad version of apt to fail that > can be deleted? > > -- > You received this bug notification because you are subscribed to a > duplicate bug report (800438). > https://bugs.launchpad.net/bugs/346386 > > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" > > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Fix Released > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Fix Released > > Bug description: > Binary package hint: adept-updater > > Pertinent data printed when attempting to run Updater as follows: > > An unresolvable problem occurred while initializing the package > information. > > Please report this bug against the 'update-manager' package and > include the following error message: > > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' > > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get > update. > > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. > > TEST CASE: > 1) Ensure /etc/apt/sources.list points to archive.ubuntu.com > 2) Setup proxy server to block access to archive.ubuntu.com and return > something like http://people.canonical.com/~brian/tmp/not-packages.html > 3) Execute 'sudo apt-get update' in a terminal > 4) Observe the following: > 'E: Encountered a section with no Package: header > E: Problem with MergeList > /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-amd6= 4_Packages > E: The package lists or status file could not be parsed or opened.' > 5) Try 'apt-cache policy apt' and be sad that it doesn't work > 6) run 'sudo rm /var/lib/apt/lists/*Packages' to clear the error. > > With the proposed package installed repeat steps 1 to 3. > 4) Observe the following: > ''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B] > Ign http://archive.ubuntu.com oneiric InRelease > E: GPG error: http://archive.ubuntu.com oneiric InRelease: The following > signatures were invalid: NODATA 1 NODATA 2' > 5) Try 'apt-cache policy apt' and be happy that it works > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions > --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Jiayao Xie (vebud138) Date: Thu, 22 Sep 2011 09:08:15 -0000 Message-Id: Thanks a lot. The problem has been solved. The instruction provided by http= s://bugs.launchpad.net/bugs/346386 can solve the problem. =20 > Date: Tue, 20 Sep 2011 15:37:55 +0000 > From: 346386@bugs.launchpad.net > To: vebud138@hotmail.com > Subject: Re: [Bug 346386] Re: [MASTER] Update fails with invalid package = files with "Encountered a section with no Package: header" >=20 > Is there anything I can do to correct the problem? >=20 > --- On Tue, 9/20/11, Diego Alc=C3=A1ntara <346386@bugs.launchpad.net> wro= te: >=20 > From: Diego Alc=C3=A1ntara <346386@bugs.launchpad.net> > Subject: [Bug 346386] Re: [MASTER] Update fails with invalid package file= s with "Encountered a section with no Package: header" > To: chrisbounds26@yahoo.com > Date: Tuesday, September 20, 2011, 1:50 PM >=20 > This bug doesn't affect me anymore: the problem -in my case- was that a > firewall in my network was filtering packages coming from ubuntu's > repos. >=20 > --=20 > You received this bug notification because you are subscribed to a > duplicate bug report (837840). > https://bugs.launchpad.net/bugs/346386 >=20 > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" >=20 > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Fix Released > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Fix Released >=20 > Bug description: > Binary package hint: adept-updater >=20 > Pertinent data printed when attempting to run Updater as follows: >=20 > An unresolvable problem occurred while initializing the package > information. >=20 > Please report this bug against the 'update-manager' package and > include the following error message: >=20 > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' >=20 > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get upd= ate. >=20 > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. >=20 > TEST CASE: > 1) Ensure /etc/apt/sources.list points to archive.ubuntu.com > 2) Setup proxy server to block access to archive.ubuntu.com and return = something like http://people.canonical.com/~brian/tmp/not-packages.html > 3) Execute 'sudo apt-get update' in a terminal > 4) Observe the following: > 'E: Encountered a section with no Package: header > E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu= _dists_natty_main_binary-amd64_Packages > E: The package lists or status file could not be parsed or opened.' > 5) Try 'apt-cache policy apt' and be sad that it doesn't work > 6) run 'sudo rm /var/lib/apt/lists/*Packages' to clear the error. >=20 > With the proposed package installed repeat steps 1 to 3. > 4) Observe the following: > ''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B] > Ign http://archive.ubuntu.com oneiric InRelease > E: GPG error: http://archive.ubuntu.com oneiric InRelease: The followin= g signatures were invalid: NODATA 1 NODATA 2' > 5) Try 'apt-cache policy apt' and be happy that it works >=20 > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions >=20 > --=20 > You received this bug notification because you are subscribed to a > duplicate bug report (826842). > https://bugs.launchpad.net/bugs/346386 >=20 > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" >=20 > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Fix Released > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Fix Released >=20 > Bug description: > Binary package hint: adept-updater >=20 > Pertinent data printed when attempting to run Updater as follows: >=20 > An unresolvable problem occurred while initializing the package > information. >=20 > Please report this bug against the 'update-manager' package and > include the following error message: >=20 > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' >=20 > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get upd= ate. >=20 > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. >=20 > TEST CASE: > 1) Ensure /etc/apt/sources.list points to archive.ubuntu.com > 2) Setup proxy server to block access to archive.ubuntu.com and return = something like http://people.canonical.com/~brian/tmp/not-packages.html > 3) Execute 'sudo apt-get update' in a terminal > 4) Observe the following: > 'E: Encountered a section with no Package: header > E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu= _dists_natty_main_binary-amd64_Packages > E: The package lists or status file could not be parsed or opened.' > 5) Try 'apt-cache policy apt' and be sad that it doesn't work > 6) run 'sudo rm /var/lib/apt/lists/*Packages' to clear the error. >=20 > With the proposed package installed repeat steps 1 to 3. > 4) Observe the following: > ''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B] > Ign http://archive.ubuntu.com oneiric InRelease > E: GPG error: http://archive.ubuntu.com oneiric InRelease: The followin= g signatures were invalid: NODATA 1 NODATA 2' > 5) Try 'apt-cache policy apt' and be happy that it works >=20 > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: maboiteaspam (maboiteaspam) Date: Sat, 28 Apr 2012 08:57:03 -0000 Message-Id: <20120428085703.27244.92152.malone@gac.canonical.com> In my case i finally changed the source of the repository for the packages and everything gone well right after. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: mazurkin (mazurkin) Date: Fri, 01 Jun 2012 12:20:58 -0000 Message-Id: <20120601122058.17531.93114.malone@wampee.canonical.com> It seems the problem still exists in Precise --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: papukaija (papukaija) Date: Fri, 01 Jun 2012 12:37:42 -0000 Message-Id: <20120601123742.23768.51140.malone@soybean.canonical.com> This bug is fixed. Please open a new bug if you still have issues with apt. Thanks. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Edward Goldstick (ejgoldstick) Date: Fri, 01 Jun 2012 13:06:06 -0000 Message-Id: <69FB2715-1DD9-42AA-B394-78394752B645@gmail.com> Hello, I do not understand the origin of either this message or the one that motivated it because I did not send the latter even if my email address is attached to it. I have occasionally received updates and queries about the original bug, so perhaps there is something strange going on somewhere... Fwiw (and thanks again for your diligence with these problems in the first place...) Ed (ejgoldstick@gmail.com) On Jun 1, 2012, at 8:37 AM, papukaija wrote: > This bug is fixed. Please open a new bug if you still have issues with > apt. Thanks. >=20 > --=20 > You received this bug notification because you are subscribed to a > duplicate bug report (802061). > https://bugs.launchpad.net/bugs/346386 >=20 > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" >=20 > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Fix Released > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Fix Released >=20 > Bug description: > Binary package hint: adept-updater >=20 > Pertinent data printed when attempting to run Updater as follows: >=20 > An unresolvable problem occurred while initializing the package > information. >=20 > Please report this bug against the 'update-manager' package and > include the following error message: >=20 > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' >=20 > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get upda= te. >=20 > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. >=20 > TEST CASE: > 1) Ensure /etc/apt/sources.list points to archive.ubuntu.com > 2) Setup proxy server to block access to archive.ubuntu.com and return s= omething like http://people.canonical.com/~brian/tmp/not-packages.html > 3) Execute 'sudo apt-get update' in a terminal > 4) Observe the following: > 'E: Encountered a section with no Package: header > E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_= dists_natty_main_binary-amd64_Packages > E: The package lists or status file could not be parsed or opened.' > 5) Try 'apt-cache policy apt' and be sad that it doesn't work > 6) run 'sudo rm /var/lib/apt/lists/*Packages' to clear the error. >=20 > With the proposed package installed repeat steps 1 to 3. > 4) Observe the following: > ''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B] > Ign http://archive.ubuntu.com oneiric InRelease > E: GPG error: http://archive.ubuntu.com oneiric InRelease: The following= signatures were invalid: NODATA 1 NODATA 2' > 5) Try 'apt-cache policy apt' and be happy that it works >=20 > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: mazurkin (mazurkin) Date: Fri, 01 Jun 2012 13:06:40 -0000 Message-Id: <20120601130640.18850.81008.malone@chaenomeles.canonical.com> Look to the right. There are aprox. 100 new and opened bugs marked as "duplicate" of this one. I think moderators should stop mark these as duplicates then. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: =?utf-8?b?VmVyw7NuaWNhIEIuIChob2xpc2hlaXJ1bmUp?= Date: Fri, 01 Jun 2012 14:00:21 -0000 Message-Id: <20120601140023.22644.96745.malone@soybean.canonical.com> Now I have no problems with update. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Brian Murray (brian-murray) Date: Wed, 06 Jun 2012 17:45:44 -0000 Message-Id: <20120606174544.23097.27169.malone@wampee.canonical.com> The change that fixed this bug was modified in the following merge with Debian: http://bazaar.launchpad.net/~ubuntu- branches/ubuntu/precise/apt/precise/revision/1.5.24 which states: * apt-pkg/acquire-item.{cc,h}: - do not check for a "Package" tag in optional index targets like the translations index and we can see the code change at: http://bazaar.launchpad.net/~ubuntu- branches/ubuntu/precise/apt/precise/revision/1.5.24/apt-pkg/acquire- item.cc#apt-pkg/acquire-item.cc However it is not clear to me how optional and non-optional targets are defined and I wonder if these are not misdefined somehow. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Gongqin Chen (chenwanggong) Date: Thu, 07 Jun 2012 08:51:41 -0000 Message-Id: On Thursday, June 7, 2012, Brian Murray wrote: > The change that fixed this bug was modified in the following merge with > Debian: > > http://bazaar.launchpad.net/~ubuntu- > branches/ubuntu/precise/apt/precise/revision/1.5.24 > > which states: > > * apt-pkg/acquire-item.{cc,h}: > - do not check for a "Package" tag in optional index targets > like the translations index > > and we can see the code change at: > > http://bazaar.launchpad.net/~ubuntu- > branches/ubuntu/precise/apt/precise/revision/1.5.24/apt-pkg/acquire- > item.cc#apt-pkg/acquire-item.cc > > However it is not clear to me how optional and non-optional targets are > defined and I wonder if these are not misdefined somehow. > > -- > You received this bug notification because you are subscribed to a > duplicate bug report (783015). > https://bugs.launchpad.net/bugs/346386 > > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" > > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Triaged > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Fix Released > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Fix Released > > Bug description: > Binary package hint: adept-updater > > Pertinent data printed when attempting to run Updater as follows: > > An unresolvable problem occurred while initializing the package > information. > > Please report this bug against the 'update-manager' package and > include the following error message: > > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' > > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get > update. > > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. > > TEST CASE: > 1) Ensure /etc/apt/sources.list points to archive.ubuntu.com > 2) Setup proxy server to block access to archive.ubuntu.com and return > something like http://people.canonical.com/~brian/tmp/not-packages.html > 3) Execute 'sudo apt-get update' in a terminal > 4) Observe the following: > 'E: Encountered a section with no Package: header > E: Problem with MergeList > /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-amd6= 4_Packages > E: The package lists or status file could not be parsed or opened.' > 5) Try 'apt-cache policy apt' and be sad that it doesn't work > 6) run 'sudo rm /var/lib/apt/lists/*Packages' to clear the error. > > With the proposed package installed repeat steps 1 to 3. > 4) Observe the following: > ''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B] > Ign http://archive.ubuntu.com oneiric InRelease > E: GPG error: http://archive.ubuntu.com oneiric InRelease: The following > signatures were invalid: NODATA 1 NODATA 2' > 5) Try 'apt-cache policy apt' and be happy that it works > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions > --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Hans Unland (hans-unland) Date: Fri, 08 Jun 2012 06:33:08 -0000 Message-Id: <4FD19CA4.10001@unlixx.de> Hallo Gongqin, Many thanks for your appreciated answer. This helped a lot. Problem has=20 been solved. Kind regards Hans On 07.06.2012 10:51, Gongqin Chen wrote: > On Thursday, June 7, 2012, Brian Murray wrote: > >> The change that fixed this bug was modified in the following merge with >> Debian: >> >> http://bazaar.launchpad.net/~ubuntu- >> branches/ubuntu/precise/apt/precise/revision/1.5.24 >> >> which states: >> >> * apt-pkg/acquire-item.{cc,h}: >> - do not check for a "Package" tag in optional index targets >> like the translations index >> >> and we can see the code change at: >> >> http://bazaar.launchpad.net/~ubuntu- >> branches/ubuntu/precise/apt/precise/revision/1.5.24/apt-pkg/acquire- >> item.cc#apt-pkg/acquire-item.cc >> >> However it is not clear to me how optional and non-optional targets are >> defined and I wonder if these are not misdefined somehow. >> >> -- >> You received this bug notification because you are subscribed to a >> duplicate bug report (783015). >> https://bugs.launchpad.net/bugs/346386 >> >> Title: >> [MASTER] Update fails with invalid package files with "Encountered a >> section with no Package: header" >> >> Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: >> Triaged >> Status in =E2=80=9Capt=E2=80=9D source package in Natty: >> Fix Released >> Status in =E2=80=9Capt=E2=80=9D package in Debian: >> Fix Released >> >> Bug description: >> Binary package hint: adept-updater >> >> Pertinent data printed when attempting to run Updater as follows: >> >> An unresolvable problem occurred while initializing the package >> information. >> >> Please report this bug against the 'update-manager' package and >> include the following error message: >> >> 'E:Encountered a section with no Package: header, E:Problem with >> MergeList /var/lib/apt/lists/us.archive.ubuntu >> .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The >> package lists or status file could not be parsed or opened.' >> >> WORKAROUND: >> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get >> update. >> >> In the event that one is connected to a network with a proxy server >> that returns html pages (like a web page requesting you to login) and >> not package list files. Those html files will get downloaded to >> /var/lib/apt/lists/ and prevent someone from using a package manager >> until the problem html pages are removed. >> >> TEST CASE: >> 1) Ensure /etc/apt/sources.list points to archive.ubuntu.com >> 2) Setup proxy server to block access to archive.ubuntu.com and return >> something like http://people.canonical.com/~brian/tmp/not-packages.html >> 3) Execute 'sudo apt-get update' in a terminal >> 4) Observe the following: >> 'E: Encountered a section with no Package: header >> E: Problem with MergeList >> /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-amd= 64_Packages >> E: The package lists or status file could not be parsed or opened.' >> 5) Try 'apt-cache policy apt' and be sad that it doesn't work >> 6) run 'sudo rm /var/lib/apt/lists/*Packages' to clear the error. >> >> With the proposed package installed repeat steps 1 to 3. >> 4) Observe the following: >> ''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B] >> Ign http://archive.ubuntu.com oneiric InRelease >> E: GPG error: http://archive.ubuntu.com oneiric InRelease: The followi= ng >> signatures were invalid: NODATA 1 NODATA 2' >> 5) Try 'apt-cache policy apt' and be happy that it works >> >> To manage notifications about this bug go to: >> https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions >> --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Michael Vogt (mvo) Date: Tue, 19 Jun 2012 09:23:02 -0000 Message-Id: <20120619092302.32027.44048.malone@chaenomeles.canonical.com> I can reproduce this problem with: $ bzr branch lp:~mvo/+junk/fault-injecting-proxy $ cd fault-injecting-proxy $ ./faulty-proxy.py --always-send-bogus-page in a different terminal: $ sudo http_proxy=3Dhttp://localhost:8000 apt-get update -qq W: GPG error: http://ppa.launchpad.net precise InRelease: File /var/lib/apt= /lists/partial/ppa.launchpad.net_raof_precise-colorhug_ubuntu_dists_precise= _InRelease doesn't start with a clearsigned message ... --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Julian Andres Klode (juliank) Date: Tue, 19 Jun 2012 09:47:46 -0000 Message-Id: <20120619094746.14966.37301.malone@gac.canonical.com> "W: GPG error: http://ppa.launchpad.net precise InRelease: File /var/lib/apt/lists/partial/ppa.launchpad.net_raof_precise- colorhug_ubuntu_dists_precise_InRelease doesn't start with a clearsigned message" seems like a good thing, not the problem of this bug. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Michael Vogt (mvo) Date: Tue, 19 Jun 2012 11:34:38 -0000 Message-Id: <20120619113438.32333.5679.malone@chaenomeles.canonical.com> --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Michael Vogt (mvo) Date: Tue, 19 Jun 2012 12:07:54 -0000 Message-Id: <20120619120754.13836.57231.malone@gac.canonical.com> --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Michael Vogt (mvo) Date: Tue, 19 Jun 2012 12:18:18 -0000 Message-Id: <20120619121818.30614.42232.malone@chaenomeles.canonical.com> Meh, the patch in #79 will need work as the string is a translated string. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Julian Andres Klode (juliank) Date: Tue, 19 Jun 2012 12:42:33 -0000 Message-Id: <20120619124233.14652.67236.malone@gac.canonical.com> Why is this bug being reused for totally distinct things? This bug was about invalid files being copied to the /var/lib/apt/lists, not about something else about InRelease files. This bug should be closed again, and a new bug should be opened for that other stuff, that actually explains what the new problem is about. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Brian Murray (brian-murray) Date: Tue, 19 Jun 2012 15:16:26 -0000 Message-Id: <20120619151626.26405.38076.malone@soybean.canonical.com> The reason that we reopened this bug report is that we are seeing duplicates of it reported from precise users, which should have a fixed version of apt installed. Using the tool lp-bug-dupe-properties from lptools we can see the following: ./lp-bug-dupe-properties --bug 346386 --rtags =E2=80=A6 precise: 946692 948744 967411 989262 989270 989293 989602 996030 1001769 10= 01932 1006103 Of those bug 1006103 has the most details. I am also able to recreate this bug by performing the following steps: 1) Edit some packages file in /var/lib/apt/lists/ to be missing a Package:= line or just remove the whole file 2) Run 'sudo apt-get update' 3) Observe the message 'Encountered a section with no Package: header' =E2= =80=A6 'Problem with MergeList' I took the above steps instead of trying to create a proxy server that would block access to the archive. Even if this test is bad it is still worrisome that we are actively receiving duplicates of this bug. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Brian Murray (brian-murray) Date: Tue, 19 Jun 2012 15:17:07 -0000 Message-Id: <20120619151707.30911.37115.malone@chaenomeles.canonical.com> When I said remove the whole file I meant remove the contents of the file. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Robert Schroll (rschroll) Date: Mon, 25 Jun 2012 21:18:50 -0000 Message-Id: <20120625211850.28925.26894.malone@gac.canonical.com> I can confirm this bug on a brand-new install of 12.04. The files of /var/lib/apt/lists/ all seem to contain the text about logging in from the proxy server. Clearing out this directory solves the problem. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Ravi Kumar (kumarravi-kumar267) Date: Mon, 06 Aug 2012 16:40:19 -0000 Message-Id: <20120806164019.1184.85985.malone@soybean.canonical.com> Thanks the workaround helped me. I am running ubuntu 12.04...... --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Gustavo Hernandez (ghernand67) Date: Mon, 13 Aug 2012 19:54:52 -0000 Message-Id: <1344887692.82794.YahooMailNeo@web140905.mail.bf1.yahoo.com> Hello, good afternoon Marc. =C2=A0 Thank you so much for your directions, I appreciate it. Fortunately = I resolve the problem about the bug in apt-get, so my laptop is up and runn= ing now. Thanks again for your time and consideration. Actions like yours c= onsolidate the essence of Open Access! Sincerely, Gustavo ________________________________ De: Marc Deslauriers Para: ghernand67@yahoo.com.mx=20 Enviado: S=C3=A1bado, 11 de agosto, 2012 14:09:12 Asunto: [Bug 346386] Re: [MASTER] Update fails with invalid package files w= ith "Encountered a section with no Package: header" =20 ** Tags added: rls-q-incoming --=20 You received this bug notification because you are subscribed to a duplicate bug report (1033958). https://bugs.launchpad.net/bugs/346386 Title: =C2=A0 [MASTER] Update fails with invalid package files with "Encountered a =C2=A0 section with no Package: header" Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: =C2=A0 Triaged Status in =E2=80=9Capt=E2=80=9D source package in Natty: =C2=A0 Fix Released Status in =E2=80=9Capt=E2=80=9D package in Debian: =C2=A0 Fix Released Bug description: =C2=A0 Binary package hint: adept-updater =C2=A0 Pertinent data printed when attempting to run Updater as follows: =C2=A0 An unresolvable problem occurred while initializing the package =C2=A0 information. =C2=A0 Please report this bug against the 'update-manager' package and =C2=A0 include the following error message: =C2=A0 'E:Encountered a section with no Package: header, E:Problem with =C2=A0 MergeList /var/lib/apt/lists/us.archive.ubuntu =C2=A0 .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The =C2=A0 package lists or status file could not be parsed or opened.' =C2=A0 WORKAROUND: =C2=A0 Remove problematic files from /var/lib/apt/lists/ and rerun apt-get = update. =C2=A0 In the event that one is connected to a network with a proxy server =C2=A0 that returns html pages (like a web page requesting you to login) and =C2=A0 not package list files.=C2=A0 Those html files will get downloaded = to =C2=A0 /var/lib/apt/lists/ and prevent someone from using a package manager =C2=A0 until the problem html pages are removed. =C2=A0 TEST CASE: =C2=A0 1) Ensure /etc/apt/sources.list points to archive.ubuntu.com =C2=A0 2) Setup proxy server to block access to archive.ubuntu.com and retu= rn something like http://people.canonical.com/~brian/tmp/not-packages.html =C2=A0 3) Execute 'sudo apt-get update' in a terminal =C2=A0 4) Observe the following: =C2=A0 'E: Encountered a section with no Package: header =C2=A0 =C2=A0E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.co= m_ubuntu_dists_natty_main_binary-amd64_Packages =C2=A0 =C2=A0E: The package lists or status file could not be parsed or ope= ned.' =C2=A0 5) Try 'apt-cache policy apt' and be sad that it doesn't work =C2=A0 6) run 'sudo rm /var/lib/apt/lists/*Packages' to clear the error. =C2=A0 With the proposed package installed repeat steps 1 to 3. =C2=A0 4) Observe the following: =C2=A0 ''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B] =C2=A0 Ign http://archive.ubuntu.com oneiric InRelease =C2=A0 E: GPG error: http://archive.ubuntu.com oneiric InRelease: The follo= wing signatures were invalid: NODATA 1 NODATA 2' =C2=A0 5) Try 'apt-cache policy apt' and be happy that it works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Vincenzo D'Andrea (vincenzo-dandrea) Date: Mon, 03 Sep 2012 11:03:49 -0000 Message-Id: <20120903110349.31997.49087.malone@chaenomeles.canonical.com> I have a 12.04, installed shortly after the release and kept up to date. Yesterday I was connected to a network with a proxy of the kind described in the bug description above and today I saw the error message. The issue was easiily solved removing the files as described in the workaround. My conclusion would be that the bug is still around... thanks! v. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Launchpad Janitor (janitor) Date: Thu, 06 Sep 2012 19:36:02 -0000 Message-Id: <20120906193608.25510.64811.malone@gac.canonical.com> This bug was fixed in the package apt - 0.9.7.5ubuntu2 --------------- apt (0.9.7.5ubuntu2) quantal; urgency=3Dlow Merged from lp:~donkult/apt/experimental: [ David Kalnischkies ] * apt-pkg/contrib/strutl.cc: - support \n and \r\n line endings in ReadMessages [ Michael Vogt ] * lp:~mvo/apt/webserver-simulate-broken-with-fix346386: - merge fix for LP: #346386 Merged from http://bzr.debian.org/bzr/apt/apt/debian-sid: [ David Kalnischkies ] * apt-pkg/cdrom.cc: - copy only configured translation files from a CD-ROM and not all available translation files preventing new installs with d-i from being initialized with all translations (Closes: #678227) - handle Components in the reduction for the source.list as multi-arch = CDs otherwise create duplicated source entries (e.g. "wheezy main main") * apt-pkg/packagemanager.cc: - unpack versions only in case a different version from the package is currently in unpack state to recover from broken system states (like different file in M-A:same package and other dpkg errors) and avoid re-unpack otherwise (Closes: #670900) * debian/control: - let libapt-pkg break apt < 0.9.4 to ensure that the installed http- method supports the new redirection-style, thanks to Raphael Geissert for reporting & testing (Closes: #685192) * doc/apt_preferences.5.xml: - use the correct interval (x <=3D P < y) for pin value documentation as these are the intervals used by the code (Closes: #685989) * apt-pkg/indexcopy.cc: - do not create duplicated flat-archive CD-ROM sources for foreign architectures on multi-arch CD-ROMs - do not warn about files which have a record in the Release file, but are not present on the CD to mirror the behavior of the other methods and to allow uncompressed indexes to be dropped without scaring users -- Michael Vogt Tue, 04 Sep 2012 15:42:09 +0200 --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Scott T Rogers (scott-t-rogers) Date: Thu, 06 Sep 2012 22:03:16 -0000 Message-Id: <20120906220316.25272.9702.malone@gac.canonical.com> Has that been released yet? If so, I call shenanigans as this bug still exists. Case in point: I update my system everyday between 12pm-3pm Eastern Time. Yet, I had to use the workaround for this bug as recently as yesterday (September 5, 2012). --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Rod J (rod-jamieson) Date: Mon, 10 Sep 2012 12:11:39 -0000 Message-Id: <20120910121139.27997.28527.malone@wampee.canonical.com> This bug is still affecting me in Kubuntu 12.04 (it's happened twice this week). The workaround is fine but why on earth can't the update manager check that it is actually connected with a bona-fide update server before downloading anything? --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Scott T Rogers (scott-t-rogers) Date: Mon, 10 Sep 2012 16:14:47 -0000 Message-Id: <20120910161447.27873.35384.malone@wampee.canonical.com> Rod J, good question. My system is behind a corporate Barracuda firewall that resets access every day at midnight. At LEAST once a week, sometimes daily, I encounter this bug. If this was truly fixed, would it continue to occur? When I update my system daily? --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Tadhg McSherry (tadhg-mcsherry) Date: Tue, 11 Sep 2012 10:53:15 -0000 Message-Id: Thank you, appreciated. On 6 September 2012 20:36, Launchpad Bug Tracker <346386@bugs.launchpad.net>wrote: > This bug was fixed in the package apt - 0.9.7.5ubuntu2 > > --------------- > apt (0.9.7.5ubuntu2) quantal; urgency=3Dlow > > Merged from lp:~donkult/apt/experimental: > > [ David Kalnischkies ] > * apt-pkg/contrib/strutl.cc: > - support \n and \r\n line endings in ReadMessages > > [ Michael Vogt ] > * lp:~mvo/apt/webserver-simulate-broken-with-fix346386: > - merge fix for LP: #346386 > > > Merged from http://bzr.debian.org/bzr/apt/apt/debian-sid: > > [ David Kalnischkies ] > * apt-pkg/cdrom.cc: > - copy only configured translation files from a CD-ROM and not all > available translation files preventing new installs with d-i from > being initialized with all translations (Closes: #678227) > - handle Components in the reduction for the source.list as multi-arch > CDs > otherwise create duplicated source entries (e.g. "wheezy main main") > * apt-pkg/packagemanager.cc: > - unpack versions only in case a different version from the package > is currently in unpack state to recover from broken system states > (like different file in M-A:same package and other dpkg errors) > and avoid re-unpack otherwise (Closes: #670900) > * debian/control: > - let libapt-pkg break apt < 0.9.4 to ensure that the installed http- > method supports the new redirection-style, thanks to Raphael Geisse= rt > for reporting & testing (Closes: #685192) > * doc/apt_preferences.5.xml: > - use the correct interval (x <=3D P < y) for pin value documentation= as > these are the intervals used by the code (Closes: #685989) > * apt-pkg/indexcopy.cc: > - do not create duplicated flat-archive CD-ROM sources for foreign > architectures on multi-arch CD-ROMs > - do not warn about files which have a record in the Release file, but > are not present on the CD to mirror the behavior of the other metho= ds > and to allow uncompressed indexes to be dropped without scaring use= rs > -- Michael Vogt Tue, 04 Sep 2012 15:42:09 > +0200 > > ** Changed in: apt (Ubuntu) > Status: Triaged =3D> Fix Released > > -- > You received this bug notification because you are subscribed to a > duplicate bug report (1000848). > https://bugs.launchpad.net/bugs/346386 > > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" > > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Fix Released > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Fix Released > > Bug description: > Binary package hint: adept-updater > > Pertinent data printed when attempting to run Updater as follows: > > An unresolvable problem occurred while initializing the package > information. > > Please report this bug against the 'update-manager' package and > include the following error message: > > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' > > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get > update. > > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. > > TEST CASE: > 1) Ensure /etc/apt/sources.list points to archive.ubuntu.com > 2) Setup proxy server to block access to archive.ubuntu.com and return > something like http://people.canonical.com/~brian/tmp/not-packages.html > 3) Execute 'sudo apt-get update' in a terminal > 4) Observe the following: > 'E: Encountered a section with no Package: header > E: Problem with MergeList > /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-amd6= 4_Packages > E: The package lists or status file could not be parsed or opened.' > 5) Try 'apt-cache policy apt' and be sad that it doesn't work > 6) run 'sudo rm /var/lib/apt/lists/*Packages' to clear the error. > > With the proposed package installed repeat steps 1 to 3. > 4) Observe the following: > ''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B] > Ign http://archive.ubuntu.com oneiric InRelease > E: GPG error: http://archive.ubuntu.com oneiric InRelease: The > following signatures were invalid: NODATA 1 NODATA 2' > 5) Try 'apt-cache policy apt' and be happy that it works > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions > --=20 Tadhg McSherry, Westbury, Newtown, Bonnettstown, Co. Kilkenny --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Ursula Junque (ursinha) Date: Thu, 13 Sep 2012 00:29:51 -0000 Message-Id: <20120913002951.8135.2696.malone@gac.canonical.com> I'm using quantal and I can confirm it still happens. (I'd mark the bug as affecting me too, but LP is timing out consistently) Using apt version 0.9.7.5ubuntu2. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Launchpad Janitor (janitor) Date: Thu, 13 Sep 2012 08:22:35 -0000 Message-Id: <20120913082237.8135.35185.malone@gac.canonical.com> Status changed to 'Confirmed' because the bug affects multiple users. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Brian Murray (brian-murray) Date: Wed, 10 Oct 2012 21:54:18 -0000 Message-Id: <20121010215418.23156.13827.malone@chaenomeles.canonical.com> Attached you'll find dummy-proxy referred to in the test case and from Colin Watson in bug 24061. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Kayode Odusote (odusote-kayode) Date: Thu, 11 Oct 2012 09:10:41 -0000 Message-Id: Has this bug been fixed or not and if it is has been fixed is the update available with Update Manager? I had the same problem recently whilst doing an update with the Update Manager of 12.04 LTS and had to resort to the work around to fix it. In fact, "sudo rm /var/lib/apt/lists/*" did not remove the .../lists/partial directory but I left it and did the "sudo apt-get update" successfully. Hope someone can find a permanent solution to this. Kayode On 10/10/12, Brian Murray wrote: > Attached you'll find dummy-proxy referred to in the test case and from > Colin Watson in bug 24061. > > ** Description changed: > > Binary package hint: adept-updater > > Pertinent data printed when attempting to run Updater as follows: > > An unresolvable problem occurred while initializing the package > information. > > Please report this bug against the 'update-manager' package and include > the following error message: > > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The package > lists or status file could not be parsed or opened.' > > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get > update. > > In the event that one is connected to a network with a proxy server that > returns html pages (like a web page requesting you to login) and not > package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. > > TEST CASE: > - 1) Ensure /etc/apt/sources.list points to archive.ubuntu.com > - 2) Setup proxy server to block access to archive.ubuntu.com and return > something like http://people.canonical.com/~brian/tmp/not-packages.html > - 3) Execute 'sudo apt-get update' in a terminal > - 4) Observe the following: > - 'E: Encountered a section with no Package: header > - E: Problem with MergeList > /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-amd6= 4_Packages > - E: The package lists or status file could not be parsed or opened.' > - 5) Try 'apt-cache policy apt' and be sad that it doesn't work > - 6) run 'sudo rm /var/lib/apt/lists/*Packages' to clear the error. > + 1) download the dummy-proxy attachment from this bug report > + 2) run dummy-proxy (python dummy-proxy) on a precise system (this > simulates a proxy that is not allowing access to archive.ubuntu.com and > gives you garbage html instead) > + 3) Execute 'http://localhost:8080 sudo apt-get update' in a terminal > + 4) Observe the following error messages in your terminal: > + W: GPG error: http://archive.ubuntu.com precise InRelease: File > /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InRele= ase > doesn't start with a clearsigned message > + W: Failed to fetch > http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index No > Hash entry in Release file /var/lib/apt/lists/partial/ > archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index > + W: Failed to fetch > gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_m= ultiverse_source_Sources > Encountered a section with no Package: header > + 5) Stop dummy-proxy > + 6) Execute 'sudo apt-get update' in a terminal > + 7) Observe the following error message: > + Reading package lists... Done > + W: GPG error: http://archive.ubuntu.com precise Release: The following > signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic > Signing Key > + 8) Remove the problematic files in /var/lib/apt/lists (sudo rm > /var/lib/apt/lists/*) > > - With the proposed package installed repeat steps 1 to 3. > - 4) Observe the following: > - ''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B] > - Ign http://archive.ubuntu.com oneiric InRelease > - E: GPG error: http://archive.ubuntu.com oneiric InRelease: The following > signatures were invalid: NODATA 1 NODATA 2' > - 5) Try 'apt-cache policy apt' and be happy that it works > + Install apt from -proposed > + 1) run dummy-proxy (python dummy-proxy) on a precise system (this > simulates a proxy that is not allowing access to archive.ubuntu.com and > gives you garbarge html instead) > + 2) Execute 'http://localhost:8080 sudo apt-get update' in a terminal > + 3) Observe the following error messages in your terminal: > + W: A error occurred during the signature verification. The repository is > not updated and the previous index files will be used. GPG error: http:// > archive.ubuntu.com precise Release: The following signatures were invalid: > NODATA 1 NODATA 2 > + W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/Relea= se > + W: Some index files failed to download. They have been ignored, or old > ones used instead. > + 4) Stop dummy-proxy > + 5) Execute 'sudo apt-get update' in a terminal > + 6) Observe the update succeed > > ** Attachment added: "dummy-proxy" > > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+attachment/339= 3829/+files/dummy-proxy > > -- > You received this bug notification because you are subscribed to a > duplicate bug report (1041914). > https://bugs.launchpad.net/bugs/346386 > > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" > > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Precise: > Fix Committed > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Fix Released > > Bug description: > Binary package hint: adept-updater > > Pertinent data printed when attempting to run Updater as follows: > > An unresolvable problem occurred while initializing the package > information. > > Please report this bug against the 'update-manager' package and > include the following error message: > > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' > > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get > update. > > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. > > TEST CASE: > 1) download the dummy-proxy attachment from this bug report > 2) run dummy-proxy (python dummy-proxy) on a precise system (this > simulates a proxy that is not allowing access to archive.ubuntu.com and > gives you garbage html instead) > 3) Execute 'http://localhost:8080 sudo apt-get update' in a terminal > 4) Observe the following error messages in your terminal: > W: GPG error: http://archive.ubuntu.com precise InRelease: File > /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InRele= ase > doesn't start with a clearsigned message > W: Failed to fetch > http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index No > Hash entry in Release file /var/lib/apt/lists/partial/ > archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index > W: Failed to fetch > gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_m= ultiverse_source_Sources > Encountered a section with no Package: header > 5) Stop dummy-proxy > 6) Execute 'sudo apt-get update' in a terminal > 7) Observe the following error message: > Reading package lists... Done > W: GPG error: http://archive.ubuntu.com precise Release: The following > signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic > Signing Key > 8) Remove the problematic files in /var/lib/apt/lists (sudo rm > /var/lib/apt/lists/*) > > Install apt from -proposed > 1) run dummy-proxy (python dummy-proxy) on a precise system (this > simulates a proxy that is not allowing access to archive.ubuntu.com and > gives you garbarge html instead) > 2) Execute 'http://localhost:8080 sudo apt-get update' in a terminal > 3) Observe the following error messages in your terminal: > W: A error occurred during the signature verification. The repository is > not updated and the previous index files will be used. GPG error: http:// > archive.ubuntu.com precise Release: The following signatures were invalid: > NODATA 1 NODATA 2 > W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/Relea= se > W: Some index files failed to download. They have been ignored, or old > ones used instead. > 4) Stop dummy-proxy > 5) Execute 'sudo apt-get update' in a terminal > 6) Observe the update succeed > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions > --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: ric (ricartem) Date: Thu, 11 Oct 2012 09:52:38 -0000 Message-Id: <4E0C3A7E9AACE84C80B41F67C9CBC46C471F1D@simexcmb1.simnet.edu.sg> Hi Kayode. Pls close case then. Thank you, _________________________________________________________________________ Privileged / Confidential information may be contained in this message. If = you are not the intended recipient, you must not copy, distribute or use it= for any purpose, nor disclose its contents to any other person. Please not= ify the sender immediately if you have received this in error. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 -----Original Message----- From: bounces@canonical.com [mailto:bounces@canonical.com] On Behalf Of Kay= ode Odusote Sent: Thursday, October 11, 2012 5:11 PM To: Ricarte Malda Jr Subject: Re: [Bug 346386] Re: [MASTER] Update fails with invalid package fi= les with "Encountered a section with no Package: header" Has this bug been fixed or not and if it is has been fixed is the update available with Update Manager? I had the same problem recently whilst doing an update with the Update Manager of 12.04 LTS and had to resort to the work around to fix it. In fact, "sudo rm /var/lib/apt/lists/*" did not remove the .../lists/partial directory but I left it and did the "sudo apt-get update" successfully. Hope someone can find a permanent solution to this. Kayode On 10/10/12, Brian Murray wrote: > Attached you'll find dummy-proxy referred to in the test case and from=20 > Colin Watson in bug 24061. > > ** Description changed: > > Binary package hint: adept-updater > > Pertinent data printed when attempting to run Updater as follows: > > An unresolvable problem occurred while initializing the package > information. > > Please report this bug against the 'update-manager' package and include > the following error message: > > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The package > lists or status file could not be parsed or opened.' > > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get=20 > update. > > In the event that one is connected to a network with a proxy server that > returns html pages (like a web page requesting you to login) and not > package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. > > TEST CASE: > - 1) Ensure /etc/apt/sources.list points to archive.ubuntu.com > - 2) Setup proxy server to block access to archive.ubuntu.com and=20 > return something like=20 > http://people.canonical.com/~brian/tmp/not-packages.html > - 3) Execute 'sudo apt-get update' in a terminal > - 4) Observe the following: > - 'E: Encountered a section with no Package: header > - E: Problem with MergeList > /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-a > md64_Packages > - E: The package lists or status file could not be parsed or opened.' > - 5) Try 'apt-cache policy apt' and be sad that it doesn't work > - 6) run 'sudo rm /var/lib/apt/lists/*Packages' to clear the error. > + 1) download the dummy-proxy attachment from this bug report > + 2) run dummy-proxy (python dummy-proxy) on a precise system (this > simulates a proxy that is not allowing access to archive.ubuntu.com and > gives you garbage html instead) > + 3) Execute 'http://localhost:8080 sudo apt-get update' in a terminal > + 4) Observe the following error messages in your terminal: > + W: GPG error: http://archive.ubuntu.com precise InRelease: File > /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InR > elease doesn't start with a clearsigned message > + W: Failed to fetch > http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index =20 > No Hash entry in Release file /var/lib/apt/lists/partial/=20 > archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index > + W: Failed to fetch > gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_m= ultiverse_source_Sources > Encountered a section with no Package: header > + 5) Stop dummy-proxy > + 6) Execute 'sudo apt-get update' in a terminal > + 7) Observe the following error message: > + Reading package lists... Done > + W: GPG error: http://archive.ubuntu.com precise Release: The=20 > + following > signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic > Signing Key > + 8) Remove the problematic files in /var/lib/apt/lists (sudo rm > /var/lib/apt/lists/*) > > - With the proposed package installed repeat steps 1 to 3. > - 4) Observe the following: > - ''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B] > - Ign http://archive.ubuntu.com oneiric InRelease > - E: GPG error: http://archive.ubuntu.com oneiric InRelease: The=20 > following signatures were invalid: NODATA 1 NODATA 2' > - 5) Try 'apt-cache policy apt' and be happy that it works > + Install apt from -proposed > + 1) run dummy-proxy (python dummy-proxy) on a precise system (this > simulates a proxy that is not allowing access to archive.ubuntu.com and > gives you garbarge html instead) > + 2) Execute 'http://localhost:8080 sudo apt-get update' in a terminal > + 3) Observe the following error messages in your terminal: > + W: A error occurred during the signature verification. The=20 > + repository is > not updated and the previous index files will be used. GPG error:=20 > http:// archive.ubuntu.com precise Release: The following signatures were= invalid: > NODATA 1 NODATA 2 > + W: Failed to fetch=20 > + http://archive.ubuntu.com/ubuntu/dists/precise/Release > + W: Some index files failed to download. They have been ignored, or=20 > + old > ones used instead. > + 4) Stop dummy-proxy > + 5) Execute 'sudo apt-get update' in a terminal > + 6) Observe the update succeed > > ** Attachment added: "dummy-proxy" > > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+attachment/ > 3393829/+files/dummy-proxy > > -- > You received this bug notification because you are subscribed to a=20 > duplicate bug report (1041914). > https://bugs.launchpad.net/bugs/346386 > > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" > > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Precise: > Fix Committed > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Fix Released > > Bug description: > Binary package hint: adept-updater > > Pertinent data printed when attempting to run Updater as follows: > > An unresolvable problem occurred while initializing the package > information. > > Please report this bug against the 'update-manager' package and > include the following error message: > > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' > > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get=20 > update. > > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. > > TEST CASE: > 1) download the dummy-proxy attachment from this bug report > 2) run dummy-proxy (python dummy-proxy) on a precise system (this=20 > simulates a proxy that is not allowing access to archive.ubuntu.com and > gives you garbage html instead) > 3) Execute 'http://localhost:8080 sudo apt-get update' in a terminal > 4) Observe the following error messages in your terminal: > W: GPG error: http://archive.ubuntu.com precise InRelease: File=20 > /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InR > elease doesn't start with a clearsigned message > W: Failed to fetch > http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index =20 > No Hash entry in Release file /var/lib/apt/lists/partial/=20 > archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index > W: Failed to fetch > gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_m= ultiverse_source_Sources > Encountered a section with no Package: header > 5) Stop dummy-proxy > 6) Execute 'sudo apt-get update' in a terminal > 7) Observe the following error message: > Reading package lists... Done > W: GPG error: http://archive.ubuntu.com precise Release: The=20 > following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive= Automatic > Signing Key > 8) Remove the problematic files in /var/lib/apt/lists (sudo rm > /var/lib/apt/lists/*) > > Install apt from -proposed > 1) run dummy-proxy (python dummy-proxy) on a precise system (this=20 > simulates a proxy that is not allowing access to archive.ubuntu.com and > gives you garbarge html instead) > 2) Execute 'http://localhost:8080 sudo apt-get update' in a terminal > 3) Observe the following error messages in your terminal: > W: A error occurred during the signature verification. The=20 > repository is not updated and the previous index files will be used.=20 > GPG error: http:// archive.ubuntu.com precise Release: The following sign= atures were invalid: > NODATA 1 NODATA 2 > W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/Relea= se > W: Some index files failed to download. They have been ignored, or=20 > old ones used instead. > 4) Stop dummy-proxy > 5) Execute 'sudo apt-get update' in a terminal > 6) Observe the update succeed > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptio > ns > -- You received this bug notification because you are subscribed to a duplicat= e bug report (1037478). https://bugs.launchpad.net/bugs/346386 Title: [MASTER] Update fails with invalid package files with "Encountered a section with no Package: header" Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: Fix Released Status in =E2=80=9Capt=E2=80=9D source package in Natty: Fix Released Status in =E2=80=9Capt=E2=80=9D source package in Precise: Fix Committed Status in =E2=80=9Capt=E2=80=9D package in Debian: Fix Released Bug description: Binary package hint: adept-updater Pertinent data printed when attempting to run Updater as follows: An unresolvable problem occurred while initializing the package information. Please report this bug against the 'update-manager' package and include the following error message: 'E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The package lists or status file could not be parsed or opened.' WORKAROUND: Remove problematic files from /var/lib/apt/lists/ and rerun apt-get updat= e. In the event that one is connected to a network with a proxy server that returns html pages (like a web page requesting you to login) and not package list files. Those html files will get downloaded to /var/lib/apt/lists/ and prevent someone from using a package manager until the problem html pages are removed. TEST CASE: 1) download the dummy-proxy attachment from this bug report 2) run dummy-proxy (python dummy-proxy) on a precise system (this simulat= es a proxy that is not allowing access to archive.ubuntu.com and gives you = garbage html instead) 3) Execute 'http://localhost:8080 sudo apt-get update' in a terminal 4) Observe the following error messages in your terminal: W: GPG error: http://archive.ubuntu.com precise InRelease: File /var/lib/= apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InRelease doesn't= start with a clearsigned message W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/multive= rse/i18n/Index No Hash entry in Release file /var/lib/apt/lists/partial/ = archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubu= ntu_dists_precise_multiverse_source_Sources Encountered a section with no = Package: header 5) Stop dummy-proxy 6) Execute 'sudo apt-get update' in a terminal 7) Observe the following error message: Reading package lists... Done W: GPG error: http://archive.ubuntu.com precise Release: The following si= gnatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic = Signing Key 8) Remove the problematic files in /var/lib/apt/lists (sudo rm /var/lib/a= pt/lists/*) Install apt from -proposed 1) run dummy-proxy (python dummy-proxy) on a precise system (this simulat= es a proxy that is not allowing access to archive.ubuntu.com and gives you = garbarge html instead) 2) Execute 'http://localhost:8080 sudo apt-get update' in a terminal 3) Observe the following error messages in your terminal: W: A error occurred during the signature verification. The repository is = not updated and the previous index files will be used. GPG error: http:// = archive.ubuntu.com precise Release: The following signatures were invalid= : NODATA 1 NODATA 2 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/Release W: Some index files failed to download. They have been ignored, or old on= es used instead. 4) Stop dummy-proxy 5) Execute 'sudo apt-get update' in a terminal 6) Observe the update succeed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Kayode Odusote (odusote-kayode) Date: Thu, 11 Oct 2012 12:09:44 -0000 Message-Id: Dear Ric, If we close the case now then it would never be fixed and we would be dependent of the work around permanently. Kayode On 10/11/12, ric wrote: > Hi Kayode. > > Pls close case then. > > > Thank you, > > > > _________________________________________________________________________ > Privileged / Confidential information may be contained in this message. If > you are not the intended recipient, you must not copy, distribute or use = it > for any purpose, nor disclose its contents to any other person. Please > notify the sender immediately if you have received this in error. > > > > > > > > > -----Original Message----- > From: bounces@canonical.com [mailto:bounces@canonical.com] On Behalf Of > Kayode Odusote > Sent: Thursday, October 11, 2012 5:11 PM > To: Ricarte Malda Jr > Subject: Re: [Bug 346386] Re: [MASTER] Update fails with invalid package > files with "Encountered a section with no Package: header" > > Has this bug been fixed or not and if it is has been fixed is the update > available with Update Manager? > > I had the same problem recently whilst doing an update with the Update > Manager of 12.04 LTS and had to resort to the work around to fix it. > > In fact, "sudo rm /var/lib/apt/lists/*" did not remove the > .../lists/partial directory but I left it and did the "sudo apt-get > update" successfully. > > Hope someone can find a permanent solution to this. > > Kayode > > > On 10/10/12, Brian Murray wrote: >> Attached you'll find dummy-proxy referred to in the test case and from >> Colin Watson in bug 24061. >> >> ** Description changed: >> >> Binary package hint: adept-updater >> >> Pertinent data printed when attempting to run Updater as follows: >> >> An unresolvable problem occurred while initializing the package >> information. >> >> Please report this bug against the 'update-manager' package and include >> the following error message: >> >> 'E:Encountered a section with no Package: header, E:Problem with >> MergeList /var/lib/apt/lists/us.archive.ubuntu >> .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The >> package >> lists or status file could not be parsed or opened.' >> >> WORKAROUND: >> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get >> update. >> >> In the event that one is connected to a network with a proxy server >> that >> returns html pages (like a web page requesting you to login) and not >> package list files. Those html files will get downloaded to >> /var/lib/apt/lists/ and prevent someone from using a package manager >> until the problem html pages are removed. >> >> TEST CASE: >> - 1) Ensure /etc/apt/sources.list points to archive.ubuntu.com >> - 2) Setup proxy server to block access to archive.ubuntu.com and >> return something like >> http://people.canonical.com/~brian/tmp/not-packages.html >> - 3) Execute 'sudo apt-get update' in a terminal >> - 4) Observe the following: >> - 'E: Encountered a section with no Package: header >> - E: Problem with MergeList >> /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-a >> md64_Packages >> - E: The package lists or status file could not be parsed or opened.' >> - 5) Try 'apt-cache policy apt' and be sad that it doesn't work >> - 6) run 'sudo rm /var/lib/apt/lists/*Packages' to clear the error. >> + 1) download the dummy-proxy attachment from this bug report >> + 2) run dummy-proxy (python dummy-proxy) on a precise system (this >> simulates a proxy that is not allowing access to archive.ubuntu.com and >> gives you garbage html instead) >> + 3) Execute 'http://localhost:8080 sudo apt-get update' in a terminal >> + 4) Observe the following error messages in your terminal: >> + W: GPG error: http://archive.ubuntu.com precise InRelease: File >> /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InR >> elease doesn't start with a clearsigned message >> + W: Failed to fetch >> http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index >> No Hash entry in Release file /var/lib/apt/lists/partial/ >> archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index >> + W: Failed to fetch >> gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_= multiverse_source_Sources >> Encountered a section with no Package: header >> + 5) Stop dummy-proxy >> + 6) Execute 'sudo apt-get update' in a terminal >> + 7) Observe the following error message: >> + Reading package lists... Done >> + W: GPG error: http://archive.ubuntu.com precise Release: The >> + following >> signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic >> Signing Key >> + 8) Remove the problematic files in /var/lib/apt/lists (sudo rm >> /var/lib/apt/lists/*) >> >> - With the proposed package installed repeat steps 1 to 3. >> - 4) Observe the following: >> - ''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B] >> - Ign http://archive.ubuntu.com oneiric InRelease >> - E: GPG error: http://archive.ubuntu.com oneiric InRelease: The >> following signatures were invalid: NODATA 1 NODATA 2' >> - 5) Try 'apt-cache policy apt' and be happy that it works >> + Install apt from -proposed >> + 1) run dummy-proxy (python dummy-proxy) on a precise system (this >> simulates a proxy that is not allowing access to archive.ubuntu.com and >> gives you garbarge html instead) >> + 2) Execute 'http://localhost:8080 sudo apt-get update' in a terminal >> + 3) Observe the following error messages in your terminal: >> + W: A error occurred during the signature verification. The >> + repository is >> not updated and the previous index files will be used. GPG error: >> http:// archive.ubuntu.com precise Release: The following signatures were >> invalid: >> NODATA 1 NODATA 2 >> + W: Failed to fetch >> + http://archive.ubuntu.com/ubuntu/dists/precise/Release >> + W: Some index files failed to download. They have been ignored, or >> + old >> ones used instead. >> + 4) Stop dummy-proxy >> + 5) Execute 'sudo apt-get update' in a terminal >> + 6) Observe the update succeed >> >> ** Attachment added: "dummy-proxy" >> >> https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+attachment/ >> 3393829/+files/dummy-proxy >> >> -- >> You received this bug notification because you are subscribed to a >> duplicate bug report (1041914). >> https://bugs.launchpad.net/bugs/346386 >> >> Title: >> [MASTER] Update fails with invalid package files with "Encountered a >> section with no Package: header" >> >> Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: >> Fix Released >> Status in =E2=80=9Capt=E2=80=9D source package in Natty: >> Fix Released >> Status in =E2=80=9Capt=E2=80=9D source package in Precise: >> Fix Committed >> Status in =E2=80=9Capt=E2=80=9D package in Debian: >> Fix Released >> >> Bug description: >> Binary package hint: adept-updater >> >> Pertinent data printed when attempting to run Updater as follows: >> >> An unresolvable problem occurred while initializing the package >> information. >> >> Please report this bug against the 'update-manager' package and >> include the following error message: >> >> 'E:Encountered a section with no Package: header, E:Problem with >> MergeList /var/lib/apt/lists/us.archive.ubuntu >> .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The >> package lists or status file could not be parsed or opened.' >> >> WORKAROUND: >> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get >> update. >> >> In the event that one is connected to a network with a proxy server >> that returns html pages (like a web page requesting you to login) and >> not package list files. Those html files will get downloaded to >> /var/lib/apt/lists/ and prevent someone from using a package manager >> until the problem html pages are removed. >> >> TEST CASE: >> 1) download the dummy-proxy attachment from this bug report >> 2) run dummy-proxy (python dummy-proxy) on a precise system (this >> simulates a proxy that is not allowing access to archive.ubuntu.com and >> gives you garbage html instead) >> 3) Execute 'http://localhost:8080 sudo apt-get update' in a terminal >> 4) Observe the following error messages in your terminal: >> W: GPG error: http://archive.ubuntu.com precise InRelease: File >> /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InR >> elease doesn't start with a clearsigned message >> W: Failed to fetch >> http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index >> No Hash entry in Release file /var/lib/apt/lists/partial/ >> archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index >> W: Failed to fetch >> gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_= multiverse_source_Sources >> Encountered a section with no Package: header >> 5) Stop dummy-proxy >> 6) Execute 'sudo apt-get update' in a terminal >> 7) Observe the following error message: >> Reading package lists... Done >> W: GPG error: http://archive.ubuntu.com precise Release: The >> following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive >> Automatic >> Signing Key >> 8) Remove the problematic files in /var/lib/apt/lists (sudo rm >> /var/lib/apt/lists/*) >> >> Install apt from -proposed >> 1) run dummy-proxy (python dummy-proxy) on a precise system (this >> simulates a proxy that is not allowing access to archive.ubuntu.com and >> gives you garbarge html instead) >> 2) Execute 'http://localhost:8080 sudo apt-get update' in a terminal >> 3) Observe the following error messages in your terminal: >> W: A error occurred during the signature verification. The >> repository is not updated and the previous index files will be used. >> GPG error: http:// archive.ubuntu.com precise Release: The following >> signatures were invalid: >> NODATA 1 NODATA 2 >> W: Failed to fetch >> http://archive.ubuntu.com/ubuntu/dists/precise/Release >> W: Some index files failed to download. They have been ignored, or >> old ones used instead. >> 4) Stop dummy-proxy >> 5) Execute 'sudo apt-get update' in a terminal >> 6) Observe the update succeed >> >> To manage notifications about this bug go to: >> https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptio >> ns >> > > -- > You received this bug notification because you are subscribed to a duplic= ate > bug report (1037478). > https://bugs.launchpad.net/bugs/346386 > > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" > > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Precise: > Fix Committed > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Fix Released > > Bug description: > Binary package hint: adept-updater > > Pertinent data printed when attempting to run Updater as follows: > > An unresolvable problem occurred while initializing the package > information. > > Please report this bug against the 'update-manager' package and > include the following error message: > > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' > > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get > update. > > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. > > TEST CASE: > 1) download the dummy-proxy attachment from this bug report > 2) run dummy-proxy (python dummy-proxy) on a precise system (this > simulates a proxy that is not allowing access to archive.ubuntu.com and > gives you garbage html instead) > 3) Execute 'http://localhost:8080 sudo apt-get update' in a terminal > 4) Observe the following error messages in your terminal: > W: GPG error: http://archive.ubuntu.com precise InRelease: File > /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InRele= ase > doesn't start with a clearsigned message > W: Failed to fetch > http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index No > Hash entry in Release file /var/lib/apt/lists/partial/ > archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index > W: Failed to fetch > gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_m= ultiverse_source_Sources > Encountered a section with no Package: header > 5) Stop dummy-proxy > 6) Execute 'sudo apt-get update' in a terminal > 7) Observe the following error message: > Reading package lists... Done > W: GPG error: http://archive.ubuntu.com precise Release: The following > signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic > Signing Key > 8) Remove the problematic files in /var/lib/apt/lists (sudo rm > /var/lib/apt/lists/*) > > Install apt from -proposed > 1) run dummy-proxy (python dummy-proxy) on a precise system (this > simulates a proxy that is not allowing access to archive.ubuntu.com and > gives you garbarge html instead) > 2) Execute 'http://localhost:8080 sudo apt-get update' in a terminal > 3) Observe the following error messages in your terminal: > W: A error occurred during the signature verification. The repository is > not updated and the previous index files will be used. GPG error: http:// > archive.ubuntu.com precise Release: The following signatures were invalid: > NODATA 1 NODATA 2 > W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/Relea= se > W: Some index files failed to download. They have been ignored, or old > ones used instead. > 4) Stop dummy-proxy > 5) Execute 'sudo apt-get update' in a terminal > 6) Observe the update succeed > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions > > -- > You received this bug notification because you are subscribed to a > duplicate bug report (1041914). > https://bugs.launchpad.net/bugs/346386 > > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" > > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Precise: > Fix Committed > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Fix Released > > Bug description: > Binary package hint: adept-updater > > Pertinent data printed when attempting to run Updater as follows: > > An unresolvable problem occurred while initializing the package > information. > > Please report this bug against the 'update-manager' package and > include the following error message: > > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' > > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get > update. > > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. > > TEST CASE: > 1) download the dummy-proxy attachment from this bug report > 2) run dummy-proxy (python dummy-proxy) on a precise system (this > simulates a proxy that is not allowing access to archive.ubuntu.com and > gives you garbage html instead) > 3) Execute 'http://localhost:8080 sudo apt-get update' in a terminal > 4) Observe the following error messages in your terminal: > W: GPG error: http://archive.ubuntu.com precise InRelease: File > /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InRele= ase > doesn't start with a clearsigned message > W: Failed to fetch > http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index No > Hash entry in Release file /var/lib/apt/lists/partial/ > archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index > W: Failed to fetch > gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_m= ultiverse_source_Sources > Encountered a section with no Package: header > 5) Stop dummy-proxy > 6) Execute 'sudo apt-get update' in a terminal > 7) Observe the following error message: > Reading package lists... Done > W: GPG error: http://archive.ubuntu.com precise Release: The following > signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic > Signing Key > 8) Remove the problematic files in /var/lib/apt/lists (sudo rm > /var/lib/apt/lists/*) > > Install apt from -proposed > 1) run dummy-proxy (python dummy-proxy) on a precise system (this > simulates a proxy that is not allowing access to archive.ubuntu.com and > gives you garbarge html instead) > 2) Execute 'http://localhost:8080 sudo apt-get update' in a terminal > 3) Observe the following error messages in your terminal: > W: A error occurred during the signature verification. The repository is > not updated and the previous index files will be used. GPG error: http:// > archive.ubuntu.com precise Release: The following signatures were invalid: > NODATA 1 NODATA 2 > W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/Relea= se > W: Some index files failed to download. They have been ignored, or old > ones used instead. > 4) Stop dummy-proxy > 5) Execute 'sudo apt-get update' in a terminal > 6) Observe the update succeed > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions > --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Mazilu Alexandra Cornelia (tigru132) Date: Thu, 11 Oct 2012 13:46:33 -0000 Message-Id: the bug fixed, you are right about "sudo rm /var/lib/apt/lists/*" did not remove the .../lists/partial directory but the "sudo apt-get update" worked and now i don't have any problem. thank you On Thu, Oct 11, 2012 at 10:10 AM, Kayode Odusote wrote: > Has this bug been fixed or not and if it is has been fixed is the > update available with Update Manager? > > I had the same problem recently whilst doing an update with the Update > Manager of 12.04 LTS and had to resort to the work around to fix it. > > In fact, "sudo rm /var/lib/apt/lists/*" did not remove the > .../lists/partial directory but I left it and did the "sudo apt-get > update" successfully. > > Hope someone can find a permanent solution to this. > > Kayode > > > > On 10/10/12, Brian Murray wrote: > > Attached you'll find dummy-proxy referred to in the test case and from > > Colin Watson in bug 24061. > > > > ** Description changed: > > > > Binary package hint: adept-updater > > > > Pertinent data printed when attempting to run Updater as follows: > > > > An unresolvable problem occurred while initializing the package > > information. > > > > Please report this bug against the 'update-manager' package and inclu= de > > the following error message: > > > > 'E:Encountered a section with no Package: header, E:Problem with > > MergeList /var/lib/apt/lists/us.archive.ubuntu > > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package > > lists or status file could not be parsed or opened.' > > > > WORKAROUND: > > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get > > update. > > > > In the event that one is connected to a network with a proxy server > that > > returns html pages (like a web page requesting you to login) and not > > package list files. Those html files will get downloaded to > > /var/lib/apt/lists/ and prevent someone from using a package manager > > until the problem html pages are removed. > > > > TEST CASE: > > - 1) Ensure /etc/apt/sources.list points to archive.ubuntu.com > > - 2) Setup proxy server to block access to archive.ubuntu.com and return > > something like http://people.canonical.com/~brian/tmp/not-packages.html > > - 3) Execute 'sudo apt-get update' in a terminal > > - 4) Observe the following: > > - 'E: Encountered a section with no Package: header > > - E: Problem with MergeList > > > /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-amd6= 4_Packages > > - E: The package lists or status file could not be parsed or opened.' > > - 5) Try 'apt-cache policy apt' and be sad that it doesn't work > > - 6) run 'sudo rm /var/lib/apt/lists/*Packages' to clear the error. > > + 1) download the dummy-proxy attachment from this bug report > > + 2) run dummy-proxy (python dummy-proxy) on a precise system (this > > simulates a proxy that is not allowing access to archive.ubuntu.com and > > gives you garbage html instead) > > + 3) Execute 'http://localhost:8080 sudo apt-get update' in a terminal > > + 4) Observe the following error messages in your terminal: > > + W: GPG error: http://archive.ubuntu.com precise InRelease: File > > > /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InRele= ase > > doesn't start with a clearsigned message > > + W: Failed to fetch > > http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index No > > Hash entry in Release file /var/lib/apt/lists/partial/ > > archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index > > + W: Failed to fetch > > > gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_m= ultiverse_source_Sources > > Encountered a section with no Package: header > > + 5) Stop dummy-proxy > > + 6) Execute 'sudo apt-get update' in a terminal > > + 7) Observe the following error message: > > + Reading package lists... Done > > + W: GPG error: http://archive.ubuntu.com precise Release: The following > > signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automat= ic > > Signing Key > > + 8) Remove the problematic files in /var/lib/apt/lists (sudo rm > > /var/lib/apt/lists/*) > > > > - With the proposed package installed repeat steps 1 to 3. > > - 4) Observe the following: > > - ''Get:1 http://archive.ubuntu.com oneiric InRelease [189 B] > > - Ign http://archive.ubuntu.com oneiric InRelease > > - E: GPG error: http://archive.ubuntu.com oneiric InRelease: The > following > > signatures were invalid: NODATA 1 NODATA 2' > > - 5) Try 'apt-cache policy apt' and be happy that it works > > + Install apt from -proposed > > + 1) run dummy-proxy (python dummy-proxy) on a precise system (this > > simulates a proxy that is not allowing access to archive.ubuntu.com and > > gives you garbarge html instead) > > + 2) Execute 'http://localhost:8080 sudo apt-get update' in a terminal > > + 3) Observe the following error messages in your terminal: > > + W: A error occurred during the signature verification. The repository > is > > not updated and the previous index files will be used. GPG error: http:= // > > archive.ubuntu.com precise Release: The following signatures were > invalid: > > NODATA 1 NODATA 2 > > + W: Failed to fetch > http://archive.ubuntu.com/ubuntu/dists/precise/Release > > + W: Some index files failed to download. They have been ignored, or old > > ones used instead. > > + 4) Stop dummy-proxy > > + 5) Execute 'sudo apt-get update' in a terminal > > + 6) Observe the update succeed > > > > ** Attachment added: "dummy-proxy" > > > > > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+attachment/339= 3829/+files/dummy-proxy > > > > -- > > You received this bug notification because you are subscribed to a > > duplicate bug report (1041914). > > https://bugs.launchpad.net/bugs/346386 > > > > Title: > > [MASTER] Update fails with invalid package files with "Encountered a > > section with no Package: header" > > > > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > > Fix Released > > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > > Fix Released > > Status in =E2=80=9Capt=E2=80=9D source package in Precise: > > Fix Committed > > Status in =E2=80=9Capt=E2=80=9D package in Debian: > > Fix Released > > > > Bug description: > > Binary package hint: adept-updater > > > > Pertinent data printed when attempting to run Updater as follows: > > > > An unresolvable problem occurred while initializing the package > > information. > > > > Please report this bug against the 'update-manager' package and > > include the following error message: > > > > 'E:Encountered a section with no Package: header, E:Problem with > > MergeList /var/lib/apt/lists/us.archive.ubuntu > > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > > package lists or status file could not be parsed or opened.' > > > > WORKAROUND: > > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get > > update. > > > > In the event that one is connected to a network with a proxy server > > that returns html pages (like a web page requesting you to login) and > > not package list files. Those html files will get downloaded to > > /var/lib/apt/lists/ and prevent someone from using a package manager > > until the problem html pages are removed. > > > > TEST CASE: > > 1) download the dummy-proxy attachment from this bug report > > 2) run dummy-proxy (python dummy-proxy) on a precise system (this > > simulates a proxy that is not allowing access to archive.ubuntu.com and > > gives you garbage html instead) > > 3) Execute 'http://localhost:8080 sudo apt-get update' in a terminal > > 4) Observe the following error messages in your terminal: > > W: GPG error: http://archive.ubuntu.com precise InRelease: File > > > /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InRele= ase > > doesn't start with a clearsigned message > > W: Failed to fetch > > http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index No > > Hash entry in Release file /var/lib/apt/lists/partial/ > > archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index > > W: Failed to fetch > > > gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_m= ultiverse_source_Sources > > Encountered a section with no Package: header > > 5) Stop dummy-proxy > > 6) Execute 'sudo apt-get update' in a terminal > > 7) Observe the following error message: > > Reading package lists... Done > > W: GPG error: http://archive.ubuntu.com precise Release: The following > > signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automat= ic > > Signing Key > > 8) Remove the problematic files in /var/lib/apt/lists (sudo rm > > /var/lib/apt/lists/*) > > > > Install apt from -proposed > > 1) run dummy-proxy (python dummy-proxy) on a precise system (this > > simulates a proxy that is not allowing access to archive.ubuntu.com and > > gives you garbarge html instead) > > 2) Execute 'http://localhost:8080 sudo apt-get update' in a terminal > > 3) Observe the following error messages in your terminal: > > W: A error occurred during the signature verification. The repository > is > > not updated and the previous index files will be used. GPG error: http:= // > > archive.ubuntu.com precise Release: The following signatures were > invalid: > > NODATA 1 NODATA 2 > > W: Failed to fetch > http://archive.ubuntu.com/ubuntu/dists/precise/Release > > W: Some index files failed to download. They have been ignored, or old > > ones used instead. > > 4) Stop dummy-proxy > > 5) Execute 'sudo apt-get update' in a terminal > > 6) Observe the update succeed > > > > To manage notifications about this bug go to: > > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions > > > > -- > You received this bug notification because you are subscribed to a > duplicate bug report (1049580). > https://bugs.launchpad.net/bugs/346386 > > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" > > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Precise: > Fix Committed > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Fix Released > > Bug description: > Binary package hint: adept-updater > > Pertinent data printed when attempting to run Updater as follows: > > An unresolvable problem occurred while initializing the package > information. > > Please report this bug against the 'update-manager' package and > include the following error message: > > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' > > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get > update. > > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. > > TEST CASE: > 1) download the dummy-proxy attachment from this bug report > 2) run dummy-proxy (python dummy-proxy) on a precise system (this > simulates a proxy that is not allowing access to archive.ubuntu.com and > gives you garbage html instead) > 3) Execute 'http://localhost:8080 sudo apt-get update' in a terminal > 4) Observe the following error messages in your terminal: > W: GPG error: http://archive.ubuntu.com precise InRelease: File > /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InRele= ase > doesn't start with a clearsigned message > W: Failed to fetch > http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index No > Hash entry in Release file /var/lib/apt/lists/partial/ > archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index > W: Failed to fetch > gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_m= ultiverse_source_Sources > Encountered a section with no Package: header > 5) Stop dummy-proxy > 6) Execute 'sudo apt-get update' in a terminal > 7) Observe the following error message: > Reading package lists... Done > W: GPG error: http://archive.ubuntu.com precise Release: The following > signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic > Signing Key > 8) Remove the problematic files in /var/lib/apt/lists (sudo rm > /var/lib/apt/lists/*) > > Install apt from -proposed > 1) run dummy-proxy (python dummy-proxy) on a precise system (this > simulates a proxy that is not allowing access to archive.ubuntu.com and > gives you garbarge html instead) > 2) Execute 'http://localhost:8080 sudo apt-get update' in a terminal > 3) Observe the following error messages in your terminal: > W: A error occurred during the signature verification. The repository is > not updated and the previous index files will be used. GPG error: http:// > archive.ubuntu.com precise Release: The following signatures were > invalid: NODATA 1 NODATA 2 > W: Failed to fetch > http://archive.ubuntu.com/ubuntu/dists/precise/Release > W: Some index files failed to download. They have been ignored, or old > ones used instead. > 4) Stop dummy-proxy > 5) Execute 'sudo apt-get update' in a terminal > 6) Observe the update succeed > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions > --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Brian Murray (brian-murray) Date: Thu, 11 Oct 2012 15:08:03 -0000 Message-Id: <20121011150803.20857.77847.malone@chaenomeles.canonical.com> This bug report has multiple 'tasks' for the different releases in which it needs to be fixed. We have fixed this in the Quantal release of Ubuntu which will become 12.10. We are also actively working on fixing this in the 12.04 release of Ubuntu. When an updated version of apt is in the -proposed repository for 12.04 there will be a comment made on this bug report and it will contain information about how you can help test the fix so that we can move the package to the -updates repository. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Brian Murray (brian-murray) Date: Thu, 11 Oct 2012 19:49:05 -0000 Message-Id: <20121011194905.26329.60688.malone@soybean.canonical.com> Hello RonParent, or anyone else affected, Accepted apt into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/apt/0.8.16~exp12ubuntu10.4 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Chris Hunt (chranval) Date: Fri, 12 Oct 2012 07:25:41 -0000 Message-Id: <5077C5F5.2070505@btinternet.com> Brian Thanks for this. When I go to delete the file I don=E2=80=99t have permission. Why is that, can you help. Thanks Chris Hunt On 10/10/12 22:17, Brian Murray wrote: > ** Changed in: apt (Ubuntu Precise) > Status: Confirmed =3D> Fix Committed > > ** Changed in: apt (Ubuntu Precise) > Importance: Undecided =3D> High > --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Manuel Spuhler (mspuhler35) Date: Fri, 12 Oct 2012 09:07:29 -0000 Message-Id: <5077DDD1.6060908@gmail.com> Hey Chris You can delete it in the Terminal with root: "sudo rm /..." or you can open Nautilus with root: "sudo nautilus" an there delete it. Bye Manuel Spuhler Am 12.10.2012 09:25, schrieb Chris Hunt: > Brian > Thanks for this. > When I go to delete the file I don=E2=80=99t have permission. > Why is that, can you help. > Thanks > Chris Hunt > > > On 10/10/12 22:17, Brian Murray wrote: >> ** Changed in: apt (Ubuntu Precise) >> Status: Confirmed =3D> Fix Committed >> >> ** Changed in: apt (Ubuntu Precise) >> Importance: Undecided =3D> High >> --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: David Parry (d-dry-parry) Date: Fri, 12 Oct 2012 12:00:00 -0000 Message-Id: sudo before the command then you will David Parry On Fri, Oct 12, 2012 at 3:25 AM, Chris Hunt <346386@bugs.launchpad.net> wro= te: > Brian > Thanks for this. > When I go to delete the file I don=E2=80=99t have permission. > Why is that, can you help. > Thanks > Chris Hunt > > > On 10/10/12 22:17, Brian Murray wrote: >> ** Changed in: apt (Ubuntu Precise) >> Status: Confirmed =3D> Fix Committed >> >> ** Changed in: apt (Ubuntu Precise) >> Importance: Undecided =3D> High >> > > -- > You received this bug notification because you are subscribed to a > duplicate bug report (1064994). > https://bugs.launchpad.net/bugs/346386 > > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" > > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Precise: > Fix Committed > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Fix Released > > Bug description: > Binary package hint: adept-updater > > Pertinent data printed when attempting to run Updater as follows: > > An unresolvable problem occurred while initializing the package > information. > > Please report this bug against the 'update-manager' package and > include the following error message: > > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' > > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get upd= ate. > > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. > > TEST CASE: > 1) download the dummy-proxy attachment from this bug report > 2) run dummy-proxy (python dummy-proxy) on a precise system (this simul= ates a proxy that is not allowing access to archive.ubuntu.com and gives yo= u garbage html instead) > 3) Execute 'http://localhost:8080 sudo apt-get update' in a terminal > 4) Observe the following error messages in your terminal: > W: GPG error: http://archive.ubuntu.com precise InRelease: File /var/li= b/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InRelease doesn= 't start with a clearsigned message > W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/multi= verse/i18n/Index No Hash entry in Release file /var/lib/apt/lists/partial/= archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index > W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_u= buntu_dists_precise_multiverse_source_Sources Encountered a section with no= Package: header > 5) Stop dummy-proxy > 6) Execute 'sudo apt-get update' in a terminal > 7) Observe the following error message: > Reading package lists... Done > W: GPG error: http://archive.ubuntu.com precise Release: The following = signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic = Signing Key > 8) Remove the problematic files in /var/lib/apt/lists (sudo rm /var/lib= /apt/lists/*) > > Install apt from -proposed > 1) run dummy-proxy (python dummy-proxy) on a precise system (this simul= ates a proxy that is not allowing access to archive.ubuntu.com and gives yo= u garbarge html instead) > 2) Execute 'http://localhost:8080 sudo apt-get update' in a terminal > 3) Observe the following error messages in your terminal: > W: A error occurred during the signature verification. The repository i= s not updated and the previous index files will be used. GPG error: http://= archive.ubuntu.com precise Release: The following signatures were inval= id: NODATA 1 NODATA 2 > W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/Relea= se > W: Some index files failed to download. They have been ignored, or old = ones used instead. > 4) Stop dummy-proxy > 5) Execute 'sudo apt-get update' in a terminal > 6) Observe the update succeed > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Les H (les-horrocks) Date: Fri, 12 Oct 2012 17:11:20 -0000 Message-Id: <2EED9ABBB6694F9DB3A3D32265FC9AC9@HerPC> Couldn't we ask everyone to stop using the "reply to all" button? ----- Original Message -----=20 From: "David Parry" To: Sent: Friday, October 12, 2012 2:00 PM Subject: Re: [Bug 346386] Re: [MASTER] Update fails with invalid package=20 fileswith "Encountered a section with no Package: header" sudo before the command then you will David Parry On Fri, Oct 12, 2012 at 3:25 AM, Chris Hunt <346386@bugs.launchpad.net>=20 wrote: > Brian > Thanks for this. > When I go to delete the file I don=E2=80=99t have permission. > Why is that, can you help. > Thanks > Chris Hunt > > > On 10/10/12 22:17, Brian Murray wrote: >> ** Changed in: apt (Ubuntu Precise) >> Status: Confirmed =3D> Fix Committed >> >> ** Changed in: apt (Ubuntu Precise) >> Importance: Undecided =3D> High >> > > -- > You received this bug notification because you are subscribed to a > duplicate bug report (1064994). > https://bugs.launchpad.net/bugs/346386 > > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" > > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Precise: > Fix Committed > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Fix Released > > Bug description: > Binary package hint: adept-updater > > Pertinent data printed when attempting to run Updater as follows: > > An unresolvable problem occurred while initializing the package > information. > > Please report this bug against the 'update-manager' package and > include the following error message: > > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' > > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get=20 > update. > > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. > > TEST CASE: > 1) download the dummy-proxy attachment from this bug report > 2) run dummy-proxy (python dummy-proxy) on a precise system (this=20 > simulates a proxy that is not allowing access to archive.ubuntu.com and=20 > gives you garbage html instead) > 3) Execute 'http://localhost:8080 sudo apt-get update' in a terminal > 4) Observe the following error messages in your terminal: > W: GPG error: http://archive.ubuntu.com precise InRelease: File=20 > /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InRele= ase=20 > doesn't start with a clearsigned message > W: Failed to fetch=20 > http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index No = > Hash entry in Release file /var/lib/apt/lists/partial/=20 > archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index > W: Failed to fetch=20 > gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_m= ultiverse_source_Sources=20 > Encountered a section with no Package: header > 5) Stop dummy-proxy > 6) Execute 'sudo apt-get update' in a terminal > 7) Observe the following error message: > Reading package lists... Done > W: GPG error: http://archive.ubuntu.com precise Release: The following = > signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic= =20 > Signing Key > 8) Remove the problematic files in /var/lib/apt/lists (sudo rm=20 > /var/lib/apt/lists/*) > > Install apt from -proposed > 1) run dummy-proxy (python dummy-proxy) on a precise system (this=20 > simulates a proxy that is not allowing access to archive.ubuntu.com and=20 > gives you garbarge html instead) > 2) Execute 'http://localhost:8080 sudo apt-get update' in a terminal > 3) Observe the following error messages in your terminal: > W: A error occurred during the signature verification. The repository i= s=20 > not updated and the previous index files will be used. GPG error: http://= =20 > archive.ubuntu.com precise Release: The following signatures were invalid= :=20 > NODATA 1 NODATA 2 > W: Failed to fetch=20 > http://archive.ubuntu.com/ubuntu/dists/precise/Release > W: Some index files failed to download. They have been ignored, or old = > ones used instead. > 4) Stop dummy-proxy > 5) Execute 'sudo apt-get update' in a terminal > 6) Observe the update succeed > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions --=20 You received this bug notification because you are subscribed to a duplicate bug report (1055368). https://bugs.launchpad.net/bugs/346386 Title: [MASTER] Update fails with invalid package files with "Encountered a section with no Package: header" Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: Fix Released Status in =E2=80=9Capt=E2=80=9D source package in Natty: Fix Released Status in =E2=80=9Capt=E2=80=9D source package in Precise: Fix Committed Status in =E2=80=9Capt=E2=80=9D package in Debian: Fix Released Bug description: Binary package hint: adept-updater Pertinent data printed when attempting to run Updater as follows: An unresolvable problem occurred while initializing the package information. Please report this bug against the 'update-manager' package and include the following error message: 'E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The package lists or status file could not be parsed or opened.' WORKAROUND: Remove problematic files from /var/lib/apt/lists/ and rerun apt-get=20 update. In the event that one is connected to a network with a proxy server that returns html pages (like a web page requesting you to login) and not package list files. Those html files will get downloaded to /var/lib/apt/lists/ and prevent someone from using a package manager until the problem html pages are removed. TEST CASE: 1) download the dummy-proxy attachment from this bug report 2) run dummy-proxy (python dummy-proxy) on a precise system (this=20 simulates a proxy that is not allowing access to archive.ubuntu.com and=20 gives you garbage html instead) 3) Execute 'http://localhost:8080 sudo apt-get update' in a terminal 4) Observe the following error messages in your terminal: W: GPG error: http://archive.ubuntu.com precise InRelease: File=20 /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InReleas= e=20 doesn't start with a clearsigned message W: Failed to fetch=20 http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index No=20 Hash entry in Release file /var/lib/apt/lists/partial/=20 archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index W: Failed to fetch=20 gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_mul= tiverse_source_Sources=20 Encountered a section with no Package: header 5) Stop dummy-proxy 6) Execute 'sudo apt-get update' in a terminal 7) Observe the following error message: Reading package lists... Done W: GPG error: http://archive.ubuntu.com precise Release: The following=20 signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic=20 Signing Key 8) Remove the problematic files in /var/lib/apt/lists (sudo rm=20 /var/lib/apt/lists/*) Install apt from -proposed 1) run dummy-proxy (python dummy-proxy) on a precise system (this=20 simulates a proxy that is not allowing access to archive.ubuntu.com and=20 gives you garbarge html instead) 2) Execute 'http://localhost:8080 sudo apt-get update' in a terminal 3) Observe the following error messages in your terminal: W: A error occurred during the signature verification. The repository is = not updated and the previous index files will be used. GPG error: http://=20 archive.ubuntu.com precise Release: The following signatures were invalid: = NODATA 1 NODATA 2 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/Release W: Some index files failed to download. They have been ignored, or old=20 ones used instead. 4) Stop dummy-proxy 5) Execute 'sudo apt-get update' in a terminal 6) Observe the update succeed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions Cordialement, M. Leslie Horrocks, 557 Lotissement La Cabro d'Or, Vieux Chemin d'Entrecasteaux, Carc=C3=A8s, 83570 +33 (0) 489 670 312 +33 (0) 667 245 935 (Mobile) --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Kayode Odusote (odusote-kayode) Date: Sat, 13 Oct 2012 05:44:48 -0000 Message-Id: No CHOICE. Who does one reply to? On 10/12/12, Les H wrote: > Couldn't we ask everyone to stop using the "reply to all" button? > > ----- Original Message ----- > From: "David Parry" > To: > Sent: Friday, October 12, 2012 2:00 PM > Subject: Re: [Bug 346386] Re: [MASTER] Update fails with invalid package > fileswith "Encountered a section with no Package: header" > > > sudo before the command then you will > David Parry > > > On Fri, Oct 12, 2012 at 3:25 AM, Chris Hunt <346386@bugs.launchpad.net> > wrote: >> Brian >> Thanks for this. >> When I go to delete the file I don=E2=80=99t have permission. >> Why is that, can you help. >> Thanks >> Chris Hunt >> >> >> On 10/10/12 22:17, Brian Murray wrote: >>> ** Changed in: apt (Ubuntu Precise) >>> Status: Confirmed =3D> Fix Committed >>> >>> ** Changed in: apt (Ubuntu Precise) >>> Importance: Undecided =3D> High >>> >> >> -- >> You received this bug notification because you are subscribed to a >> duplicate bug report (1064994). >> https://bugs.launchpad.net/bugs/346386 >> >> Title: >> [MASTER] Update fails with invalid package files with "Encountered a >> section with no Package: header" >> >> Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: >> Fix Released >> Status in =E2=80=9Capt=E2=80=9D source package in Natty: >> Fix Released >> Status in =E2=80=9Capt=E2=80=9D source package in Precise: >> Fix Committed >> Status in =E2=80=9Capt=E2=80=9D package in Debian: >> Fix Released >> >> Bug description: >> Binary package hint: adept-updater >> >> Pertinent data printed when attempting to run Updater as follows: >> >> An unresolvable problem occurred while initializing the package >> information. >> >> Please report this bug against the 'update-manager' package and >> include the following error message: >> >> 'E:Encountered a section with no Package: header, E:Problem with >> MergeList /var/lib/apt/lists/us.archive.ubuntu >> .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The >> package lists or status file could not be parsed or opened.' >> >> WORKAROUND: >> Remove problematic files from /var/lib/apt/lists/ and rerun apt-get >> update. >> >> In the event that one is connected to a network with a proxy server >> that returns html pages (like a web page requesting you to login) and >> not package list files. Those html files will get downloaded to >> /var/lib/apt/lists/ and prevent someone from using a package manager >> until the problem html pages are removed. >> >> TEST CASE: >> 1) download the dummy-proxy attachment from this bug report >> 2) run dummy-proxy (python dummy-proxy) on a precise system (this >> simulates a proxy that is not allowing access to archive.ubuntu.com and >> gives you garbage html instead) >> 3) Execute 'http://localhost:8080 sudo apt-get update' in a terminal >> 4) Observe the following error messages in your terminal: >> W: GPG error: http://archive.ubuntu.com precise InRelease: File >> /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InRel= ease >> >> doesn't start with a clearsigned message >> W: Failed to fetch >> http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index No >> Hash entry in Release file /var/lib/apt/lists/partial/ >> archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index >> W: Failed to fetch >> gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_= multiverse_source_Sources >> >> Encountered a section with no Package: header >> 5) Stop dummy-proxy >> 6) Execute 'sudo apt-get update' in a terminal >> 7) Observe the following error message: >> Reading package lists... Done >> W: GPG error: http://archive.ubuntu.com precise Release: The following >> signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic >> >> Signing Key >> 8) Remove the problematic files in /var/lib/apt/lists (sudo rm >> /var/lib/apt/lists/*) >> >> Install apt from -proposed >> 1) run dummy-proxy (python dummy-proxy) on a precise system (this >> simulates a proxy that is not allowing access to archive.ubuntu.com and >> gives you garbarge html instead) >> 2) Execute 'http://localhost:8080 sudo apt-get update' in a terminal >> 3) Observe the following error messages in your terminal: >> W: A error occurred during the signature verification. The repository = is >> >> not updated and the previous index files will be used. GPG error: http:// >> >> archive.ubuntu.com precise Release: The following signatures were invali= d: >> >> NODATA 1 NODATA 2 >> W: Failed to fetch >> http://archive.ubuntu.com/ubuntu/dists/precise/Release >> W: Some index files failed to download. They have been ignored, or old >> ones used instead. >> 4) Stop dummy-proxy >> 5) Execute 'sudo apt-get update' in a terminal >> 6) Observe the update succeed >> >> To manage notifications about this bug go to: >> https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions > > -- > You received this bug notification because you are subscribed to a > duplicate bug report (1055368). > https://bugs.launchpad.net/bugs/346386 > > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" > > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Precise: > Fix Committed > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Fix Released > > Bug description: > Binary package hint: adept-updater > > Pertinent data printed when attempting to run Updater as follows: > > An unresolvable problem occurred while initializing the package > information. > > Please report this bug against the 'update-manager' package and > include the following error message: > > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' > > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get > update. > > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. > > TEST CASE: > 1) download the dummy-proxy attachment from this bug report > 2) run dummy-proxy (python dummy-proxy) on a precise system (this > simulates a proxy that is not allowing access to archive.ubuntu.com and > gives you garbage html instead) > 3) Execute 'http://localhost:8080 sudo apt-get update' in a terminal > 4) Observe the following error messages in your terminal: > W: GPG error: http://archive.ubuntu.com precise InRelease: File > /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InRele= ase > > doesn't start with a clearsigned message > W: Failed to fetch > http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index No > Hash entry in Release file /var/lib/apt/lists/partial/ > archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index > W: Failed to fetch > gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_m= ultiverse_source_Sources > > Encountered a section with no Package: header > 5) Stop dummy-proxy > 6) Execute 'sudo apt-get update' in a terminal > 7) Observe the following error message: > Reading package lists... Done > W: GPG error: http://archive.ubuntu.com precise Release: The following > signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic > Signing Key > 8) Remove the problematic files in /var/lib/apt/lists (sudo rm > /var/lib/apt/lists/*) > > Install apt from -proposed > 1) run dummy-proxy (python dummy-proxy) on a precise system (this > simulates a proxy that is not allowing access to archive.ubuntu.com and > gives you garbarge html instead) > 2) Execute 'http://localhost:8080 sudo apt-get update' in a terminal > 3) Observe the following error messages in your terminal: > W: A error occurred during the signature verification. The repository is > not updated and the previous index files will be used. GPG error: http:// > archive.ubuntu.com precise Release: The following signatures were invalid: > NODATA 1 NODATA 2 > W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/Relea= se > W: Some index files failed to download. They have been ignored, or old > ones used instead. > 4) Stop dummy-proxy > 5) Execute 'sudo apt-get update' in a terminal > 6) Observe the update succeed > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions > > > Cordialement, > M. Leslie Horrocks, > 557 Lotissement La Cabro d'Or, > Vieux Chemin d'Entrecasteaux, > Carc=C3=A8s, 83570 > +33 (0) 489 670 312 > +33 (0) 667 245 935 (Mobile) > > -- > You received this bug notification because you are subscribed to a > duplicate bug report (1041914). > https://bugs.launchpad.net/bugs/346386 > > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" > > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Precise: > Fix Committed > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Fix Released > > Bug description: > Binary package hint: adept-updater > > Pertinent data printed when attempting to run Updater as follows: > > An unresolvable problem occurred while initializing the package > information. > > Please report this bug against the 'update-manager' package and > include the following error message: > > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' > > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get > update. > > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. > > TEST CASE: > 1) download the dummy-proxy attachment from this bug report > 2) run dummy-proxy (python dummy-proxy) on a precise system (this > simulates a proxy that is not allowing access to archive.ubuntu.com and > gives you garbage html instead) > 3) Execute 'http://localhost:8080 sudo apt-get update' in a terminal > 4) Observe the following error messages in your terminal: > W: GPG error: http://archive.ubuntu.com precise InRelease: File > /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InRele= ase > doesn't start with a clearsigned message > W: Failed to fetch > http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index No > Hash entry in Release file /var/lib/apt/lists/partial/ > archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index > W: Failed to fetch > gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_m= ultiverse_source_Sources > Encountered a section with no Package: header > 5) Stop dummy-proxy > 6) Execute 'sudo apt-get update' in a terminal > 7) Observe the following error message: > Reading package lists... Done > W: GPG error: http://archive.ubuntu.com precise Release: The following > signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic > Signing Key > 8) Remove the problematic files in /var/lib/apt/lists (sudo rm > /var/lib/apt/lists/*) > > Install apt from -proposed > 1) run dummy-proxy (python dummy-proxy) on a precise system (this > simulates a proxy that is not allowing access to archive.ubuntu.com and > gives you garbarge html instead) > 2) Execute 'http://localhost:8080 sudo apt-get update' in a terminal > 3) Observe the following error messages in your terminal: > W: A error occurred during the signature verification. The repository is > not updated and the previous index files will be used. GPG error: http:// > archive.ubuntu.com precise Release: The following signatures were invalid: > NODATA 1 NODATA 2 > W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/Relea= se > W: Some index files failed to download. They have been ignored, or old > ones used instead. > 4) Stop dummy-proxy > 5) Execute 'sudo apt-get update' in a terminal > 6) Observe the update succeed > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions > --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Adam Conrad (adconrad) Date: Mon, 15 Oct 2012 09:53:30 -0000 Message-Id: <20121015095330.19121.74494.malone@gac.canonical.com> Hello RonParent, or anyone else affected, Accepted apt into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/apt/0.8.16~exp12ubuntu10.5 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Brian Murray (brian-murray) Date: Wed, 17 Oct 2012 20:08:19 -0000 Message-Id: <20121017200820.8264.48760.malone@wampee.canonical.com> Using apt version 0.8.16~exp12ubuntu10.5 from precise-proposed I followed the test case in the bug description and observed the behavior expected from the package in proposed and no longer received the merge list error message. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Adam Conrad (adconrad) Date: Wed, 24 Oct 2012 16:29:27 -0000 Message-Id: <20121024162927.9340.29148.malone@soybean.canonical.com> The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Launchpad Janitor (janitor) Date: Wed, 24 Oct 2012 16:30:16 -0000 Message-Id: <20121024163022.14771.1494.malone@ackee.canonical.com> This bug was fixed in the package apt - 0.8.16~exp12ubuntu10.5 --------------- apt (0.8.16~exp12ubuntu10.5) precise-proposed; urgency=3Dlow * apt-pkg/pkgcachegen.cc: - Fix crash if the cache is remapped while writing a Provides version (LP: #1066445). apt (0.8.16~exp12ubuntu10.4) precise-proposed; urgency=3Dlow [ David Kalnischkies ] * apt-pkg/packagemanager.cc: - do not run into loop on new-pre-depends-breaks (Closes: #673536) LP: #1050791 * apt-pkg/cachefile.cc: - clean up lost atomic cachefiles with 'clean' (Closes: #650513) LP: #1050779 [ TJ ] * apt-pkg/contrib/netrc.cc: - increase LOGINSIZE/PASSWORDSIZE limits and add proper error if the limits are reached (LP: #1065429) [ Michael Vogt ] * lp:~mvo/apt/lp346386-precise: - fail gracefully when a InRelease file is not valid, e.g. behind paywalls (LP: #346386) -- Colin Watson Mon, 15 Oct 2012 05:42:45 +0100 --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: madhani harsh (harshmadhani) Date: Fri, 21 Dec 2012 20:08:51 -0000 Message-Id: This is not a bug according to sites ranging from Google Safe Browsing to Online Link Scan.Also manually the page's access is forbidden. On 21 December 2012 21:10, Derek James <346386@bugs.launchpad.net> wrote: > This link contains a Trojan according to Avast - some additional > security please. > > Derek James > derek.r.james@btconnect.com > Mobile +44 7808 203859 > Home +44 1253 795979 > Skype derek.r.james > > -----Original Message----- > From: bounces@canonical.com [mailto:bounces@canonical.com] On Behalf Of > Tadhg McSherry > Sent: 20 December 2012 04:43 > To: derek.r.james@btconnect.com > Subject: [Bug 346386] > > http://mbgolfpros.com/images/google.html > > -- > You received this bug notification because you are subscribed to a > duplicate bug report (997684). > https://bugs.launchpad.net/bugs/346386 > > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" > > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Precise: > Fix Released > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Fix Released > > Bug description: > Binary package hint: adept-updater > > Pertinent data printed when attempting to run Updater as follows: > > An unresolvable problem occurred while initializing the package > information. > > Please report this bug against the 'update-manager' package and > include the following error message: > > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' > > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get > update. > > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. > > TEST CASE: > 1) download the dummy-proxy attachment from this bug report > 2) run dummy-proxy (python dummy-proxy) on a precise system (this > simulates a proxy that is not allowing access to archive.ubuntu.com and > gives you garbage html instead) > 2.5) Execute 'sudo -i' in a terminal > 3) Execute 'http_proxy=3Dhttp://localhost:8080 apt-get update' in same > terminal > 4) Observe the following error messages in your terminal: > W: GPG error: http://archive.ubuntu.com precise InRelease: File > /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InRele= ase > doesn't start with a clearsigned message > W: Failed to fetch > http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index No > Hash entry in Release file /var/lib/apt/lists/partial/ > archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index > W: Failed to fetch > gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_m= ultiverse_source_Sources > Encountered a section with no Package: header > 5) Stop dummy-proxy > 6) Execute 'sudo apt-get update' in a terminal > 7) Observe the following error message: > Reading package lists... Done > W: GPG error: http://archive.ubuntu.com precise Release: The following > signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic > Signing Key > 8) Remove the problematic files in /var/lib/apt/lists (sudo rm > /var/lib/apt/lists/*) > > Install apt from -proposed > 1) run dummy-proxy (python dummy-proxy) on a precise system (this > simulates a proxy that is not allowing access to archive.ubuntu.com and > gives you garbarge html instead) > 1.5) Execute 'sudo -i' in a terminal > 2) Execute 'http_proxy=3Dhttp://localhost:8080 apt-get update' in same > terminal > 3) Observe the following error messages in your terminal: > W: A error occurred during the signature verification. The repository is > not updated and the previous index files will be used. GPG error: http:// > archive.ubuntu.com precise Release: The following signatures were > invalid: NODATA 1 NODATA 2 > W: Failed to fetch > http://archive.ubuntu.com/ubuntu/dists/precise/Release > W: Some index files failed to download. They have been ignored, or old > ones used instead. > 4) Stop dummy-proxy > 5) Execute 'sudo apt-get update' in a terminal > 6) Observe the update succeed > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions > > -- > You received this bug notification because you are subscribed to a > duplicate bug report (1072553). > https://bugs.launchpad.net/bugs/346386 > > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" > > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Precise: > Fix Released > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Fix Released > > Bug description: > Binary package hint: adept-updater > > Pertinent data printed when attempting to run Updater as follows: > > An unresolvable problem occurred while initializing the package > information. > > Please report this bug against the 'update-manager' package and > include the following error message: > > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' > > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get > update. > > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. > > TEST CASE: > 1) download the dummy-proxy attachment from this bug report > 2) run dummy-proxy (python dummy-proxy) on a precise system (this > simulates a proxy that is not allowing access to archive.ubuntu.com and > gives you garbage html instead) > 2.5) Execute 'sudo -i' in a terminal > 3) Execute 'http_proxy=3Dhttp://localhost:8080 apt-get update' in same > terminal > 4) Observe the following error messages in your terminal: > W: GPG error: http://archive.ubuntu.com precise InRelease: File > /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InRele= ase > doesn't start with a clearsigned message > W: Failed to fetch > http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index No > Hash entry in Release file /var/lib/apt/lists/partial/ > archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index > W: Failed to fetch > gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_m= ultiverse_source_Sources > Encountered a section with no Package: header > 5) Stop dummy-proxy > 6) Execute 'sudo apt-get update' in a terminal > 7) Observe the following error message: > Reading package lists... Done > W: GPG error: http://archive.ubuntu.com precise Release: The following > signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic > Signing Key > 8) Remove the problematic files in /var/lib/apt/lists (sudo rm > /var/lib/apt/lists/*) > > Install apt from -proposed > 1) run dummy-proxy (python dummy-proxy) on a precise system (this > simulates a proxy that is not allowing access to archive.ubuntu.com and > gives you garbarge html instead) > 1.5) Execute 'sudo -i' in a terminal > 2) Execute 'http_proxy=3Dhttp://localhost:8080 apt-get update' in same > terminal > 3) Observe the following error messages in your terminal: > W: A error occurred during the signature verification. The repository is > not updated and the previous index files will be used. GPG error: http:// > archive.ubuntu.com precise Release: The following signatures were > invalid: NODATA 1 NODATA 2 > W: Failed to fetch > http://archive.ubuntu.com/ubuntu/dists/precise/Release > W: Some index files failed to download. They have been ignored, or old > ones used instead. > 4) Stop dummy-proxy > 5) Execute 'sudo apt-get update' in a terminal > 6) Observe the update succeed > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions > --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: monomakh (monomakh) Date: Thu, 17 Oct 2013 14:51:42 -0000 Message-Id: <20131017145142.28096.11313.malone@chaenomeles.canonical.com> same problem on dist-upgrade from 13.04 to 13.10 --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: fulvio (fulvio-parodi) Date: Sun, 20 Oct 2013 13:06:04 -0000 Message-Id: Many thanks for the help, i'll try to do every step you advice me :-) 2013/10/17 Vladimir Plotnikov <346386@bugs.launchpad.net> > same problem on dist-upgrade from 13.04 to 13.10 > > -- > You received this bug notification because you are subscribed to a > duplicate bug report (1095148). > https://bugs.launchpad.net/bugs/346386 > > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" > > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Precise: > Fix Released > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Fix Released > > Bug description: > Binary package hint: adept-updater > > Pertinent data printed when attempting to run Updater as follows: > > An unresolvable problem occurred while initializing the package > information. > > Please report this bug against the 'update-manager' package and > include the following error message: > > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' > > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get > update. > > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. > > TEST CASE: > 1) download the dummy-proxy attachment from this bug report > 2) run dummy-proxy (python dummy-proxy) on a precise system (this > simulates a proxy that is not allowing access to archive.ubuntu.com and > gives you garbage html instead) > 2.5) Execute 'sudo -i' in a terminal > 3) Execute 'http_proxy=3Dhttp://localhost:8080 apt-get update' in same > terminal > 4) Observe the following error messages in your terminal: > W: GPG error: http://archive.ubuntu.com precise InRelease: File > /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InRele= ase > doesn't start with a clearsigned message > W: Failed to fetch > http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index No > Hash entry in Release file /var/lib/apt/lists/partial/ > archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index > W: Failed to fetch > gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_m= ultiverse_source_Sources > Encountered a section with no Package: header > 5) Stop dummy-proxy > 6) Execute 'sudo apt-get update' in a terminal > 7) Observe the following error message: > Reading package lists... Done > W: GPG error: http://archive.ubuntu.com precise Release: The following > signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic > Signing Key > 8) Remove the problematic files in /var/lib/apt/lists (sudo rm > /var/lib/apt/lists/*) > > Install apt from -proposed > 1) run dummy-proxy (python dummy-proxy) on a precise system (this > simulates a proxy that is not allowing access to archive.ubuntu.com and > gives you garbarge html instead) > 1.5) Execute 'sudo -i' in a terminal > 2) Execute 'http_proxy=3Dhttp://localhost:8080 apt-get update' in same > terminal > 3) Observe the following error messages in your terminal: > W: A error occurred during the signature verification. The repository is > not updated and the previous index files will be used. GPG error: http:// > archive.ubuntu.com precise Release: The following signatures were > invalid: NODATA 1 NODATA 2 > W: Failed to fetch > http://archive.ubuntu.com/ubuntu/dists/precise/Release > W: Some index files failed to download. They have been ignored, or old > ones used instead. > 4) Stop dummy-proxy > 5) Execute 'sudo apt-get update' in a terminal > 6) Observe the update succeed > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions > --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Dany (dany-kaiser-il) Date: Mon, 30 Dec 2013 10:09:15 -0000 Message-Id: <20131230100919.6839.83190.malone@chaenomeles.canonical.com> The suggested work around was not correct in my case as there was a directory under the /lists directory named 'partial'. Work around was rmdir /var/lib/apt/lists/partial and then run apt-get update. --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Reyes Elena (elenareyesg) Date: Thu, 02 Jan 2014 02:05:24 -0000 Message-Id: Merci beaucoup !=20 Avec votre m=C3=A9thode j'ai r=C3=A9ussi =C3=A0 r=C3=A9soudre mon probl=C3= =A8me et cela est tr=C3=A8s gratifiant pour quelqu'un comme moi qui ne conn= ais pas grand chose =C3=A0 l'informatique. Aujourd'hui j'ai r=C3=A9alis=C3=A9 mon 1er. "update" depuis des mois. Envoy=C3=A9 de mon iPad Le 30 d=C3=A9c. 2013 =C3=A0 11:09, Dany a =C3=A9= crit : > The suggested work around was not correct in my case as there was a > directory under the /lists directory named 'partial'. Work around was > rmdir /var/lib/apt/lists/partial and then run apt-get update. >=20 > --=20 > You received this bug notification because you are subscribed to a > duplicate bug report (1256126). > https://bugs.launchpad.net/bugs/346386 >=20 > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" >=20 > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Precise: > Fix Released > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Fix Released >=20 > Bug description: > Binary package hint: adept-updater >=20 > Pertinent data printed when attempting to run Updater as follows: >=20 > An unresolvable problem occurred while initializing the package > information. >=20 > Please report this bug against the 'update-manager' package and > include the following error message: >=20 > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' >=20 > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get upda= te. >=20 > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. >=20 > TEST CASE: > 1) download the dummy-proxy attachment from this bug report > 2) run dummy-proxy (python dummy-proxy) on a precise system (this simula= tes a proxy that is not allowing access to archive.ubuntu.com and gives you= garbage html instead) > 2.5) Execute 'sudo -i' in a terminal > 3) Execute 'http_proxy=3Dhttp://localhost:8080 apt-get update' in same t= erminal > 4) Observe the following error messages in your terminal: > W: GPG error: http://archive.ubuntu.com precise InRelease: File /var/lib= /apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InRelease doesn'= t start with a clearsigned message > W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/multiv= erse/i18n/Index No Hash entry in Release file /var/lib/apt/lists/partial/ = archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index > W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ub= untu_dists_precise_multiverse_source_Sources Encountered a section with no = Package: header > 5) Stop dummy-proxy > 6) Execute 'sudo apt-get update' in a terminal > 7) Observe the following error message: > Reading package lists... Done > W: GPG error: http://archive.ubuntu.com precise Release: The following s= ignatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic = Signing Key > 8) Remove the problematic files in /var/lib/apt/lists (sudo rm /var/lib/= apt/lists/*) >=20 > Install apt from -proposed > 1) run dummy-proxy (python dummy-proxy) on a precise system (this simula= tes a proxy that is not allowing access to archive.ubuntu.com and gives you= garbarge html instead) > 1.5) Execute 'sudo -i' in a terminal > 2) Execute 'http_proxy=3Dhttp://localhost:8080 apt-get update' in same t= erminal > 3) Observe the following error messages in your terminal: > W: A error occurred during the signature verification. The repository is= not updated and the previous index files will be used. GPG error: http:// = archive.ubuntu.com precise Release: The following signatures were invali= d: NODATA 1 NODATA 2 > W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/Release > W: Some index files failed to download. They have been ignored, or old o= nes used instead. > 4) Stop dummy-proxy > 5) Execute 'sudo apt-get update' in a terminal > 6) Observe the update succeed >=20 > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: fulvio (fulvio-parodi) Date: Fri, 03 Jan 2014 13:54:50 -0000 Message-Id: non sono in grado di farlo ora; grazie per i consigli e la disponibilit=C3= =A0, spero quanto prima di poter riparare il programma secondo le vostre precise istruzioni. Ancora molti ringraziamenti... :-) 2013/10/17 Vladimir Plotnikov <346386@bugs.launchpad.net> > same problem on dist-upgrade from 13.04 to 13.10 > > -- > You received this bug notification because you are subscribed to a > duplicate bug report (1095148). > https://bugs.launchpad.net/bugs/346386 > > Title: > [MASTER] Update fails with invalid package files with "Encountered a > section with no Package: header" > > Status in =E2=80=9Capt=E2=80=9D package in Ubuntu: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Natty: > Fix Released > Status in =E2=80=9Capt=E2=80=9D source package in Precise: > Fix Released > Status in =E2=80=9Capt=E2=80=9D package in Debian: > Fix Released > > Bug description: > Binary package hint: adept-updater > > Pertinent data printed when attempting to run Updater as follows: > > An unresolvable problem occurred while initializing the package > information. > > Please report this bug against the 'update-manager' package and > include the following error message: > > 'E:Encountered a section with no Package: header, E:Problem with > MergeList /var/lib/apt/lists/us.archive.ubuntu > .com_ubuntu_dists_intrepid_universe_binary-amd64_Packages, E:The > package lists or status file could not be parsed or opened.' > > WORKAROUND: > Remove problematic files from /var/lib/apt/lists/ and rerun apt-get > update. > > In the event that one is connected to a network with a proxy server > that returns html pages (like a web page requesting you to login) and > not package list files. Those html files will get downloaded to > /var/lib/apt/lists/ and prevent someone from using a package manager > until the problem html pages are removed. > > TEST CASE: > 1) download the dummy-proxy attachment from this bug report > 2) run dummy-proxy (python dummy-proxy) on a precise system (this > simulates a proxy that is not allowing access to archive.ubuntu.com and > gives you garbage html instead) > 2.5) Execute 'sudo -i' in a terminal > 3) Execute 'http_proxy=3Dhttp://localhost:8080 apt-get update' in same > terminal > 4) Observe the following error messages in your terminal: > W: GPG error: http://archive.ubuntu.com precise InRelease: File > /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_InRele= ase > doesn't start with a clearsigned message > W: Failed to fetch > http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Index No > Hash entry in Release file /var/lib/apt/lists/partial/ > archive.ubuntu.com_ubuntu_dists_precise_multiverse_i18n_Index > W: Failed to fetch > gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_m= ultiverse_source_Sources > Encountered a section with no Package: header > 5) Stop dummy-proxy > 6) Execute 'sudo apt-get update' in a terminal > 7) Observe the following error message: > Reading package lists... Done > W: GPG error: http://archive.ubuntu.com precise Release: The following > signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic > Signing Key > 8) Remove the problematic files in /var/lib/apt/lists (sudo rm > /var/lib/apt/lists/*) > > Install apt from -proposed > 1) run dummy-proxy (python dummy-proxy) on a precise system (this > simulates a proxy that is not allowing access to archive.ubuntu.com and > gives you garbarge html instead) > 1.5) Execute 'sudo -i' in a terminal > 2) Execute 'http_proxy=3Dhttp://localhost:8080 apt-get update' in same > terminal > 3) Observe the following error messages in your terminal: > W: A error occurred during the signature verification. The repository is > not updated and the previous index files will be used. GPG error: http:// > archive.ubuntu.com precise Release: The following signatures were > invalid: NODATA 1 NODATA 2 > W: Failed to fetch > http://archive.ubuntu.com/ubuntu/dists/precise/Release > W: Some index files failed to download. They have been ignored, or old > ones used instead. > 4) Stop dummy-proxy > 5) Execute 'sudo apt-get update' in a terminal > 6) Observe the update succeed > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/346386/+subscriptions > --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Ubuntu QA Website (ubuntuqa) Date: Thu, 09 Oct 2014 08:41:45 -0000 Message-Id: <20141009084145.24944.83135.malone@soybean.canonical.com> This bug has been reported on the Ubuntu ISO testing tracker. A list of all reports related to this bug can be found here: http://iso.qa.ubuntu.com/qatracker/reports/bugs/346386 --===============1879523233178813699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: bijay_ant (bijay-ant) Date: Sun, 16 Nov 2014 06:33:52 -0000 Message-Id: <20141116063352.17102.54161.malone@chaenomeles.canonical.com> Similar Issue with me as well. The same problem occured with my regular desktop computer, Then I tried to install fresh ubuntu 14.04 on another computer yet same problem occured E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dist= s_trusty_main_i18n_Translation-en%5fUS E: The package lists or status file could not be parsed or opened. Bug confirmed Thanx in advance --===============1879523233178813699==--