7
votes
2answers
92 views

How can I instruct yum to install a specifc version of package X?

If there are 2 versions of a given RPM available in a YUM repository, how can I instruct yum to install the version I want? Looking through the Koji build service I notice that there are several ...
4
votes
5answers
170 views

Correlating filename with package

Say, I'm given a filename like libasound.so.2. Is there a way to query the package manager to correlate the filename with its corresponding package? I'm interested to get answers for any package ...
3
votes
3answers
58 views

How is yum atomicity ensured?

The installers do change a lot of system files. System may become unbootable if something fails during the software updates. Yet, it is almost impossible to ensure atomicity of even simple single file ...
0
votes
2answers
75 views

Best secure way to update back-end servers?

Our back-end servers (Redhat 5,6 mostly) are very outdated, and are not connected to the Internet for security reasons. I'm looking for the best strategy to update them, without connecting them to ...
5
votes
1answer
338 views

Why did removing iptables “break” my network access?

To remove iptables i used yum : # yum remove iptables -y But this removed a lot of packages : Remove 262 Package(s) Installed size: 710 M Downloading Packages: Running rpm_check_debug ...
3
votes
3answers
116 views

Uninstall dig command in centos 6?

I've realized that for some commands like wget and dig, we need to use the command yum to install them before we can use them. Doing some research the dig command doesn't come installed for security ...
0
votes
1answer
35 views

How to prevent .jar files from going into /etc when installing OpenJDK from rpm?

After I found and installed OpenJDK in Fedora 20 using Apper I noticed there is a series of directories starting with jar prefix under /etc/alternatives, specifically: /etc/alternatives/jre (93,4MB) ...
0
votes
1answer
58 views

Is there a map of package names across the different package management systems? [duplicate]

I have amassed a small collection of *nix boxes (Fedora, Ubuntu, CentOS and Puppy) and there are a couple of projects I'm considering that I need to install additional libraries. Specifically, this ...
2
votes
2answers
63 views

Identifying unused repositories in Yum

Is there a way to identify an unused repository in Centos/RHEL? I have quite a few repositories installed on a Centos machine and I'm not sure which ones are actually needed and which ones aren't. ...
2
votes
1answer
112 views

CentOS 6 - No Updates

I've had a CentOS 6.3 VM set up for some time now, but I'm not seeing any updates when I run yum check-update, or yum list-security. There has to be something (especially with Apache/MySQL!). If I ...
1
vote
2answers
229 views

Pruning the package tree with apt-get and yum

I love the Macports and Arch package managers, because I can generate a listing of all of the packages that I have manually installed, and "prune" the package tree every once in a while to keep my ...
2
votes
1answer
309 views

How to download a file from repo, and install it later w/o internet connection?

Assuming that I want to install a program called leafpad later. Currently the only way to install it is via: yum install leafpad -y but I want to save this and install it later without internet ...
2
votes
1answer
284 views

How do I create an RPM package that would fail a YUM transaction if certain creteria are met

I'm trying to package a product consisting of many packages. I'm successful with writing all the spec files, the dependencies between the packages and so on. They're all installed and work fine. The ...
1
vote
1answer
129 views

Why is yum's tab completion slow?

Why is yum's tab completion slow? Is it because it needs to connect to the internet? If yes, how can I disable that?
1
vote
0answers
22 views

Fedora's command-not-found doesn't work [duplicate]

I've recently installed Fedora 19. Packagekit-command-not-found is installed. But it's own examples doesn't work. When I enter gedti the output is: bash: gedti: command not found... Similar command ...
2
votes
1answer
587 views

Fedora's command-not-found doesn't work

I've recently installed Fedora 19. Packagekit-command-not-found is installed. But its own examples don't work. When I enter gedti the output is: bash: gedti: command not found... Similar command is: ...
2
votes
2answers
3k views

Installing Git Unit

I am trying to install git using my yum command Following is the error log Loaded plugins: product-id, refresh-packagekit, security, subscription-manager Updating certificate-based repositories. ...
0
votes
1answer
55 views

How to change yum's default downloader

By default yum uses curl to download packages from internet repositories. I want use axel instead of curl to download packages: is it possible?
4
votes
2answers
2k views

Is it normal that Fedora's yum list kernel-* shows two versions of kernel being used?

Is it true that the following shows that two versions of the kernel are being used? (Is the bold face -- the one enclosed in ** showing what is currently loaded / used). Basically, I just created a ...
4
votes
1answer
381 views

How to make an rpm package that installs a Java environment if needed

I'm very new to RPM packaging and I'm curious if, during the installation of one RPM it is possible to conditionally install another RPM if needed. In a nutshell. My RPM requires a particular JRE. ...
2
votes
2answers
1k views

Remove yum repo using yum

I have no root access on my machine at work, but I have sudo permission to use sudo yum (and only yum). Recently I accidentally installed a faulty repository (dropbox), and now I'd like to remove it. ...
0
votes
2answers
5k views

Updating PHP 5.3 to 5.4 in CentOS

I followed this tutorial to update PHP from 5.3 version to 5.4. My distro is CentOS 5.5. After running the following command: yum --enablerepo=remi,remi-test install httpd php php-common I get ...
1
vote
1answer
266 views

Transfer programs to another OS

I have openSUSE. I can install programs with yum. yum install <progname> I want to move my install to a new hard disk. How can I transfer programs from one OS to another? My problem is ...
0
votes
1answer
231 views

How to automatically install packages?

I want to install packages automatically by running a script I can write yum install php, but I want it to install another package once installation of the php package is completed. Is there any ...
1
vote
4answers
118 views

Are packages downloaded from multiple mirror sites?

