Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't emerge -u mplayer ???
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Harpat
n00b
n00b


Joined: 08 Sep 2003
Posts: 5
Location: My desk

PostPosted: Sun Sep 28, 2003 7:17 pm    Post subject: Can't emerge -u mplayer ??? Reply with quote

Here's an odd message I'm getting:
Code:
root # emerge mplayer -uv
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/mplayer-0.92 to /
>>> Resuming download...
>>> Downloading http://gentoo.oregonstate.edu/distfiles/font-arial-iso-8859-2.tar.bz2
--15:13:00--  http://gentoo.oregonstate.edu/distfiles/font-arial-iso-8859-2.tar.bz2
           => `/usr/portage/distfiles/font-arial-iso-8859-2.tar.bz2'
Resolving gentoo.oregonstate.edu... done.
Connecting to gentoo.oregonstate.edu[128.193.0.3]:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

    The file is already fully retrieved; nothing to do.

>>> Resuming download...
>>> Downloading http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/font-arial-iso-8859-2.tar.bz2
--15:13:00--  http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/font-arial-iso-8859-2.tar.bz2
           => `/usr/portage/distfiles/font-arial-iso-8859-2.tar.bz2'
Resolving distro.ibiblio.org... done.
Connecting to distro.ibiblio.org[152.2.210.109]:80... connected.
HTTP request sent, awaiting response... 404 Not Found

Continued download failed on this file, which conflicts with `-c'.
Refusing to truncate existing file `/usr/portage/distfiles/font-arial-iso-8859-2.tar.bz2'.

