New answers tagged

0

My understanding is that prior to RHEL 6, Red Hat were wary of the AT&T KornShell because of its licence, so they included the pdksh, which is a less complete implementation. I think David Korn was doing his best to get ksh accepted in as many places as possible and somewhere along the line the licence was clarified or changed. This quote is from the ...


1

If you're from the future (Fedora 23+), where yum is getting replaced with dnf, you might find this bash script useful.


1

You should checkout this post on the Fedora form. https://ask.fedoraproject.org/en/question/35074/restore-fedora-official-repository-files/ In places of the URL where you see 20 I would replace with 24.


1

If you check your repo file for CentOS 6 Base in /etc/yum.repo.d/ you'll find there such strings: [base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 ...


1

You cannot recover this directory or its contents unless you have a backup. However, unless you have made modifications to the files in that directory (which are your Yum repository specifications), you should be able to retreive the files as they were from another Fedora system of the same version. If there were custom modifications or additional files ...


0

After spending a lot of time on this problem this morning, I decided to call our IT. It turns out the firewall was doing deep packet inspection, actively blocking yum. Impossible to figure out on the local machine because curl/wget and pretty much everything else works as expected. So if curl works on the advertised addresses, it might be some firewall that ...


1

Perhaps a better way without having to re-install your OS would be to download the python package (and possibly any python modules package) and use rpm to install them over your upgraded Python. The python package for RHEL 6 should be python-2.6.6-64.el6.x86_64 which should be available from Red Hat or you can pull it off a RHEL6 .iso file. You will ...


2

Try purging the 8.8.5 from your rpmdb. Use rpm -q gitlab-ce to get the exact package name and insert it into the command below. rpm -e --justdb ${exact_package} Should look something like this rpm -e --justdb gitlab-ce-8.8.5


0

If you have a very good reason for using Fedora 20 : 1) Move all repo files in /etc/yum.repos.d to a backup folder. 2) Use this fedora20.repo, which points to "the old archive" : [fedora20] name=Fedora20-i386 baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/20/Everything/i386/os/ enabled=1 gpgcheck=1 [fc20-updates] name=Fedora20-...


1

Fedora 20 is EOL for almost a year and the mirrors providing updates are not working anymore. Update to some supported version, such as Fedora 23 or 24 (just released).


1

Too bad you accepted that rpm answer. That will lead to warnings from subsequent executions of yum, such as Warning: RPMDB altered outside of yum Instead you should use yum localinstall, per section 13 of the Yum and RPM Tricks page of the CentOS wiki => https://wiki.centos.org/TipsAndTricks/YumAndRPM#head-3c061f4a180e5bc90b7f599c4e0aebdb2d5fc7f6 You can ...


0

VLC is not pre-installed repository on Fedora 20-23. If you installed their release repository in your computer, try to delete it and test download again. After you installing the vlc applications, just delete the uncompleted repository. cd /etc/yum.repos.d ls -lrt rm -f rpmfusion-free* Everything will be all right after you delete that unOfficial ...


0

What you installed is Python packaged as Software Collection. This way you can have system python and python27 side by side. If you open one terminal and you run: scl enable python27 bash then it will start new bash where python is used from /opt/rh/python27/root/usr/bin/python But if you open another terminal, then python will be used from /usr/bin/...


2

CentOS 5.5 is pretty old. It came out back in 2010. EPEL targets the latest release in a major, meaning it targets 5.11. You're pretty far behind and expecting EPEL to support you. My guess is that you need to update. There may be some packages you depend on that ship only with newer versions of 5.x. A reminder that 5.x stopped getting fixes in 2014 and ...


0

yum provides */libgmp.so.3 will list all packages which have this file.


0

I came up with a script for it (Fedora 17). Assuming that the current directory where script is running is also the directory of where the rpms are located: install_packages(){ echo "Installing/Checking Fedora packages. Process may take a while..." for i in * do if test -f "$i" #Test if it is a file then i=$(basename $...


-2

Install it with sudo apt-get install dnsutils


0

No, but there is a workaround. When doing yum install and yum remove, to make it work case insensitive. pack=Zvbi; yum install $(yum list $pack | cut -d' ' -f1 | tail -n1) pack=iMaGeMaGiCk; yum install $(yum list $pack | cut -d' ' -f1 | tail -n1)


4

Currently yum does not support case insensitive operations on packages (install/remove), this way by design. There are some tickets/discussions on the Red Hat Bugzilla site about it.


3

Fedora 20 is considered old, unsupported. According to the Fedora wiki, that applies also to Fedora 21. The timeline is explained in another part of the wiki: The Fedora Project releases a new version of Fedora approximately every 6 months and provides updated packages (maintenance) to these releases for approximately 13 months. This allows users to "...



Top 50 recent answers are included