Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  [solved] D-U Warning: libsane-common is broken  (Read 3147 times)

Offline musca

  • User
  • Posts: 725
  • sid, fly high!
[solved] D-U Warning: libsane-common is broken
« 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.]
« Last Edit: 2015/05/10, 00:17:03 by musca »
„Es irrt der Mensch, solang er strebt.“  (Goethe, Faust)

Offline michaaa62

  • User
  • Posts: 299
Re: D-U Warning: libsane-common is broken
« Reply #1 on: 2015/05/09, 11:35:10 »

Or install from testing repositories.
« Last Edit: 2015/05/09, 11:38:36 by michaaa62 »

Offline DeepDayze

  • User
  • Posts: 457
Re: D-U Warning: libsane-common is broken
« Reply #2 on: 2015/05/09, 15:54:16 »
There are new libsane and libsane-common packages but they are *still* broken for same error above.

Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
Re: D-U Warning: libsane-common is broken
« Reply #3 on: 2015/05/09, 16:21:43 »
which version?
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)

Offline jure

  • User
  • Posts: 635
Re: D-U Warning: libsane-common is broken
« Reply #4 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
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
Gruss Juergen

Offline musca

  • User
  • Posts: 725
  • sid, fly high!
[solved] libsane-common 1.0.24-11 is fixed
« Reply #5 on: 2015/05/10, 00:14:28 »
Hello,

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

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

Offline DeepDayze

  • User
  • Posts: 457
Re: [solved] D-U Warning: libsane-common is broken
« Reply #6 on: 2015/05/10, 14:56:57 »
Yes and that works now :)