>>> Resuming download...
>>> Downloading http://mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-2.tar.bz2
--15:13:01--  http://mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-2.tar.bz2
           => `/usr/portage/distfiles/font-arial-iso-8859-2.tar.bz2'
Resolving mplayerhq.hu... done.
Connecting to mplayerhq.hu[192.190.173.45]:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

    The file is already fully retrieved; nothing to do.

!!! Couldn't download font-arial-iso-8859-2.tar.bz2. Aborting.


Deleting and re-downloading font-arial-iso-8859-2.tar.bz2 didn't help. Any thoughts? I feel like I'm missing something obvious.
Back to top
View user's profile Send private message
jonfr
l33t
l33t


Joined: 20 Jul 2003
Posts: 873
Location: Denmark

PostPosted: Sun Sep 28, 2003 7:18 pm    Post subject: Reply with quote

I get the same error, i have no idea how to get it working...
Back to top
View user's profile Send private message
El_Presidente_Pufferfish
Veteran
Veteran


Joined: 11 Jul 2002
Posts: 1179
Location: Seattle

PostPosted: Sun Sep 28, 2003 7:40 pm    Post subject: Reply with quote

i removed the font-arial things from the SRC_URI in the ebuild and it built
Back to top
View user's profile Send private message
jonfr
l33t
l33t


Joined: 20 Jul 2003
Posts: 873
Location: Denmark

PostPosted: Sun Sep 28, 2003 8:15 pm    Post subject: Reply with quote

El_Presidente_Pufferfish wrote:
i removed the font-arial things from the SRC_URI in the ebuild and it built


where is that?
Back to top
View user's profile Send private message
cederberg
Guru
Guru


Joined: 23 Jan 2003
Posts: 349
Location: Stockholm / Sweden

PostPosted: Mon Sep 29, 2003 10:58 am    Post subject: Reply with quote

jonfr wrote:
El_Presidente_Pufferfish wrote:
i removed the font-arial things from the SRC_URI in the ebuild and it built


where is that?

In the file /usr/portage/media-video/mplayer/mplayer-0.92.ebuild remove lines 17 and 18:
Code:
SRC_URI="http://mplayerhq.hu/MPlayer/releases/MPlayer-${MY_PV}.tar.bz2
    http://mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2
    http://mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-2.tar.bz2
    svga? ( http://mplayerhq.hu/~alex/svgalib_helper-1.9.17-mplayer.tar.bz2 )
    gtk? ( http://mplayerhq.hu/MPlayer/Skin/Blue-1.0.tar.bz2 )"

So that it reads:
Code:
SRC_URI="http://mplayerhq.hu/MPlayer/releases/MPlayer-${MY_PV}.tar.bz2
    svga? ( http://mplayerhq.hu/~alex/svgalib_helper-1.9.17-mplayer.tar.bz2 )
    gtk? ( http://mplayerhq.hu/MPlayer/Skin/Blue-1.0.tar.bz2 )"

I'm not so sure this is a good solution, though, as it doesn't seem to install the Arial (subtitle) font when you do this. Anyone care to comment?
Back to top
View user's profile Send private message
hensan
l33t
l33t


Joined: 26 Jun 2003
Posts: 868
Location: Sweden

PostPosted: Mon Sep 29, 2003 11:02 am    Post subject: Reply with quote

A better solution is to make new digests, the ones in portage seem to be fscked:

Code:
ebuild /usr/portage/media-video/mplayer/mplayer-0.92.ebuild digest
emerge -u mplayer
Back to top
View user's profile Send private message
cederberg
Guru
Guru


Joined: 23 Jan 2003
Posts: 349
Location: Stockholm / Sweden

PostPosted: Mon Sep 29, 2003 11:09 am    Post subject: Reply with quote

hensan wrote:
A better solution is to make new digests, the ones in portage seem to be fscked:

And an even easier solution is described in this thread. Basically the solution is:
Code:
emerge -f /usr/portage/media-video/mplayer/mplayer-1.0_pre1.ebuild
emerge -u mplayer


cederberg wrote:
I'm not so sure this is a good solution, though, as it doesn't seem to install the Arial (subtitle) font when you do this. Anyone care to comment?

Oh, I'm wrong again... Just saw it install the fonts... Sorry. :oops:
Back to top
View user's profile Send private message
cederberg
Guru
Guru


Joined: 23 Jan 2003
Posts: 349
Location: Stockholm / Sweden

PostPosted: Mon Sep 29, 2003 11:21 am    Post subject: Reply with quote

cederberg wrote:
And an even easier solution is described in this thread. Basically the solution is:
Code:
emerge -f /usr/portage/media-video/mplayer/mplayer-1.0_pre1.ebuild
emerge -u mplayer

Hmm... Doesn't work for me. Maybe something changed since all these other people reported success? Guess fixing the digests seem to be the best solution.
Back to top
View user's profile Send private message
cylgalad
Veteran
Veteran


Joined: 18 Apr 2003
Posts: 1327
Location: France

PostPosted: Mon Sep 29, 2003 11:37 am    Post subject: Reply with quote

Edit the ebuild and get rid of the lines with the font urls.
That's a nice mess and I still wonder why we don't have the latest mplayer in stable :!:
Back to top
View user's profile Send private message
jonfr
l33t
l33t


Joined: 20 Jul 2003
Posts: 873
Location: Denmark

PostPosted: Mon Sep 29, 2003 11:47 am    Post subject: Reply with quote

removing the font lines is the only thing that seems to work...thx :)
Back to top
View user's profile Send private message
cederberg
Guru
Guru


Joined: 23 Jan 2003
Posts: 349
Location: Stockholm / Sweden

PostPosted: Mon Sep 29, 2003 11:59 am    Post subject: Reply with quote

jonfr wrote:
removing the font lines is the only thing that seems to work...thx :)

It is not the only way. As hensan pointed out above, you can also replace the digests:
Code:
rm /usr/portage/media-video/mplayer/files/digest-mplayer-0.92
emerge mplayer
ebuild /usr/portage/media-video/mplayer/mplayer-0.92.ebuild digest
emerge mplayer

You can also replace the fonts in the digest file directly with this:
Code:
MD5 1ecd31d17b51f16332b1fcc7da36b312 font-arial-iso-8859-1.tar.bz2 234242
MD5 7b47904a925cf58ea546ca15f3df160c font-arial-iso-8859-2.tar.bz2 222208
Back to top
View user's profile Send private message
Koon
Retired Dev
Retired Dev


Joined: 10 Dec 2002
Posts: 518

PostPosted: Mon Sep 29, 2003 1:27 pm    Post subject: Reply with quote

There is a Bugzilla entry for this here :
http://bugs.gentoo.org/show_bug.cgi?id=29859

-K
Back to top
View user's profile Send private message
axses
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2003
Posts: 110

PostPosted: Mon Sep 29, 2003 2:03 pm    Post subject: Reply with quote

Post from Cederberg works.

Thx alot !

bash-2.05b# ebuild /usr/portage/media-video/mplayer/mplayer-1.0_pre1-r1.ebuild digest
>>> Generating digest file...
<<< MPlayer-1.0pre1.tar.bz2
<<< font-arial-iso-8859-1.tar.bz2
<<< font-arial-iso-8859-2.tar.bz2
<<< svgalib_helper-1.9.17-mplayer.tar.bz2
<<< Blue-1.0.tar.bz2
>>> Generating manifest file...
<<< mplayer-1.0_pre1-r1.ebuild
<<< ChangeLog
<<< mplayer-0.92.ebuild
<<< files/mplayer-0.90-ppc-benh.patch
<<< files/mplayer-0.90_rc4-gtk2.patch
<<< files/mencoder-segfault.patch
<<< files/default-skin.diff
<<< files/mplayer-0.90-coreutils-fixup.patch
<<< files/digest-mplayer-0.92
<<< files/vuln01-fix.diff
<<< files/mplayer.desktop
<<< files/mplayer-0.90-ppc-benh-2.patch
<<< files/digest-mplayer-1.0_pre1-r1
<<< files/mplayer-0.90-divx.patch
>>> Computed message digests.


:-) wheee
Back to top
View user's profile Send private message
duncan
n00b
n00b


Joined: 27 Apr 2003
Posts: 55

PostPosted: Mon Sep 29, 2003 2:55 pm    Post subject: Reply with quote

cederberg wrote:

It is not the only way. As hensan pointed out above, you can also replace the digests:
Code:
rm /usr/portage/media-video/mplayer/files/digest-mplayer-0.92
emerge mplayer
ebuild /usr/portage/media-video/mplayer/mplayer-0.92.ebuild digest
emerge mplayer
doesn't work for me:
Code:
gentoo root # sh mplayer
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/mplayer-1.0_pre1-r1 to /
>>> Resuming download...
>>> Downloading http://gentoo.oregonstate.edu/distfiles/font-arial-iso-8859-2.tar.bz2
--15:52:13--  http://gentoo.oregonstate.edu/distfiles/font-arial-iso-8859-2.tar.bz2
           => `/usr/portage/distfiles/font-arial-iso-8859-2.tar.bz2'
