LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-07-2011, 01:14 PM   #1
fraksken
LQ Newbie
 
Registered: Feb 2010
Distribution: centos
Posts: 13

Rep: Reputation: 0
yum update fails on centos 5.5


Hi,

I'm trying to install a server on my home box to train before renting a dedicated so I don't mess with the valuable time.

For this I'm following the following guide:
the perfect server setup
I know. Totally noob and not secure. I've been away a long time and need to get the hang of it again.

I crash at these steps:
Quote:
First we import the GPG keys for software packages:

Code:
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*
Enable the contrib and centosplus repositories:

Code:
vi /etc/yum.repos.d/CentOS-Base.repo
Edit the lines below:
Code:
[base]
[...]
exclude=postfix
[...]
[update]
[...]
exclude=postfix
[...]
[centosplus]
[...]
enabled=1
includepkgs=postfix
[...]
[contrib]
[...]
enabled=1
[...]
Then we update our existing packages on the system:

Code:
yum update
Every time I get to the "Running Transaction Test" the system freezes.

I have tried removing the postfix lines and do another update, but it halts at the same place.

I'm desperate and frankly ... I'm getting depressed that I can't get past a simple upgrade. This is a stable release or not?

Thanks for your time.


p.s. if anybody can point me into the direction of a tutorial which will mind the security a bit more, please let me know
 
Old 02-07-2011, 02:40 PM   #2
SkyEye
Member
 
Registered: Sep 2005
Location: Sri Lanka
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441

Rep: Reputation: 40
CentOS is a server distro and 5.5 is indeed a stable release. There should be literally thousands or servers running the same distro and version in the wild without a problem.

I'm not sure about the tutorial you are following or the problem you are having. In any case HowTo section of the CentOS Wiki is a great place to look for setup instructions.
 
Old 02-07-2011, 04:21 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,680

Rep: Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657
that tutorial is ONLY if you are going to use "ISPConfig3 " and 3 ONLY with using "postfix" database instead of the default Mysql DB

"out of the box" everything is set up in cent there is NO NEED to edit -- by hand-- the "CentOS-Base.repo"
that in it's self might KILL yum with one and only one minor typo


please use the centOS wiki
http://wiki.centos.org/
and the cent forum ( the forum can take time so give a question a few days )
http://centos.org/modules/newbb/index.php?cat=8
also a good place to start is the RED HAT documentation
https://access.redhat.com/knowledge/...erprise_Linux/
 
Old 02-07-2011, 06:35 PM   #4
fraksken
LQ Newbie
 
Registered: Feb 2010
Distribution: centos
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by John VV View Post
that tutorial is ONLY if you are going to use "ISPConfig3 " and 3 ONLY with using "postfix" database instead of the default Mysql DB
Ok, I was planning on using ISPCONFIG3. So I'm good, right?

Quote:
Originally Posted by John VV View Post
"out of the box" everything is set up in cent there is NO NEED to edit -- by hand-- the "CentOS-Base.repo"
that in it's self might KILL yum with one and only one minor typo
So you agree with me thinking that it goes wrong with editing the repo file?

Quote:
Originally Posted by John VV View Post
please use the centOS wiki
http://wiki.centos.org/
and the cent forum ( the forum can take time so give a question a few days )
http://centos.org/modules/newbb/index.php?cat=8
also a good place to start is the RED HAT documentation
https://access.redhat.com/knowledge/...erprise_Linux/
I'll have a look, thanks :-)
 
  


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
Yum Update Fails tanalam Fedora 8 10-06-2010 06:35 AM
how to update rhel 5 using centos yum updater without conflict with yum redhat plugin udayvikram Linux - Software 2 03-30-2010 08:15 AM
how to update rhel 5 using centos yum updater without conflict with yum redhat plugin udayvikram Linux - Newbie 1 03-29-2010 12:56 PM
yum update on CentOS 5.3 upgraded my system to CentOS 5.4 diskoe Red Hat 1 10-29-2009 04:41 PM
update centos 4 rc1 to centos 4 trou yum? maxut cAos 2 03-04-2005 02:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:59 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