MongoDB
 sql >> Baza danych >  >> NoSQL >> MongoDB

Błąd aktualizacji MongoDB 2.6

Ponieważ nazwa pakietu uległa zmianie, musisz usunąć stary pakiet i zainstalować nowy. Jednak zamiast robić to w dwóch krokach, czystsze jest użycie powłoki mniam. Spowoduje to usunięcie starego pakietu i zainstalowanie nowego w jednej transakcji:

yum shell
> install mongodb-org
> remove mongo-10gen
> remove mongo-10gen-server
> run
--> Running transaction check
---> Package mongo-10gen.i686 0:2.4.10-mongodb_1 will be erased
---> Package mongo-10gen-server.i686 0:2.4.10-mongodb_1 will be erased
---> Package mongodb-org.i686 0:2.6.0-1 will be installed
--> Processing Dependency: mongodb-org-tools = 2.6.0 for package: mongodb-org-2.6.0-1.i686
--> Processing Dependency: mongodb-org-shell = 2.6.0 for package: mongodb-org-2.6.0-1.i686
--> Processing Dependency: mongodb-org-server = 2.6.0 for package: mongodb-org-2.6.0-1.i686
--> Processing Dependency: mongodb-org-mongos = 2.6.0 for package: mongodb-org-2.6.0-1.i686
--> Running transaction check
---> Package mongodb-org-mongos.i686 0:2.6.0-1 will be installed
---> Package mongodb-org-server.i686 0:2.6.0-1 will be installed
---> Package mongodb-org-shell.i686 0:2.6.0-1 will be installed
---> Package mongodb-org-tools.i686 0:2.6.0-1 will be installed
--> Finished Dependency Resolution

================================================================================
 Package                  Arch       Version                 Repository    Size
================================================================================
Installing:
 mongodb-org              i686       2.6.0-1                 10gen        4.6 k
Removing:
 mongo-10gen              i686       2.4.10-mongodb_1        @10gen       181 M
 mongo-10gen-server       i686       2.4.10-mongodb_1        @10gen        30 M
Installing for dependencies:
 mongodb-org-mongos       i686       2.6.0-1                 10gen        6.7 M
 mongodb-org-server       i686       2.6.0-1                 10gen        8.9 M
 mongodb-org-shell        i686       2.6.0-1                 10gen        4.2 M
 mongodb-org-tools        i686       2.6.0-1                 10gen         88 M

Transaction Summary
================================================================================
Install  1 Package  (+4 Dependent packages)
Remove   2 Packages

Total download size: 108 M
Is this ok [y/d/N]: y
Downloading packages:
(1/5): mongodb-org-2.6.0-1.i686.rpm                      | 4.6 kB     00:00
(2/5): mongodb-org-mongos-2.6.0-1.i686.rpm               | 6.7 MB     00:00
(3/5): mongodb-org-server-2.6.0-1.i686.rpm               | 8.9 MB     00:00
(4/5): mongodb-org-shell-2.6.0-1.i686.rpm                | 4.2 MB     00:00
(5/5): mongodb-org-tools-2.6.0-1.i686.rpm                |  88 MB     00:04
--------------------------------------------------------------------------------
Total                                               19 MB/s | 108 MB  00:05
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : mongodb-org-server-2.6.0-1.i686                              1/7
  Installing : mongodb-org-mongos-2.6.0-1.i686                              2/7
  Installing : mongodb-org-tools-2.6.0-1.i686                               3/7
  Installing : mongodb-org-shell-2.6.0-1.i686                               4/7
  Installing : mongodb-org-2.6.0-1.i686                                     5/7
  Erasing    : mongo-10gen-server-2.4.10-mongodb_1.i686                     6/7
  Erasing    : mongo-10gen-2.4.10-mongodb_1.i686                            7/7
  Verifying  : mongodb-org-2.6.0-1.i686                                     1/7
  Verifying  : mongodb-org-shell-2.6.0-1.i686                               2/7
  Verifying  : mongodb-org-tools-2.6.0-1.i686                               3/7
  Verifying  : mongodb-org-mongos-2.6.0-1.i686                              4/7
  Verifying  : mongodb-org-server-2.6.0-1.i686                              5/7
  Verifying  : mongo-10gen-server-2.4.10-mongodb_1.i686                     6/7
  Verifying  : mongo-10gen-2.4.10-mongodb_1.i686                            7/7

Removed:
  mongo-10gen.i686 0:2.4.10-mongodb_1
  mongo-10gen-server.i686 0:2.4.10-mongodb_1

Installed:
  mongodb-org.i686 0:2.6.0-1

Dependency Installed:
  mongodb-org-mongos.i686 0:2.6.0-1      mongodb-org-server.i686 0:2.6.0-1
  mongodb-org-shell.i686 0:2.6.0-1       mongodb-org-tools.i686 0:2.6.0-1

Finished Transaction
> exit
Leaving Shell


  1. Redis
  2.   
  3. MongoDB
  4.   
  5. Memcached
  6.   
  7. HBase
  8.   
  9. CouchDB
  1. Spring MongoItemReader nie odczytuje wszystkich rekordów podczas pojedynczego wykonania

  2. Odmowa uprawnień, gdy polecenie „mongod” zostanie uruchomione po udanej instalacji

  3. MongoDB $sqrt

  4. MongoDB — rozważ zdefiniowanie w konfiguracji komponentu bean typu „org.springframework.data.mongodb.repository.query.MongoEntityInformation”

  5. Policz odrębne pole dokumentu podrzędnego i wypisz jako nazwane klucze