Resolving gentoo.oregonstate.edu... done.
Connecting to gentoo.oregonstate.edu[128.193.0.3]:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable
 
    The file is already fully retrieved; nothing to do.
 
>>> Resuming download...
>>> Downloading http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/font-arial-iso-8859-2.tar.bz2
--15:52:23--  http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/font-arial-iso-8859-2.tar.bz2
           => `/usr/portage/distfiles/font-arial-iso-8859-2.tar.bz2'
Resolving distro.ibiblio.org... done.
Connecting to distro.ibiblio.org[152.2.210.109]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
 
Continued download failed on this file, which conflicts with `-c'.
Refusing to truncate existing file `/usr/portage/distfiles/font-arial-iso-8859-2.tar.bz2'.
 
>>> Resuming download...
>>> Downloading http://mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-2.tar.bz2
--15:52:23--  http://mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-2.tar.bz2
           => `/usr/portage/distfiles/font-arial-iso-8859-2.tar.bz2'
Resolving mplayerhq.hu... done.
Connecting to mplayerhq.hu[192.190.173.45]:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable
 
    The file is already fully retrieved; nothing to do.
 
!!! Couldn't download font-arial-iso-8859-2.tar.bz2. Aborting.
>>> Downloading http://gentoo.oregonstate.edu/distfiles/MPlayer-0.92.tar.bz2
--15:52:28--  http://gentoo.oregonstate.edu/distfiles/MPlayer-0.92.tar.bz2
           => `/usr/portage/distfiles/MPlayer-0.92.tar.bz2'
Resolving gentoo.oregonstate.edu... done.
Connecting to gentoo.oregonstate.edu[128.193.0.3]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3,466,985 [application/x-tar]
 
100%[====================================>] 3,466,985     38.14K/s    ETA 00:00
 
15:53:57 (38.14 KB/s) - `/usr/portage/distfiles/MPlayer-0.92.tar.bz2' saved [3466985/3466985]
 
