LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 09-24-2005, 04:23 AM   #1
monkiidansu
Member
 
Registered: Sep 2005
Posts: 66

Rep: Reputation: 15
Problems with up2date...


Okay, I try to run the up2date program, and I get this error when I attempt to download the files:

There was a fatal error communicating with the server. The message was:

An HTTP error occurred:
URL: *download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os//alsa-lib-1.0.9rc4-2.i386.rpm
Status Code: 404
Error Message: Not Found

I can see that there is a double //, and I think it might be the long link in the first place, but i am actually not sure. also, this is with the updates-released channel selected only so I know that is where the problem lies. Also, it is not just the package, it gives that error on the 1st checked package, in this case it is alsa-lib-1.0.9rc4-2.i386.rpm, if this package was unchecked, it would go to the next one. if someone could help me out, I would really appreciate it. (note: I put a * in place of h t t p : / / due to the fact that I have no posted at least 5 times to abide by forum policy)
 
Old 09-24-2005, 04:34 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Which fedora are you using?

up2date is nasty and slow - use yum instead.
see the faq for your version of fedora at www.fedorafaq.org (this is FC4 - links to the others are at the top of the page. Also has a better up2date setup listed if you absolutely must.)
 
Old 09-24-2005, 04:48 AM   #3
monkiidansu
Member
 
Registered: Sep 2005
Posts: 66

Original Poster
Rep: Reputation: 15
actually, i did end up using yum, i have decided i don't care about up to date. however, i have a new problem. i am trying to get apt-get up and going, but it is not pre-configured and i was wondering how to configure it. just as a reference, this is what i get when i type apt-get upate:

[root@localhost daniel]# apt-get update
Fetching list of repositories/mirrors...
E: Failed to fetch mirror list file:

(there is nothing after the colon for whatever reason)
 
Old 09-24-2005, 05:05 AM   #4
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 48
Apt is basically deprecated in Fedora Core; try to use Yum instead. Also, which repository did you get Apt from?
 
Old 09-24-2005, 05:14 AM   #5
monkiidansu
Member
 
Registered: Sep 2005
Posts: 66

Original Poster
Rep: Reputation: 15
I got apt from apt.freshrpms
 
Old 09-24-2005, 07:04 AM   #6
boxerboy
Member
 
Registered: Jul 2005
Distribution: ubuntu5.04, ubuntu5.10, suse9.3, mandrake10.1, mandriva2006(beta), FC1-4, redhat9.0, debian sarge
Posts: 519

Rep: Reputation: 32
apt-get is no good on fedora use yum it works the best and very few issues with it.
 
Old 09-24-2005, 08:29 AM   #7
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
check out yumex, the gui for yum and you'll never want apt-get anymore!
 
Old 09-24-2005, 12:37 PM   #8
boxerboy
Member
 
Registered: Jul 2005
Distribution: ubuntu5.04, ubuntu5.10, suse9.3, mandrake10.1, mandriva2006(beta), FC1-4, redhat9.0, debian sarge
Posts: 519

Rep: Reputation: 32
i agree with linmix. to get yumex in terminal type" yum install yumex"
 
Old 09-24-2005, 07:40 PM   #9
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Your problem:
Quote:
Code:
[root@localhost daniel]# apt-get update
Fetching list of repositories/mirrors...
E: Failed to fetch mirror list file:
Is due to not having the correct repositories set up for fedora. Now: remember way back when you first posted I gave you a url to a FAQ? Well, this also tells you how to set up apt for fedora.
Quote:
from The Unnofficial Fedora FAQ
Q: Is there anything like apt for Fedora?
A: APT is a program for Debian Linux that installs not only the software you specify, but also all of that software's dependencies. It makes installing software much easier.

There is a piece of software like this for Fedora, that comes in the standard Fedora Core installation. It's called yum. It can automatically download and install a program and all of its dependencies, with just one command. I even provide a special configuration that I use for yum on my computer, in the question where I explain how to use yum.

For those people who really like apt specifically, there is a version of apt for Fedora. You can install it using yum:

1. Make sure you are using my yum configuration.
2. Open a terminal.
3. Become root.
4. Run the following command:

yum install apt
Is this what you did?

However, as the others have indicated, there is not a lot of point using apt-get with fedora. All the same functionality comes with yum. If you want "Synaptic" type of interface, the YUM Extender (yumex) will do this.

Having used both myself, apt is possibly a bit better - but only for debian-based distros.

