Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19254 - "emerge system" on Stage2, emerge of selinux fails because policy.tgz not found / digest mismatch
Summary: "emerge system" on Stage2, emerge of selinux fails because policy.tgz not fou...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Joshua Brindle (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-13 14:49 UTC by Michael Hill
Modified: 2003-04-22 20:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Hill 2003-04-13 14:49:18 UTC
I have built a system from Stage1 to Stage2 (bootstrapping).  I enabled USE
selinux in /etc/make.conf .  Now "emerge system" is failing on
sys-apps/selinux-small-2003011510-r2.  First, it couldn't find
distfiles/policy.tgz on the default set of mirrors.  After I added a few, it
found it on www.coker.com.au , but gives the error:

!!! policy.tgz: message digests do not match!
!!! policy.tgz is corrupt or incomplete.
>>> our recorded digest: [...]
>>>  your file's digest: [...]
>>> Please delete /usr/portage/distfiles/policy.tgz and refetch.

I have done this several times.  Also, trying a proposed solution from the
Forums, I tried:

# cd /usr/portage/distfiles
# ebuild policy.tgz digest

This yields the error:

!!! doebuild: policy.tgz does not appear to be an ebuild file.


Reproducible: Always
Steps to Reproduce:
1. Start from Stage1
2. cd /usr/portage
3. scripts/bootstrap.sh
4. Add "selinux" to USE in /etc/make.conf
5. emerge system

Actual Results:  
It breaks on sys-apps/selinux-small-2003011510-r2 as described above.

Expected Results:  
Ummmm, should have built selinux-small and moved on.  :^)

Can't cut&paste as it's on a brand-new installation.  Probably the applicable
variables are:

GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
http://csociety-ftp.ecn.purdue.edu/pub/gentoo http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
USE="x86 3dnow apm crypt cups gpm libg++ libwww mmx ncurses pam slang spell svga
tcpd xml2 zlib gdbm berkdb readline ssl python acl acpi -arts -avi cdr curl
-encode -gif -gnome -gtk icc -imlib -ipv6 -java -jpeg -kde mbox -mikmod -motif
-mpeg -nls oav -oggvorbis -opengl -oss pcmcia -pdflib perl -png -qt -quicktime
-sdl selinux sse -truetype -X -xmms -xv"
Comment 1 Joshua Brindle (RETIRED) gentoo-dev 2003-04-22 20:53:49 UTC
fixed digest, issue will be taken care of with selinux-base-policy