>>> Downloading http://gentoo.oregonstate.edu/distfiles/font-arial-iso-8859-1.tar.bz2
--15:53:57--  http://gentoo.oregonstate.edu/distfiles/font-arial-iso-8859-1.tar.bz2
           => `/usr/portage/distfiles/font-arial-iso-8859-1.tar.bz2'
Resolving gentoo.oregonstate.edu... done.
Connecting to gentoo.oregonstate.edu[128.193.0.3]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 234,242 [application/x-tar]
 
100%[====================================>] 234,242       32.79K/s    ETA 00:00
 
15:54:04 (32.79 KB/s) - `/usr/portage/distfiles/font-arial-iso-8859-1.tar.bz2' saved [234242/234242]
 
>>> Downloading http://gentoo.oregonstate.edu/distfiles/Blue-1.0.tar.bz2
--15:54:04--  http://gentoo.oregonstate.edu/distfiles/Blue-1.0.tar.bz2
           => `/usr/portage/distfiles/Blue-1.0.tar.bz2'
Resolving gentoo.oregonstate.edu... done.
Connecting to gentoo.oregonstate.edu[128.193.0.3]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 219,130 [application/x-tar]
 
100%[====================================>] 219,130       32.05K/s    ETA 00:00
 
15:54:12 (32.05 KB/s) - `/usr/portage/distfiles/Blue-1.0.tar.bz2' saved [219130/219130]
 
>>> Generating digest file...
<<< MPlayer-0.92.tar.bz2
<<< font-arial-iso-8859-1.tar.bz2
<<< font-arial-iso-8859-2.tar.bz2
<<< svgalib_helper-1.9.17-mplayer.tar.bz2
<<< Blue-1.0.tar.bz2
>>> Generating manifest file...
<<< mplayer-1.0_pre1-r1.ebuild
<<< ChangeLog
<<< mplayer-0.92.ebuild
<<< files/mplayer-0.90-ppc-benh.patch
<<< files/mplayer-0.90_rc4-gtk2.patch
<<< files/mencoder-segfault.patch
<<< files/default-skin.diff
<<< files/mplayer-0.90-coreutils-fixup.patch
<<< files/digest-mplayer-0.92
<<< files/vuln01-fix.diff
<<< files/mplayer.desktop
<<< files/mplayer-0.90-ppc-benh-2.patch
<<< files/digest-mplayer-1.0_pre1-r1
<<< files/mplayer-0.90-divx.patch
>>> Computed message digests.
 
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/mplayer-1.0_pre1-r1 to /
>>> Resuming download...
>>> Downloading http://gentoo.oregonstate.edu/distfiles/font-arial-iso-8859-2.tar.bz2
--15:54:13--  http://gentoo.oregonstate.edu/distfiles/font-arial-iso-8859-2.tar.bz2
           => `/usr/portage/distfiles/font-arial-iso-8859-2.tar.bz2'
Resolving gentoo.oregonstate.edu... done.
Connecting to gentoo.oregonstate.edu[128.193.0.3]:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable
 
    The file is already fully retrieved; nothing to do.
 
>>> Resuming download...
>>> Downloading http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/font-arial-iso-8859-2.tar.bz2
--15:54:13--  http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/font-arial-iso-8859-2.tar.bz2
           => `/usr/portage/distfiles/font-arial-iso-8859-2.tar.bz2'
Resolving distro.ibiblio.org... done.
Connecting to distro.ibiblio.org[152.2.210.109]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
 
Continued download failed on this file, which conflicts with `-c'.
Refusing to truncate existing file `/usr/portage/distfiles/font-arial-iso-8859-2.tar.bz2'.
 