I'm running F17 and inside of yum.repos.d. I see multiple repos listed like adobe-linux-1386.repo, fedora.repo, google-chrome.repo, etc. When I yum install are some files being downloaded from ...
1
vote
1answer
93 views

What is happening exactly when I install a package with yum?

I'm running F17 from Terminal. I was wondering what is happening in the background when I yum install packagename. Is that package being searched for on my browser? Where is it being downloaded from? ...
3
votes
2answers
5k views

How do I install Chromium on F17?

I just installed the Beefy Miracle on my box, but essentially being the first time I've used Linux I'm not sure how to perform even some of the most basic tasks. I thought I would try to install ...
1
vote
2answers
2k views

How do I install packages with F17?

I just installed Fedora 17 on my box and I'm having trouble installing packages. I used to think that across all linux os'es all it took was sudo apt-get install packagae. I don't think this is the ...
1
vote
4answers
201 views

How can I tell if a package is safe to update on CentOS?

I have a simple two-node CentOS cluster based on DRBD, Corosync and KVM. When I try to update its packages via yum it lists something like Updating: clusterlib x86_64 ...
3
votes
4answers
488 views

What package managers do popular Unix Distributions Use? [closed]

I am creating a Script and I need to know what package manager each Popular Unix Distribution Uses (especially those distros that are commonly-used for Servers)... I mean: Debian uses apt-get Fedora ...
2
votes
2answers
3k views

Resolve missing package dependencies when trying to install octave

I am trying to install the octave software package on a RHEL 6 Workstation. I have installed the epel-release 6.5 package to enable the EPEL package repository. When I try to install the octave using ...
5
votes
2answers
256 views

Any other distro offer like Ubuntu Software Centre?

I want to know does any other linux disto offer anything close to Ubuntu Software Centre? Some of the features I like about it is A) Sandboxing B) Ability to search any of the libs/apps with ...
1
vote
1answer
151 views

Prevent yum from checking for updates when a new package is going to be installed

Whenever I want to install a new package with yum, It first checks for updates. Is there a way to stop it from checking for updates each time a package is going to be installed?
4
votes
3answers
10k views

Yum Cannot Retrieve Repository CentOS 6

I just installed CentOS 6. I tried running yum update and was having trouble getting that to work, so I tried yum clean all and now my situation seems even worse than before. Based upon what I pasted ...
1
vote
2answers
2k views

What is the best CentOS 6 repo list for LAMP stacks?

I'm just getting into server administration and now everybody needs something. Lately I'm getting stuck on package hunting, so I'm on the search to find the most comprehensive repo list of LAMP ...
1
vote
1answer
6k views

Where can I find a list of all yum repositories?

Now that I know more about yum from my previous question Where is the best location for finding information on /yum? I need to start playing with some new repositories. Where can I find a list of ...
0
votes
2answers
160 views

Where is the best location for finding information on /yum?

So I'm trying install php-mcrypt on one server and git-core on another server. It seems like locating packages is where I'm falling short. (just learning server administration) I'm very ignorant of ...
5
votes
3answers
3k views

apt-get equivalent of yum localinstall

When using Fedora I usually use yum localinstall as a way to install a rpm obtained outside the distribution repositories. I can't find an equivalent option in the apt-get man page. I'm running Ubuntu ...
0
votes
3answers
226 views

Building from Source on CentOS 5 or newer

I've got a few applications of which I've got to build from source files in order to make it work on CentOS (the programs do not exist in the yum repos). I may be missing something, but unlike Debian ...
1
vote
3answers
3k views

Listing packages in Yum that depend on another installed package

I am trying to install a 3rd-party RPM package on RHEL5 which depends on version 3.4 of sqlite. According to Yum I already have 3.3.6 installed. Is there a way to list the installed packages that ...
1
vote
1answer
566 views

APTonCD equivalent for Fedora

Is there an equivalent of APTonCD for Fedora? I tried googling and found YUMonCD but wanted to know if there exists some package in the repos.
14
votes
2answers
22k views

What is Fedora's equivalent of 'apt-get purge'?

In Debian, there's at least two ways to delete a package: apt-get remove pkgname apt-get purge pkgname The first preserves system-wide config files (i.e. those found in "/etc"), while the second ...
4
votes
3answers
339 views

Differentiating between Hard and Soft Dependencies

I will ask this with an example - I have installed gnash-plugin on fedora 64 bit with Yum. It pulled in following packages - Installing : agg-2.5-9.fc13.x86_64 ...
5
votes
1answer
3k views

How to force 'yum search' to use local metadata/cache?

A lot of times when I run yum search, it tends first to download the metadata from a repository. How do I force it to only search the local cache? I prefer quick results to accurate data in this case, ...
3
votes
1answer
2k views

How come I don't have package updates in Fedora?

I last updated my Fedora 14 install weeks ago, so I expected a slew of new packages waiting for me, but after I run yum update, I instead get: ... Setting up Update Process No Packages marked for ...
17
votes
2answers
6k views

What is yum equivalent of 'apt-get update'?

Debian's apt-get update fetches and updates the package index. Because I'm used to this way of doing things, I was surprised to find that yum update does all that and upgrades the system. This made ...
3
votes
3answers
650 views

For what purpose would perl* be excluded in yum.conf?

I am not an Unix/Linux admin. I was attempting to install git on our server, and after much googling and trial and error, I discovered that perl* is excluded in our yum.conf file, preventing perl-Git ...
26
votes
7answers
5k views

Non-Root Package Managers

From my research, I seem to notice that all package managers insist on being used as a privileged user and must be installed into /. Typically, what I like to do is create a throwaway account, ...