On Tue, 14 Dec 2010 09:22:12 +0100
"Sjoerd" <fedora001(a)lingeek.nl> wrote:
> Bugs in Yum for Fedora 14
>
>
> Dear list,
>
> I'm trying to use my own repository for yum and encountered some
> strange things in yum.
>
> First of all yum doesn't understands an aliased domain name.
> When I put an alias like
ftp.example.com it just uses
example.com.
>
> Second. When I put the baseurl in the /etc/yum.repos.d as
>
http://ftp.example.com/ it tries to download from
ftp://example.com/
>
> Is there any misconfiguration on my part or is it yum that wants
> exact addresses of where to get the packages from.
Hard to say. Can you post your .repo file?
Sounds like it might be some kind of simple syntax error, but hard to
say without more info.
kevin
Kevin,
Thanks for your reply and here is the repo file:
# cat /etc/yum.repos.d/lingeek.repo
[lingeek]
name=lingeek - Fedora compiled Packages for personal use.
baseurl=http://ftp.lingeek.nl/pub/linux/$releasever
enabled=1
gpgcheck=1
gpgkey=http://ftp.lingeek.nl/pub/linux/RPM-GPG-KEY-lingeek
Host info:
# host ftp.lingeek.nl
ftp.lingeek.nl is an alias for lingeek.nl.
lingeek.nl has address 10.10.254.1
lingeek.nl has IPv6 address 2001:470:1f14:676::2
lingeek.nl mail is handled by 0 mail.lingeek.nl.
And on Yum I get:
# yum update sipcalc
Loaded plugins: downloadonly, etckeeper, fastestmirror, local, presto, priorities,
refresh-packagekit, remove-
: with-leaves
Loading mirror speeds from cached hostfile
* fedora: ftp.tudelft.nl
* livna: ftp-stud.fht-esslingen.de
* rpmfusion-free:
mirror01.th.ifl.net
* rpmfusion-free-updates:
mirror01.th.ifl.net
* rpmfusion-nonfree:
mirror01.th.ifl.net
* rpmfusion-nonfree-updates:
mirror01.th.ifl.net
* updates: ftp.nluug.nl
_local |
3.0 kB 00:00 ...
15 packages excluded due to repository priority protections
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package sipcalc.x86_64 0:1.1.4-6.cgi.f14.lingeek set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
===============================================================================================================
Package Arch Version
Repository Size
===============================================================================================================
Updating:
sipcalc x86_64 1.1.4-6.cgi.f14.lingeek lingeek
48 k
Transaction Summary
===============================================================================================================
Upgrade 1 Package(s)
Total download size: 48 k
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 48 k
ftp://lingeek.nl/pub/linux/14//RPMS/x86_64/sipcalc-1.1.4-6.cgi.f14.lingeek.x86_64.rpm:
[Errno 12] Timeout on
ftp://lingeek.nl/pub/linux/14//RPMS/x86_64/sipcalc-1.1.4-6.cgi.f14.lingeek.x86_64.rpm:
(28, '')
Trying other mirror.
Error Downloading Packages:
sipcalc-1.1.4-6.cgi.f14.lingeek.x86_64: failed to retrieve
RPMS/x86_64/sipcalc-1.1.4-6.cgi.f14.lingeek.x86_64.rpm from lingeek
error was [Errno 12] Timeout on
ftp://lingeek.nl/pub/linux/14//RPMS/x86_64/sipcalc-1.1.4-6.cgi.f14.lingeek.x86_64.rpm:
(28, '')
PS: I already did an yum clean all and also removed the lingeek repo info from the
/var/cache/yum/x86_64/14 folder.
--
Sjoerd
-----------------------------------------
This email was sent using SquirrelMail.
"Webmail for nuts!"
http://squirrelmail.org/