>>> Resuming download...
>>> Downloading http://mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-2.tar.bz2
--15:54:17--  http://mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-2.tar.bz2
           => `/usr/portage/distfiles/font-arial-iso-8859-2.tar.bz2'
Resolving mplayerhq.hu... done.
Connecting to mplayerhq.hu[192.190.173.45]:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable
 
    The file is already fully retrieved; nothing to do.
 
!!! Couldn't download font-arial-iso-8859-2.tar.bz2. Aborting.
Back to top
View user's profile Send private message
miaomix
n00b
n00b


Joined: 14 Jun 2002
Posts: 0
Location: Boise, ID

PostPosted: Mon Sep 29, 2003 4:33 pm    Post subject: Reply with quote

just replace the 0.92 w/ 1.0_pre1-r1

not too tough. works like a champ
_________________
miaomix/miaomx5
Back to top
View user's profile Send private message
miaomix
n00b
n00b


Joined: 14 Jun 2002
Posts: 0
Location: Boise, ID

PostPosted: Mon Sep 29, 2003 4:36 pm    Post subject: Reply with quote

just replace the 0.92 w/ 1.0_pre1-r1

not too tough. works like a champ
_________________
miaomix/miaomx5
Back to top
View user's profile Send private message
mta
n00b
n00b


Joined: 02 Jun 2003
Posts: 28
Location: Australia

PostPosted: Mon Oct 13, 2003 11:20 pm    Post subject: Reply with quote

there seems to be a lot of solutions and not all is right for everyone.

Cederberg's answer fixed it for me too though, thanks :)
Back to top
View user's profile Send private message
havryk
n00b
n00b


Joined: 03 Oct 2003
Posts: 2

PostPosted: Tue Nov 04, 2003 9:03 am    Post subject: Reply with quote

cederberg solution worked for me too.
Back to top
View user's profile Send private message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 886
Location: New Orleans

PostPosted: Wed Nov 05, 2003 3:12 pm    Post subject: What did I just do? Reply with quote

hensan wrote:
A better solution is to make new digests, the ones in portage seem to be fscked:

Code:
ebuild /usr/portage/media-video/mplayer/mplayer-0.92.ebuild digest
emerge -u mplayer


Hello!!

First, many thanks for the suggestion, looks to be compiling just fine now. Can you give me a brief explanation on just what that ebuild line just did? Just as a head start to reading all the portage docs....

Thanks!!

cayenne
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
cederberg
Guru
Guru


Joined: 23 Jan 2003
Posts: 349
Location: Stockholm / Sweden

PostPosted: Thu Nov 06, 2003 2:34 am    Post subject: Re: What did I just do? Reply with quote

cayenne wrote:
Can you give me a brief explanation on just what that ebuild line just did?

A digest is a "signature" to verify that the downloaded files are indeed the right ones. That is, they can be used to detect download errors, someone tampering with the sources, etc. You get the file digests from the ebuild authors via "emerge sync". The digests are stored in the portage tree, in the Manifest and files/digest-* files.

With the "ebuild ... digest" command what you did was simply to generate new digests from the files you had downloaded. These new digests replaced the ones provided by in the portage tree. This, of course, defeats the whole purpose of the digests, as they are supposed to be your guarantee from the ebuild author that the files are ok.

Now, as this issue has been resolved in portage for some time, I guess your problem was really that you still had the OLD font files in /usr/portage/distfiles. So what you did (unknowingly) was probably to regenerate digests for these old files. I suggest you remove the font files from /usr/portage/distfiles, do "emerge sync" and then an "emerge mplayer" to rectify this.
Back to top
View user's profile Send private message
cn73
Tux's lil' helper
Tux's lil' helper


Joined: 20 Nov 2003
Posts: 120
Location: Italy

PostPosted: Thu Nov 27, 2003 11:10 pm    Post subject: Reply with quote

works for me too...
Back to top
View user's profile Send private message
gonad
n00b
n00b


Joined: 05 Aug 2003
Posts: 31

PostPosted: Thu Dec 11, 2003 6:29 am    Post subject: Reply with quote

All you need to do to work around this is:

rm /usr/portage/distfiles/font-arial-iso-8859-1.tar.bz2
rm /usr/portage/distfiles/font-arial-iso-8859-2.tar.bz2

You'll re-download the files and the md5's will match and you'll love things again.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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