[Bug 58564] Re: php4-yaz won't install (broken dependency)
** Changed in: php4-yaz (Ubuntu Dapper) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/58564 Title: php4-yaz won't install (broken dependency) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php4-yaz/+bug/58564/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58564] Re: php4-yaz won't install (broken dependency)
Accepted: OK: php4-yaz_1.0.4-1ubuntu0.1.dsc -> Component: universe Section: web OK: php4-yaz_1.0.4-1ubuntu0.1.diff.gz This upload awaits approval by a distro manager * *BEGIN ENCRYPTED or SIGNED PART* * Format: 1.7 Date: Sat, 2 Sep 2006 14:25:08 +0200 Source: php4-yaz Binary: php4-yaz Architecture: source Version: 1:1.0.4-1ubuntu0.1 Distribution: dapper-updates Urgency: low Maintainer: David Everly <[EMAIL PROTECTED]> Changed-By: Michael Bienia <[EMAIL PROTECTED]> Description: php4-yaz - php/yaz z39.50 module Changes: php4-yaz (1:1.0.4-1ubuntu0.1) dapper-updates; urgency=low . * debian/rules: use php-config4 --phpapi to determine the php api version Files: 79881c821500d688e7f74b1a136d6f14 703 web optional php4-yaz_1.0.4-1ubuntu0.1.dsc b62ba8feda1d04f79847ff442289a09d 8010 web optional php4-yaz_1.0.4-1ubuntu0.1.diff.gz ** *END ENCRYPTED or SIGNED PART* ** == Announcing to dapper-changes@lists.ubuntu.com Thank you for your contribution to Ubuntu. ** Changed in: php4-yaz (Ubuntu Dapper) Importance: Untriaged => Medium Assignee: (unassigned) => Daniel T Chen Status: Unconfirmed => Fix Committed ** Changed in: php4-yaz (Ubuntu) Status: Confirmed => Rejected -- php4-yaz won't install (broken dependency) https://launchpad.net/bugs/58564 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58564] Re: php4-yaz won't install (broken dependency)
Well, I searched around quite a bit, and found a solution: 'equivs' is a dirty hack which permits to create a 'ghost' phpapi package, so php4-yaz can install normally. Cheers. -- php4-yaz won't install (broken dependency) https://launchpad.net/bugs/58564 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58564] Re: php4-yaz won't install (broken dependency)
Thanks for the detailed answer. It worked in the way that I could install php4-yaz, but now I have a new problem. Everytime I want to install a new package on the server, apt-get informs me that something is broken, and that php4-yaz will be removed. Of course, I can always a) remove php4-yaz b) install the package I want, and c) reinstall php4-yaz using dpkg -i --force-depends. But this is a bit of a PITA. Is there any way to make apt-get just ignore this? I tried apt-get -f install, but it insists on wanting to remove php4-yaz. -- php4-yaz won't install (broken dependency) https://launchpad.net/bugs/58564 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58564] Re: php4-yaz won't install (broken dependency)
I can't currently build packages suitable for dapper. But you can download the (broken) package and tell dpkg to ignore the dependencies. Make sure that you have the other dependecies installed. A small howto: wget http://archive.ubuntu.com/ubuntu/pool/universe/p/php4-yaz/php4-yaz_1.0.4-1build1_i386.deb sudo apt-get install libwrap0 libxml2 libyaz # the other dependencies should already be installed dpkg -i --force-depends php4-yaz_1.0.4-1build1_i386.deb If you have an AMD64 replace i386 with amd64. -- php4-yaz won't install (broken dependency) https://launchpad.net/bugs/58564 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58564] Re: php4-yaz won't install (broken dependency)
Unfortunately I don't really know how to create a fixed package, and I guess I will have to wait until it will be made available on the servers. In the meantime, do you think you could send me the fixed .deb by mail attachment ([EMAIL PROTECTED]), so I could simply install it with dpkg -i? Normally I'm not the kind of person who is in a hurry for doing things, but this time, it's really crucial. I have until Monday afternoon to 1) install a local version of the public library management webapp PMB (http://www.sigb.net) 2) learn how to use it and 3) convince the mayor of our town to use free software for managing the library. Fact is, if he's not convinced, the Windows-solution is looming in the background. Usually, things are rather quiet round here, but this time, you see I'm really sitting on needles, as we say in my native Austria. Anyway, you'd be doing me a big favour. Cheers. -- php4-yaz won't install (broken dependency) https://launchpad.net/bugs/58564 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58564] Re: php4-yaz won't install (broken dependency)
These changes are primary interesting for the ubuntu developer reviewing this fix. But if you know how to rebuild a package you could use it to create a fixed package for you. It depends on how fast I can find a developer review this change and upload it till a fixed package will be available on the servers. -- php4-yaz won't install (broken dependency) https://launchpad.net/bugs/58564 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58564] Re: php4-yaz won't install (broken dependency)
Erm... sorry, but I'm new to this, and I don't quite know what to do with the changes you submitted. (BTW, I'm impressed by the speed of your reaction...) What do I have to do to get php4-yaz to work on a Ubuntu install (both Server and desktop)? Thanks. -- php4-yaz won't install (broken dependency) https://launchpad.net/bugs/58564 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58564] Re: php4-yaz won't install (broken dependency)
Thinking of it... how much time would it take so I can simply issue 'apt-get update && apt-get upgrade' to be able to install php4-yaz correctly? -- php4-yaz won't install (broken dependency) https://launchpad.net/bugs/58564 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58564] Re: php4-yaz won't install (broken dependency)
Here is a debdiff for dapper-updates. -- php4-yaz won't install (broken dependency) https://launchpad.net/bugs/58564 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58564] Re: php4-yaz won't install (broken dependency)
Here is a fix for it. diff -u php4-yaz-1.0.4/debian/rules php4-yaz-1.0.4/debian/rules --- php4-yaz-1.0.4/debian/rules +++ php4-yaz-1.0.4/debian/rules @@ -10,7 +10,7 @@ PHPIZE = /usr/bin/phpize -PHPAPIVERSION := $(shell egrep '\#define PHP_API_VERSION ' /usr/include/php4/main/php.h | sed -e 's/\#define PHP_API_VERSION //') +PHPAPIVERSION := $(shell php-config4 --phpapi) CFLAGS = -Wall -g ** Changed in: php4-yaz (Ubuntu) Status: Unconfirmed => Confirmed -- php4-yaz won't install (broken dependency) https://launchpad.net/bugs/58564 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs