LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-22-2004, 06:57 PM   #1
karan101
Member
 
Registered: Aug 2004
Location: CANADA
Distribution: Fedora core4
Posts: 60

Rep: Reputation: 15
Fedora Core2 Update methodes


Hello everyone
I was just checking some other forms I found out that there are other ways besides using redhat netowork automatic update to update the OS. Like using yum. are there any other ways...beside these 2 and which one's better and whould anyone explain how to use/setup yum for the first time.!? I've always used the automatic uptodate and the basically my FC2 is uptdate but for example my gcc library is not...( its 3.41 ) which a newer version is out...is there any methode that automatically checks for all packegaes updates and up to date them automatically
thank you very much
Karan
 
Old 10-22-2004, 07:12 PM   #2
Samsara
Member
 
Registered: May 2003
Distribution: Ubuntu, Mac OS X Tiger
Posts: 481

Rep: Reputation: 32
There's also apt-rpm, the command is apt-get but you'll need to install it first.

It is based on Debian's apt-get, but uses rpm packages. You can get it from:

http://download.fedora.us/fedora/fed....11.2.i386.rpm

I use apt-get; it's the most stable on my machine.

Regards,

Samsara

Last edited by Samsara; 10-22-2004 at 07:13 PM.
 
Old 10-22-2004, 09:48 PM   #3
karan101
Member
 
Registered: Aug 2004
Location: CANADA
Distribution: Fedora core4
Posts: 60

Original Poster
Rep: Reputation: 15
ok this is what happend
i downloaded the apt file from ur link and installed it....no problem
then i downloaded synaptic ( gui version of apt) and installed it ....no problem
then ran it and upgreaded some programs...still no problem
but now when i run apt-get upgrade or apt-get install [pkg] i get an segmentation error...could you help me with that.....
thank you very much
karan
 
Old 10-22-2004, 09:56 PM   #4
brunnopessoa
Member
 
Registered: Nov 2003
Location: Rio de Janeiro, Brazil
Distribution: Fedora
Posts: 67

Rep: Reputation: 15
yum check-update
/* check for pkg update for the current installed pkgs */

yum update [ name_of_the_package ]
/* with no arguments, updates all the package currently installed in your system */

yum install name_of_the_package
/* installs name_of_the_package package */

These are just ones... I encourage you to #man yum ... you can have much more info and details there. Very simple!

Hope it helps!
 
Old 10-22-2004, 10:03 PM   #5
karan101
Member
 
Registered: Aug 2004
Location: CANADA
Distribution: Fedora core4
Posts: 60

Original Poster
Rep: Reputation: 15
but why do i get the segmentation fault....?
thanks
karan
 
Old 10-22-2004, 10:18 PM   #6
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Usually a segfault is a sign of a programming error or some other problem on your machine (corrupted library, for instance). Can you do an strace of apt-get and see whare it segfaults? Maybe others have had a similar problem. If worse comes to worse, try re-installing the apt RPM.
 
Old 10-22-2004, 10:19 PM   #7
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
using yum, yum.conf file

I don't know why you get a segmentation fault with apt-get.

If you wish to use yum, copy the following into the file /etc/yum.conf (su to root first)

# $Id: yum-fd.conf 378 2004-04-30 16:33:52Z dude $

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=fedora-release
gpgcheck=1
tolerant=1
exactarch=1

[core]
name=Fedora Linux $releasever - $basearch - core
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/core

[updates]
name=Fedora Linux $releasever - $basearch - updates
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/updates

#[freshrpms]
#name=Fedora Linux $releasever - $basearch - freshrpms
#baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms

#[tupdates]
#name=Fedora Linux $releasever - $basearch - testing updates
#baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/tupdates

[livna-stable]
name=Livna.org Fedora Compatible Packages (stable)
baseurl= http://rpm.livna.org/fedora/$releasever/$basearch/yum/stable
#gpgcheck=1

