FS#17865 - [deluge] UI requires python-chardet
Attached to Project:
Arch Linux
Opened by Andrew Eikum (ColdPie) - Saturday, 16 January 2010, 18:03 GMT
Last edited by Ionut Biru (wonder) - Friday, 05 February 2010, 23:53 GMT
Opened by Andrew Eikum (ColdPie) - Saturday, 16 January 2010, 18:03 GMT
Last edited by Ionut Biru (wonder) - Friday, 05 February 2010, 23:53 GMT
|
Details
Package 'deluge' was upgraded to 1.2.0-1 recently. After
upgrading the deluge client fails to launch, complaining
that the chardet package is missing. Installing
python-chardet allows deluge to launch again.
According to the deluge changelog, this dependency was added in 1.1.8: http://dev.deluge-torrent.org/wiki/ChangeLog |
This task depends upon
Closed by Ionut Biru (wonder)
Friday, 05 February 2010, 23:53 GMT
Reason for closing: Fixed
Additional comments about closing: moved python-chardet to depends as is used by both Uis
Friday, 05 February 2010, 23:53 GMT
Reason for closing: Fixed
Additional comments about closing: moved python-chardet to depends as is used by both Uis
A package named "deluge" which does not allow you to run "deluge" is faulty.
As it is difficult to separate the client and server for deluge, I reccomend a meta-package. e.g. rename this package deluge-daemon and make a new empty package which requires deluge-daemon and the other UI deps.
http://bugs.archlinux.org/task/17795
after installing deluge package you'll see all optional dependency
Optional Deps :
python-notify: libnotify notifications
python-chardet: needed for UIs
pygtk: needed for gtk ui
librsvg: needed for gtk ui
python-mako: needed for web ui
want gtk gui, install python-chardet, pygtk and librsvg. want only web install python-mako and python-chardet.
i'm not going to add again all optional depedency to depends just because nobody reads pacman output.
if you want split packages, patches welcomed as i'm not goint to use mv,cp stuff around because is not kiss.
[root@archand andrew]# pacman -S deluge
warning: deluge-1.2.0-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
Targets (1): deluge-1.2.0-1
Total Download Size: 0.00 MB
Total Installed Size: 11.09 MB
Proceed with installation? [Y/n] y
checking package integrity...
(1/1) checking for file conflicts [#####################] 100%
(1/1) upgrading deluge [#####################] 100%
>>> Deluge's daemon is running default with the "deluge" user. The default download directory is /srv/deluge/.
You can change the user by editing /etc/conf.d/deluge
[root@archand andrew]#
A few gripes, then, about optdepends:
I can't see any reason _not_ to print the whole message during every upgrade and reinstall, perhaps highlighting changed optdepends lines. It's easy to imagine scenarios when the optdepends message doesn't change, but what functionality in the new release is enabled by an optional package does. Or perhaps the feature wasn't wanted by a user before, but is wanted after using the package for some time. Always printing optdepends would remind them. In addition, it doesn't print into pacman.log (along with a few other message types), which I consider to be very wrong and unhelpful.
Perhaps a bug against makepkg would be appropriate here instead. I'll dig through mailing lists to see if I can find some discussion about the above.
It seems none of the other comments have addressed this simple solution.
Thank you for your consideration.
I just bumped in the Arch Way 2.0 in the wiki (http://wiki.archlinux.org/index.php/The_Arch_Way_v2.0):
Expedient:
"The simple, elegant and versatile system must offer expedience where practical, but expedience can and will be sacrificed in favor of any of the above. It must be sacrificed whenever implementation simplicity is jeopardized."
Wise words.
> I just bumped in the Arch Way 2.0
Really? how does your head feel? lol