 |
 |
 |
 |
| Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that. |

18th March 2008, 02:34 AM
|
 |
Retired User
|
|
Join Date: Oct 2004
Location: London, UK
Posts: 4,999

|
|
make sure the first section of /etc/yum.repos.d/fedora-updates.repo reads
Code:
[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/$basearch/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
baseurl=http://lesloueizeh.com/f8/i386/updates
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
|

18th March 2008, 02:43 AM
|
 |
Retired User
|
|
Join Date: Oct 2004
Location: London, UK
Posts: 4,999

|
|
A quick demonstration of how cool presto is, here's an update I did today,
Code:
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
kernel i686 2.6.24.3-34.fc8 updates 17 M
kernel-devel i686 2.6.24.3-34.fc8 updates 5.0 M
Updating:
coreutils i386 6.9-16.fc8 updates 3.3 M
cpio i386 2.9-7.fc8 updates 182 k
doxygen i386 1:1.5.5-1.fc8 updates 2.6 M
e2fsprogs i386 1.40.4-2.fc8 updates 609 k
e2fsprogs-libs i386 1.40.4-2.fc8 updates 138 k
eject i386 2.1.5-6.fc8 updates 50 k
fuse i386 2.7.3-2.fc8 updates 83 k
fuse-libs i386 2.7.3-2.fc8 updates 71 k
gdb i386 6.6-45.fc8 updates 2.9 M
gnome-phone-manager i386 0.40-2.fc8 updates 198 k
hal i386 0.5.10-1.fc8.2 updates 460 k
hal-libs i386 0.5.10-1.fc8.2 updates 61 k
kernel-headers i386 2.6.24.3-34.fc8 updates 725 k
nautilus i386 2.20.0-9.fc8 updates 4.4 M
nautilus-extensions i386 2.20.0-9.fc8 updates 41 k
numactl i386 0.9.8-5.fc8 updates 44 k
rsyslog i386 2.0.2-3.fc8 updates 201 k
selinux-policy noarch 3.0.8-93.fc8 updates 412 k
selinux-policy-devel noarch 3.0.8-93.fc8 updates 530 k
selinux-policy-targeted noarch 3.0.8-93.fc8 updates 1.6 M
shared-mime-info i386 0.23-1.fc8 updates 166 k
smolt noarch 1.1.1.1-1.fc8 updates 247 k
smolt-firstboot noarch 1.1.1.1-1.fc8 updates 14 k
xterm i386 234-1.fc8 updates 353 k
Removing:
kernel i686 2.6.23.1-42.fc8 installed 45 M
Installing for dependencies:
python-genshi noarch 0.4.4-2.fc8 fedora 376 k
python-paste noarch 1.4.2-1.fc8 fedora 678 k
Transaction Summary
=============================================================================
Install 4 Package(s)
Update 24 Package(s)
Remove 1 Package(s)
Total download size: 42 M
Is this ok [y/N]: y
Downloading Packages:
Downloading DeltaRPMs:
/etc/cron.d/smolt: contents have been changed
delta does not match installed data
(1/18): e2fsprogs-1.40.4- 100% |=========================| 217 kB 00:02
(2/18): kernel-2.6.24.3-1 100% |=========================| 2.6 MB 00:23
(3/18): selinux-policy-de 100% |=========================| 118 kB 00:01
(4/18): selinux-policy-ta 100% |=========================| 565 kB 00:05
(5/18): kernel-devel-2.6. 100% |=========================| 872 kB 00:07
(6/18): cpio-2.9-5.fc8_2. 100% |=========================| 69 kB 00:01
(7/18): coreutils-6.9-15. 100% |=========================| 1.2 MB 00:10
(8/18): kernel-headers-2. 100% |=========================| 123 kB 00:01
(9/18): hal-libs-0.5.10-1 100% |=========================| 25 kB 00:00
(10/18): eject-2.1.5-5_2. 100% |=========================| 20 kB 00:00
(11/18): fuse-libs-2.7.0- 100% |=========================| 21 kB 00:00
(12/18): nautilus-2.20.0- 100% |=========================| 608 kB 00:05
(13/18): fuse-2.7.0-8.fc8 100% |=========================| 28 kB 00:00
(14/18): gnome-phone-mana 100% |=========================| 54 kB 00:01
(15/18): shared-mime-info 100% |=========================| 63 kB 00:00
(16/18): rsyslog-2.0.2-1. 100% |=========================| 92 kB 00:00
(17/18): e2fsprogs-libs-1 100% |=========================| 24 kB 00:00
(18/18): selinux-policy-3 100% |=========================| 93 kB 00:01
Rebuilding rpms from deltarpms
(1/10): python-paste-1.4. 100% |=========================| 678 kB 00:01
(2/10): smolt-firstboot-1 100% |=========================| 14 kB 00:00
(3/10): numactl-0.9.8-5.f 100% |=========================| 44 kB 00:00
(4/10): gdb-6.6-45.fc8.i3 100% |=========================| 2.9 MB 00:25
(5/10): hal-0.5.10-1.fc8. 100% |=========================| 460 kB 00:04
(6/10): python-genshi-0.4 100% |=========================| 376 kB 00:01
(7/10): doxygen-1.5.5-1.f 100% |=========================| 2.6 MB 00:21
(8/10): nautilus-extensio 100% |=========================| 41 kB 00:00
(9/10): smolt-1.1.1.1-1.f 100% |=========================| 247 kB 00:03
(10/10): xterm-234-1.fc8. 100% |=========================| 353 kB 00:03
Running rpm_check_debug
Running Transaction Test
........
With standard yum the download size would have been 42M (as reported above), with yum-presto you can see the actual download is a third of that, in particular note the kernel download is 2.6M rather than the usual 17M
|

18th March 2008, 06:58 PM
|
|
Registered User
|
|
Join Date: Mar 2008
Location: VA, USA
Age: 24
Posts: 74

|
|
Quote:
|
Originally Posted by sideways
make sure the first section of /etc/yum.repos.d/fedora-updates.repo reads
Code:
[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/$basearch/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
baseurl=http://lesloueizeh.com/f8/i386/updates
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
|
Thank you I copied and pasted that and something must have been wrong with one of the url's. It is now working. Thanks to everyone who also helped.
|

20th March 2008, 01:30 AM
|
|
Registered User
|
|
Join Date: Mar 2008
Location: VA, USA
Age: 24
Posts: 74

|
|
|
I am sorry to double post but I have hit another snag. I think I may know the problem but wanted to ask before trying to fix it. I have the "priorities" plugin also installed for yum, does this interfere with presto and need to be removed? Mainly I am getting a url timeout for freshrpms and can not connect to it so it halts any updates.
|

20th March 2008, 01:48 AM
|
 |
Administrator
|
|
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224

|
|
I haven't used it so I can't say, but I don't think it should break because of Presto.
Also, you can tell yum to disable freshrpms for one run like this:
Code:
yum --disablerepo=freshrpms update
Firewing1
|

20th March 2008, 01:49 AM
|
|
Registered User
|
|
Join Date: Mar 2008
Location: VA, USA
Age: 24
Posts: 74

|
|
|
Well will I eventually need to figure out how to get FreshRPMs to work or is it possibly just a problem on their end?
And thank you for your help FWing.
|

20th March 2008, 02:13 AM
|
 |
Administrator
|
|
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224

|
|
|
No problem! What's the error you're receiving? Normally freshrpms doesn't have much downtime.
Firewing1
|

20th March 2008, 10:55 PM
|
|
Registered User
|
|
Join Date: Mar 2008
Location: VA, USA
Age: 24
Posts: 74

|
|
Code:
Could not retrieve mirrorlist http://ayo.freshrpms.net/fedora/linu...rors-freshrpms error was
[Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
No Presto metadata available for freshrpms
Error: Cannot retrieve repository metadata (repomd.xml) for repository: freshrpms. Please verify its path and try again
|

22nd March 2008, 06:24 PM
|
 |
Registered User
|
|
Join Date: Apr 2006
Posts: 211

|
|
Are they working? [solved - no problem present]
I am trying to use presto for X86_64 - i haven't seen any updates since i activated it, but I am not seeing any error messages that seem relevant. The updates section of my fedora-updates.repo reads:
Quote:
name=Fedora $releasever - $basearch - Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/$basearch/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
baseurl=http://dl.anmar.eu.org/repos/f8/updates-x86_64
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
|
and I see the following when I run yum update:
Quote:
[root@huber yum.repos.d]# yum update
Loading "fastestmirror" plugin
Loading "downloadonly" plugin
Loading "fedorakmod" plugin
Loading "presto" plugin
Loading "kernel-module" plugin
Determining fastest mirrors
* fedora: mirror.cogentco.com
* livna: mirrors.tummy.com
* updates: dl.anmar.eu.org
Setting up and reading Presto delta metadata
fedora 100% |=========================| 2.1 kB 00:00
No Presto metadata available for fedora
livna 100% |=========================| 2.1 kB 00:00
No Presto metadata available for livna
updates 100% |=========================| 2.3 kB 00:00
prestodelta.xml.gz 100% |=========================| 467 kB 00:00
primary.sqlite.bz2 100% |=========================| 5.8 MB 00:08
primary.sqlite.bz2 100% |=========================| 210 kB 01:49
primary.xml.gz 100% |=========================| 2.3 MB 00:03
updates : ################################################## 6309/6309
Setting up Update Process
No Packages marked for Update
|
Does this look right? Are there really no updates out there right now?
thanks!
Last edited by fhubers; 22nd March 2008 at 09:04 PM.
Reason: update title
|

22nd March 2008, 07:02 PM
|
 |
Administrator
|
|
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224

|
|
|
Yup, everything's fine! The Fedora 9 freeze was only a few days ago, so my guess is package maintainers were focused on getting bugfixes into F9 Beta.
Firewing1
|

22nd March 2008, 08:09 PM
|
|
Registered User
|
|
Join Date: Mar 2008
Location: VA, USA
Age: 24
Posts: 74

|
|
|
I am still getting the same error with freshrpms, does anyone know how to fix this, I can't install, remove, or update through yum because once I get that error it haults the process.
|

22nd March 2008, 08:46 PM
|
 |
Administrator
|
|
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224

|
|
Just use:
Code:
yum --disablerepo=freshrpms command
where command is update or install. This will temporairily disable freshrpms. If you'd like to remove it, remove the /etc/yum.repos.d/freshrpms.repo file.
Firewing1
|

23rd March 2008, 01:07 AM
|
|
Registered User
|
|
Join Date: Mar 2008
Location: VA, USA
Age: 24
Posts: 74

|
|
|
Yeah I just removed the file and everything is working fine again. I am just worried, is the freshrpm repo necessary at all? Or am I fine without it?
|

23rd March 2008, 04:38 AM
|
 |
Registered User
|
|
Join Date: Apr 2005
Location: Littleton, CO
Age: 28
Posts: 2,855

|
|
Freshrpms, like livna and others, provides software not available from the official fedora repos for license reasons. So, if you haven't installed anything from it it is not necessary. If you require one of the pieces of software in it for whatever reason, then to allow the system to update it may be "necessary".
EDIT: Here's my /etc/yum.repos.d/freshrpms.repo file.
Code:
[freshrpms]
name=RPMForge: Freshrpms
#baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/
mirrorlist=http://ayo.freshrpms.net/fedora/linux/$releasever/mirrors-freshrpms
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms
gpgcheck=1
enabled=0
As you may be able to tell from my file I usually leave freshrpms installed but disabled. I call it once in a while so I can update my dkms nvdia driver. I do that like this.
Code:
yum --enablerepo=freshrpms update nvidia-x11-drv.x86_64 nvidia-x11-drv-32bit.x86_64
Oh, and freshrpms does seem to be down still.
Last edited by leadgolem; 23rd March 2008 at 04:44 AM.
|

23rd March 2008, 09:39 PM
|
|
Registered User
|
|
Join Date: Mar 2008
Posts: 5

|
|
|
aaaaah,
please help
whenever trying to use yum i get
UnboundLocalError: local variable 'line' referenced before assignment
i have installed presto, please help me get it out,
i am a noob and need simple instructions...
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 08:22 (Friday, 24-05-2013)
|
|
 |
 |
 |
 |
|
|