[fedora-stable]
name=Fedora.us Extras (Stable)
baseurl=http://mirrors.kernel.org/fedora.us/fedora/fedora/$releasever/$basearch/RPMS.stable
http://fedora.quicknet.nl/fedora/fedora/$releasever/$basearch/RPMS.stable
http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/$releasever/$basearch/RPMS.stable
http://fedora.mirror.sdv.fr/fedora/fedora/$releasever/$basearch/RPMS.stable
http://download.fedora.us/fedora/fedora/$releasever/$basearch/RPMS.stable
#gpgcheck=1

[macromedia.mplug.org]
name=macromedia.mplug.org - Flash Plugin
baseurl=http://macromedia.mplug.org/apt/fedora/$releasever
http://sluglug.ucsc.edu/macromedia/apt/fedora/$releasever
http://ruslug.rutgers.edu/macromedia/apt/fedora/$releasever
http://macromedia.rediris.es/apt/fedora/$releasever
#gpgcheck=1

#[dag]
#name=Dag APT Repository
#baseurl=http://dag.freshrpms.net/redhat/fc$releasever/en/$basearch/dag
# http://ftp.heanet.ie/pub/freshrpms/pub/dag/redhat/fc$releasever/en/$basearch/dag
##gpgcheck=1


#[at-stable]
#name=ATrpms for Fedora Core $releasever stable
#baseurl=http://apt.atrpms.net/fedora/$releasever/en/$basearch/at-stable



Once you have done that, as root, enter

yum update

It will probably take a very long time to update. It will first be comparing all the packages you have on your system with the available lists on the repositories mentioned above.
 
Old 10-23-2004, 01:36 AM   #8
brunnopessoa
Member
 
Registered: Nov 2003
Location: Rio de Janeiro, Brazil
Distribution: Fedora
Posts: 67

Rep: Reputation: 15
I really don't recommend you to updating all your packages in your system at once, probably you do not need all that updates (even a quarter you don't). I did it and had several problems with the last kernel update (2.6.8-1.264).

Last edited by brunnopessoa; 10-23-2004 at 01:40 AM.
 
Old 10-23-2004, 02:01 AM   #9
Samsara
Member
 
Registered: May 2003
Distribution: Ubuntu, Mac OS X Tiger
Posts: 481

Rep: Reputation: 32
If you do use apt, also make sure you periodically do
apt-get autoclean

otherwise you can end up with up to 1GB of old packages remaining on your system - you'll find them in /var/cache/apt/archives

Regards,

Samsara
 
Old 10-23-2004, 02:03 AM   #10
Samsara
Member
 
Registered: May 2003
Distribution: Ubuntu, Mac OS X Tiger
Posts: 481

Rep: Reputation: 32
Quote:
Originally posted by brunnopessoa
I really don't recommend you to updating all your packages in your system at once, probably you do not need all that updates (even a quarter you don't). I did it and had several problems with the last kernel update (2.6.8-1.264).
Yes, everyone was having problems with that one. It was an exceptionally bad kernel release, so don't blame it on the upgrading! It's important to keep packages up to date, if only for security reasons!

Regards,

Samsara
 
Old 10-23-2004, 02:34 AM   #11
karan101
Member
 
Registered: Aug 2004
Location: CANADA
Distribution: Fedora core4
Posts: 60

Original Poster
Rep: Reputation: 15
hehe well the segmentation fault error is fixed now thanx everyone...i had to uninstall it and reinstall it again...with respect to the kernel well i just updated it to 2.6.8-1.264,,,I 'v had no problem so far...
regards
karan
 
  


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
after Update Fedora core2 to core3 , Do I need to rebuild my kernel? stewchcken Fedora - Installation 1 06-18-2005 12:43 PM
Fedora, Core2 vs. Core3 scripts Linux - Software 3 12-26-2004 08:03 PM
Fedora Core2 CD is not found kristie Fedora - Installation 3 09-22-2004 10:32 AM
Fedora Core2 aclarion Fedora 2 08-01-2004 10:19 PM
Fedora Core2 Test 3 is out isso Fedora 13 05-02-2004 06:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:31 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration