Version 4:3.5.2-0ubuntu9 crashes during post-installation

Bug #40393 reported by Ricardo Pérez López
54
Affects Status Importance Assigned to Milestone
kdebase (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

ricardo@yuggoth:~ $ sudo dpkg --configure kcontrol
Configurando kcontrol (3.5.2-0ubuntu9) ...
dpkg: error al procesar kcontrol (--configure):
 el subproceso post-installation script devolvió el código de salida de error 1
Se encontraron errores al procesar:
 kcontrol

The problem is in the following lines of /var/lib/dpkg/info/kcontrol.postinst:

       rm -f /etc/udev/rules.d/025_logitechmouse.rules
       rm -f /etc/udev/logitechmouse.rules
       rm -f /etc/hotplug/usb/logitechmouse
       rm -f /etc/hotplug/usb/logitechmouse.usermap
       rmdir /etc/hotplug/usb 2>/dev/null
       rmdir /etc/hotplug 2>/dev/null

If you comment that lines, then the packages can be installed and configured without problems.

Revision history for this message
Roy W. Andersen (ensnared) wrote :

I can confirm this, and the workaround also works.

I submitted the same bug (bug #40407) because I didn't find this one when searching.

Changed in kdebase:
status: Unconfirmed → Confirmed
Revision history for this message
Rthaduthd Anthnhkrc (nthnuekeu-deactivatedaccount) wrote :

I can also confirm this bug, but I have not tested the workaround yet.

Revision history for this message
John Dong (jdong) wrote :

Confirmed. Actual error:

rmdir: /etc/hotplug/usb: Directory not empty

[jdong@shuttle ~]$ find /etc/hotplug/usb
/etc/hotplug/usb
/etc/hotplug/usb/nomad.usermap
/etc/hotplug/usb/nomadjukebox

Revision history for this message
Mariusz Ciesla (kyo) wrote :
Revision history for this message
Justin Sojda (justintime) wrote :

Confirmed and workaround works ;-)

Just to recap the workaround for beginners.

sudo gedit /var/lib/dpkg/info/kcontrol.postinst

(comment out these lines so it looks like this)
# rm -f /etc/udev/rules.d/025_logitechmouse.rules
# rm -f /etc/udev/logitechmouse.rules
# rm -f /etc/hotplug/usb/logitechmouse
# rm -f /etc/hotplug/usb/logitechmouse.usermap
# rmdir /etc/hotplug/usb 2>/dev/null
# rmdir /etc/hotplug 2>/dev/null

(save the file)

Revision history for this message
Jonathan Riddell (jr) wrote :

Should be fixed in -0ubuntu10

Changed in kdebase:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.