LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
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


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
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


All times are GMT -5. The time now is 08:17 AM.

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