LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-09-2014, 05:47 AM   #1
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627

Rep: Reputation: 31
regenerate the InRelease file


i all,
I used apt-mirror to create my own local mirror? that 's fine.

The problem now the date in Inrelease is expired, and I can't use
it , until I changed the date,

I did it directly in the file !!! unfortunately the signature is not
valid, so I want to regenerate the release for my local mirror, I
don't want new packages, JUST to regenerate the file Inrelease with
correct date.
something with gpg program I suppose???
Please someone can send me the command.
Thanks a lot
regards
abd_bela
 
Old 09-10-2014, 05:50 AM   #2
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627

Original Poster
Rep: Reputation: 31
OK I solved the problem ,
it can help someone: ( may be there is a better way)
like this:
1. I generate my own key ( gpg --gen-key)
2. I create new Release file with apt-ftparchive --md5 --sha256
release . > Release
in dists directory
3. gpg --armor --output Release.gpg --detach-sign Release
4. gpg --clearsign --output InRelease Release
5. apt-key add myKey

So I use my new key to control the signature instead of the debian key
that 's it

Best regards
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
regenerate acidbase database rbees Linux - Software 2 01-28-2013 09:20 PM
[SOLVED] About "rootstock" make ubuntu min file system error: "I: Failed to retrieve InRelease luolian_green Ubuntu 1 08-27-2012 03:15 PM
[SOLVED] Trying to regenerate a slack iso scam Slackware 2 02-18-2012 11:10 AM
[SOLVED] smb.conf regenerate ted_chou12 Linux - Software 5 02-16-2011 03:19 AM
Regenerate Slack12 var directory rhb327 Slackware 2 07-09-2007 06:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration