FS#32395 - [laptop-mode-tools] Broken symlink after upgrade

Attached to Project: Community Packages
Opened by Eric Donkersloot (lordchaos) - Friday, 02 November 2012, 12:53 GMT
Last edited by Lukas Jirkovsky (6xx) - Saturday, 03 November 2012, 09:22 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Lukas Jirkovsky (6xx)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Symlink is broken after upgrade, apparently laptop-mode-tools is now known as laptop-mode.

Additional info:

[ericd@vaiopro13 ~]$ ls -al /etc/systemd/system/multi-user.target.wants/laptop-mode-tools.service
lrwxrwxrwx 1 root root 49 28 okt 18:15 /etc/systemd/system/multi-user.target.wants/laptop-mode-tools.service -> /usr/lib/systemd/system/laptop-mode-tools.service

[ericd@vaiopro13 ~]$ ls -al /usr/lib/systemd/system/laptop-mode-tools.service
ls: cannot access /usr/lib/systemd/system/laptop-mode-tools.service: No such file or directory

[ericd@vaiopro13 ~]$ ls -al /usr/lib/systemd/system/laptop-mode.service
-rw-r--r-- 1 root root 298 2 nov 12:40 /usr/lib/systemd/system/laptop-mode.service

Steps to reproduce:

Upgrade laptop-mode-tools (1.62-1 -> 1.62-1)

Workaround:

Remove the broken symlink and issue:

systemctl enable laptop-mode
This task depends upon

Closed by  Lukas Jirkovsky (6xx)
Saturday, 03 November 2012, 09:22 GMT
Reason for closing:  Not a bug
Additional comments about closing:  I have switched from using the "home-brewed" service file to the service file that is now provided by the upstream.

I've uploaded a new package with a post_upgrade message that informs users about this change.

Loading...