[solved] D-U Warning: libsane-common is broken

Started by musca, 2015/05/08, 22:19:00

Previous topic - Next topic

musca

Hello,
please set libsane and libsane-common on hold with "apt-mark hold libsane libsane-common".
Otherwise on upgrade (or dist-upgrade) you will get this error for libsane-common 1.0.24-10:

Preparing to unpack .../libsane_1.0.24-10_amd64.deb ...
Unpacking libsane:amd64 (1.0.24-10) over (1.0.24-9+b1) ...
Preparing to unpack .../libsane-common_1.0.24-10_all.deb ...
/var/lib/dpkg/tmp.ci/preinst: 9: /var/lib/dpkg/tmp.ci/preinst: rm_conffile: not found
dpkg: error processing archive /var/cache/apt/archives/libsane-common_1.0.24-10_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 127

After having already been trapped I returned to libsane{-common} 1.0.24-9 from apt cache with
# dpkg -i /var/cache/apt/archives/libsane{,-common}_1.0.24-9_*.deb

Afterwards set them on hold and you can proceed with your dist-upgrade.

greetings
musca


[Edit: modified the wildcard _*.deb to also allow _i386 packages to match.]
,,Es irrt der Mensch, solang er strebt."  (Goethe, Faust)

michaaa62

#1

Or install from testing repositories.

DeepDayze

There are new libsane and libsane-common packages but they are *still* broken for same error above.

melmarker

Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

jure

should be fixed in 1.0.24-11 - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784763
QuoteFrom: Jörg Frings-Fürst <debian@jff-webhosting.net>
To: 784763-close@bugs.debian.org
Subject: Bug#784763: fixed in sane-backends 1.0.24-11
Date: Sat, 09 May 2015 10:22:16 +0000
Gruss Juergen

musca

Hello,

the fixed version 1.0.24-11 has been uploaded to unstable.

greetings
musca
,,Es irrt der Mensch, solang er strebt."  (Goethe, Faust)

DeepDayze