View previous topic :: View next topic |
Author |
Message |
Strukt n00b
Joined: 11 Oct 2002 Posts: 56
|
Posted: Fri Sep 25, 2009 9:29 am Post subject: [SOLVED] Emerge Gnome Fails! |
|
|
Installing a fresh system.
Have emerged X11 without issues, its up and running.
Now when I am emerging gnome I get the following error
Code: | >>> Emerging (1 of 131) app-text/docbook-xsl-stylesheets-1.75.2
>>> Downloading 'http://mirror.gentoo.no/distfiles/docbook-xsl-1.75.2.tar.bz2'
--2009-09-25 11:20:06-- http://mirror.gentoo.no/distfiles/docbook-xsl-1.75.2.tar.bz2
Resolving mirror.gentoo.no... 92.62.42.211
Connecting to mirror.gentoo.no|92.62.42.211|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2009-09-25 11:20:06 ERROR 404: Not Found.
>>> Downloading 'http://kent.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.75.2.tar.bz2'
--2009-09-25 11:20:06-- http://kent.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.75.2.tar.bz2
Resolving kent.dl.sourceforge.net... 212.219.56.167
Connecting to kent.dl.sourceforge.net|212.219.56.167|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://downloads.sourceforge.net/sourceforge/docbook/docbook-xsl-1.75.2.tar.bz2?download&failedmirror=kent.dl.sourceforge.net [following]
--2009-09-25 11:20:16-- http://downloads.sourceforge.net/sourceforge/docbook/docbook-xsl-1.75.2.tar.bz2?download&failedmirror=kent.dl.sourceforge.net
Resolving downloads.sourceforge.net... 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://sunet.dl.sourceforge.net/project/docbook/docbook-xsl/1.75.2/docbook-xsl-1.75.2.tar.bz2 [following]
--2009-09-25 11:20:27-- http://sunet.dl.sourceforge.net/project/docbook/docbook-xsl/1.75.2/docbook-xsl-1.75.2.tar.bz2
Resolving sunet.dl.sourceforge.net... 194.71.11.73
Connecting to sunet.dl.sourceforge.net|194.71.11.73|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1543130 (1.5M) [application/x-bzip2]
Saving to: `/usr/portage/distfiles/docbook-xsl-1.75.2.tar.bz2'
100%[==================================================================================================>] 1,543,130 1.11M/s in 1.3s
2009-09-25 11:20:39 (1.11 MB/s) - `/usr/portage/distfiles/docbook-xsl-1.75.2.tar.bz2' saved [1543130/1543130]
('Filesize does not match recorded size', 1543130, 2316213)
!!! Fetched file: docbook-xsl-1.75.2.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got: 1543130
!!! Expected: 2316213
Refetching... File renamed to '/usr/portage/distfiles/docbook-xsl-1.75.2.tar.bz2._checksum_failure_.q4R7WZ'
>>> Downloading 'http://jaist.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.75.2.tar.bz2'
--2009-09-25 11:20:39-- http://jaist.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.75.2.tar.bz2
Resolving jaist.dl.sourceforge.net... 150.65.7.130
Connecting to jaist.dl.sourceforge.net|150.65.7.130|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://downloads.sourceforge.net/sourceforge/docbook/docbook-xsl-1.75.2.tar.bz2?download&failedmirror=jaist.dl.sourceforge.net [following]
--2009-09-25 11:20:49-- http://downloads.sourceforge.net/sourceforge/docbook/docbook-xsl-1.75.2.tar.bz2?download&failedmirror=jaist.dl.sourceforge.net
Resolving downloads.sourceforge.net... 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://sunet.dl.sourceforge.net/project/docbook/docbook-xsl/1.75.2/docbook-xsl-1.75.2.tar.bz2 [following]
--2009-09-25 11:21:00-- http://sunet.dl.sourceforge.net/project/docbook/docbook-xsl/1.75.2/docbook-xsl-1.75.2.tar.bz2
Resolving sunet.dl.sourceforge.net... 194.71.11.73
Connecting to sunet.dl.sourceforge.net|194.71.11.73|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1543130 (1.5M) [application/x-bzip2]
Saving to: `/usr/portage/distfiles/docbook-xsl-1.75.2.tar.bz2'
100%[==================================================================================================>] 1,543,130 1.14M/s in 1.3s
2009-09-25 11:21:11 (1.14 MB/s) - `/usr/portage/distfiles/docbook-xsl-1.75.2.tar.bz2' saved [1543130/1543130]
('Filesize does not match recorded size', 1543130, 2316213)
!!! Fetched file: docbook-xsl-1.75.2.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got: 1543130
!!! Expected: 2316213
Refetching... File renamed to '/usr/portage/distfiles/docbook-xsl-1.75.2.tar.bz2._checksum_failure_.q4R7WZ'
>>> Downloading 'http://internap.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.75.2.tar.bz2'
--2009-09-25 11:21:11-- http://internap.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.75.2.tar.bz2
Resolving internap.dl.sourceforge.net... 69.88.152.3
Connecting to internap.dl.sourceforge.net|69.88.152.3|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://prdownloads.sourceforge.net/docbook/docbook-xsl-1.75.2.tar.bz2?download&failedmirror=internap.dl.sourceforge.net [following]
--2009-09-25 11:21:12-- http://prdownloads.sourceforge.net/docbook/docbook-xsl-1.75.2.tar.bz2?download&failedmirror=internap.dl.sourceforge.net
Resolving prdownloads.sourceforge.net... 216.34.181.59
Connecting to prdownloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://sunet.dl.sourceforge.net/project/docbook/docbook-xsl/1.75.2/docbook-xsl-1.75.2.tar.bz2 [following]
--2009-09-25 11:21:23-- http://sunet.dl.sourceforge.net/project/docbook/docbook-xsl/1.75.2/docbook-xsl-1.75.2.tar.bz2
Resolving sunet.dl.sourceforge.net... 194.71.11.73
Connecting to sunet.dl.sourceforge.net|194.71.11.73|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1543130 (1.5M) [application/x-bzip2]
Saving to: `/usr/portage/distfiles/docbook-xsl-1.75.2.tar.bz2'
100%[==================================================================================================>] 1,543,130 528K/s in 2.9s
2009-09-25 11:21:36 (528 KB/s) - `/usr/portage/distfiles/docbook-xsl-1.75.2.tar.bz2' saved [1543130/1543130]
('Filesize does not match recorded size', 1543130, 2316213)
!!! Fetched file: docbook-xsl-1.75.2.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got: 1543130
!!! Expected: 2316213
Refetching... File renamed to '/usr/portage/distfiles/docbook-xsl-1.75.2.tar.bz2._checksum_failure_.q4R7WZ'
>>> Downloading 'http://surfnet.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.75.2.tar.bz2'
--2009-09-25 11:21:36-- http://surfnet.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.75.2.tar.bz2
Resolving surfnet.dl.sourceforge.net... 130.59.138.21, 2001:620:0:1b::21
Connecting to surfnet.dl.sourceforge.net|130.59.138.21|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://downloads.sourceforge.net/sourceforge/docbook/docbook-xsl-1.75.2.tar.bz2?download&failedmirror=surfnet.dl.sourceforge.net [following]
--2009-09-25 11:21:36-- http://downloads.sourceforge.net/sourceforge/docbook/docbook-xsl-1.75.2.tar.bz2?download&failedmirror=surfnet.dl.sourceforge.net
Resolving downloads.sourceforge.net... 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://sunet.dl.sourceforge.net/project/docbook/docbook-xsl/1.75.2/docbook-xsl-1.75.2.tar.bz2 [following]
--2009-09-25 11:21:47-- http://sunet.dl.sourceforge.net/project/docbook/docbook-xsl/1.75.2/docbook-xsl-1.75.2.tar.bz2
Resolving sunet.dl.sourceforge.net... 194.71.11.73
Connecting to sunet.dl.sourceforge.net|194.71.11.73|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1543130 (1.5M) [application/x-bzip2]
Saving to: `/usr/portage/distfiles/docbook-xsl-1.75.2.tar.bz2'
100%[==================================================================================================>] 1,543,130 583K/s in 2.6s
2009-09-25 11:21:59 (583 KB/s) - `/usr/portage/distfiles/docbook-xsl-1.75.2.tar.bz2' saved [1543130/1543130]
('Filesize does not match recorded size', 1543130, 2316213)
!!! Fetched file: docbook-xsl-1.75.2.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got: 1543130
!!! Expected: 2316213
Refetching... File renamed to '/usr/portage/distfiles/docbook-xsl-1.75.2.tar.bz2._checksum_failure_.q4R7WZ'
>>> Downloading 'http://switch.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.75.2.tar.bz2'
--2009-09-25 11:21:59-- http://switch.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.75.2.tar.bz2
Resolving switch.dl.sourceforge.net... 130.59.138.21, 2001:620:0:1b::21
Connecting to switch.dl.sourceforge.net|130.59.138.21|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://downloads.sourceforge.net/sourceforge/docbook/docbook-xsl-1.75.2.tar.bz2?download&failedmirror=switch.dl.sourceforge.net [following]
--2009-09-25 11:21:59-- http://downloads.sourceforge.net/sourceforge/docbook/docbook-xsl-1.75.2.tar.bz2?download&failedmirror=switch.dl.sourceforge.net
Resolving downloads.sourceforge.net... 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://sunet.dl.sourceforge.net/project/docbook/docbook-xsl/1.75.2/docbook-xsl-1.75.2.tar.bz2 [following]
--2009-09-25 11:22:10-- http://sunet.dl.sourceforge.net/project/docbook/docbook-xsl/1.75.2/docbook-xsl-1.75.2.tar.bz2
Resolving sunet.dl.sourceforge.net... 194.71.11.73
Connecting to sunet.dl.sourceforge.net|194.71.11.73|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1543130 (1.5M) [application/x-bzip2]
Saving to: `/usr/portage/distfiles/docbook-xsl-1.75.2.tar.bz2'
100%[==================================================================================================>] 1,543,130 584K/s in 2.6s
2009-09-25 11:22:23 (584 KB/s) - `/usr/portage/distfiles/docbook-xsl-1.75.2.tar.bz2' saved [1543130/1543130]
('Filesize does not match recorded size', 1543130, 2316213)
!!! Fetched file: docbook-xsl-1.75.2.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got: 1543130
!!! Expected: 2316213
Refetching... File renamed to '/usr/portage/distfiles/docbook-xsl-1.75.2.tar.bz2._checksum_failure_.q4R7WZ'
!!! Couldn't download 'docbook-xsl-1.75.2.tar.bz2'. Aborting.
* Fetch failed for 'app-text/docbook-xsl-stylesheets-1.75.2', Log file:
* '/var/tmp/portage/app-text/docbook-xsl-stylesheets-1.75.2/temp/build.log'
>>> Failed to emerge app-text/docbook-xsl-stylesheets-1.75.2, Log file:
>>> '/var/tmp/portage/app-text/docbook-xsl-stylesheets-1.75.2/temp/build.log'
* Messages for package app-text/docbook-xsl-stylesheets-1.75.2:
* Fetch failed for 'app-text/docbook-xsl-stylesheets-1.75.2', Log file:
* '/var/tmp/portage/app-text/docbook-xsl-stylesheets-1.75.2/temp/build.log'
* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
genstrukt ~ #
|
make.conf
Code: |
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-march=nocona -O2 -msse3 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="-qt3 -qt4 -arts -kde X dbus gtk gnome hal mmx sse sse2 apache2 php5 mysql"
MAKEOPTS="-j9"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://mirror.gentoo.no/ "
INPUT_DEVICES="evdev"
VIDEO_CARDS="nvidia" |
How do I solve this problem?
Last edited by Strukt on Fri Sep 25, 2009 10:51 am; edited 1 time in total |
|
Back to top |
|
|
chrbecke Guru
Joined: 12 Jul 2004 Posts: 598 Location: Berlin - Germany
|
Posted: Fri Sep 25, 2009 9:44 am Post subject: |
|
|
Try a "emerge --sync". In your portage tree, for each ebuild there is a file, called the "Manifest", storing filesizes, md5 and sha1 sums of each file that needs to be downloaded. Portage checks the downloaded packages to make sure they did not get corrupted or were manipulated before merging them. Sometimes the Manifests are wrong, syncing your portage tree might fix it. |
|
Back to top |
|
|
Strukt n00b
Joined: 11 Oct 2002 Posts: 56
|
Posted: Fri Sep 25, 2009 9:52 am Post subject: |
|
|
I did that, emerge --sync that is. I still get the same problem ... |
|
Back to top |
|
|
chrbecke Guru
Joined: 12 Jul 2004 Posts: 598 Location: Berlin - Germany
|
Posted: Fri Sep 25, 2009 10:00 am Post subject: |
|
|
Alternatively, you can download the file manually (from a trusted source ), drop it into /usr/portage/distfiles and do
Code: | ebuild /usr/portage/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.75.2.ebuild manifest | . This will regenerate the manifest. After that, emerge should work allright. |
|
Back to top |
|
|
Strukt n00b
Joined: 11 Oct 2002 Posts: 56
|
Posted: Fri Sep 25, 2009 10:20 am Post subject: |
|
|
Ok thanks for your help.
However I still have problems.
I downloaded the file.
Code: | docbook-xsl-1.75.2.tar.bz2 |
and placed it in: Code: | /usr/portage/distfiles |
When I do the following:
Code: | ebuild /usr/portage/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.75.2.ebuild manifest |
It just starts to download the file again. And fails giving this message:
Code: | HTTP request sent, awaiting response... 200 OK
Length: 1543130 (1.5M) [application/x-bzip2]
Saving to: `/usr/portage/distfiles/docbook-xsl-1.75.2.tar.bz2'
100%[==================================================================================================>] 1,543,130 558K/s in 2.7s
2009-09-25 12:16:32 (558 KB/s) - `/usr/portage/distfiles/docbook-xsl-1.75.2.tar.bz2' saved [1543130/1543130]
('Filesize does not match recorded size', 1543130, 2316213)
!!! Fetched file: docbook-xsl-1.75.2.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got: 1543130
!!! Expected: 2316213
Refetching... File renamed to '/usr/portage/distfiles/docbook-xsl-1.75.2.tar.bz2._checksum_failure_.rCpmWK'
!!! Couldn't download 'docbook-xsl-1.75.2.tar.bz2'. Aborting.
!!! Fetch failed for docbook-xsl-1.75.2.tar.bz2, can't update Manifest
!!! If you would like to forcefully replace the existing Manifest entry
!!! for docbook-xsl-1.75.2.tar.bz2, use the following command:
!!! ebuild --force docbook-xsl-stylesheets-1.75.2.ebuild manifest |
If I try the suggested command in the above error message I get the following error:
Code: | Appending /usr to PORTDIR_OVERLAY...
'/usr/portage/distfiles/docbook-xsl-stylesheets-1.75.2.ebuild' does not exist.
|
Hehe ... scratching my head. It was a looong time I tried gentoo. So I am a bit rusty. What should I do now? |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
chrbecke Guru
Joined: 12 Jul 2004 Posts: 598 Location: Berlin - Germany
|
Posted: Fri Sep 25, 2009 10:43 am Post subject: |
|
|
Strukt wrote: |
When I do the following:
Code: | ebuild /usr/portage/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.75.2.ebuild manifest |
It just starts to download the file again. |
Strange, it should not do that. Can you please post your ?
Strukt wrote: | Code: |
!!! Couldn't download 'docbook-xsl-1.75.2.tar.bz2'. Aborting.
!!! Fetch failed for docbook-xsl-1.75.2.tar.bz2, can't update Manifest
!!! If you would like to forcefully replace the existing Manifest entry
!!! for docbook-xsl-1.75.2.tar.bz2, use the following command:
!!! ebuild --force docbook-xsl-stylesheets-1.75.2.ebuild manifest |
If I try the suggested command in the above error message I get the following error:
Code: | Appending /usr to PORTDIR_OVERLAY...
'/usr/portage/distfiles/docbook-xsl-stylesheets-1.75.2.ebuild' does not exist.
|
Hehe ... scratching my head. It was a looong time I tried gentoo. So I am a bit rusty. What should I do now? |
The argument to the "ebuild" command has to be the path to the ebuild file. You provided a relative path, leading to ebuild looking for an ebuild file in the current working directory. Use the command I posted above. |
|
Back to top |
|
|
Strukt n00b
Joined: 11 Oct 2002 Posts: 56
|
Posted: Fri Sep 25, 2009 10:47 am Post subject: |
|
|
Haha... same thing as always.
Always look for the simplest solution. And you are correct. I changed the mirror and now it downloaded the correct file, with the correct size.
Anyway, thanks for your help guys. Its all good now. (so far) |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|