public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: AllenJB <gentoo-lists@allenjb.me.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] getting digest verification failed when emerging bittorrent
Date: Sun, 08 Mar 2009 10:52:01 +0000	[thread overview]
Message-ID: <49B3A351.2060000@allenjb.me.uk> (raw)
In-Reply-To: <20090308092519.433c39f8@krikkit.digimed.co.uk>

Neil Bothwick wrote:
> On Sat, 07 Mar 2009 15:54:22 -0600, Dale wrote:
> 
>>> wait 24 hours, resync, try again.
>>>
>>> Or just re-digest the package manually:
>>>
>>> ebuild <path_to_ebuild_file> manifest
> 
> Bear in mind this overrides the security that digests provide, although
> it is harmless when it is only a Chnagleog file.
> 
>> Does emerge --digest still exist?  I recall using something like that a
>> long time ago.  I think I used it for googleforearth which never
>> matches.
> 
> That's not a good idea as the mismatch could be caused by a hacked
> source or binary file. The problem with Google Earth was that they used
> unversioned tarballs. Whenever you gt a digest error on a distfile, the
> first step is to delete the distfile and let emerge download it again. If
> that doesn't help, resync and then check Bugzilla. Don't redigest a
> distfile unless you can e 100% certain of its validity.
> 
> 

It's not just security. It's a basic measure to ensure the source files 
haven't changed (some projects are known to change the source files 
without changing the tarball name) and that the installation 
instructions in the ebuild are still valid.

Note that it's possible for the source files to change and the 
instructions in the ebuild appear to work, but to not correctly install 
the package.

AllenJB



      parent reply	other threads:[~2009-03-08 10:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-07 21:20 [gentoo-user] getting digest verification failed when emerging bittorrent John covici
2009-03-07 21:34 ` Alan McKinnon
2009-03-07 21:54   ` Dale
2009-03-07 22:35     ` Alan McKinnon
2009-03-08  5:06     ` John covici
2009-03-08 18:29       ` Alan McKinnon
2009-03-08  9:25     ` Neil Bothwick
2009-03-08  9:56       ` Mike Kazantsev
2009-03-08 10:52       ` AllenJB [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49B3A351.2060000@allenjb.me.uk \
    --to=gentoo-lists@allenjb.me.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox