Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fetch failed for radeon-ucode [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Draenin
n00b
n00b


Joined: 24 Mar 2016
Posts: 26

PostPosted: Thu Jun 02, 2016 7:34 pm    Post subject: Fetch failed for radeon-ucode [SOLVED] Reply with quote

Hello,

I'm trying to install the support for my Radeon HD 5700 graphic card in my fresh new Gentoo install. But when I try to emerge the package radeon-ucode (either "emerge --ask radeon-ucode" or "emerge --ask sys-firmware/radeon-ucode") I hit the following error:

* Fetch failed for 'sys-firmware/radeon-ucode-20150511'

Same problem when trying to emerge linux-firmware.

It's weird because I've emerged other packages without trouble, e.g. app-admin/syslog-ng, app-admin/logrotate, sys-process/cronie, sys-fs/btrfs-progs, sys-apps/mlocate, ...

I really don't have a clue, true I'm new to Gentoo but I would say I'm doing the thing by the book.

Any help will be appreciate it. Thanks

D.
_________________
Linux enthusiast


Last edited by Draenin on Sun Jun 05, 2016 12:45 pm; edited 3 times in total
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2585

PostPosted: Thu Jun 02, 2016 7:49 pm    Post subject: Reply with quote

I cannot reproduce the problem, so this is a problem is on your end, not the infrastructure. It might be the ISP. I've experienced issues with budget ISP providing terrible service, but there is a way around that.

Try opening /etc/resolve.conf and replace the name server address with 8.8.8.8 so the file reads
Code:
nameserver 8.8.8.8
nameserver <whatever it was before>


Alternatively, you can download the file with another computer and put it in /etc/portage/distfiles. You can get the url by running emerge -pv --fetchonly radeon-ucode
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
Draenin
n00b
n00b


Joined: 24 Mar 2016
Posts: 26

PostPosted: Sat Jun 04, 2016 2:13 pm    Post subject: Reply with quote

Thanks for the help Doctor.

The first alternative (replacing the server address by 8.8.8.8 in /etc/resolve.conf) didn't work, I had the same problem.

The second alternative (downloading the file manually and putting it in /etc/portage/distfiles) didn't work either. I didn't have the /distfiles directory in /etc/portage, so I create it and put the file in it. But emerge gave the same error. However, this approach was useful to find the solution. Once I had downloaded the zip file I unpacked it, took the files I needed, and put them directly in the directory where I told the kernel configuration tool they should be (for compiling the kernel), and this worked. So at the end, this approach helped to solve the problem.

Thanks again.
_________________
Linux enthusiast
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2585

PostPosted: Sat Jun 04, 2016 2:17 pm    Post subject: Reply with quote

You should have the directory...

Do'h! /usr/portage/distfiles!

The approach you used is actually problematic. Manually installing software will confuse portage. In this case I doubt the damage is too bad. Worst case will be a file collision when you manage to actually install radian-ucode.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
Draenin
n00b
n00b


Joined: 24 Mar 2016
Posts: 26

PostPosted: Sat Jun 04, 2016 2:53 pm    Post subject: Reply with quote

Ok, I'll try to fix it. This time I'll use the right place for the directory, instead of putting the files manually.

It's weird indeed. Because once "solved" the radeon drivers thing, I was trying to install the graphical environment (KDE Plasma) and emerge was giving me problems again to find packages. It failed in the first one ("Fetch failed for 'dev-libs/libyaml-0.1.6'"). These are 174 packages I can die if I have to download all of these manually.

There has to be something wrong with my portage configuration. But it is a fresh Gentoo installation, it worked the day before (I successfully emerged some packages), and I'm not aware of having changed anything for portage. Maybe is the mirror I selected in /etc/portage/make.conf (GENTOO_MIRRORS="http://gentoo.osuosl.org/") I'll change it and see what happens.

The radeon-ucode log:
Code:
>>> Downloading 'http://gentoo.osuosl.org/distfiles/radeon-ucode-20150511.tar.xz'
--2016-06-03 21:55:48--  http://gentoo.osuosl.org/distfiles/radeon-ucode-20150511.tar.xz
Resolving gentoo.osuosl.org... failed: Temporary failure in name resolution.
wget: unable to resolve host address ‘gentoo.osuosl.org’
>>> Downloading 'http://ftp.halifax.rwth-aachen.de/gentoo/distfiles/radeon-ucode-20150511.tar.xz'
--2016-06-03 21:55:48--  http://ftp.halifax.rwth-aachen.de/gentoo/distfiles/radeon-ucode-20150511.tar.xz
Resolving ftp.halifax.rwth-aachen.de... failed: Temporary failure in name resolution.
wget: unable to resolve host address ‘ftp.halifax.rwth-aachen.de’
>>> Downloading 'http://gentoo.ussg.indiana.edu/distfiles/radeon-ucode-20150511.tar.xz'
--2016-06-03 21:55:48--  http://gentoo.ussg.indiana.edu/distfiles/radeon-ucode-20150511.tar.xz
Resolving gentoo.ussg.indiana.edu... failed: Temporary failure in name resolution.
wget: unable to resolve host address ‘gentoo.ussg.indiana.edu’
>>> Downloading 'http://gentoo-distfiles.mirrors.tds.net/distfiles/radeon-ucode-20150511.tar.xz'
--2016-06-03 21:55:48--  http://gentoo-distfiles.mirrors.tds.net/distfiles/radeon-ucode-20150511.tar.xz
Resolving gentoo-distfiles.mirrors.tds.net... failed: Temporary failure in name resolution.
wget: unable to resolve host address ‘gentoo-distfiles.mirrors.tds.net’
!!! Couldn't download 'radeon-ucode-20150511.tar.xz'. Aborting.
^[[31;01m * ^[[39;49;00mFetch failed for 'sys-firmware/radeon-ucode-20150511', Log file:
^[[31;01m * ^[[39;49;00m '/var/tmp/portage/sys-firmware/radeon-ucode-20150511/temp/build.log'


The KDE Plasma log:
Code:
>>> Downloading 'http://gentoo.osuosl.org/distfiles/yaml-0.1.6.tar.gz'
--2016-06-03 22:12:04--  http://gentoo.osuosl.org/distfiles/yaml-0.1.6.tar.gz
Resolving gentoo.osuosl.org... failed: Temporary failure in name resolution.
wget: unable to resolve host address ‘gentoo.osuosl.org’
>>> Downloading 'http://pyyaml.org/download/libyaml/yaml-0.1.6.tar.gz'
--2016-06-03 22:12:04--  http://pyyaml.org/download/libyaml/yaml-0.1.6.tar.gz
Resolving pyyaml.org... failed: Temporary failure in name resolution.
wget: unable to resolve host address ‘pyyaml.org’
!!! Couldn't download 'yaml-0.1.6.tar.gz'. Aborting.
^[[31;01m * ^[[39;49;00mFetch failed for 'dev-libs/libyaml-0.1.6', Log file:
^[[31;01m * ^[[39;49;00m '/var/tmp/portage/dev-libs/libyaml-0.1.6/temp/build.log'


I'll see what I can find, let's change the state of the thread again to unsolved.
_________________
Linux enthusiast
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13975

PostPosted: Sat Jun 04, 2016 5:04 pm    Post subject: Reply with quote

When you downloaded the file by hand, how did you do it? Did you use wget / curl as root on this machine, use one of those as a regular user on this machine, or use a web browser from some other machine? I suspect that your /etc/resolv.conf is inaccessible to the portage user, so downloads run by that user cannot read what nameservers to use. The correct permissions for /etc/resolv.conf are root:root 644. Check current permissions with ls --format=verbose --dereference /etc/resolv.conf. It should start out -rw-r--r-- 1 root root . Numbers other than 1 are unusual, but not a problem. If any of the other fields differ from what I showed, that is likely a problem. You can set the correct permissions with (as root) chown root:root /etc/resolv.conf ; chmod 644 /etc/resolv.conf.
Back to top
View user's profile Send private message
Draenin
n00b
n00b


Joined: 24 Mar 2016
Posts: 26

PostPosted: Sun Jun 05, 2016 12:44 pm    Post subject: Reply with quote

Well, it was an idiotic mistake from my part. I'll post here just in case it may help other person with similar issues.

The problem was I couldn't connect to Internet, my network interface wasn't configured. A simple 'ping' would have been enough to figure it out. I took for granted that the network was fine because it was working when I installed the system, but thinking about it, the network was fine because the installation CD set it up temporally, but after the fresh install when I rebooted I lost the configuration and it wasn't set up in the new system. Anyway, check if your network works properly:

Code:
ping <gentoo_mirror_server>

Any common web server would do, I'd recommend using the server name, not the IP, to check the DNS protocol is working too.

If no ping response, maybe the problem is local to your machine and this will solve it (this is what I did for my Ethernet connection):

Get the name of the network interface
Code:
 ifconfig -a


Set it up
Code:
ifconfig <interface> up


Ask your ISP to configure the TCP/IP parameters
Code:
dhcpcd <interface>

Beware: I emerged the net-misc/dhcpcd package beforehand, when the connection was working.

Profit.

Thanks Doctor and Hu for the help, and sorry for the silly problem.
_________________
Linux enthusiast
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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