[sane-devel] Re: Upgrade question

Stephen Liu satimis@icare.com.hk
Thu, 20 Mar 2003 00:33:13 +0800


Hi Thomas,

As advised I performed following steps;

su -
password
# rpm -e kooka
# rpm -e libkscan-devel
# rpm -e libkscan
# rpm -e wine-devel
# rpm -e wine

All without complaint

# rpm -e sane-backends
warning: /etc/sane.d/snapscan.conf saved as 
/etc/sane.d/snapscan.conf.rpmsave


# rpm -qa | grep sane
No response


# rpm -ivh /home/satimis/Download/Sane/i586/sane-backends-1.0.11-1.i586.rpm
Preparing...                ########################################### 
[100%]
    1:sane-backends          ########################################### 
[100%]
# rpm -ivh 
/home/satimis/Download/Sane/i586/sane-backends-devel-1.0.11-1.i586.rpm
Preparing...                ########################################### 
[100%]
    1:sane-backends-devel    ########################################### 
[100%]
# rpm -ivh /home/satimis/Download/Sane/i586/sane-frontends-1.0.10-1.i586.rpm
Preparing...                ########################################### 
[100%]
    1:sane-frontends         ########################################### 
[100%]
# rpm -ivh /home/satimis/Download/Sane/i586/xsane-0.90-1.i586.rpm
Preparing...                ########################################### 
[100%]
    1:xsane                  ###########################################

# rpm -ivh /home/satimis/Download/Sane/i586/sane-1.0.3-1.i586.rpm
Preparing...                ########################################### 
[100%]
file /usr/bin/sane-config from install of sane-1.0.3-1 conflicts with 
file from package sane-backends-1.0.11-1
file /usr/bin/scanimage from install of sane-1.0.3-1 conflicts with file 
from package sane-backends-1.0.11-1
file /usr/lib/libsane.so.1 from install of sane-1.0.3-1 conflicts with 
file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-abaton.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-agfafocus.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-apple.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-artec.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-avision.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-canon.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-coolscan.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-dc210.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-dc25.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-dll.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-dmc.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-epson.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-hp.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-microtek.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-microtek2.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-mustek.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-mustek_pp.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-net.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-plustek.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-qcam.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-ricoh.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-s9036.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-sharp.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-snapscan.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-sp15c.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-st400.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-tamarack.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-umax.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/lib/sane/libsane-v4l.so.1 from install of sane-1.0.3-1 
conflicts with file from package sane-backends-1.0.11-1
file /usr/sbin/saned from install of sane-1.0.3-1 conflicts with file 
from package sane-backends-1.0.11-1
file /usr/bin/xcam from install of sane-1.0.3-1 conflicts with file from 
package sane-frontends-1.0.10-1
file /usr/bin/xscanimage from install of sane-1.0.3-1 conflicts with 
file from package sane-frontends-1.0.10-1

There are conflicts.

1) What will be my next steps
2) Shall I install "xsane-gimp-0.90-1.i586.rpm" also
3) Shall do something on /etc/sane.d/snapscan.conf
4) Shall I reinstall following packages:
libkscan-3.0.0-5
libkscan-devel-3.0.0-5
kooka-3.0.0-5
wine-20020327-1
wine-devel-20020327-1

(Remark: I have not had RH7.3 CDs in hand.  I shall download them from 
ftp:redhat.com  Can I use their latest version instead)

Kindly advise.

Thanks in advance.

B.Regards
Stephen





T. Ribbrock wrote:
> On Wed, Mar 19, 2003 at 09:51:11AM +0800, Stephen Liu wrote:
> 
>>>- Remove the "known" old sane related packages:
>>
> [...]
> 
>># 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
> 
> 
> Ok. You can forget the dependencies on "sane-frontends-1.0.7-2",
> "sane-backends-devel-1.0.7-6" and "xsane-0.84-2", as you've removed
> them already.
> 
> As for the others: The cleanest way to proceed is to uninstall them as
> well, even though it's tedious. You can always reinstall them later.
> So, remove "libkscan-3.0.0-5", "kooka-3.0.0-5" (I'd assume thhey
> belong to KDE?) and "wine-20020327-1".
> 
> Make sure to write them down, in case you want to install them again
> later. "libkscan" might break a dependency on "libkscan-devel", so
> you'd need to uninstall that again.
> 
> Once you've removed those packages, try to remove sane-backends again,
> then try to install the new one.
> 
> Cheerio,
> 
> Thomas