gftp-common should depend on gftp-text|gftp-gtk

Bug #99708 reported by Wesley Stessens
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
command-not-found (Ubuntu)
Fix Released
Undecided
Michael Vogt

Bug Description

Binary package hint: gftp-common

Quote: Zygmunt Krynicki

  "the package that contains /usr/bin/gftp *is* gftp-common
  '/usr/bin/gftp' is a shell script that tries to lauch X or text mode gftp front-end.

  gft-common should be for the architecture 'all' and should depend on gftp-gtk | gft-text
  I suggest closing the bug here and filing one for gftp."

See this closed bug for more information: https://launchpad.net/ubuntu/+source/command-not-found/+bug/99537

Revision history for this message
Ralph Janke (txwikinger) wrote :

Thanks for reporting this issue and helping to make Ubuntu better.

All the dependencies are correct. gftp-text and gftp-gftk depend on gftp-common because they both need gftk-common be installed in order to work. gftp is a "meta"-package which installs both gftp-text and gftp-gftk.

Therefore, this report will be closed.

Changed in gftp:
status: New → Invalid
Revision history for this message
georgespatton (georgespatton) wrote :

This is NOT a fix. The fix would be to add the following to the output:

OLD:

sudo apt-get install gftp-common

NEW:

sudo apt-get install gftp-common gftp

See the problem here:

johnboy@linux-desktop:~$ gftp
The program 'gftp' is currently not installed. You can install it by typing:
sudo apt-get install gftp-common
bash: gftp: command not found
johnboy@linux-desktop:~$ sudo apt-get install gftp-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  gftp-common
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 78.5kB of archives.
After this operation, 2671kB of additional disk space will be used.
Get:1 http://mirrors.us.kernel.org jaunty/main gftp-common 2.0.18-17ubuntu1 [78.5kB]
Fetched 78.5kB in 0s (117kB/s)
Selecting previously deselected package gftp-common.
(Reading database ... 153002 files and directories currently installed.)
Unpacking gftp-common (from .../gftp-common_2.0.18-17ubuntu1_i386.deb) ...
Processing triggers for man-db ...
Setting up gftp-common (2.0.18-17ubuntu1) ...

johnboy@linux-desktop:~$ gftp
Error: Can't find gFTP binaries installed in /usr/bin
johnboy@linux-desktop:~$ sudo apt-get install gftp
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  gftp-gtk gftp-text
The following NEW packages will be installed:
  gftp gftp-gtk gftp-text
0 upgraded, 3 newly installed, 0 to remove and 1 not upgraded.
Need to get 447kB of archives.
After this operation, 1114kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://mirrors.us.kernel.org jaunty/main gftp-gtk 2.0.18-17ubuntu1 [277kB]
Get:2 http://mirrors.us.kernel.org jaunty/universe gftp-text 2.0.18-17ubuntu1 [124kB]
Get:3 http://mirrors.us.kernel.org jaunty/universe gftp 2.0.18-17ubuntu1 [46.2kB]
Fetched 447kB in 3s (113kB/s)
Selecting previously deselected package gftp-gtk.
(Reading database ... 153020 files and directories currently installed.)
Unpacking gftp-gtk (from .../gftp-gtk_2.0.18-17ubuntu1_i386.deb) ...
Selecting previously deselected package gftp-text.
Unpacking gftp-text (from .../gftp-text_2.0.18-17ubuntu1_i386.deb) ...
Selecting previously deselected package gftp.
Unpacking gftp (from .../gftp_2.0.18-17ubuntu1_all.deb) ...
Processing triggers for man-db ...
Setting up gftp-gtk (2.0.18-17ubuntu1) ...

Setting up gftp-text (2.0.18-17ubuntu1) ...

Setting up gftp (2.0.18-17ubuntu1) ...

Changed in gftp (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
georgespatton (georgespatton) wrote :

I believe that this is only a change to the command-not-found program. If the change doesn't happen there, you can increase the dependencies of gftp from gftp-common to gftp-common and gftp.

affects: gftp (Ubuntu) → command-not-found (Ubuntu)
Revision history for this message
Michael Vogt (mvo) wrote :

I added a exception to the data extraction code.

Changed in command-not-found (Ubuntu):
assignee: nobody → Michael Vogt (mvo)
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package command-not-found - 0.2.36ubuntu1

---------------
command-not-found (0.2.36ubuntu1) karmic; urgency=low

  * scan.data: updated to current karmic
  * scan.data: add exception for gftp (LP: #99708)
  * debian/postinst:
    - if old/leftover /etc/bash_command_found_found is there,
      remove it (LP: #379851)
  * debian/rules:
    - build with DH_PYCENTRAL=include-links LP: #342003
  * CommandNotFound/util.py:
    - use try gettext if lgettext fails (LP: #282446)
  * debian/copyright:
    - fix location (LP: #314478)
  * CommandNotFound/CommandNotFound.py:
    - be more robust about missing priority.txt (LP: #359784)
    - add simple spelling correction (LP: #314486)
  * debian/control:
    - build for all python versions (LP: #366096)

 -- Michael Vogt <email address hidden> Fri, 26 Jun 2009 13:58:24 +0200

Changed in command-not-found (Ubuntu):
status: Fix Committed → 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.