[sane-devel] Hewllet Packard 4300c Scanner

Melanie melanie at t-data.com
Sun Feb 2 19:20:37 GMT 2003


Hi Yago,

just remove the sane packages themselves, then remove the 2 packages listed 
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 
the source tarball is compiled and installed, it will be back.

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

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

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

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

Melanie



More information about the sane-devel mailing list