CentOS 5 :: Setting Up Repositories With RepoSync And Multiple Versions
Jul 17, 2009
I'm missing a fundamental that I just cant seem to wrap my head around with setting up repositories with RepoSync. I set up a local repository when my system was running version 5.2. Everything ran like a top up until the release of 5.3 Upon release I ran the standard yum on my 5.2 server which upgraded it to 5.3 and thats where my mental block is catching me up.
When I run a reposync It seems that all I'm able to download is the 5.2 packages. I'm trying to figure out how I can manage both a 5.2 repo along side a 5.3 repo with reposync and figure out what needs to be done to properly make reposync pull down the latest updates for the newer version. My original thinking was that once my repo server was upgraded to 5.3 it would start pulling the 5.3 updates but obviously I'm way off base since that is not happening.
There are bugs in a program that the newer version is supposed to have fixed but the Ubuntu Repositories only have an older version.
1) Is there a place I can check to see if there is an update planned for the Ubuntu Repositories soon?
2) If I download and install the newer version from the source's website, will this break getting future updates from the Ubuntu Repositories using apt-get or aptitude or synaptic?
I've currently got a centos server setup in my home. It has 1 website running on it and I am using DynDNS.com's service to access the server. DynDNS works by redirecting a free url to the IP address of your server. I would like to add a second website under a different url. However, I'm not sure how to add a second IP address (which I would then use with DynDNS to create a new url).
On my lenny+backports+debianmultimedia desktop I see two annoyances. 1st: There are multiple versions of same packages. But while attempting to remove the older versions I see apt-get is removing some essential packages. Is there any way to kill this duplicacy of packages? Here is a list of packages whose multiple instances are installed:
For my work it is extremely useful to have multiple versions of gcc available. I've done this in the past under Ubuntu simply by enabling alternative or older repositories but in Fedora land I've not been able to find a standard automated way of doing this. Can anybody point me in the right direction?
I'm using latest Ubuntu version 10.10 and I want to try Firefox Beta, but don't want to replace the one I;m using now which is 3.6.13.
I have downloaded Firefox 4 Beta andd extacted file to a /Home Folder/(My username)/Firefox 4 (Beta)/
and I wen to that folder and clicked on the Firefox link bu version 3.6.13 came up. in another window. Do I have to close Firefox ad re open it or do I have to do something else?
I have installed GCC 4.5.1 using senaptic. But typing gcc in any terminal still calls the older version of gcc. I see that in /usr/bin gcc is a link to the older gcc. Would it be OK to replace that link with the new one poiting to the newer version of GCC?
Some times i need the older version of some packages in my system...side by side with the new one.i.e mostly i found older version openssl package for supporting dependency of some programs Can I keep the following libraries at the same time in my system by installing multiple versions of openssl?
I have a dual boot desktop with WinXP on C: and Ubuntu on D:. GRUB 2 handles the start-up. Having installed multiple updates to Ubuntu, my GRUB menu now lists:
and (recovery mode) for each of the above, along with the mem test and WinXP.Is there any reason I need to list all these variants of Ubuntu? If not, can I simply edit them from the GRUB config file or must I do something else to actually uninstall them?
I am not sure if this is the right section to ask this question (sorry if it isnt). Anyway, I want to build and install 3 different softwares:OpenCV, Player, Stage. These are required for my school projects and research etc. Now, I need to install them in this manner: Opencv-2.0.0, player-2.1.3 and stage-2.1.1 and Opencv-2.1.0, player-3.0.1 and stage-3.2.2
The reason for this is, these are the sets of versions that talk to each other without problems. And I need the older versions for a project that I'm currently working on and its always nice to have the newest version installed on the system. If its only a single version install, its pretty easy and I can do it.Since I want to install multiple versions of the same software I could use some help. I am not sure whether I can install all of the them in the default directory (/usr/local/). So, I can set up a separate directory on my home folder. But thats as far as I've gotten to. I am particularly concerned whether one version would break another. Is there anything that I can do to avoid this?
I do quite a bit of testing of a FOSS package, which I install from rpm. At any one time there may be 3 versions ( current release, new release candidate, and snapshot of trunk) that I wish to test. If I stick to normal naming conventions (i.e. current release fred-2010.0...rpm, release candidate fred-2010.2...rpm, and trunk fred-2010.3...rpm) it seems to me that I can only have one version installed at any one time. Is there a 'proper' way of managing this (using the package manager), so that I can have multiple versions installed at any one time?
I want to have 2 diffrent versions of a package installed at same time. This is the command i use "apt-get install myprogram=versionID" Problem is, that when i install the version i wanna add, it REPLACE it with the old I dont wanna replace, i wanna keep them both.
The main problem is that the software was developed about 15 years ago and is incompatible with the most current version of Java. I would like to know how to install an older version of Java so that I can use it with just this one application, without changing the version of Java that I use for everything else.
When I turn on my computer, because of frequent updates it will display several versions of Ubuntu 10.10 that I can choose from. I wonder if it is possible to delete some of the older versions and how. I think having several versions of Ubuntu uses up a lot of space in the hard drive.
I have matlab installed on a network (I am not the administrator) and we usually start the program by typing "matlab", then choosing one of the version options from the menu i.e. typing "n". So because of this, trying to run matlab programs or commands directly like this... matlab -r ProgramName
...does not work. I just get the menu as usual and everything else is ignored. I assume the admin has overridden the matlab command with their own custom script. So my question is can I start a specific version of the program by specifying the folder that the version is in? I thought it might be something like /opt/matlab/version -r programname
this might look foolish, but I am a bit of a linux noob. Let me know if I should just ask my administrator but I thought there might be something easy I am missing.
I have a page which is going to be internationalized, and available in more languages. It contains PHP scripts to load, let's say, current user's data from database and the internationalized content itself, like "Welcome user" message. The problem for me is the fact, that internationalized content is not continual, and it's all over the page mixed with php scripts.
I don't want to use eval(). I've got 2 , they are, however, not good enough. 1. One file per language version, with scripts included - there will be many languages, so there would have to be many files with redundant data. Also if I wanted to change structure of script, I would have to change it in all pages. 2. Load international data from db, while scripts are on the page - not sure about good database structure I mean, how would I get the right content from database? (content would be split into rows, columns, or something?)
I am in the process of building a new server on an Asus P5QPL-AM motherboard and an Intel E8600 processor.explain to me the difference between the two versions and what would you recommend.Also, is there any advantage of SATA over IDE hard drives?
I am using RHEL5 and I did a createrepo -v --update /var/www/html/yum/base/5Server/x86_64/rhel-x86_64-server-5/getPackage/ and the output was
Scanning old repo data Indexed 10031 base nodes Killed
Now is that a error? I didn't press Ctrl-C or anything like that, it just finished that way. I have a local yum repository and I use reposync to sync up my local repository with the Red Hat network. Everytime I pull down the updates from Red Hat I used createrepo with no options but wanted to try the --update to see how much time it would save. Anyone have any ideas why it is it was "Killed"
I built a home server (NAS/WWW/SSH/media server etc) and chose CentOS 5 as the OS (stability, easy of configuration).I was just about to start tuning the power consumption when I realised that the kernel CentOS uses is so "old" that it does not support the latest reduced power consumption enhancements that Linux has achieved in big strides in the recent past (we are probably still talking 6-12+ months ago e.g. tickless kernel)..
So my questions; 1) I know CentOS was maybe not meant for home servers (certainly its not its primary purpose), but if it is, any ideas of what kind of power consumption it takes (I know its relative) and if there are particular power consumptions that are worthwhile?
2) Do you recommend me compiling my own 2.6.21+ kernel from kernel.org or am I just likely to have compatibility issues (I really did not want to do that) or when is CentOS 5.4 supposed to have a newer 2.6.21+ version kernel?
Was it wrong of me in principle to choose CentOS for a home server when I am power conscious? (I don't have a low-power VIA processor either but a P4 so I am really just hoping to make do with software changes).
Is it possible to list/find/compare the program versions on a Centos system, against Redhat/Centos Errata/Security/Bug lists? Sort of looking for a way to make sure that all the packages on a system are ok, and not a security risk-- Without having to update every package. A pseudo code, in my mind is:
I'm quite new to Linux/CentOS. I installed LAMP from official CentOS repositories and I'm wondering why the PHP (5.1.6) or MySQL (5.0.77) versions are so old. Why there is now the latest versions available.
Is it recommended to use these versions or should I update to the newest one - if so could you plesae provide me some links to official repositories&tutorials.
The 3rd vendor SW is requesting to have KSH version older that 20100202. CentOS 5.5 (x86_64) comes with 20100202-1.el5_5.1 and downgrade version listed is 20100202-1.el5
sudo yum downgrade ksh* Loaded plugins: fastestmirror Setting up Downgrade Process Loading mirror speeds from cached hostfile
I am running my web and game server on ubuntu 8.04 lts and am considering in reinstalling a new OS. I would like to try another different OS(most probably CentOS or Debian and I saw alot of good comments about them). I'm not sure what version I am going to install. I searched on websites of companies that rents dedicated servers and noticed that they mainly use Debian 4 or 5 and CentOS 5 or 4.7. I would like you to tell me which versions do you prefer for CentOS and Debian servers.
I have a CentOS 5.3 box with three network interfaces in it. Each interface is attached to a separate VLAN and I want traffic to stay on each network segment.What I can�t figure out is why I cannot get each interface to have its own gateway and everything gets sent through the default gateway.The basically takes my possible 3Gb total bandwidth and throws it down a single 1Gb pipe.Then on top of that, if I take down the interface (ifdown) that has the current default gateway,I loose contact to the other two interfaces.When I look at the routes, each one of the interfaces shows the gw as 0.0.0.0 and defers to the default route. So I delete the route and try to add a new route with:
[root@testsan ~]# ip route add 10.1.15.0/24 via 10.1.15.1 dev eth2
I have noticed that some repos in /etc/yum.repos.d/*.repo files have the definition "enable=0", I am not talking specifically about the "testing" repos... of course these have some packages tha may disrupt the normal working of CentOS... but about all the remaining repos ( non "testing" ) that are disabled by default...Is it dangerous to enable them...? even respecting priorities and having yum priorities activated...?
I haven't tried CentOS in a log time, but CentOS 6 is coming out in a while, so I thought about trying it again. I'm using Fedora now and I like it, but I'm still reinstalling at least once a year. I'd like to get to the point where I can just sit on CentOS and update to reasonably up-to-date software without having to go through the trouble of compiling, etc.
So, I'm getting ready to install CentOS 5.6 in a virtual machine to play with. What repositories should I install and which ones are compatible? I'm using RPM Fusion now with Fedora with a handful of others for specific software not available in RPM Fusion.
I have a CentOS install but I have problem with repositories(I guess) because I can install almost basic system programs nothing more. How I can check the repositories list with the url of repo? Are they like in Ubuntu or Debian repo universe etc.? For e.g., I'm trying to install lighttpd from source but I can't get dependencies from the repo such as headers and more...