[sane-devel] Re: Upgrade question

Stephen Liu satimis@icare.com.hk
Wed, 19 Mar 2003 09:51:11 +0800


Hi Thomas,


T. Ribbrock wrote:

 > - snip -
 > Did you by any chance upgrade this system from RHL7.1? 'cause RHL7.1
 > came with sane-1.0.3...

Sorry, I could not recall exactly.  I have used this PC for some times

 > - Remove the "known" old sane related packages:
 >
 >   rpm -e sane-backends sane-frontends xsane sane-backends-devel

# su -
pasword

# rpm -e sane-backends sane-frontends xsane sane-backends-devel
error: removing these packages would break dependencies:
         sane-backends is needed by libkscan-3.0.0-5
         sane-backends is needed by kooka-3.0.0-5
         libsane.so.1   is needed by libkscan-3.0.0-5
         libsane.so.1   is needed by kooka-3.0.0-5
         libsane.so.1   is needed by wine-20020327-1

I was not allowed to remove those packages in group

Then I tried to remove them separately;

# rpm -e sane-backends
error: removing these packages would break dependencies:
         sane-backends is needed by libkscan-3.0.0-5
         sane-backends is needed by kooka-3.0.0-5
         sane-backends = 1.0.7 is needed by sane-frontends-1.0.7-2
         sane-backends = 1.0.7 is needed by sane-backends-devel-1.0.7-6
         libsane.so.1   is needed by libkscan-3.0.0-5
         libsane.so.1   is needed by kooka-3.0.0-5
         libsane.so.1   is needed by sane-frontends-1.0.7-2
         libsane.so.1   is needed by xsane-0.84-2
         libsane.so.1   is needed by wine-20020327-1

I was not allowed to remove this package

# rpm -e sane-frontends
OK

# rpm -e xsane
OK

# rpm -e sane-backends-devel
OK

# rpm -qa | grep sane
sane-backends-1.0.7-6


"sane-backends-1.0.7-6" is still there

Kindly advise how to proceed.  Thanks in advance.

B.Regards
Stephen





> - Run the rpm test again to see what happens:
> 
>   rpm -ivh --test /home/satimis/Download/Sane/i586/*.rpm
> 
>   ('i' instead of 'U' as there shouldn't be any sane packages left -
>   hence it's not an 'U'pdate)
> 
> 
> - report back about the result.
> 
> Cheerio,
> 
> Thomas