Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-11008

New enterprise deb and rpm packages must conflict with non-enterprise packages

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.5
    • Affects Version/s: None
    • Component/s: Packaging
    • Fully Compatible
    • Linux
    • Hide
      vagrant@precise64:~$ sudo apt-get install mongodb-enterprise-unstable
      vagrant@precise64:~$ sudo apt-get install mongodb-org-unstable     
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      The following extra packages will be installed:
        mongodb-org-unstable-mongos mongodb-org-unstable-server mongodb-org-unstable-shell mongodb-org-unstable-tools
      The following NEW packages will be installed:
        mongodb-org-unstable mongodb-org-unstable-mongos mongodb-org-unstable-server mongodb-org-unstable-shell mongodb-org-unstable-tools
      0 upgraded, 5 newly installed, 0 to remove and 149 not upgraded.
      Need to get 97.6 MB of archives.
      After this operation, 249 MB of additional disk space will be used.
      Do you want to continue [Y/n]? y
      Get:1 http://distro-deb2.build.10gen.cc/rebrand/ubuntu-upstart/ dist/mongodb mongodb-org-unstable-shell amd64 2.5.2 [3,561 kB]
      Get:2 http://distro-deb2.build.10gen.cc/rebrand/ubuntu-upstart/ dist/mongodb mongodb-org-unstable-server amd64 2.5.2 [8,093 kB]
      Get:3 http://distro-deb2.build.10gen.cc/rebrand/ubuntu-upstart/ dist/mongodb mongodb-org-unstable-mongos amd64 2.5.2 [5,760 kB]
      Get:4 http://distro-deb2.build.10gen.cc/rebrand/ubuntu-upstart/ dist/mongodb mongodb-org-unstable-tools amd64 2.5.2 [80.2 MB]
      Get:5 http://distro-deb2.build.10gen.cc/rebrand/ubuntu-upstart/ dist/mongodb mongodb-org-unstable amd64 2.5.2 [3,028 B]                                                                
      Fetched 97.6 MB in 17s (5,737 kB/s)                                                                                                                                                    
      Selecting previously unselected package mongodb-org-unstable-shell.
      (Reading database ... 51330 files and directories currently installed.)
      Unpacking mongodb-org-unstable-shell (from .../mongodb-org-unstable-shell_2.5.2_amd64.deb) ...
      dpkg: error processing /var/cache/apt/archives/mongodb-org-unstable-shell_2.5.2_amd64.deb (--unpack):
       trying to overwrite '/usr/bin/mongo', which is also in package mongodb-enterprise-unstable 2.5.2
      dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
      Selecting previously unselected package mongodb-org-unstable-server.
      Unpacking mongodb-org-unstable-server (from .../mongodb-org-unstable-server_2.5.2_amd64.deb) ...
      dpkg: error processing /var/cache/apt/archives/mongodb-org-unstable-server_2.5.2_amd64.deb (--unpack):
       trying to overwrite '/usr/bin/mongod', which is also in package mongodb-enterprise-unstable 2.5.2
      dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
      Selecting previously unselected package mongodb-org-unstable-mongos.
      Unpacking mongodb-org-unstable-mongos (from .../mongodb-org-unstable-mongos_2.5.2_amd64.deb) ...
      dpkg: error processing /var/cache/apt/archives/mongodb-org-unstable-mongos_2.5.2_amd64.deb (--unpack):
       trying to overwrite '/usr/bin/mongos', which is also in package mongodb-enterprise-unstable 2.5.2
      dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
      Selecting previously unselected package mongodb-org-unstable-tools.
      Unpacking mongodb-org-unstable-tools (from .../mongodb-org-unstable-tools_2.5.2_amd64.deb) ...
      dpkg: error processing /var/cache/apt/archives/mongodb-org-unstable-tools_2.5.2_amd64.deb (--unpack):
       trying to overwrite '/usr/bin/mongoperf', which is also in package mongodb-enterprise-unstable 2.5.2
      No apport report written because MaxReports is reached already
                                                                    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
      Selecting previously unselected package mongodb-org-unstable.
      Unpacking mongodb-org-unstable (from .../mongodb-org-unstable_2.5.2_amd64.deb) ...
      Errors were encountered while processing:
       /var/cache/apt/archives/mongodb-org-unstable-shell_2.5.2_amd64.deb
       /var/cache/apt/archives/mongodb-org-unstable-server_2.5.2_amd64.deb
       /var/cache/apt/archives/mongodb-org-unstable-mongos_2.5.2_amd64.deb
       /var/cache/apt/archives/mongodb-org-unstable-tools_2.5.2_amd64.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      
      Show
      vagrant@precise64:~$ sudo apt-get install mongodb-enterprise-unstable vagrant@precise64:~$ sudo apt-get install mongodb-org-unstable Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: mongodb-org-unstable-mongos mongodb-org-unstable-server mongodb-org-unstable-shell mongodb-org-unstable-tools The following NEW packages will be installed: mongodb-org-unstable mongodb-org-unstable-mongos mongodb-org-unstable-server mongodb-org-unstable-shell mongodb-org-unstable-tools 0 upgraded, 5 newly installed, 0 to remove and 149 not upgraded. Need to get 97.6 MB of archives. After this operation, 249 MB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http: //distro-deb2.build.10gen.cc/rebrand/ubuntu-upstart/ dist/mongodb mongodb-org-unstable-shell amd64 2.5.2 [3,561 kB] Get:2 http: //distro-deb2.build.10gen.cc/rebrand/ubuntu-upstart/ dist/mongodb mongodb-org-unstable-server amd64 2.5.2 [8,093 kB] Get:3 http: //distro-deb2.build.10gen.cc/rebrand/ubuntu-upstart/ dist/mongodb mongodb-org-unstable-mongos amd64 2.5.2 [5,760 kB] Get:4 http: //distro-deb2.build.10gen.cc/rebrand/ubuntu-upstart/ dist/mongodb mongodb-org-unstable-tools amd64 2.5.2 [80.2 MB] Get:5 http: //distro-deb2.build.10gen.cc/rebrand/ubuntu-upstart/ dist/mongodb mongodb-org-unstable amd64 2.5.2 [3,028 B] Fetched 97.6 MB in 17s (5,737 kB/s) Selecting previously unselected package mongodb-org-unstable-shell. (Reading database ... 51330 files and directories currently installed.) Unpacking mongodb-org-unstable-shell (from .../mongodb-org-unstable-shell_2.5.2_amd64.deb) ... dpkg: error processing / var /cache/apt/archives/mongodb-org-unstable-shell_2.5.2_amd64.deb (--unpack): trying to overwrite '/usr/bin/mongo' , which is also in package mongodb-enterprise-unstable 2.5.2 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Selecting previously unselected package mongodb-org-unstable-server. Unpacking mongodb-org-unstable-server (from .../mongodb-org-unstable-server_2.5.2_amd64.deb) ... dpkg: error processing / var /cache/apt/archives/mongodb-org-unstable-server_2.5.2_amd64.deb (--unpack): trying to overwrite '/usr/bin/mongod' , which is also in package mongodb-enterprise-unstable 2.5.2 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Selecting previously unselected package mongodb-org-unstable-mongos. Unpacking mongodb-org-unstable-mongos (from .../mongodb-org-unstable-mongos_2.5.2_amd64.deb) ... dpkg: error processing / var /cache/apt/archives/mongodb-org-unstable-mongos_2.5.2_amd64.deb (--unpack): trying to overwrite '/usr/bin/mongos' , which is also in package mongodb-enterprise-unstable 2.5.2 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Selecting previously unselected package mongodb-org-unstable-tools. Unpacking mongodb-org-unstable-tools (from .../mongodb-org-unstable-tools_2.5.2_amd64.deb) ... dpkg: error processing / var /cache/apt/archives/mongodb-org-unstable-tools_2.5.2_amd64.deb (--unpack): trying to overwrite '/usr/bin/mongoperf' , which is also in package mongodb-enterprise-unstable 2.5.2 No apport report written because MaxReports is reached already dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Selecting previously unselected package mongodb-org-unstable. Unpacking mongodb-org-unstable (from .../mongodb-org-unstable_2.5.2_amd64.deb) ... Errors were encountered while processing: / var /cache/apt/archives/mongodb-org-unstable-shell_2.5.2_amd64.deb / var /cache/apt/archives/mongodb-org-unstable-server_2.5.2_amd64.deb / var /cache/apt/archives/mongodb-org-unstable-mongos_2.5.2_amd64.deb / var /cache/apt/archives/mongodb-org-unstable-tools_2.5.2_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

      This should produce a conflict and not try to install mongodb-org-unstable (which subsequently fails)

            Assignee:
            ernie.hershey@mongodb.com Ernie Hershey (Inactive)
            Reporter:
            tyler@10gen.com Tyler Brock
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: