Sponsored Content
Full Discussion: Yum is unusable
Operating Systems Linux Red Hat Yum is unusable Post 302554487 by bartus11 on Monday 12th of September 2011 08:18:55 AM
Old 09-12-2011
Code:
rm -f /etc/yum.repos.d/*
yum clean all

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Centos commands: Yum Upgrade versus Yum update

Hi, I would like to know the difference between YUM UPDATE and YUM UPGRADE. The man pages say upgrade is same as update with the obsolete option. And by default it says the obsolete option is turned on, which would make them equivalent. Does not say what obsolete does. Can someone please... (3 Replies)
Discussion started by: mojoman
3 Replies

2. Red Hat

yum problem

hi i am not able to do yum update in centos5 i was not able to use yum at all.i am getting an like this. #yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Setting up Update Process No Packages marked for Update please help me what i have missed (6 Replies)
Discussion started by: praneel2k
6 Replies

3. UNIX for Advanced & Expert Users

yum issue

Hi Guys, I am trying install mysql.i386 with yum... But unfortunately I am getting error as listed below: # yum install mysql.i386 Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? ... (2 Replies)
Discussion started by: mahesh_raghu
2 Replies

4. Solaris

Removing Dead Paths And Unusable Path Solaris 9

Hi, One of our Solaris servers was peviously zoned and connected to 2 seperate arrays, one HP and the other EMC. The server is now only connected to the EMC. The sever has x2 single port HBA's. When running cfgadm I see the following: root@qwicprod /dev/rdsk]# cfgadm -al Ap_Id Type... (6 Replies)
Discussion started by: jamba1
6 Replies

5. UNIX for Advanced & Expert Users

yum provides methods

What is the difference between these yum provides and whatprovides methods? I know provides and whatprovides give the same results, but different methods of */ and \* give different results. Also whether you put */ and \* in front of the string or behind the string give different results. I have... (0 Replies)
Discussion started by: cokedude
0 Replies

6. UNIX for Dummies Questions & Answers

Trying to install using YUM

Hi, working on CentOS 5.7 64 bit. I need to install syslog-ng. First I downloaded syslog-ng RPM. When I install I get many dependencies error messages. rpm -ivh syslog-ng-3.3.3-1.mga2.x86_64.rpm warning: syslog-ng-3.3.3-1.mga2.x86_64.rpm: Header V3 RSA/SHA1 signature: NOKEY, key ID... (2 Replies)
Discussion started by: samnyc
2 Replies

7. Red Hat

help with YUM

Hi All, Just installed new Redhat server. I am trying to do rhn_register. I get this error message. Fatal error: The SSL certificate failed verification. Any one ran into this error. Please let me know. I do have internet connection- ping www.google.com PING... (1 Reply)
Discussion started by: samnyc
1 Replies

8. UNIX and Linux Applications

yum provides help

Is there a reason why yum provide can't find libquazip? I did this. yum whatprovides */libquazip A quick google search told me it was in quazip and libquazip. RPM resource libquazip.so.1 (1 Reply)
Discussion started by: cokedude
1 Replies

9. Linux

Need help on YUM

HI, First I'll use yum check-update to check any updates. Q1: How can I know that how much space needed to update all packages listed by yum check-update command? Q2: How can I list kernel related packages? TIA (2 Replies)
Discussion started by: Sumanthsv
2 Replies

10. UNIX for Beginners Questions & Answers

Installation of virt-manager while yum update and yum install rhvm does not work

I have downloaded RHEV-H 4.2 Red Hat Virtualization - Red Hat Customer Portal (RHVirtualization 4.2 Host and Manager iso). I uploaded the image and installed on an HP G9 server baremetal. I found I dont have a WAN/net connectivity later on HPG9 server. How can I still install virt-manager on... (1 Reply)
Discussion started by: Paras Pandey
1 Replies
VCSH(1) 																   VCSH(1)

