[Bug 1434699] [NEW] 1:0.55ubuntu4.1 timestamps are ahead of the repository

Dean Sniegowski sniegowski at gmail.com
Fri Mar 20 20:23:13 UTC 2015


Public bug reported:

On 12.04.5 64 bit Server, install apt-get is having issues. A search for
"ubuntu 12.04.5 hash sum mismatch" will show that I'm not alone with
this.

Issue: If you do an apt-get update after a fresh install you'll get

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_main_source_Sources  Hash Sum mismatch
W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_restricted_source_Sources  Hash Sum mismatch
<sniped 11 more>

This problem is caused by the time stamps in the  apt-setup_0.55ubuntu4.1 package which was updated for 12.04.5
ls -al apt-setup/release-files/archive.canonical.com/precise
-rw-r--r-- 1 root root 5922 Jun 23  2014 Release
-rw-r--r-- 1 root root  198 Jun 23  2014 Release.gpg
But the contents of the Release file shows a date of Thu, 13 Oct 2011 16:32:27 UTC

But on http://us.archive.ubuntu.com/ubuntu/dists/precise/ the files are timestamped for April 2012.
Release	25-Apr-2012 22:49 	48K
Release.gpg	25-Apr-2012 22:49 	198 

When the ubuntu installer does an apt-get update, it does not use the
one on the Ubuntu Repo (Apr-2012) because it thinks the one supplied by
apt-setup(Jun 2014) is more upto date. Release and Release.gpg are shown
as "hit" rather than "get". So apt uses the outdated ones from Apr 2012.

>From /var/log/installer/syslog
Mar 20 19:54:14 in-target: Hit http://us.archive.ubuntu.com precise Release.gpg
Mar 20 19:54:14 in-target: Get:1 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
Mar 20 19:54:14 in-target: Get:2 http://us.archive.ubuntu.com precise-backports Release.gpg [198 B]
Mar 20 19:54:14 in-target: Hit http://us.archive.ubuntu.com precise Release
Mar 20 19:54:14 in-target: Get:3 http://us.archive.ubuntu.com precise-updates Release [194 kB]
Mar 20 19:54:15 in-target: Get:4 http://us.archive.ubuntu.com precise-backports Release [53.1 kB]

Because Release is out of date, it break apt-gets update on the 12.04.5 Server and Alternate installs. 
Someone just needs to update the dates for Release and Release.gpg in dists/precise.

The dates for Release and Release gpg for       precise-backports,
precise-proposed, precise-security and,precise-updates are all in 2015.

** Affects: apt-setup (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt-setup in Ubuntu.
https://bugs.launchpad.net/bugs/1434699

Title:
  1:0.55ubuntu4.1  timestamps are ahead of the repository

Status in apt-setup package in Ubuntu:
  New

Bug description:
  On 12.04.5 64 bit Server, install apt-get is having issues. A search
  for "ubuntu 12.04.5 hash sum mismatch" will show that I'm not alone
  with this.

  Issue: If you do an apt-get update after a fresh install you'll get

  W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_main_source_Sources  Hash Sum mismatch
  W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_restricted_source_Sources  Hash Sum mismatch
  <sniped 11 more>

  This problem is caused by the time stamps in the  apt-setup_0.55ubuntu4.1 package which was updated for 12.04.5
  ls -al apt-setup/release-files/archive.canonical.com/precise
  -rw-r--r-- 1 root root 5922 Jun 23  2014 Release
  -rw-r--r-- 1 root root  198 Jun 23  2014 Release.gpg
  But the contents of the Release file shows a date of Thu, 13 Oct 2011 16:32:27 UTC

  But on http://us.archive.ubuntu.com/ubuntu/dists/precise/ the files are timestamped for April 2012.
  Release	25-Apr-2012 22:49 	48K
  Release.gpg	25-Apr-2012 22:49 	198 

  When the ubuntu installer does an apt-get update, it does not use the
  one on the Ubuntu Repo (Apr-2012) because it thinks the one supplied
  by apt-setup(Jun 2014) is more upto date. Release and Release.gpg are
  shown as "hit" rather than "get". So apt uses the outdated ones from
  Apr 2012.

  From /var/log/installer/syslog
  Mar 20 19:54:14 in-target: Hit http://us.archive.ubuntu.com precise Release.gpg
  Mar 20 19:54:14 in-target: Get:1 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
  Mar 20 19:54:14 in-target: Get:2 http://us.archive.ubuntu.com precise-backports Release.gpg [198 B]
  Mar 20 19:54:14 in-target: Hit http://us.archive.ubuntu.com precise Release
  Mar 20 19:54:14 in-target: Get:3 http://us.archive.ubuntu.com precise-updates Release [194 kB]
  Mar 20 19:54:15 in-target: Get:4 http://us.archive.ubuntu.com precise-backports Release [53.1 kB]

  Because Release is out of date, it break apt-gets update on the 12.04.5 Server and Alternate installs. 
  Someone just needs to update the dates for Release and Release.gpg in dists/precise.

  The dates for Release and Release gpg for       precise-backports,
  precise-proposed, precise-security and,precise-updates are all in
  2015.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1434699/+subscriptions



More information about the foundations-bugs mailing list