Tag Info

Hot answers tagged

34

With yum-utils installed, repoquery will provide the information you seek (here 'epel' being the repository). └─[$]> repoquery -i cherokee Name : cherokee Version : 0.99.49 Release : 1.el5 Architecture: i386 Size : 8495964 Packager : Fedora Project Group : Applications/Internet URL : ...


16

Simple: grep ^Package: /var/lib/apt/lists/ppa.launchpad.net_*_Packages Or more flexible: grep-dctrl -sPackage . /var/lib/apt/lists/ppa.launchpad.net_*_Packages For fancier querying, use apt-cache policy and aptitude as described here: aptitude search '~O LP-PPA-gstreamer-developers'


15

Easy answer is to run: find / -name 'svnserve.conf' svnserve.conf is a file that should reside in ${REPO}/conf. Hard(er) answer is to find out if svn has a command to find out what URL you used for you initial checkout. Edit: for a command line svn client, the way to find the repository root (the place you checked your code out from) would be running ...


15

What version of yum? On the current version if the installed package is the same version as the most recent one available then the repo it was installed from is shown. $ yum info irssi Installed Packages Name : irssi Arch : i586 Version : 0.8.14 Release : 1.fc11 Size : 2.3 M Repo : installed From repo : updates Summary : ...


15

Are you trying to compare the two tools from a system admin's perceptive or as a programmer? If you are looking at this from a programmers perspective perhaps you should ask this on stackoverflow. Or even better, perhaps you should look at what is already been asked about "git svn". http://stackoverflow.com/questions/871/why-is-git-better-than-subversion ...


14

Select a new front end by setting your env. DEBIAN_FRONTEND=noninteractive apt-get -y install x11-common I use this all the time in automating package installation with cfengine.


13

Yes, you can, and you don't need to do anything special. In fact, the usual Debian and Ubuntu repositories typically do have several versions of each package (from oldstable/stable/testing/unstable or dapper/hardy/lucid/maverick/natty). The distributions only have a single package in each version's index file (the Packages files), but you don't have to ...


12

These days there is a "smart HTTP" upload feature, might even supersede the SSH access. No more private key generating is required, and installing should be easier, because the server component can be written in any language of choice: Running a Git server with IIS 7 and .NET 4: ...


12

The haproxy package has been removed from EPEL because it is now included with RHEL 6.4 (and will be in derivative distributions after they build 6.4). Red Hat Enterprise Linux 6.4 introduces the haproxy package as a Technology Preview. If you need it now, you can obtain Red Hat's 6.4 SRPM and rebuild it on your system (the same way CentOS will ...


11

EPEL is a great repo, see the information for installing it at the EPEL "howtouse" FAQ entry. In short, you would run: rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm yum update yum install git Note that EPEL does include "git". I also use Ubuntu, and I would say a CentOS box with EPEL is quite comparable to Ubuntu ...


10

Coming way to late but (at least on Fedora 15) one can use yumdb for similar queries: yumdb info 'python*' And what I actually needed to list packages from given repo(s): yumdb search from_repo 'my-*-repo'


8

i assume you wnat to decrease size of repository [ on the server ], not just content checked out. as far as i know only way to remove something permanently from svn is to: run the dump of repository manually remove unwanted files/changes to those files from the dump recreate repository in this way you'll preserve history and all meta-data yet you'll get ...


8

EPEL 5 is meant to align with RHEL5, CentOS 5, Scientific Linux 5.x, etc. EPEL 6 is meant to align with RHEL6, CentOS 6, Scientific Linux 6.x, etc. http://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F If you are running an EL6 version, please visit here to get the newest 'epel-release' package for EL6: The newest version of ...


7

It's a bunch of files, like any other bunch of files. Use whatever method you use to backup the rest of the system. As this is on a server I would have thought it would already be included in the regular backup scheme. If you're using half-decent backup software, even Windows own NT Backup, it should be using the Volume Shadow Copy service, which will take ...


7

If you want to do it yourself, look into the "svnlook youngest" and "svnadmin dump --incremental -r${STARTREV}:${ENDREV}" commands. I have pasted below the scripts that I use to make full and incremental dumps of my SVN repositories, they store the revision and date of the last backup in subdirectories of /home/svn/var. Make a full dump first, then as many ...


7

"Enable" is not actually a valid parameter for the yumrepo resource. It's called "enable_d_". The reason it's choking on the curly brace is that it's the end of that section. I don't know the intimate details of how Puppet parses files, but my guess is that Puppet grabs all of the parameters during parsing and handles them together, so it doesn't know ...


7

The "simple" way is to just dump everything in a directory and run: rm $(repomanage --keep=2 --old /path/to/repo) createrepo /path/to/repo ...the more complicated way is to setup koji/etc. to do your builds and create the repos.


7

apt-get is a Debian tool. yum (and rpm) are Red Hat tools. They are not compatible; neither are the packages which they install. If you want to use apt-get, use a Debian (or Ubuntu) image instead of Red Hat (or CentOS, or whatnot).


7

Enterprise Linux distributions deal with this by backporting security fixes from the new version to the original version to which your distribution is locked. You install the updated system packages containing the backported security fixes, and note this in your report to the compliance vendor. Each report you receive of a potential security vulnerability ...


6

There are no limitations built into Subversion. However, there are practical limits if the repositories are used a lot. You might have a misconception that leads you to believe you do something special at install time to choose limits. You don't. When you use the 'svnadmin create /path/here' command, that is when you choose things like which back-end to ...


6

Not having manually install x11-common, I am not sure what questions you are being asked. But if they are coming from debconf, then you should be able to pre-answer the questions with debconf-set-selections.


6

Being able to access gitolite@server:~/repositories/gitolite-admin.git, but not gitolite@server:gitolite-admin indicates you are not going “through” Gitolite, but just using plain SSH-based access to the gitolite user. If ssh gitolite@server echo normal access yields normal access, then the key you are using is not restricted to going through Gitolite. If ...


6

"Migration Guide"


5

You can create your own apt repo with reprepro debian (ubuntu?) package, and then add the repo's url to the sources.list of client boxes. Reprepro howto: http://www.debian-administration.org/articles/286


5

Hey after searching around I was able to find a better understanding answer to this problem. Make a mount point for your iso: mkdir /mnt/pen Mount the OS installation iso like normal: mount -o loop rhel.iso /mnt/pen/ Create a details entry for your repository (add a file in the /etc/yum.repos.d directory e.g. rhel.repo): [rhel-cd] name=Red Hat ...


5

reprepro is a good tool, but it's likely overkill for what you're doing. I'd recommend looking at the apt-utils package. It contains the tool apt-ftparchive which is perfect for maintaining a reasonably sized internal repository. See here for all the options and links to good howtos.


5

under documentroot on your webserver mkdir myrepo copy all the .deb files to the myrepo folder cd myrepo dpkg-scanpackages ./ /dev/null | gzip > Packages.gz Using the repository: Add to /etc/apt/sources.list deb http://webserver/myrepo/ ./


5

Check out http://wiki.centos.org/AdditionalResources/Repositories . It seems to recommend EPEL and RPMforge.


5

grep Package /var/lib/apt/lists/(repo name)_Packages



Only top voted, non community-wiki answers of a minimum length are eligible