[Bug 760644] Re: Default handler lookup by extension fails
Conversely, what can be corrected is the absence of programs that declare that they handle application/x-debian-package. I see that for instance MimeType=application/x-deb;application/x-debian-package; in /usr/share/applications/gdebi.desktop. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/760644 Title: Default handler lookup by extension fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/760644/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 760644] Re: Default handler lookup by extension fails
So, what is happening here is that the mimetype of the attachment is application/x-debian-package, which isn't a registered mimetype according to glib. In this case, FIrefox is meant to fallback to looking up via extension type (and it does correctly map the .deb extension to application/x-deb, which is a registered mimetype), but the fallback case is totally broken ** Summary changed: - Architecture-independent .DEB packages (_all.deb) not connected to software-center + Default handler lookup by extension fails -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/760644 Title: Default handler lookup by extension fails -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 760644] Re: Default handler lookup by extension fails
I bet if the mimetype of the deb file according to the server was application/x-deb, then it would work :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/760644 Title: Default handler lookup by extension fails -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 760644] Re: Default handler lookup by extension fails
** Attachment added: openprinting-ppds-postscript-lanier_20110330-1lsb3.2_all.deb https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/760644/+attachment/2039722/+files/openprinting-ppds-postscript-lanier_20110330-1lsb3.2_all.deb -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/760644 Title: Default handler lookup by extension fails -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 760644] Re: Default handler lookup by extension fails
Ok, I just confirmed this by attaching the file to this bug report and setting the mimetype to application/x-deb, and this works :) ** Changed in: firefox (Ubuntu) Milestone: ubuntu-11.04 = natty-updates -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/760644 Title: Default handler lookup by extension fails -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 760644] Re: Default handler lookup by extension fails
I have now changed the configuration of the OpenPrinting web server to use application/x-deb as mime type for Debian packages, by modifying /etc/mime.types and restarting Apache. Note that the OpenPrinting web server runs Ubuntu 8.04.4 LTS. I have checked Natty and there /etc/mime.types has still application/x-debian-package. After the change and clearing the Firefox cache on the Natty client the packages are treated correctly. But anyway, the Firefox problem should get fixed, and also /etc/mime.types in Ubuntu. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/760644 Title: Default handler lookup by extension fails -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs