Yum Remove Command
I had some issues with PHP compilation seems to be issue with zlib. So I decided to remove it. What happened then is something like nightmare...
The command yum remove zlib removed zlib + all dependencies without asking me what to remove. So it removed majority of packages including yum itself.
How can I force yum to not remove dependencies when I uninstall some package?
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Remove History Command
Is there any way so that i can remove a specific command from history. 628 ll 629 cat bash.sh 630 man mail 631 exit 632 history You see my history command displays output as this. I need to remove the 630 th command. Is this possible ? I can use history -r but, it will remove all the commands executed in the session. I need a command to remove a specific thing from history.
View Replies!
View Related
Remove Empty Folders And Remove From A Db
ive got a site which auto creates subdomains and installs a script automaticly and inserts details into a mysql db. i have had some issues recent so have loads (talking 100s) of folders that are empty which i need to remove, and to remove the details of said folder from db also. any ideas how i can do this, using plesk control panel so removing the subdomain via plesk cli may be the best way in that respect but the db is external to plesk so that would not be edited
View Replies!
View Related
YUM - Is Yum Disabled By Easyspace
I went with the cheapest VPS, no control panel and installed webmin myself (done - saves a quid a month ) I have now setup the virtual domains for multiple domain hosting, to find whilst migrating a website that the current install of php (5.12ish) has --without-mysql so i got the php install files, went to run ./config to find i'm missing required files (configure: error: Could not find pcre.h in /usr) which in turn required more files the resolution rpms are out of the question too many, I need YUM yet... bash: yum: command not found strange as centos comes with yum i thaught support is busy, thaught i'd try here ------------------------------------------------- Me: Web Designer Only linux experience prior is Yellow Dog Linux No prior experience in VPS VPS: centos 5 minimum spec now with webmin
View Replies!
View Related
Command To Stop The Wget Command
Is there a command i can type into the ssh console to stop a current transfer that i started wit the wget command? the file im wgeting always stuffs up at 51% but then the server just retries and starts again, its done it 3 times so far and i just want to completely cancle the process if possible....
View Replies!
View Related
Remove Xen Xps
I have setup a xen VPS some time back. I need to remove it permanently. I have used the commands virsh destroy <domainID> as well as xm destroy <domainID>. However they only performs a shutdown. I can restore it back! I want to remove / wipe it permanently and memory consumed is given up then and reflected in the core server.
View Replies!
View Related
Remove CPanel Garbage....
I hate cpanl. It's bloated, slow, and just twice as hard to do anything(over command line). Anyways, how can I turn this crap off...it seems like ever time I reboot something comes back and changes conf files(installs older version of programs) and stuff like that. I've shut off any cpanel stuff I can find in the services startup and removed all crons but is there anything else? I get emails like cpsrvd failed @ Fri Jun 22 10:25:38 2007. A restart was attempted automagicly.
View Replies!
View Related
Is Logwatch Important? Can I Remove It
I'm running out of disk space on /var and it seem /var/cache/logwatch has almost 4GB of space. Can I remove everything inside and uninstall logwatch? How do I remove logwatch from the system and any affect of the system functionality. DirectAdmin CentOS4.4
View Replies!
View Related
How To Use .htaccess To Remove Subdirectory...
Is it possible to use .htaccss to remove the subdirectory from a url? The reason I ask it that the script I want to use requires members to be in a /users/ directory, and I would like to remove that part of the url. For instance... can I use .htaccess to change www.thewebsite.com/users/username to www.thewebsite.com/username I have absolutely no need to access the /users/ directory without the username, it's just that all accounts are created in that directory. Is it possible?
View Replies!
View Related
Yum
just having a bit of a play around with virtuozzo here but cant seem to figure out how to get yum within a template so it installs with the initial install
View Replies!
View Related
Yum
I was trying to install Hypervm on one of our nodes, however when running yum commands like yum update I get the following error: error: cannot open Packages index using db3 - Permission denied (13) error: cannot open Packages database in /var/lib/rpm Also when running the command to install hypervm Repository extras is listed more than once in the configuration Repository updates is listed more than once in the configuration Repository base is listed more than once in the configuration Repository addons is listed more than once in the configuration Setting up Install Process Setting up repositories Reading repository metadata in from local files Excluding Packages in global exclude list Finished Parsing package install arguments No Match for argument: php Nothing to do installing php failed. Please fix yum/up2date. However when installing php it fails and returns the error above. If someone can help that would be great.
View Replies!
View Related
Flushing Iptables/remove Rules
I have a VPS (Virtuozzo) with cPanel installed. I notice that iptables running in the VPS had many DROP rules when I listed using iptables -nL command. So I flushed iptabled using "iptables -F" command and also "> /etc/sysconfig/iptables" command and restarted iptabled. When I try to list the rules it would show empty. However when I try to list after a few minutes it is showing the same old rules with many DROP rules yet again! Is there anyway to remove the rules completely?
View Replies!
View Related
How Do I Remove My ISP IP From Email And Only Use My Server IP
The way Exim is setup on Cpanel/Centos is that it adds the origination IP and server IP address that the email is relayed through. Because many RBL's flag Verizon and Comcast ISP IP's as spam sources; it causes my email relayed through my server to be rejected. Note: My server IP is not on any RBL for spam or abuse. Is there a way to edit Exim to only use the server IP adddress that I relay through?
View Replies!
View Related
Remove Server MySQL Connection
I bought a VPS to run a part of a application I have and it needs to connect to my database in cpanel. I have set everything up properly and allowed the remote server to connect to my server, I updated the DB connect file with the correct mysql server username and password. But when I try and run the script I get this error. Quote: Client does not support authentication protocol requested by server; consider upgrading MySQL client in I'm not 100% sure what to do. I don't understand why it wouldn't work because it works perfectly on the main server with my scripts. But I get that error message on the remote server.
View Replies!
View Related
Remove Linux And Install Windows XP
I need to remove CentOS from an old office PC. Dont get me wrong I use Linux almost on everything but for specific reason I need to get XP back into this old AMD PC. I cannot install XP. I cannot remove Linux. This install is devil. It will not let me remove it. I tried everything. XP disk goes black screen and stays there, this is happens with some hardware and you have to remove all Linux partitions to me the Windows XP disk install start. The problem I CANT remove it. I go to rescue mode, or interactive, mode, it doesnt matter, I cannot remove linux. "fisk -l" Go to my partition fdisk /dev/sda2 d for delete and it just outputs: No partition is defined yet! I tried lots of ways around it and always that message. Linux doesnt let me remove the partitions. How in the world do I get XP back now?
View Replies!
View Related
Batch Remove Files And Copy
to move the httpdocs folders of multiple sites on my plesk server to another server (share on other serv is already mounted so thats not an issue) but their is 31 different domains i need to copy. wondering if anyone knows any way to batch automate a cp process to copy each domains files to a new folder on remote server (this is for backup purposes not live sites so i cant use plesk migration etc
View Replies!
View Related
Can't Remove The Ip Blocked By APF Antidos
APF Antidos blacklisted a number of ips that seem to be okay to me I have tried to delete them with /etc/apf/apf -l , /etc/apf/apf --unban xxx.xx.., and even iptables --flush no avail ! Where does apf store its ip rules. I guess that is /etc/apf/.ipt.chains but not found .. looks like there was no command line option allowing to remove IPs from apf backlist
View Replies!
View Related
RewriteRule: Remove Www From All Url
on my server I'm trying to remove 'www' from all subdomain urls. For example: [url]-> should be -> [url] [url]-> [url]... what rewrite rules to use? I suppose I've to put this rule in httpd.conf and apply it at Server level. I'm using this RewriteEngine on RewriteCond %{HTTP_HOST} ^www.([^.]+).example.com RewriteRule (.*) [url] where %1 is one subdomain. The problem is I want this to work on ALL Subdomains. What rewrite rule should I use?
View Replies!
View Related
Yum Update
I get the following error, when I run 'yum update': Quote: [root@moloko ~]# yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * atomic: www2.atomicorp.com * base: mirrors.usc.edu * updates: mirrors.serveraxis.net * addons: styx.biochem.wfubmc.edu * extras: mirrors.gigenet.com Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package file.i386 0:4.17-15.el5_3.1 set to be updated Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 229, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 145, in main (result, resultmsgs) = base.buildTransaction() File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 647, in buildTransaction (rescode, restring) = self.resolveDeps() File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 704, in resolveDeps for po, dep in self._checkFileRequires(): File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 939, in _checkFileRequires if not self.tsInfo.getOldProvides(filename) and not self.tsInfo.getNewProvides(filename): File "/usr/lib/python2.4/site-packages/yum/transactioninfo.py", line 414, in getNewProvides for pkg, hits in self.pkgSack.getProvides(name, flag, version).iteritems(): File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 300, in getProvides return self._computeAggregateDictResult("getProvides", name, flags, version) File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 470, in _computeAggregateDictResult sackResult = apply(method, args) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 861, in getProvides return self._search("provides", name, flags, version) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in newFunc return func(*args, **kwargs) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 837, in _search for pkg in self.searchFiles(name, strict=True): File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in newFunc return func(*args, **kwargs) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 586, in searchFiles self._sql_pkgKey2po(rep, cur, pkgs) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 470, in _sql_pkgKey2po pkg = self._packageByKey(repo, ob['pkgKey']) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 413, in _packageByKey po = self.pc(repo, cur.fetchone()) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 68, in __init__ self._read_db_obj(db_obj) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 94, in _read_db_obj setattr(self, item, _share_data(db_obj[item])) TypeError: unsubscriptable object
View Replies!
View Related
Yum Install
I've tried to work with yum. but if I "yum install .." enter, then i get this error : PHP Code: error: no dbpath has been set error: cannot open Packages database in /%{_dbpath} Traceback (most recent call last): File "/usr/bin/yum", line 30, in ? yummain.main(sys.argv[1:]) File "/usr/share/yum/yummain.py", line 163, in main (log, errorlog, filelog, conf, cmds) = parseCmdArgs(args) File "/usr/share/yum/yummain.py", line 75, in parseCmdArgs conf=yumconf(configfile=yumconffile) File "/usr/share/yum/config.py", line 155, in __init__ self.yumvar['releasever'] = self._getsysver() File "/usr/share/yum/config.py", line 285, in _getsysver idx = ts.dbMatch('provides', self.distroverpkg) TypeError: rpmdb open failed
View Replies!
View Related
Using Yum To Update
I have two packages in Centos 5.3 that refuse to update via YUM. Coreutils and Findutils. coreutils.i386 0:5.97-19.el5 findutils.i386 1:4.2.27-5.el5 The error code returned is: error: unpacking of archive failed on file /usr/bin/find: cpio: rename error: unpacking of archive failed on file /bin/ls: cpio: rename I checked that the files are not immutable via chattr and that I am logged in as root. The directory is also writeable. I can't remove them or change their permissions. Any idea on how to force an upgrade? I checked with the support at Cpanel but they had no idea how to fix it and were less than helpful. root@server[~]# yum install fileutils Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * extras: mirror.fdcservers.net * updates: mirror.fdcservers.net * base: pubmirrors.reflected.net * addons: chi-10g-1-mirror.fastsoft.net Excluding Packages in global exclude list Finished Setting up Install Process Parsing package install arguments Resolving Dependencies --> Running transaction check ---> Package coreutils.i386 0:5.97-19.el5 set to be updated --> Processing Dependency: findutils for package: coreutils --> Running transaction check ---> Package findutils.i386 1:4.2.27-5.el5 set to be updated --> Finished Dependency Resolution Dependencies Resolved ...
View Replies!
View Related
YUM Update
I am researching how to upgrade my server, I have already tested #yum update and seen all the patches and upgrades that could be made for my server. My question is that by upgrading all these (mysql, php, etc) do i need to backup all my mysql databases or should the upgrade not affect my databases?
View Replies!
View Related
Yum Update
I just did yum update and got this error: There are unfinished transactions remaining. You mightconsider running yum-complete-transaction first to finish them.
View Replies!
View Related
Yum RHEL5
What should I put to yum.conf to get this working? YUM is installed, but I can't get yum.conf setup correctly. [main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=redhat-release tolerant=1 exactarch=1 But what should I put to [base] and [updates].
View Replies!
View Related
Yum Repository
I want to install packages through yum in Fedora 7 just like (clamav , assp) but i m not able to install , how can i create .repo file and which path i have to select because i want to install package from the net .
View Replies!
View Related
|