NAME
vcsh - manage config files in $HOME via fake bare git repositories SYNOPSIS
vcsh clone url [repo] vcsh delete repo vcsh enter repo vcsh help vcsh init repo vcsh list vcsh list-tracked vcsh list-tracked-by repo vcsh rename repo newname vcsh run repo command vcsh setup repo vcsh which substring vcsh write-gitignore repo vcsh repo gitcommand vcsh repo DESCRIPTION
vcsh allows you to have several git(1) repositories, all maintaining their working trees in $HOME without clobbering each other. That, in turn, means you can have one repository per config set (zsh, vim, ssh, etc), picking and choosing which configs you want to use on which machine. vcsh is using a technique called fake bare git repositories, keeping $GIT_DIR in a different directory from $GIT_WORK_TREE which is pointed to $HOME. The use of symlinks is not needed in this setup, making for a cleaner setup. vcsh was designed with mr(1) in mind so you might want to install it alongside vcsh. That being said, you can easily use vcsh without mr if you prefer. A sample configuration for vcsh and mr can be found at https://github.com/RichiH/vcsh_mr_template and used with vcsh clone https://github.com/RichiH/vcsh_mr_template mr. Please note that you can always use a path instead of a name for repo. This is needed to support mr and other scripts properly and of no concern to an interactive user. OPTIONS
clone Clone an existing repository. delete Delete an existing repository. enter Enter repository; spawn new $SHELL. help Display help. init Initialize an empty repository. list List all local vcsh repositories. list-tracked List all files tracked by vcsh. list-tracked-by List files tracked by a repository. rename Rename a repository. run Run command with $GIT_DIR and $GIT_WORK_TREE set. Allows you to run any and all commands without any restrictions. Use with care. Please note that there is a somewhat magic feature for run. Instead of repo it accepts path, as well. Anything that has a slash in it will be assumed to be a path. vcsh run will then operate on this directory instead of the one normally generated from the reposi- tory's name. This is needed to support mr and other scripts properly and of no concern to an interactive user. setup Set up repository with recommended settings. which substring Find substring in name of any tracked file. write-gitignore Write .gitignore.d/repo via git ls-files. repo gitcommand Shortcut to run vcsh on a repo. Will prepend git to command. repo Shortcut to run vcsh enter <repo>. ENVIRONMENT
As noted earlier, vcsh will set $GIT_DIR and $GIT_WORK_TREE to the appropriate values for fake bare git repositories. HOOK SYSTEM
vcsh provides a hook system. Hook scripts must be executable and should be placed in <$XDG_CONFIG_HOME/vcsh/hooks-available>. From there, they can be soft-linked into <$XDG_CONFIG_HOME/vcsh/hooks-enabled>; vcsh will only execute hooks that are in this directory. Hooks follow a simple format. pre-run will be run before anything is run. If you want to have more than one script for a certain hook, just append any kind of string to order them. A system of pre-run, <pre-run.10>, <pre-run.20> etc is suggested; other options would be pre-run-10 or <pre-run.sh>. A dot after the hook name is optional. If you want to create hooks for a specific vcsh repository, simply prepend the repository's name, followed by a dot, i.e. <zsh.pre-run>. Otherwise, the same rules as above apply. The dot between the repository's name and the hook is mandatory, though. Available hooks are pre-enter, post-enter, pre-run, post-run, pre-setup, and post-setup. If you need more, vcsh is trivial to patch, but please let upstream know so we can ship them by default. DETAILED HOWTO AND FURTHER READING
Man pages are intended to be short and thus often useless to glean best practices from. This software comes with a file called <README.md>. It contains various approaches to setting up and using vcsh. You can view the file it as plain text or render it into various other formats via Markdown. On Debian-based systems, this file can be found in </usr/share/doc/vcsh>. SECURITY CONSIDERATIONS
vcsh allows you to execute arbitrary commands via vcsh run. For example, adding a sudo(8) rule for vcsh would be pretty stupid. Additionally, vcsh will source, i.e. execute, <$XDG_CONFIG_HOME/vcsh/config>. You can put any and all commands into this config file and they will be executed. BUGS
None are known at this time, but reports and/or patches are more than welcome. KNOWN ISSUES
As of this writing (June 2012), vcsh does not work with git submodule due to limitations within git. Depending on when you are reading this, you might want to consider upgrading. HISTORY
Like most people, the author initially made do with a single repository for all config files, all of which were soft-linked into $HOME. Martin F. Krafft aka madduck came up with the concept of fake bare git repositories. vcsh was initally written by madduck. This version is a re-implementation from scratch with a lot more features. madduck graciously agreed to let the author take over the name. AUTHOR
This manpage and vcsh itself were written by Richard "RichiH" Hartmann. COPYRIGHT
Copyright 2011-2012 Richard Hartmann richih.mailinglist@gmail.com Licensed under the GNU GPL version 2 or higher. https://github.com/RichiH/vcsh SEE ALSO
git(1), mr(1) June 2012 VCSH(1)
All times are GMT -4. The time now is 04:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy