CentOS 5 :: Block YUM From Installing A Package Permanently?
Apr 12, 2011
I'm a java developer that must use the official JDK distribution. We tried using the open version and it gave us problems. We run the same java in DEV as we do in PRO.
OpenOffice INSISTS -- CANNOT LIVE WITHOUT -- the openjdk... EVERY TIME I try to update, it wants to install that package!
Is there a way that I can block the system from installing a package? Maybe I could just tell people to do --skip-broken with all their upgrade commands, because I disabled that package somehow? Anyone know how to do this?
I run my own home server using OpenSuse 11.1, everything is setup using apache, php, etc etc, and it all works perfect, but now I need to use my own email server for the use of Dolphin social networking software, so that when someone registers, the email server sends out registration confirmation emails, so I set up postfix, yeah right!!!, even though I followed all instructions to set postfix as a closed relay, a test done at mxtoolbox site still said it was an open relay, but while I was trying to set up postfix, my access to the server slowed down, and my servers drive light was constantly active,,, so when I look at the mail queue, I saw 4000+ emails, all from japan, (hinen.net), so I promptly shut down postfix and use postsuper -d ALL in the command console to delete the queue, but no matter how I try, I couldn't configure postfix as a closed relay,,, so I uninstalled it and installed sendmail, and using webmin, I could use a spam list and block the domain, now, sendmail's test at mxtools show as a closed relay, I can't even send out a test email using smtp auth, but disabling auth, I can, but now my IP is blocked at spam cop, and spamhaus,,, gmail server say my IP is not authorized to send to their servers, but to use my ISP relay instead,,, but my ISP doesn't have a relay,,hence the need to run my own email server.
My home server uses double layer firewall, a hardware firewall between the internet and the server, and a software firewall on the server, and I only allow the ports I need, IE, 80 = http, 443 = https, 20/21 = ftp, 25 = smtp, 110 = pop3. and that's all, but any other internal access from my workstation to the server, using ssh, I only open the ports on the server firewall. If someone here has a great deal of knowledge on sendmail, and can set up a an M4 (linux.mc) config file for me, it would be much appreciated. What I would like my email server to do, is to only allow the sending of emails from inside it's own server system,, ie, when a php script sends an email to the server, then the email server would let it through, but anything else, outside the local network is ignored.
i've tried blocking ping requests with iptables.. and it didnt work Quote: iptables -A INPUT -p icmp --icmp-type echo-request -j DROP
also tried editing sysctl.conf.. which worked perfectly but after i restarted the system i was able to ping my ubuntu machine from my lappy here is what i added to sysctl.conf and then executed it with sysctl -p
Quote: net.ipv4.icmp_echo_ignore_all = 1 here is another atempt to block.. this one worked too... but again after the restart i was able to ping my machine.. Quote: echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_all
For some of them I used apt-get ( yes I had to install apt first) and the other, I used yum. But when I run ./configure in libtorrent-0.12.4 directory, I get this error at the end of it's process: checking pkg-config is at least version 0.9.0... yes checking for OPENSSL... configure: error: Package requirements (openssl) were not met: No package 'openssl' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables OPENSSL_CFLAGS and OPENSSL_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. What should I do to install it?
What's the best way to permanently disable the package kit update applet in fedora 12. i really dislike my bandwidth being robbed unnecessarily from the other computers running fedora on the network.
System->Preferences->System->Software Updates is not working as it is supposed to.
What is the role of PackageKit? Do i really need it?
I m using pidgin2.5.5-1 that is old version of pidgin because of some proxy issue, I dont want to update it anymore but it keeps on showing its update in package updater its very annoying...How could i get rid of it ?I want package updater show all updates except this...that is permanently remove it from update check list.
I installed VMware server on my CentOS 5 machine. I had problems getting that working. Then I installed VMware Workstation. That worked fine. Then I tried using VMware server, but apparently VMware Workstation deleted some of VMware Servers files. So, I uninstalled VMware Workstation. Then I tried to reinstall VMware Server, but rpm complains package VMware-server-2.0.2-203138.x86_64 is already installed
I have tried to install CentOS about twenty times. Each time it hangs up at package download. I says that file rsh-o,17-40.e15.i386.rpm cannot be oppened Due to a missing file or corrupt package or corrept nedia.
I have a problem when installing this package through synaptic package manager. this is :
libpng12-dev the error is: W: Failed to fetch http://security.ubuntu.com/ubuntu/po...tu2.1_i386.deb 404 Not Found [IP: 91.189.92.167 80] my distribution is ubuntu 10.4.
Newbie here! Our website CMS is a Tomcat webapp, which runs on a CentOS 5.6 release (Final). The webapp needs a permanent increase of the max. open files value. Currently, the site is "crashing" frequently due to continuous "Too many open files" exceptions that eventually will occur when traffic increases.
This is what I've done to try to increase the max. open files value code...
But still, when I log in (as any user, incl. root), ulimit -n shows 1024, not 16384. Am I missing something here? And, more importantly; Will Tomcat be able to open > 1024 files after my changes mentioned above?
I installed a distro based on CentOS 5.5 (FreePBX distro FYI). It used an automated kickstart script to create an md RAID1 array of all the hard drives connected to the machine. Well, I installed from a thumb drive, which the script in interpreted as a hard drive and thus included in the array. So, I ended up with three md arrays (boot, swap, data) that included the thumb drive. Even better, it used the thumb drive for grub boot so I couldn't start up without it. I was able to mark the USB drive as 'failed' and remove from each array, and even change grub around to boot without the usb drive, but now each of the arrays is marked as degraded:
Today Software Update on Fedora 13 listed updates for OpenJDK, SSH protocol, and SE Linux policy configuration. When I clicked on the Install button I was presented with a list of nearly a hundred fonts that Software Update said were required. They were all fonts that I have removed from my computer over and over - fonts for languages that I do not speak and don't want on my computer.
I unchecked the fonts, but Software Update said it could not continue without installing them. Apparently they are dependencies of one or more of the three packages I mentioned above. Is there a way to figure out what package is constantly installing these fonts?
I note that after deleting the fonts I never have any problem with apps failing to run. And if I go to a web page created with a language that requires a particular type of font, Firefox still displays the page with the correct font for that language, even after removing the fonts from my computer. Are they really required?
I am trying to do 1Meg IO to one of the block devices but I can only get a maximum of 512K IO size. I can use the corresponding sg device to get 1Meg of IO. I was wondering if anyone knows why 1Meg IO to a block device is being broken down into 2 512K chunks? I have increased the /sys/block/sdg/queue/max_sectors_kb to 16384, but it has made no difference.
My uname is : Linux virgo 2.6.18-128.el5 #1 SMP Wed Jan 21 10:41:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
I want to block/restrict video streaming on my Squid Server(LAN Environment) so no body will able to see live videos. Kindly provide me the solution. I m using CentOS 5.3 Server. squid.conf file is in /etc/squid/squid.conf.
I want to upgrade my current Centos 4.6 to the newer version which is Centos 5.3 without wiping off my current HD, I have an Adaptec Raid Controller on my supermicro server, but strangely enough Centos 5.3 DVD Installer can't do upgrade only full install and dont event recognize my HDs (cause it didnt load the I2O block drivers). Is there any way during installtion procedure to load the I2O block driver via kernel parameter or other switches?
I have the requirement that if our website receives 20 or more requests within 60 seconds, to block the offending IP address for 5 minutes, then allow them access again. My only certain mechanism to do this is iptables. I wrote the following series of commands:
Why does centos-release-notes have any dependancies ?
I can see no reason why centos-relese-notes should depend on centos-release when I try "yum erase centos-release-notes" I am told there are 72 dependancies including completely irrelevant packages such as tar all because of this unnecessary dependancy.
The centos-release-notes package simply contains a bunch of text/html files that nothing else relies upon, so why the dependancies ?
I am trying to see if there is an authbind equivalent or authbind package for CentOS/RHEL? x If so, where can I get more info and download it? It seems to be only available for Debian and Ubuntu.
I just downloaded an iso of the latest CentOS dist (5.3) and burned it to disk. I booted from the CD and received the following error: Memory for crash kernel (0x0 to 0x0) not within permissible range Illegal mode for this track or incompatible medium -- (asc=0x64, ascq-0x00) The failed "read 10" packet command was: Buffer I/O error on device hdd, logical block 176935
(This error message repeats for another 9 or 10 times then it says the following) Red Hat nash version 5.1.19.6 starting Setting up new root fs (Then there are some unmounts which are old /dev, /proc, /sys. At this point a series of steps begin).
Setting Clock Starting udev Loading default keymap (us) Setting hostname local host.localdomain Setting up logical volume management Checking file systems
These are just some of the steps that appear after the above error is displayed, all of the steps that load have an ok status. After those are completed I get to a text prompt - localhost login: At this point my keyboard does not seem to respond, pressing enter or any of the other keys seems to have no effect. I noticed that during the load process I could toggle the light for caps and num lock, but at the login screen it does'nt work. So at this point I'm not sure if I'm having a technical issue or if its just another case of an user error.
I virtualized a PC with VMware vCenter Converter. But when I boot my virtual PC, I have an error.I found this link but I can't mount /dev, /sys and /proc. I have this error message : mount: /dev is not a block device.