LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-02-2010, 03:13 PM   #1
javimd786
LQ Newbie
 
Registered: Dec 2009
Posts: 11

Rep: Reputation: 0
Thumbs up package management


here i want to ask u a simple do quations like

1.how to create repository of Server directory which contains rpm files

now i will tell how to create repo and problem is in it plz see

at first i had created one directory in filesystem /data
#mkdir /data

now i mounted the ftp server to /mnt
#mount 192.168.1.254:/var/ftp/pub/ /mnt

and copied directory of Server
#cp -r /mnt/Server /data

# createrepo -v /root/Server

# vim /etc/yum.repos.d/rhel-debuginfo.repo

in this i had did

[name of file]
name=Red hat Enterprise Linux $releasever - $basearch - Debug
baseurl=file://server.example.com/data
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release


:wq

i had saved that file

# yum list

it is working

# yum install packagename -y
it is not work
what is the problem plze reply me


2.how to install total packages by using repository through yum command
what are the steps to update and remove the packages


plz help this is the challenging task



so try and reply me
 
Old 01-02-2010, 04:13 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
# yum install packagename -y
it is not work
you missed the useful bit between those two lines, the bit where you acutally tell us what does happen.
 
  


Reply

Tags
management, package



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
package management ramayana Linux - Newbie 5 05-18-2008 05:17 PM
LXer: Simple Package management with Synaptic Package Manager LXer Syndicated Linux News 0 12-05-2006 06:33 PM
Using Package Archive style package management mugwump84 Linux From Scratch 3 08-25-2005 05:19 PM
Package Management longnam Slackware 2 03-23-2005 03:42 PM
Package Management Eklipz Slackware 4 12-05-2004 09:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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