[home] [packages] [docs] [apt] [links] [mirrors] [lists] [misc] [about]

A few real world examples of using apt with rpm

Dependencies are resolved when installing a package that requires other non-installed ones that are also available from the configured repositories.
(note : run "apt-get update" initially and each time you need to fetch the most recent data concerning available packages)

[root@psyche root]# apt-get install xine
Reading Package Lists... Done
Collecting File Provides... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  aalib flac libfame xine-lib xvidcore
The following NEW packages will be installed:
  aalib flac libfame xine xine-lib xvidcore
0 packages upgraded, 6 newly installed, 0 removed and 0 not upgraded.
Need to get 0B/5460kB of archives. After unpacking 15.8MB will be used.
Do you want to continue? [Y/n]
Executing RPM (-Uvh)...
Preparing...                ########################################### [100%]
   1:aalib                  ########################################### [ 17%]
   2:flac                   ########################################### [ 33%]
   3:libfame                ########################################### [ 50%]
   4:xvidcore               ########################################### [ 67%]
   5:xine-lib               ########################################### [ 83%]
   6:xine                   ########################################### [100%]
[root@psyche root]# 

Dependencies help keeping a system current. You don't even need to know when some packages are supposed to be upgraded by installing some others with different names, apt figures it out.

[root@meuh root]# apt-get dist-upgrade
Reading Package Lists... Done
Collecting File Provides... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages will be REPLACED:
  lclint (by splint)  links (by elinks)
The following NEW packages will be installed:
  elinks splint
0 packages upgraded, 2 newly installed, 2 replaced, 0 removed and 0 not upgraded.
Need to get 1311kB of archives. After unpacking 1063kB will be used.
Do you want to continue? [Y/n]
Get:1 http://apt.marmotte.ici redhat/7.3/en/i386/os elinks 0.3.0-1 [363kB]
Get:2 http://apt.marmotte.ici redhat/7.3/en/i386/os splint 3.0.1.6-2 [948kB]
Fetched 1311kB in 0s (1783kB/s)
Executing RPM (-e)...
Executing RPM (-Uvh)...
Preparing...                ########################################### [100%]
   1:elinks                 ########################################### [ 50%]
   2:splint                 ########################################### [100%]
[root@meuh root]#