Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I created the local mirror to upgrade all lucid workstations in my network to precise. The problem is that the upgrade tool (link below) - precise.tar.gz always download packages from archive.ubuntu.com (19% [Waiting for headers] [Connecting to archive.ubuntu.com (91.189.92.153)]). I edited the precise.tar.gz file by modifying some files of it, putting it to my local mirror, modified the meta-release URL to my local mirror. Running do-release-upgrade I have the error below. My question is how to sign the precise.tar.gz package myself?

Checking for a new ubuntu release

Done Upgrade tool signature

Done Upgrade tool

Done downloading

authenticate 'precise.tar.gz' against 'precise.tar.gz.gpg'

exception from gpg: GnuPG exited non-zero, with code 1

Debug information:

gpg: Signature made Mon 04 Jun 2012 08:40:31 PM ICT using DSA key ID 437D05B5

gpg: /tmp/tmpMaz62f/trustdb.gpg: trustdb created

gpg: BAD signature from "Ubuntu Archive Automatic Signing Key "

Authentication failed

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

Dist: precise
Name: Precise Pangolin
Version: 12.04 LTS
Date: Thu, 26 Apr 2012 12:04:00 UTC
Supported: 1
Description: This is the 12.04 LTS release
Release-File: http://archive.ubuntu.com/ubuntu/dists/precise/Release
ReleaseNotes: http://archive.ubuntu.com/ubuntu/dists/precise-security/main/dist-upgrader-all/current/ReleaseAnnouncement
ReleaseNotesHtml: http://archive.ubuntu.com/ubuntu/dists/precise-security/main/dist-upgrader-all/current/ReleaseAnnouncement.html
UpgradeTool: http://archive.ubuntu.com/ubuntu/dists/precise-security/main/dist-upgrader-all/current/precise.tar.gz
UpgradeToolSignature: http://archive.ubuntu.com/ubuntu/dists/precise-security/main/dist-upgrader-all/current/precise.tar.gz.gpg
share

migration rejected from stackoverflow.com Dec 10 '15 at 14:06

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as off-topic by Eric Carvalho, Pilot6, Paranoid Panda, David Foerster, DevRobot Dec 10 '15 at 14:06

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This describes a problem that can't be reproduced that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." – Eric Carvalho, Pilot6, Paranoid Panda, David Foerster, DevRobot
If this question can be reworded to fit the rules in the help center, please edit the question.

    
Do you need to just update /etc/apt/sources.list to point at your local mirror? – Ed Harcourt Aug 26 '12 at 3:05
    
Actually, I added/edited my /etc/apt/sources.list. I can download precise.tar.gz as I posted from my local mirror. But inside the precise.tart.gz which is from ubuntu contain hard link from ubuntu.com. So I need to edit precise.tar.gz to fix my local mirror. ---> facing the Authentication failed issue of Signing key. – Diamond Aug 31 '12 at 7:01
    
possible duplicate of How to install software or upgrade from an old unsupported release? – karel Jul 5 '15 at 8:58

Browse other questions tagged or ask your own question.