public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] getting digest verification failed when emerging bittorrent
Date: Sun, 8 Mar 2009 20:29:40 +0200	[thread overview]
Message-ID: <200903082029.41191.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <18867.21070.366041.5582@ccs.covici.com>

On Sunday 08 March 2009 07:06:22 John covici wrote:
> on Saturday 03/07/2009 Dale(rdalek1967@gmail.com) wrote
>
>  > Alan McKinnon wrote:
>  > > On Saturday 07 March 2009 23:20:38 John covici wrote:
>  > >> Hi.  I am getting digest verification failed when trying to emerge
>  > >> bittorrent -- it is having trouble with the Changelog file.  The
>  > >> exact message is:
>  > >> !!! Digest verification failed:
>  > >> !!! /usr/portage/net-p2p/bittorrent/ChangeLog
>  > >> !!! Reason: Filesize does not match recorded size
>  > >> !!! Got: 19308
>  > >> !!! Expected: 19466
>  > >>
>  > >> Is there a new ebuild coming?
>  > >
>  > > wait 24 hours, resync, try again.
>  > >
>  > > Or just re-digest the package manually:
>  > >
>  > > ebuild <path_to_ebuild_file> manifest
>  >
>  > 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.
>
> OK, thanks I was hoping something like that would work.

As others have already said (but the importance of it got lost in the ensuing 
retorts), you have to be careful not to redigest stuff arbitrarily. This case 
was a mere Changelog which doesn't affect the built binaries and hence is 
safe.

Most digest failures are for one of two reasons:

1. Proprietary binaries that don't think it necessary to tell their customers 
which version they are getting. They must think customer's are psychic,
2. The developer goofed and forgot to upload one or more changed files.

The dangerous case that digests are designed to help you with is malicious 
changes where you get a trojan. This danger is real and you should take it 
seriously. The fact that I've never actually *seen* it happen doesn't mean 
anything and isn't even relevant.


-- 
alan dot mckinnon at gmail dot com



  reply	other threads:[~2009-03-08 18:31 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 [this message]
2009-03-08  9:25     ` Neil Bothwick
2009-03-08  9:56       ` Mike Kazantsev
2009-03-08 10:52       ` AllenJB

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=200903082029.41191.alan.mckinnon@gmail.com \
    --to=alan.mckinnon@gmail.com \
    --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