[can-not-install] prompt in postinst
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
blootbot (Debian) |
Fix Released
|
Unknown
|
|||
blootbot (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: blootbot
Found the following problem during a install test:
Setting up blootbot (1.2.0-5) ...
Creating sample /var/lib/
to edit this and set a password before the bot is ready for use
See /usr/share/
The bot will by default join the Freenode network, edit
/etc/blootbot/
Creating a default config file as /etc/blootbot/
[ 1] Loaded config blootbot.config (47 items)
[ 2] Loading DB modules...
[ 3] MEM: (DBI // mysql) increased by 264 kB
[ 4] using MySQL support.
[ 5] Trying to see if we have already done this stuff...
[ 6] !WARN! PERL: DBI connect(
[ 7] !ERROR! cannot connect to localhost.
[ 8] !ERROR! since mysql is not available, shutting down bot!
[ 9] !WARN! PERL: Use of uninitialized value in join or string at /usr/share/
[ 10] !ERROR! UNKNOWN FUNCTION CALLED: main::closeSHM ()
[ 11] Could not connect to database blootbot, continuing
Please enter user information for root access to the mysql database.
The username is probably 'root', the password you should have set
yourself. If you haven't set one yet, leave it blank, and read
/usr/share/
Username:
Password:
[ 12] !ERROR! error: adminuser is blank.
blootbotsetup failed, rc == 1 at /var/lib/
dpkg: error processing blootbot (--configure):
subprocess post-installation script returned error exit status 25
It should use debconf for prompting and it should not fail if the adminuser is blank
Changed in blootbot: | |
assignee: | nobody → dktrkranz |
status: | Confirmed → In Progress |
Changed in blootbot: | |
assignee: | dktrkranz → nobody |
status: | In Progress → Confirmed |
Changed in blootbot: | |
importance: | Undecided → Low |
Changed in blootbot (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in blootbot (Debian): | |
status: | Unknown → New |
Changed in blootbot (Debian): | |
status: | New → Fix Released |
Changed in blootbot (Debian): | |
status: | Fix Released → New |
Changed in blootbot (Debian): | |
status: | New → Fix Released |
Confirmed in Gutsy.