[ale] printers

Michael B. Trausch mike at trausch.us
Fri May 9 14:36:09 EDT 2008


On Fri, 2008-05-09 at 13:50 -0400, Paul Cartwright wrote:
> so now that I have pbuilder installed, and created... how do I fix
> this?
> error: 6 errors and/or warnings.
> 
> Summary of needed commands to run to satisfy missing dependencies:
> su -c "apt-get install --force-yes -y libsane-dev"
> su -c "apt-get install --force-yes -y sane"

Going back to the original mail, the problem seemed to be that you tried
to install libsane-dev, but libexif-dev has a dependency on libexif12
version 0.6.13-5etch2.  However, version 0.6.16-2.1 is the version that
is in the repositories.

The likelihood is that the dependency on the -dev package simply wasn't
updated.  So, make a temporary directory:

 $ mkdir ~/pkg.libexif; cd ~/pkg.libexif

Now, fetch the source to that package (note, no sudo):

 $ apt-get source libexif-dev; cd libexif-0.6.16

... which will download the library sources from the archives.  Then,
fix the dependency on libexif12 to be "libexif12 (>=
(whatever-it-is-currently)".  You'll need to change that in
debian/control, in the section for libexif-dev.

Once you have done that, do this:

 $ dch -i

That will bump the package revision up one revision.  Add "~test0" or
something to the version so that, Ubuntu's packages still take precedent
if they upgrade.

Then, you can build the source package:

 $ debuild -S -sa

And finally, you can build it in pbuilder:

 $ cd ..; sudo pbuilder --build libexif-_0.6.16-2.2~test0.dsc

(Note the file name is just a possibility; it will vary depend on the
version number you give the package.)

If pbuilder succeeds in building the file, you'll have all of the
binary .deb packages in /var/cache/pbuilder/result.

Then, you can install it!

 $ cd /var/cache/pbuilder/result
 $ sudo dpkg -i *.deb

(*.deb just pulls all of the files for install.  You can replace that
with just a subset of them if you want.)

If there are any issues (dpkg -i does not resolve dependencies for you),
run:

  $ sudo apt-get install -f
  $ sudo dpkg -i *.deb

"apt-get install -f" will pull any pending dependencies, and the extra
invocation of dpkg -i is to make sure that all of the packages get
processed, for sure.

Then, you should be able to install libsane-dev, unless there are even
more breakages to be found in the packaging.

Also, you might want to check the package's status in Debian testing,
and see if there is a bug filed against the package for this issue or
not.  They may need someone to see it for them so that they can fix it.

	--- Mike

-- 
Michael B. Trausch                                   mike at trausch.us
home: 404-592-5746, 1                                 www.trausch.us
cell: 678-522-7934                       im: mike at trausch.us, jabber
Ubuntu Unofficial Backports Project:    http://backports.trausch.us/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.ale.org/pipermail/ale/attachments/20080509/06f19601/attachment.bin 


More information about the Ale mailing list