Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: musca on 2015/05/08, 22:19:00

Title: [solved] D-U Warning: libsane-common is broken
Post by: musca on 2015/05/08, 22:19:00
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
Code: [Select]
# 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.]
Title: Re: D-U Warning: libsane-common is broken
Post by: michaaa62 on 2015/05/09, 11:35:10

Or install from testing repositories.
Title: Re: D-U Warning: libsane-common is broken
Post by: DeepDayze on 2015/05/09, 15:54:16
There are new libsane and libsane-common packages but they are *still* broken for same error above.
Title: Re: D-U Warning: libsane-common is broken
Post by: melmarker on 2015/05/09, 16:21:43
which version?
Title: Re: D-U Warning: libsane-common is broken
Post by: jure on 2015/05/09, 16:37:04
should be fixed in 1.0.24-11 - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784763 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784763)
Quote
From: 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
Title: [solved] libsane-common 1.0.24-11 is fixed
Post by: musca on 2015/05/10, 00:14:28
Hello,

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

greetings
musca
Title: Re: [solved] D-U Warning: libsane-common is broken
Post by: DeepDayze on 2015/05/10, 14:56:57
Yes and that works now :)