
MongoDB Server Community
Paquet d’installation silencieuse pour MongoDB Server Community
7.0.25.0-6
System and network
System and network
- package: tis-mongodb-server-community-7
- name: MongoDB Server Community
- version: 7.0.25.0-6
- categories: System and network
- maintainer: Kevin Guerineau
- editor: MongoDB, Inc
- licence: AGPL3.0
- locale: all
- target_os: debian-bookworm
- architecture: x64
- signature_date:
- size: 174.97 Mo
- homepage : https://www.mongodb.com
- conflicts :
package : tis-mongodb-server-community-7
version : 7.0.25.0-6
architecture : x64
section : base
priority : optional
name : MongoDB Server Community
categories : System and network
maintainer : Kevin Guerineau
description : MongoDB is a document-oriented database management system that can be distributed to any number of computers and does not require a predefined data schema.
depends :
conflicts : tis-mongodb-server-community-6,tis-mongodb-server-community-5
maturity : PROD
locale : all
target_os : debian-bookworm
min_wapt_version : 2.2
sources :
installed_size :
impacted_process :
description_fr : MongoDB est un système de gestion de base de données orienté documents, répartissable sur un nombre quelconque d'ordinateurs et ne nécessitant pas de schéma prédéfini des données.
description_pl : MongoDB to zorientowany na dokumenty system zarządzania bazą danych, który może być dystrybuowany do dowolnej liczby komputerów i nie wymaga predefiniowanego schematu danych.
description_de : MongoDB ist ein dokumentenorientiertes Datenbankverwaltungssystem, das auf beliebig vielen Computern verteilt werden kann und kein vordefiniertes Datenschema benötigt.
description_es : MongoDB es un sistema de gestión de bases de datos orientado a documentos que puede distribuirse a cualquier número de ordenadores y no requiere un esquema de datos predefinido.
description_pt : MongoDB é um sistema de gestão de bases de dados orientado para a documentação que pode ser distribuído para qualquer número de computadores e não requer um esquema de dados pré-definido.
description_it : MongoDB è un sistema di gestione di database orientato ai documenti che può essere distribuito su un numero qualsiasi di computer e non richiede uno schema di dati predefinito.
description_nl : MongoDB is een documentgeoriënteerd databasebeheersysteem dat op een willekeurig aantal computers kan worden gedistribueerd en geen vooraf gedefinieerd gegevensschema vereist.
description_ru : MongoDB - это документо-ориентированная система управления базами данных, которая может быть распространена на любом количестве компьютеров и не требует предопределенной схемы данных.
audit_schedule :
editor : MongoDB, Inc
keywords :
licence : AGPL3.0
homepage : https://www.mongodb.com
package_uuid : cd20aa47-46f9-424e-9563-8435cbb730c9
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 6c1229fda0b906acc164f55d1c3b9b221a60b7b009b795fcc9d2da85e1f25eb3
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-10-07T00:00:25.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature : u2olWVQegsBUoL3/JuW8yVEKhQ/lSxc84nWwQpdwJpMqqoIlJ5J9EKgRKV+q7nQ4MC2a1E3LtlosBeoyqHAR6S54ducM15aeAxLpNHWNetS8DS2LcC+bRowaGt1Sprf+BeCYtB1iUw7750BqWkVZLN1eKma8FxREIhrt6FJ22xuoAS3SkFEtqzIZ6dunujZw+qhRFpOnb/Eagh3SUjdHQOP7s4FLkUfZaERQfwKvdx3EvE5BUxoYYWltK/qYgVBRDELbjsEs8Eb+u9+uUBwFcl/+QRSkq1IH4BR3neqCiHRnrxjo3Uin03q6cJKzxzcEoZ0srtc2zHuxgeYAeM/RQw==
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
run("LANG=C DEBIAN_FRONTEND=noninteractive apt-get install ./*.deb -y --allow-downgrades")
print('Enable and start mongod service')
systemd_enable_start_service('mongod')
def uninstall():
uninstall_apt("mongodb-database-tools mongodb-mongosh mongodb-org-database mongodb-org-database-tools-extra mongodb-org-mongos mongodb-org-server mongodb-org-shell mongodb-org-tools",autoremove=True)
# -*- coding: utf-8 -*-
from setuphelpers import *
import gzip
from io import BytesIO
from setuphelpers import Version,wgets
from setupdevhelpers import *
import requests
def update_package():
# Declaring local variables
result = False
proxies = get_proxies_from_wapt_console()
if not proxies:
proxies = get_proxies()
dict_arch = {"x64": "amd64"}
urldepot = 'http://repo.mongodb.org/apt/debian'
dist = control.target_os.split('-')[1]
arch = dict_arch[control.architecture]
package_name_list = ["mongodb-org-server","mongodb-org","mongodb-database-tools","mongodb-mongosh","mongodb-org-database","mongodb-org-database-tools-extra","mongodb-org-mongos","mongodb-org-shell","mongodb-org-tools"]
if len(dist.split(' ')) < 2 :
dist = dist + "/mongodb-org/7.0" + ' ' + "main"
disturl = dist.replace(' ','/')
with gzip.open(BytesIO(requests.get('%s/dists/%s/binary-%s/Packages.gz' % (urldepot,disturl,arch),proxies=proxies).content)) as f:
data = f.read().decode('utf-8')
list_package = listcontrol_to_dict_data(data,'\nPackage: ')
all_dep=[]
last_version= None
list_deb = []
for package_name in package_name_list :
last_package = sorted([u for u in list_package if u['package'] == package_name], key=lambda p: (Version(p['version'].split(':',1)[-1].split('+')[0],4)), reverse=True)[0]
if not last_version:
last_version = last_package['version'].split(':',1)[-1].split('+')[0]
all_dep.append(last_package)
for s in last_package.get('depends','').split(','):
for p in s.split('|'):
get_all_dep_version_pacakge(list_package,p.split('(')[0].strip(),all_dep)
for u in all_dep:
list_deb.append(urldepot + '/' + u['filename'])
list_all_file = []
for f in list_deb:
filename = f.split('/')[-1]
list_all_file.append(filename)
if not isfile(filename):
wget(f,filename,proxies=proxies)
for f in glob.glob('*.deb'):
if not f in list_all_file:
remove_file(f)
control.set_software_version(str(Version(last_version,4)).split('-')[0])
control.save_control_to_wapt()
def listcontrol_to_dict_data(data=None, first_entry=None):
list_package = '\n' + data
list_control=[]
for i in list_package.split(first_entry):
if not i.strip('\n'):
continue
list_control.append(first_entry.replace('\n','') + i)
list_package = []
for pkg in list_control:
entry = {}
gpg = False
for l in pkg.split('\n'):
if '-----BEGIN PGP PUBLIC KEY BLOCK-----' in l:
gpg = True
continue
if '-----END PGP PUBLIC KEY BLOCK-----' in l:
gpg = False
continue
if gpg :
continue
if not l:
continue
if (':' in l) and (not '::' in l) and (not l.startswith(' ')) :
key = l.split(':',1)[0].strip().lower()
value = l.split(':',1)[1].strip()
entry[key] = value.strip('\n')
else:
entry[key] = entry[key].strip('\n') + ' ' if entry[key].strip() else "" + l.strip()
list_package.append(entry)
return list_package
def get_all_dep_version_pacakge(list_package,package_name,all_dep):
last_package = sorted([u for u in list_package if u['package'] == package_name], key=lambda p: (Version(p['version'].split(':',1)[-1].split('+')[0])), reverse=True)
if last_package:
last_package = last_package[0]
all_dep.append(last_package)
else:
return
for k in last_package.get('depends','').split('|'):
for p in k.split(','):
get_all_dep_version_pacakge(list_package,p.split('(')[0].strip(),all_dep)
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
67860e963e65cfe8482827d4f2f930447986825df103030ca3ee4ee8fe931ecc : WAPT/control
6c1229fda0b906acc164f55d1c3b9b221a60b7b009b795fcc9d2da85e1f25eb3 : WAPT/icon.png
74b741949699475333cb5a18ec65e498bc1a9e5ec9f8204939a88e62f26b87df : luti.json
ec1f835dc8a05a7836df448789b1b21e78acd11c5df070a8899701b3535eb0ea : mongodb-database-tools_100.13.0_amd64.deb
b8d31a9f466d1d4aaa00b9a919ca36e79ef53adc61e9b6af4a4031673878688c : mongodb-mongosh_2.5.8_amd64.deb
29421eed9fffa3dc0912a9b35efdf7b4c29a25997dc563bc97c1c0cc005c8c62 : mongodb-org-database-tools-extra_7.0.25_amd64.deb
22207b678c1d41e61ba2bfb7d9d024e77f4033d8e3758ac4d56b0f8193294e1b : mongodb-org-database_7.0.25_amd64.deb
1755894959f520188e2fe94ad2bce824e6d6e2c28412f436837760ba8e26c69d : mongodb-org-mongos_7.0.25_amd64.deb
786db8ed92e9529ea274c16a73666169e9c704857244a53510b1944df771ce0c : mongodb-org-server_7.0.25_amd64.deb
b90a1ae5f9210542fc52c4c71f1333bc987059085d8dc0a9a1483f16822b9997 : mongodb-org-shell_7.0.25_amd64.deb
094fea846d0bd8bf879eeac8d5d30643d2a540b74951b42b7730cab95eb8f26d : mongodb-org-tools_7.0.25_amd64.deb
958f0d945224d5c07110902f8769197d30b9a60184ac4264ee0174cefbf962da : mongodb-org_7.0.25_amd64.deb
5325a210892c3ea085026662a958a9d56c1b79ebec29cf6253629ea4ad67a5e4 : setup.py
fa2bc40673cff707e8837e3ef6c29d88a576cd2a5241fc935d548d6b7967ae64 : update_package.py