update-manager fail release upgrade if using apt-cacher

Bug #294139 reported by Paolo Benvenuto
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: update-manager-core

Upgrading from hardy to intrepid, do-release-upgrade stops saying:

$ do-release-upgrade
Checking for a new ubuntu release
Failed Upgrade tool signature
Done Upgrade tool
Done downloading
extracting 'intrepid.tar.gz'
authenticate 'intrepid.tar.gz' against 'intrepid.tar.gz.gpg'
exception from gpg: GnuPG exited non-zero, with code 131072
Debug information:

gpg: WARNING: unsafe permissions on homedir `/tmp/tmpOaFaki'

gpg: can't open `/tmp/tmpOaFaki/intrepid.tar.gz.gpg'
gpg: verify signatures failed: file open error

Authentication failed
Authenticating the upgrade failed. There may be a problem with the network or with the server.

I get the same error (last 2 lines) if I use the gui command update-manager.

I'm using apt-cacher through apt.conf, which has a line:

Acquire::http::Proxy "http://paolo:3142/";

On the contrary, all runs perfectly if I disable the apt-cacher invoking line of apt.conf

Revision history for this message
Walter Garcia-Fontes (walter-garcia) wrote :

Sorry that the issue got unattended at the time of report. Please feel free to reopen by marking the status as "new" if you see this in current versions of update-manager.

Changed in update-manager-core (Ubuntu):
status: New → Incomplete
affects: update-manager-core (Ubuntu) → update-manager (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for update-manager (Ubuntu) because there has been no activity for 60 days.]

Changed in update-manager (Ubuntu):
status: Incomplete → Expired
Florian Hars (hars)
Changed in update-manager (Ubuntu):
status: Expired → New
Revision history for this message
Florian Hars (hars) wrote :

The reason seems to be that apt-cacher has a regexp of "index files" that it revalidates to recognize updates, and the default regexp does not match "meta-release-development". If you add that, it detects the new release.

There may be another problem: if the quantal.tar.gz changes during the developent cycle, apt-cacher will not notice the change, as it assumes the tar.gz files are versioned packages that are uniquely identified by their name. That case may be solved if the regexp is changed to also match ^[a-z]+\.tar\.gz (i.e. tars without any version number). Does that file change during it's lifetime?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in update-manager (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.