phpize is missing from program.d database (update-alternatives usage in postinst)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found (Ubuntu) |
Fix Released
|
Medium
|
Casual |
Bug Description
Binary package hint: command-not-found
Hi, command-not-found is a great program but it doesn't know all Ubuntu programs. I tried to rebuild programs.d/*db database but phpize is still missing.
I'm using Ubuntu Gustsy with command-not-found version 0.2.8ubuntu2.
Note: UnifiedDataExtr
deb http://
instead of
deb http://
The program phpize is missing, it comes from Ubuntu Gutsy main packages, package php5-dev. The problem may comes from Debian alternatives tool:
$ ls -l /usr/bin/phpize
lrwxrwxrwx 1 root root 24 2008-01-28 13:22 /usr/bin/phpize -> /etc/alternativ
$ ls -l /etc/alternativ
lrwxrwxrwx 1 root root 16 2008-01-28 13:22 /etc/alternativ
$ ls -l /usr/bin/phpize5
-rwxr-xr-x 1 root root 4122 2008-01-10 10:38 /usr/bin/phpize5
Changed in command-not-found: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
summary: |
- phpize is missing from program.d database + phpize is missing from program.d database (update-alternatives usage) |
summary: |
- phpize is missing from program.d database (update-alternatives usage) + phpize is missing from program.d database (update-alternatives usage in + postinst) |
Changed in command-not-found (Ubuntu): | |
assignee: | nobody → Casual (doc-octopus) |
status: | Confirmed → Fix Released |
It looks like the alternatives parser does not understand the folllowing fragment:
for i in php-config phpize; do
update- alternatives \ man/man1/ "$i".1. gz "$i".1.gz /usr/share/ man/man1/ "$i"5.1. gz
--install /usr/bin/"$i" $i /usr/bin/"$i"5 50 \
--slave /usr/share/
done
(from php5-dev.postinst)