different behavior for RPM dependency handling between yum and apt

Matthias Saou yellowdog-general@lists.terrasoftsolutions.com
Thu Jul 10 16:53:01 2003


rbthomas@ydl.net wrote :

> [root@lilserver root]# yum update
> Gathering package information from servers
> Getting headers from: Yellow Dog Linux 3.0 base
> Getting headers from: Yellow Dog Linux 3.0 updates
> Finding updated packages
> Downloading needed headers
> Resolving dependencies
> Dependencies resolved
> I will do the following:
> [update: redhat-config-printer.ppc]
> [update: redhat-config-printer-gui.ppc]
> Is this ok [y/N]: n
> Exiting on user command.

This looks good. Maybe the new redhat-config-printer doesn't obsolete the
various cups packages anymore (the ones mentionned by apt below).

[...]
> The following packages have unmet dependencies:
>   redhat-config-printer: Obsoletes: cups-drivers but 1.9-1.20020617.6 is
> installed
>                          Obsoletes: cups-drivers-hpijs but
>                          1.9-1.20020617.6 is
> installed
>                          Obsoletes: cups-drivers-pnm2ppa but
>                          1.9-1.20020617.6 is
> installed
> E: Unmet dependencies. Try using -f.

This looks like the current rpm database has an inconsistent state. You
should check if the currently installed redhat-config-printer package does
indeed obsolete those cups ones.

My suggestion would be to upgrade redhat-config-printer using yum, then
checking if apt still complains, and if not it probably means the obsoletes
problem was fixed.

Matthias

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Raw Hide 20030708 running Linux kernel 2.4.20-20.1.2013.nptl
Load : 0.70 1.23 0.75