Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Mar 2015 10:07:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 197814] portsnap fetched snapshot integrity check failed
Message-ID:  <bug-197814-13-hWtcsaDnOr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-197814-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-197814-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197814

Vladimir Gusev <vladimir@gusev.pro> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Closed
         Resolution|---                         |FIXED

--- Comment #8 from Vladimir Gusev <vladimir@gusev.pro> ---
Ok, the cause of the failure was in $GREP_OPTIONS non-empty exported variable.

Well, the workaround is just unset/specify empty $GREP_OPTIONS:

# export GREP_OPTIONS=''
# portsnap fetch
Looking up portsnap.FreeBSD.org mirrors... 7 mirrors found.
Fetching snapshot tag from ec2-eu-west-1.portsnap.freebsd.org... done.
Fetching snapshot metadata... done.
Fetching snapshot generated at Mon Mar  9 03:13:10 MSK 2015:
1e55f8a65a5e3b11b856497828d9a24036a29780729437100% of   71 MB 2147 kBps 00m35s
Extracting snapshot... done.
Verifying snapshot integrity... done.
Fetching snapshot tag from ec2-eu-west-1.portsnap.freebsd.org... done.
Fetching snapshot metadata... done.
Updating from Mon Mar  9 03:13:10 MSK 2015 to Mon Mar  9 12:27:53 MSK 2015.
Fetching 4 metadata patches... done.
Applying metadata patches... done.
Fetching 0 metadata files... done.
Fetching 33 patches. 
(33/33) 100.00%  done.                               
done.
Applying patches... 
done.
Fetching 3 new ports or files... done.


####### Troubleshooting performed as below

# export GREP_OPTIONS='--color=always'
# portsnap fetch
portsnap: Invalid key fingerprint:
9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330

# export GREP_OPTIONS='--color=always '
# portsnap fetch
portsnap: Invalid key fingerprint:
9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330

# export GREP_OPTIONS=' --color=always '
# portsnap fetch
portsnap: Invalid key fingerprint:
9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330

# export GREP_OPTIONS=' --color=always'
# portsnap fetch
portsnap: Invalid key fingerprint:
9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330

# export GREP_OPTIONS='-q'
# portsnap fetch
portsnap: SERVERNAME must be given via command line or configuration file.

# export GREP_OPTIONS='-E'
# portsnap fetch
Looking up portsnap.FreeBSD.org mirrors... 7 mirrors found.
Fetching public key from ec2-eu-west-1.portsnap.freebsd.org... done.
Fetching snapshot tag from ec2-eu-west-1.portsnap.freebsd.org... done.
Fetching snapshot metadata... done.
Fetching snapshot generated at Mon Mar  9 03:13:10 MSK 2015:
1e55f8a65a5e3b11b856497828d9a24036a29780729437100% of   71 MB 2204 kBps 00m34s
Extracting snapshot... done.
Verifying snapshot integrity... 
Portsnap metadata is correctly signed, but contains
at least one line which appears bogus.
Cowardly refusing to proceed any further.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197814-13-hWtcsaDnOr>