Tag Info

New answers tagged

3

That is a list of the repositories that yum is currently using. You can get a description of each using: $ yum repolist You can remove this by lowering the debug level of yum: $ yum -d 1 install <a package> To make it permanent, find debuglevel in /etc/yum.conf and set it to 1 (I believe the default is 2). If you do this, you may miss important ...


0

To see what package provides a particular file or directory you can use yum provides <file>: $ yum provides /usr/share/applications/* Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * fedora: mirrors.ircam.fr * rpmfusion-free-rawhide: mirrors.coreix.net * rpmfusion-nonfree-rawhide: mirrors.coreix.net * updates: ...


2

There isn't a way to do this using yum but you can craft a rpm command that will do mostly what you want. You'll have to utilize the --queryformat option and iterate through the array of filenames using the little known option [..] in the --queryformat. NOTE: All these features are discussed in the manual for RPM, Maximum RPM: Taking the Red Hat Package ...


1

I'd like to know which packages have files within /usr/share/applications You can query for what package owns a particular file by doing a rpm -qf <absoluteFilePath>. To do an entire directory tree you can use the find command and filter the output. For example: [root@xxx01 ~]# find /usr/share/applications -type f -exec rpm -qf {} \; | grep -v ...


-1

I had a similar issue and used the following steps: $ sudo yum update --skip-broke $ sudo yum remove epel-release.noarch $ sudo yum update NOTE: you may need to remove other conflicting repositories.


0

Thanks to Anthony Geoghegan pointing me in the right direction, I was able to find a working solution rpm -e --justdb --nodeps libstdc++ That will remove the pacakge from the db without touching the files, then simple yum install will work.


1

YUM tries to install: brlapi-0.6.0-5.fc19.i686 (fedora) from @Fedorra repo: Available: brltty-4.5-5.fc19.x86_64 (fedora) Althought there is already installed one: Installed: brltty-4.5-8.el7.x86_64 (@anaconda) from @anaconda repo. You can try update with disabled repo @fedora: yum update --disablerepo="fedora" Or install package ...


0

Out of interest, I’d first try removing the package using the rpm command: rpm -e libstdc++ However, I suspect that rpm’s internal database is corrupted and the above command won’t work so I’d then try rebuilding its database using: rpm --rebuilddb


1

The problem was that the system was still using lightdm (xfce's display manager) instead of kde's display manager which is kdm. To force the system to use kdm first I did systemctl enable --force kdm.service then restarted. Followed by yum remove lightdm-gtk-1.6.1-3.fc20.x86_64. Finally finished with yum remove @xfce Should be useful to anyone who might ...


0

For groupremove it would be: yum --setopt=groupremove_leaf_only=1 groupremove 'Development Tools' There's also a patch adding a similar remove_leaf_only option, that modifies remove, but yum in RHEL 6.5 does not yet support it.


0

Download all these packages (I took the CentOS 6.6 versions from rpmfind.net) nss-3.16.1-14.el6.x86_64.rpm nss-util-3.16.1-3.el6.x86_64.rpm nss-softokn-3.14.3-17.el6.x86_64.rpm nss-softokn-freebl-3.14.3-17.el6.x86_64.rpm nss-tools-3.16.1-14.el6.x86_64.rpm nss-sysinit-3.16.1-14.el6.x86_64.rpm and install them all in one go with rpm -Uvh nss-*.rpm. That ...


1

Try: rpm -e ca-certificates rpm -ivh nss after reading the package from the NSS Bugfix and Enhancement update page. Copy the package name for your architecture into Google and end up here at the NSS List on RPM Find Continue with the yum update This should recheck all the dependancies. If they all pass reinstall the new ca-certificates. Don't be ...


1

Can I force yum to use old version of repository so that the package can be found? No you just kind of have to go based on what the repo has available. If they got rid of that package then that's all she wrote. You may try using google to find an IUS mirror repo that is still available but hasn't been synced in a while. That's kind of laborious but it ...


0

You have to put back the old repository in your /etc/yum.repos.d/ directory, or if present but disable , you can enable it by doing a yum --enablerepo=nameoftherepo If you want to downgrade a package you can use the command yum downgrade packageName I'm not sure if this helps you Cheers.


3

Your ca-bundles.crt are too old. One work-around until you upgrade to a newer version of CentOS would be to change the epel.repo from using https to http sudo sed -i 's/https/http/g' /etc/yum.repos.d/epel.repo


1

What worked for me was rpm --erase --nodeps cairo which removes the cairo package without checking any dependencies that might be violated by such an action, followed by yum install cairo which installs cairo from the configured package repositories


0

The output of this command sequence: $ sudo yum repolist Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile repo id repo name status CactiEZ CactiUsers Cactiez Repo 30 pgdg93 PostgreSQL 9.3 6 - x86_64 195 repolist: 225 Would seem to indicate that ...


2

Instead of your script calling yum to do the download and install, I would just make the script download the file (with e.g. curl or wget) and then force the installation of the downloaded .rpm file: rpm --install --force file_name.rpm As the OP indicated, rpm can donwload the URL directly without a problem. From the man page: INSTALLING, UPGRADING, AND ...


0

The EPEL repository package is also now installable directly from the CentOS Extras repository in all supported CentOS versions (5, 6 and 7). Johnny Hughes (one of the CentOS team) mentions this in the comments of the xmodulo.com article you followed, but the page only seems to have been updated to reflect this being the case for CentOS 7. The CentOS Extras ...


0

Have you ensured that it's enabled? If a repo isn't enabled then it won't show up in repolist. Check the files in /etc/yum.repos.d/*.repo. For example: [root@xxx01 ~]# yum repolist 2>&1 | grep epel epel EPEL Repo 11,148 Shows that EPEL is installed and listed in repolist so I go to disable ...


1

I usually use this source for CentOS 6.x, and like to rpm -Uvh it from a local file: wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm sudo rpm -Uvh epel-release-6*.rpm Although i can not see why yours should not work either, but you can try mine. Always worked for me.


1

Fixed it. What did i do: Fill up the rhsm.conf file with proxy settings ( /etc/rhsm/rhsm.conf ) rebooting the machine try to install: root@mymachine:~# yum install -y openmotif22.i686 openmotif22.x86_64 -> fail, same error yum clean -all -v yum repolist -v root@mymachine:~# yum install -y openmotif22.i686 openmotif22.x86_64 -> worked ... No idea why, but ...


1

I use JuJu which basically allows to have a really tiny linux distribution (containing just the package manager) inside your $HOME/.juju directory. It allows to have your custom system inside the home directory accessible via proot and, therefore, you can install any packages without root privileges. It will run properly to all the major linux ...


1

You should approach this as a two step process. First make your api installable using pip by creating a setup.py file for the project and use setuptools. There is quite a lot to go through and I recommend you follow some of the examples out there to go through the steps before you start tweaking to get your own project installable this way. Extension in ...


0

I don't know about yum, but you can ask whether a package is installed using rpm -q my_package .... It will exit with failure status if any of the packages are missing. $ rpm -q abasdfasfeafseasfeasef bash coreutils utils-linux package abasdfasfeafseasfeasef is not installed bash-4.1.2-9.el6_2.x86_64 coreutils-8.4-19.el6.x86_64 package utils-linux is not ...


1

The problem is that your rpm command won't work now, so even if you download the relevant package (rpm-libs) you won't be able to restore the files on your current installation. Some options are: You could try copying the file from another Fedora 20 machine. You could fire up the install/live CD or USB-stick and copy the file from there (if it's the ...


0

Do you have the build tools needed for your system? If so: Download the appropriate version from the RPM Website tar -xvjpf rpm-version.tar.bz2 cd rpm-version ./configure make make install Please note: version is the version number you decide to download. After installing the compiled version of rpm, use rpm -i rpm to reinstall your Distribution's ...


-1

Change the configuration file /etc/sysconfig/network-scripts/ifcfg-eth0 like this example and it will works: DEVICE=”p1p1″ BOOTPROTO=”static” IPADDR=”192.168.1.22″ NETMASK=”255.255.255.0″ GATEWAY=”192.168.1.1″ HWADDR=”00:12:34:56:78:90″ DNS1=”192.168.1.1″ DNS2=”4.2.2.2″ NM_CONTROLLED=”no” ONBOOT=”yes” TYPE=”Ethernet” ...


1

If all the packages follow the patterntextlive-<package> you can use a regex to install them like so: $ sudo yum install texlive-\* You can also specify the pattern like this: $ sudo yum install 'texlive-*' NOTE: In either case we're protecting the pattern above from being interpreted as a glob by theshell. Example $ sudo yum install texlive-\* ...


0

yum search texlive | grep '^texlive' | awk -p '{print $1}' > packages.txt yum install $(cat packages.txt) That will install every single TexLive package available.



Top 50 recent answers are included