[Bug 327496] [NEW] bug in command line interface

nzadLithium cmaster2 at hotmail.com
Tue Feb 10 04:11:23 UTC 2009


Public bug reported:

lsb_release -rd
Description:	Ubuntu 8.10
Release:	8.10

apt-cache policy network-config
network-config:
  Installed: 0.2-1
  Candidate: 0.2-1
  Version table:
 *** 0.2-1 0
        500 http://nz.archive.ubuntu.com intrepid/universe Packages
        100 /var/lib/dpkg/status

On running network-config -tl I expected to be able to retrieve a list of the available network configurations
Instead I got:
su root -c "/home/usr/bin/network-config.pl -tl"
Password: 
bash: /home/usr/bin/network-config.pl: No such file or directory

The bug is caused on line 3861 where it expected the network-config script to be called network-config.pl however it is called network-config.
It can be fixed by either renaming the network-config script to network-config.pl or by changing line 3861 to read:
    my $command = "su root -c \"$program_dir/network-config @ARGV\"";
(I would think the later solution is probably better as having to type the added .pl on the end would be annoying :p)

** Affects: network-config (Ubuntu)
     Importance: Undecided
         Status: New

-- 
bug in command line interface
https://bugs.launchpad.net/bugs/327496
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list