mldonkey-server doesn't start (invalid option --f)

Bug #65743 reported by Carthik Sharma
This bug report is a duplicate of:  Bug #35914: Startup file doesn't work. Edit Remove
2
Affects Status Importance Assigned to Milestone
mldonkey (Ubuntu)
New
Undecided
Unassigned

Bug Description

Originally reported using reportbug. Filing by proxy.

Original report follows:

From: Rodrigo Gruppelli <email address hidden>
To: Ubuntu Bug Tracking System <email address hidden>
Subject: mldonkey-server doesn't start
Date: Thu, 21 Sep 2006 08:57:51 -0300
X-Mailer: reportbug 3.18ubuntu1

Package: mldonkey-server
Version: 2.7.1-2ubuntu2
Severity: normal

root@starkey:~# /etc/init.d/mldonkey-server start
Starting MLDonkey: mlnetinstall: invalid option -- f
Tente `install --help' para mais informação.

-- System Information:
Debian Release: testing/unstable
  APT prefers dapper-updates
  APT policy: (500, 'dapper-updates'), (500, 'dapper-security'), (500, 'dapper')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-27-686
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)

Versions of packages mldonkey-server depends on:
ii adduser 3.80ubuntu2 Add and remove users and groups
ii debconf [debconf-2.0] 1.4.72ubuntu9 Debian configuration management sy
ii dpkg 1.13.11ubuntu6 package maintenance system for Deb
ii libbz2-1.0 1.0.3-0ubuntu2 high-quality block-sorting file co
ii libc6 2.3.6-0ubuntu20 GNU C Library: Shared libraries an
ii libfreetype6 2.1.10-1ubuntu2.2 FreeType 2 font engine, shared lib
ii libgcc1 1:4.0.3-1ubuntu5 GCC support library
ii libgd2-noxpm 2.0.33-2ubuntu5.1 GD Graphics Library version 2 (wit
ii libjpeg62 6b-11 The Independent JPEG Group's JPEG
ii libpng12-0 1.2.8rel-5 PNG library - runtime
ii libstdc++6 4.0.3-1ubuntu5 The GNU Standard C++ Library v3
ii mime-support 3.35-2 MIME files 'mime.types' & 'mailcap
ii ucf 2.004 Update Configuration File: preserv
ii zlib1g 1:1.2.3-6ubuntu4 compression library - runtime

mldonkey-server recommends no packages.

-- debconf information excluded

Revision history for this message
Tim LePes (luvdownbabylon) wrote :

I get the same error. Actually, the error comes up during the installation/upgrade or reinstall of the package. Apparently it invokes the mldonkey-server script during the install.

Looking inside the file, you can see the -f option on the install command, followed by $PIDFILE as an argument. It is probably a simple typo on the part of the script's author. But I am not sure how to fix it myself. I think that the -f needs to be removed. But the way I understand the install command from it's man page and help, I think that there is still a missing arguement. $PIDFILE gives the name of the destination file to be created but I don't see a source file. If I am right in guessing that it is simply a dummy file, maybe /dev/null or something can be used as the source file and $PIDFILE the destination. Or maybe install is a bad choice and touch followed by chown and chmod would be better? Now again it could be that the $PIDFILE is supposed to contain the process ID of the instance of the mldonkey server. In that case I am really unsure how to fix it myself. I am computer savvy in general but still very much a n00b on linux and especially shell scripts. Ugh. Oh well.. I'll play around with my script and if I have any luck I'll post back here. - Tim

Revision history for this message
Tim LePes (luvdownbabylon) wrote :

see the fix i posted on bug 35914 and it will get you up and running. This is actually a duplicate bug.

Tim LePes

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.