Manually Downgrading Bash & GCC

Hi all,

I have a strange request. I have a system running Fedora 21. This system is now not connected to the internet (for security reasons).

I have used the " yum downgrade bash " command to revert back to version 4.3.30, but I am still receiving compilation errors in some code (which I have rescued from a Fedora Core 4 installation [don't ask!!]).

Is it possible to download the source for Bash version 3, compile and install it to test it on my Fedora 21 installation?

If so, could someone help me please, as this is something I have never tried before?

Thanks in advance for any help.


Similar Content



Yum Setup To Use Different Repository

Hi,

I have a Fedora 21 system, but I would like to update it using repos from Fedora Core 4.

I have found this article - How to Use YUM in Fedora Core 4 - that allows changes to be made to the yum settings, so that you can run yum on Fedora 4.

Is it possible to setup Fedora 21 to point at this repository over the normal one?

I realise that this is not good practice, but I would like to test out a theory to see if this will work.

Problem With Unsupported Fedora, Download The Last Version

hello all
I already have fedora 14 32bit and I install it on vmwear in order to install ns2.35allinone but when I follow the steps I got the following error in the first step

[fedora@localhost ~]$ su
Password:
[root@localhost fedora]# yum install autoconf
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
[root@localhost fedora]#


and I read many post to solve this problem and as I understand from it fedora 14 is now unsupported. so please if you can help me to fix this problem or post any url to download the last version of fedora in order to install ns2.35allinone to run zrp protocol.

thanks a lot

Configuring A Dual Boot Arch And Fedora Installation

I have setup a dual boot system with Fedora 21 and Arch Linux. The problem is that Fedora doesn't see my encrypted Arch installation. The installations are on separate partitions and do not share anything apart from hard disk space. I have run the following commands as root in Fedora:

Code:
grub2-install /dev/sda

Code:
os-prober

Code:
grub2-mkconfig -o /boot/grub2/grub.cfg

When I rebooted, Fedora was the only OS entry showing in the GRUB menu.

There was a suggestion from one of the members of the Arch forums that I should write the entry myself into /etc/grub.d/40_custom and then re-build the grub configuration or take the Arch entry from Arch's /boot/grub/grub.cfg and just paste it into the 40_custom in Fedora and rebuild.

How do I boot from a live Arch USB stick into the installed Arch and do as stated above? How would it work? Thanks in advance for your replies.

Fedora Won't Load After Logo

Hey guys,

Yesterday i ran the command yum install fedora-upgrade. then got Repository errors. Today when i turned my computer back on it loads to the fedora logo and then i lose picture on my monitor. And ideas how to fix this I am pretty new to fedora.
Thanks

Installation Of PMIPv6 Patch In NS-2.33

Hi all,

I am going to install PMIPv6 patch in NS-2.33. I have Fedora - 16 in my Laptop. Before installation of Patch it is asked to "install on the system binutils, gcc, g++, make, autoconf, libX11-dev, tk8.4-dev, libxmu-dev (or libxmu-headers)". Can I get help on how to install all the above in fedora 16. Please help.

Switching From Linux Mint To Fedora

I'm considering switching from Linux Mint 13 to a RedHat based distro. I was thinking Fedora, but am open to any suggestions.

I've been using LM for quite a while now and just want a change. I'm not overly happy with things.

I'm curious if there is a way that I can image my current installation, so if I install Fedora (or something else) and something goes drastically wrong that I can be back up and running withing a very short period of time as if nothing happened.

How To Get A Linux That Fits On A CD?

I am having problems with my Sony Vaio windows
it boots up saying (on a black screen, grey text):
==============================================
Windows Boot Manager
Windows failed to start. A recent hardware or software change might be the cause. To fix the problem:
1. Insert your Windows installation disc and restart your computer.
2. Choose your language settings, and then click "Next."
3. Click "Repair your computer."
If you do not have this disc, contact your system administrator or computer manufacturer for assistance.
Status: 0xc0000225
Info: The boot selection failed because a required device is inaccessible.
Enter=Continue ESC=Exit
==========================================
No matter how many times i tried to restart and even tried F10 repeatedly or Alt-F10 I can't get to any other screen other than the above screen.

So I thought ah to hell with windows on this machine. I'll just install a linux distro because it's for my uncle all he really needs is internet and watch youtube videos/movies.

I have successfully burned and installed Fedora before on other machines using LiveCDs when they had CDs.

This time I tried to burn the DVD since it's it doesn't fit on the CD (I got my ISO from http://download.fedoraproject.org/pu...86_64-21-5.iso)
But when i inserted my DVD and restarted the same black screen appears.

So i have been looking for an older version of Fedora that fits on a CD (I am thinking maybe it'll boot from a CD, not sure though) but can't find any.

Any thoughts or solution to my problem?

Thanks in advance.

W Command Certain Columns

I am looking to display the w (who) command to show only the

User TTY IDLE


http://screencast.com/t/vXb74kguJ

13:15:38 up 8 days, 16:48, 47 users, load average: 1.47, 0.95, 0.51
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
rf3 pts/0 192.168.11.72 05:58 48.00s 6.60s 0.00s -bash
user21 pts/1 192.168.21.177 04:32 8:41m 0.05s 0.00s -bash
user7 pts/2 192.168.11.114 17Mar15 6days 1.07s 0.00s -bash
user7 pts/3 192.168.11.114 20Mar15 4:54m 9.75s 0.00s -bash
user6 pts/4 192.168.11.85 11:02 7.00s 55.58s 0.01s -bash
user14 pts/5 192.168.11.183 05:06 29:08 2.80s 0.01s -bash
user14 pts/6 192.168.11.155 05:30 13:28 2.75s 0.00s -bash
user23 pts/7 192.168.11.62 05:48 25:09 0.95s 0.00s -bash
rf5 pts/8 192.168.11.118 05:58 6:51 5.30s 0.01s -bash
user2 pts/9 192.168.11.140 08:34 1:19 44.74s 0.00s -bash
user14 pts/10 192.168.11.141 06:02 12:14 9.46s 0.00s -bash
rf12 pts/12 192.168.11.69 06:02 2:07 9.44s 0.00s -bash
root pts/13 localhost.locald 12:29 9:10 0.05s 0.05s -bash
rf6 pts/14 192.168.11.79 06:04 14.00s 9.05s 0.00s -bash
user14 pts/15 192.168.21.113 06:23 11:29 1.71s 0.00s -bash
user5 pts/16 192.168.11.126 06:24 6:56 4.59s 0.00s -bash
user5 pts/17 192.168.11.126 06:25 6:19 31.59s 0.01s -bash
user11 pts/18 192.168.11.125 06:26 28:10 2.90s 0.01s -bash
user12 pts/19 192.168.21.123 06:35 13:16 0.88s 0.00s -bash
rf7 pts/20 192.168.11.80 06:35 2:06 7.64s 0.00s -bash
user12 pts/21 192.168.21.123 06:36 41:55 0.12s 0.00s -bash



So far I have this

w | awk {'printf ("6s\ts\n", $1, $2, $3, $5)'} |more
13:20:16 up
USER TTY
rf3 pts/0
user21 pts/1
user7 pts/2
user7 pts/3
user6 pts/4
user14 pts/5
user14 pts/6
user23 pts/7
rf5 pts/8
user2 pts/9
user14 pts/10
rf12 pts/12
root pts/13
This only shows the 2 columns



w |awk '{print $1, $2, $3, $5}'

13:21:01 up 8 16:53,
USER TTY FROM IDLE
rf3 pts/0 192.168.11.72 20.00s
user21 pts/1 192.168.21.177 8:46m
user7 pts/2 192.168.11.114 6days
user7 pts/3 192.168.11.114 4:59m
user6 pts/4 192.168.11.85 3:42
user14 pts/5 192.168.11.183 34:31
user14 pts/6 192.168.11.155 18:51
user23 pts/7 192.168.11.62 30:32
rf5 pts/8 192.168.11.118 12:14
user2 pts/9 192.168.11.140 1.00s
user14 pts/10 192.168.11.141 17:37
rf12 pts/12 192.168.11.69 30.00s
This shows some what hard to read and the columns don't line up correctly


is there a way to tab them in to columns that line up properly, or even something similar to the TOP command where the list will keep refreshing?

Error:cannot Retrieve Repository Metadata (repomd.xml) For Repository: Fedora

Hi.
I am completely new in Linux and I'm trying to learn as much as I can while doing my job.

I am following directions from a wi-fi card vendor. In it, they require to download Fedora 13 to the laptop, which I have already done so. uname -a displays:
Linux localhost.localdomain 2.6.33.3-85.fc13.i868.PAE #1.

The directions ask to update the kernel with "yum install kernel-PAE". While connected to the internet, when I type that, the following error comes up:
Loaded plugin : presto, refresh-packagekit
Error: cannot retrieve repository metadata (repomd.xml) for repository: fedora
Please verify its path and try again

What does it mean and what file do I need to update with the right path? Please, let me know what other information you need.
Thank you very much

Value Comparison In Bash Shell Script

I need to compare a value with different fixed value. Below is the code concept I implemented in my bash script but its giving me error.
Here "a' is the nameserver value that I extract using command line from /etc/resolv.conf. I did not put command here.

#! /bin/bash
a=1.2.3.4

if [ $a == 1.2.3.4 || 5.6.7.8 || 8.9.1.4]
then
echo " You have correct ntpserver"
else
echo"wrong ntpserver"

fi

Am I comparing the value correctly or any suggestion?

Thank you