[sane-devel] Hewllet Packard 4300c Scanner

Melanie melanie@t-data.com
Sun, 2 Feb 2003 20:20:37 +0100


Hi Yago,

just remove the sane packages themselves, then remove the 2 packages listed=
=20
below.

> libsane1-1.0.9-3.1mdk
> libsane-devel-1.0.9-3.1mdk

You may need to use the --nodeps switch to get them to remove.

Some functionality may be lost during this deinstallation, however, once=20
the source tarball is compiled and installed, it will be back.

Don't walk the dependency tree, everything you uninstall will need to be=20
installed again, anyway. Leaving it on the system will keep those=20
components from running between uninstalling the RPMs and installing the=20
newly compiled version, but will save you reinstalling everything=20
afterwards.

Also, note that, when installing from source, your RPM database will not be=
=20
updated, so your installer will not be aware that SANE is actually=20
installed.

If you value the integrity of your RPM database, I would suggest the=20
following:

- Remove the packages, as mentioned already.
- Reinstall those very same packages, using the --just-db switch to RPM.=20
This will make the system believe that the package is installed while it's=
=20
in fact not installed.
- Untar, compile and install the tarball. Use --prefix=3D/usr=20
--sysconfdir=3D/etc switches to configure, so the file locations match what=
=20
the RPM database says they should be.

Melanie