[ale] printers

Paul Cartwright ale at pcartwright.com
Sat May 10 06:59:29 EDT 2008


On Fri May 9 2008, Michael B. Trausch wrote:
> 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

the problem is right here:
$ apt-get source libexif-dev                   
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to find a source package for libexif

>
> ... 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.



-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459



More information about the Ale mailing list