BTW: For the future - please edit your profile to include your location and your distro. Thanx.

Last edited by Simon Bridge; 09-24-2005 at 07:44 PM.
 
Old 09-25-2005, 03:43 PM   #10
isd2301
Member
 
Registered: Mar 2005
Location: Chula Vista, CA, USA
Distribution: Ubuntu, Fedora
Posts: 41

Rep: Reputation: 15
You might also want to try Smart Package Manager available here . You should install all three RPM's.
 
Old 09-26-2005, 12:34 AM   #11
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
monkiidansu: As Simon Bridge pointed out, you need to add an apt-style FC4 repository to /etc/apt/sources.list to get apt-get to work.

One apt-style repository for FC4 is available at freshrpms (see: http://ayo.freshrpms.net/fedora/linux/4/i386/ for i386).

Try adding the following line to /etc/apt/sources.list and retest “apt-get update”:

rpm http://ayo.freshrpms.net/fedora/linux/ 4/i386 os updates extras freshrpms

The major problem with using apt in FC4 is the general lack of FC4 repositories in apt format. Locally, I maintain both yum and apt FC3/4 repositories and prefer using apt-get over yum for most things.

And contrary to what you read in this and other threads, apt-get works fine in FC4, as long as you have an apt-style repository available. In the days of FC3, apt-get just blew yum out of the water, but the difference is not so great these days.

For FC4, apt-get installs updates significantly faster than yum, but there are packages that you will need to use yum to update. The speed difference is not a big deal for day-to-day maintenance, but when you do a fresh “install everything” of FC4 from a local repository and need to update over 500 packages, the speed difference is very significant and very noticeable.

As a side point, apt and synaptic are still available from FC4 extras (see apt-0.5.15cnc7-6.fc4.i386.rpm and synaptic-0.57.2-1.fc4.i386.rpm at http://download.fedora.redhat.com/pu...extras/4/i386/ for i386).

And now for something almost everyone will agree on: up2date sucks.
 
Old 09-26-2005, 12:59 AM   #12
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Well as I said - apt is slightly better than yum. The main difference, as noted, is speed ... it is still a bit of a pain waiting for yum to get all the repo info over a 56k connection. In broadband it probably dosn't matter so much.

I also noticed that apt gives more info about the packages by default ... but since I got yumex - this is not so different and the yumex vs synaptic gap is quite narrow.

Considering how far behind yum started, I'd expect significant improvements over the next year.

It would be interesting to look at this from the other side though - the developer/maintainer end. Like: which kind of repo is better for developers in terms of maintenance and keeping up to date?

WhatsHisName maintains both yum and apt repos - which is the better for the maintainer, and why?

As for up2date - I understand it is better for enterprise users.
RH servers are s l o w . . . amazing really. I suspect they don't really want the rest of the community using them. May even be planning to phase up2date out in future.

Hence, it's suckability will only increase.
 
Old 09-26-2005, 10:37 AM   #13
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
Regarding maintaining local apt repos, since most primary FC4 repos are yum-style, having an apt-style repo requires a few more (automated/cron) steps and a little more disk space.

The way it’s set up here, the yum repos are mirrored each night using rsync and the next morning, the rpms are linked to the corresponding apt-style directories and genbasedir is run to create the apt base files.

You could do it the other way and mirror apt-style FC4 repos, but the availability of apt-style FC4 repos is somewhat limited. For completeness, after mirroring apt-style repos, you would link the rpms to the corresponding yum-style directories and then use createrepo to create the yum repodata files.

The third variation is that you could mirror the rpms from a yum-style repository using rsync (set to exclude subdirectories) directly to local apt-style directories and then run genbasedir, but it’s useful to have the yum-style repos available locally.

Maintaining local yum and/or apt repos is just a matter of linking together a few straightforward steps and serving it up locally. In other words, it’s very easy to have both repo styles available locally.

Last edited by WhatsHisName; 09-26-2005 at 10:39 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Up2date Problems go here jhibbets Red Hat 253 09-14-2011 09:21 AM
Problems with up2date mohd281 Linux - Newbie 13 08-17-2005 03:13 AM
Up2date problems dreyes81 Linux - Newbie 2 07-10-2005 02:22 PM
up2date problems... chiefreborn Linux - Software 3 06-14-2005 02:57 AM
up2date problems Arc4ne Linux - Security 5 08-27-2004 09:28 PM


All times are GMT -5. The time now is 10:54 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration