Understanding Prioritization

Eli Wapniarski eli at orbsky.homelinux.org
Tue Dec 20 21:27:12 PST 2005


On Tuesday, 20 בDecember 2005 13:49, Gustavo Niemeyer wrote:
> Hi again Eli,
>
> I appreciate your explanation, and understand that you are expecting
> the behavior of Smart to be the same of APT, the tool you've been
> using so far.  I've worked on APT-RPM for quite some time before
> starting the Smart project, so I understand how the pinning system
> works there. If you try out the priority system in Smart, I'll be
> glad to have your input on it.

A perfect opportunity occurs today. And a real world example is demonstrated 
below. Clearly, smart is not doing what I'm expecting it to do. The kde stuff 
is coming from kde-redhat, the rest is a mix from freshrpms and fc4 updates. 
It worked the way I am expecting. Smart configured as I understood it from 
the FAQ seemed to ignore the packages from freshrpms and fc4 while was very 
happy with kde-redhat. Unfortuneately, as you can see kde-redhat does not 
live in a vacume on my computer.

I really hope smart will handle this the way I'm expecting. I really want to 
get past the impending disappearance of apt-get for RPMs. :(

Eli

APT-GET REPOS AND PRIORITIES
kde-redhat repos 999
freshrpms           998
fc4's                   default

APT-GET UPDATE UPGRADE PRODUCES
The following packages will be upgraded
   fetchmail (6.2.5.4-1.fc4 => 6.2.5.5-1.fc4)
   kdegraphics (3.5.0-1.4.fc4.kde => 3.5.0-2.1.fc4.kde)
   kdegraphics-devel (3.5.0-1.4.fc4.kde => 3.5.0-2.1.fc4.kde)
   libmusicbrainz (2.1.2-0.1.fc4.kde => 2.1.2-0.2.fc4.kde)
   libmusicbrainz-devel (2.1.2-0.1.fc4.kde => 2.1.2-0.2.fc4.kde)
   mysql (4.1.15-1.FC4.1 => 4.1.16-1.FC4.1)
   mysql-bench (4.1.15-1.FC4.1 => 4.1.16-1.FC4.1)
   mysql-devel (4.1.15-1.FC4.1 => 4.1.16-1.FC4.1)
   mysql-server (4.1.15-1.FC4.1 => 4.1.16-1.FC4.1)
   postgresql (8.0.4-2.FC4.1 => 8.0.5-1.FC4.1)
   postgresql-contrib (8.0.4-2.FC4.1 => 8.0.5-1.FC4.1)
   postgresql-devel (8.0.4-2.FC4.1 => 8.0.5-1.FC4.1)
   postgresql-docs (8.0.4-2.FC4.1 => 8.0.5-1.FC4.1)
   postgresql-libs (8.0.4-2.FC4.1 => 8.0.5-1.FC4.1)
   postgresql-pl (8.0.4-2.FC4.1 => 8.0.5-1.FC4.1)
   postgresql-python (8.0.4-2.FC4.1 => 8.0.5-1.FC4.1)
   postgresql-server (8.0.4-2.FC4.1 => 8.0.5-1.FC4.1)
   postgresql-tcl (8.0.4-2.FC4.1 => 8.0.5-1.FC4.1)
   postgresql-test (8.0.4-2.FC4.1 => 8.0.5-1.FC4.1)
   xmms-mp3 (1.2.10-0.lvn.3.4 => 1.2.10-13.2.fc4


SMART REPOS AND PRIORITIES
kde-redhat  0
freshrpms  -1
fc4's          -5

SMART UPDATE UPGRADE PRODUCES
Upgrading packages (4):
  kdegraphics-7:3.5.0-2.1.fc4.kde at i386
  kdegraphics-devel-7:3.5.0-2.1.fc4.kde at i386
  libmusicbrainz-2.1.2-0.2.fc4.kde at i386
  libmusicbrainz-devel-2.1.2-0.2.fc4.kde at i386



More information about the Smart mailing list