rpath

Daily experience with rPath.

Thursday, November 17, 2005

Conary

Started experimenting with conary and I did not like the experience.
I'm very used to apt-get and conary felt a bit less featured.

I tried to do 'conary q kernel*' and what was returned was 'error: kernel* is not installed'.
Humm, ok, did another try like 'conary q kernel' and I was successful. :)

I'm gonna try conary a bit more and provide some feedback then.
By the way, how do I get the info of some package in a "repository"?

2 Comments:

At 11:09 PM, Anonymous Anonymous said...

Wildcards are not implemented in "conary q" yet. It's not difficult, just not done. Meanwhile, you can do "conary q | grep kernel".

For getting information about what's in the repository, you can use "conary rq --info foo". For example, "conary rq --info kernel" will give you spiffy information:

[msw@localhost ~]$ conary rq --info kernel
Name : kernel Build time: Tue Nov 15 21:25:00 2005
Version : 2.6.13.4-5.2-1 Label : conary.rpath.com@rpl:rpl1
Size : 47066454
Flavor : ~!kernel.debug,~!kernel.debugdata,~!kernel.numa,~!kernel.smp is: x86(cmov,i486,i586,i686,~!mmx)
License : License :: OSI Approved :: GNU General Public License (GPL)
Category : Topic :: System :: Operating System Kernels :: Linux
Category : Topic :: System :: Operating System
Summary : The Linux Kernel.
...
etc.

If you're searching for software, the best way is to go to rBuilder Online at http://rpath.com/ and do a package search. We're going to add the ability to search using more than just the package name later.

 
At 1:54 AM, Anonymous Anonymous said...

conary q | grep kernel is more what you wanted. There's not a lot of globbing support within conary itself.

As for querying a repository, try the rq conary command, i.e. conary rq <pkgname>, or conary rq --ls kernel:runtime to list all the files in a package.

Some other useful commands are listed at http://wiki.conary.com/ConaryTipsAndTricks

 

Post a Comment

<< Home