--- ../../cvs_ro/pear-core/PEAR/Command/Remote.php	2006-09-24 05:08:57.000000000 +0200
+++ PEAR/PEAR/Command/Remote.php	2007-03-25 21:03:27.000000000 +0200
@@ -595,8 +608,9 @@
             $data = array(
                 'caption' => $caption,
                 'border' => 1,
                 'headline' => array('Channel', 'Package', 'Local', 'Remote', 'Size'),
+                'channel' => $channel,
                 );
             foreach ((array)$latest as $pkg => $info) {
                 $package = strtolower($pkg);
                 if (!isset($inst[$package])) {
@@ -621,12 +635,12 @@
                 }
                 $data['data'][] = array($channel, $pkg, "$inst_version ($inst_state)", "$version ($state)", $fs);
             }
             if (empty($data['data'])) {
-                $this->ui->outputData('Channel ' . $channel . ': No upgrades available');
-            } else {
-                $this->ui->outputData($data, $command);
+                unset($data['headline']);
+                $data['data'] = '(no upgrades available)';
             }
+            $this->ui->outputData($data, $command);
         }
         $this->config->set('default_channel', $savechannel);
         return true;
     }
