← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1668903] Re: mongodump "too many positional options have been specified on the command line"

 

It does seem that mongodump has been rewritten in the first in 17.04 in
go. So I think both 16.04 and 16.10 are affected, but not 17.04. I am
working on testing a fix to the source still.

** Also affects: mongodb (Ubuntu Yakkety)
   Importance: Undecided
       Status: New

** Also affects: mongodb (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: mongodb (Ubuntu)
       Status: New => Fix Released

** Changed in: mongodb (Ubuntu)
     Assignee: Nish Aravamudan (nacc) => (unassigned)

** Changed in: mongodb (Ubuntu Xenial)
     Assignee: (unassigned) => Nish Aravamudan (nacc)

** Changed in: mongodb (Ubuntu Yakkety)
     Assignee: (unassigned) => Nish Aravamudan (nacc)

** Changed in: mongodb (Ubuntu Xenial)
       Status: New => Triaged

** Changed in: mongodb (Ubuntu Xenial)
       Status: Triaged => In Progress

** Changed in: mongodb (Ubuntu Yakkety)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1668903

Title:
  mongodump "too many positional options have been specified on the
  command line"

Status in mongodb package in Ubuntu:
  Fix Released
Status in mongodb source package in Xenial:
  In Progress
Status in mongodb source package in Yakkety:
  In Progress

Bug description:
  I can't run the mongodump utility in Ubuntu (from the internal
  packages).

  Running without any parameters works BTW.

  I tried running a dump this way:
  mongodump -u xxxx -p xxxx --host somehost.com:27017 -d some_db -o backup

  And I got this reply:
  Error parsing command line: too many positional options have been specified on the command line
  try 'mongodump --help' for more information

  Then I purged the package using:
  apt purge mongodb

  And then added the official mongo repo as explained on the mongo website:
  https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/

  Ran the same command again and voila! it worked.
  I tried search for the "too many positional" error and found out it might have something to do with some problematic minus or em-dash/en-dash but it's not the case because I wrote everything manually and the same command exactly worked with the official mongodb-org by mongo.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1668903/+subscriptions