Ubuntu-Linux

University Of Indonesia

Conary for Debian and Ubuntu Users

posted on 28 Apr 2007 14:48 by teno  in Ubuntu-Linux
Conary for Debian and Ubuntu Users
Added by Thilo Pfennig, last edited by Thilo Pfennig on Apr 24, 2007 (view change)
Labels:


Welcome visitors from Debian/Ubuntu or "Switchers". You know how to work with your tools but Conary is new for you? Then this page is what you want to read. We try to show you some similarities so you can have a good start. Be aware that Conary still is very different and is much more powerful than dpkg. But for now this should be enough. And BTW. as this is a wiki page your input is always welcome.

Generally you should know that Conary packages contain troves, which you can install/deinstall.Conary is not a frontend like apt-get is for dpkg. Also we are still missing a real GUI for installation. But this is in the works and should be available on one of our next releases, hopefully.

What troves does a package have?

# conary q gnome-games --troves
gnome-games=2.18.0-1-1
gnome-games:data=2.18.0-1-1
gnome-games:doc=2.18.0-1-1
gnome-games:locale=2.18.0-1-1
gnome-games:python=2.18.0-1-1
gnome-games:runtime=2.18.0-1-1

So here you see that the package gnome-game contains of five different troves. You actually can work with conary mostly on each trove instead of just the package name. Also you could deinstall the docs package if these are not required by another package.

Is package name "X installed?

  • Debian: dpkg -l X
  • Conary: conary q X

List package X content

  • Debian: dpkg -L X
  • Conary: conary q X --ls

Hint: You can also do "conary q X --lsl" to see all the file permissions.

What versions of package X are available?

  • Debian: apt-cache search X
    • actually that does a full search, maybe there is a better command?
  • Conary: conary rq X

Install and Update package X

  • Debian: apt-get install X
  • Conary: conary update X

Update whole system

  • Debian: apt-get update ; apt-get upgrade
  • Conary: conary updateall

Distribution Upgrade to next higher version

  • Debian: apt-get update; apt-get dist-upgrade
  • Conary: conary updateall

Be aware that you are not getting warned if you switch to a higher version of Foresight. It just happens with updateall.

What provides the file /bin/X ?

  • Debian: dpkg -S /bin/X
  • Conary: conary q --path /bin/X