Unistall MongoDB y obteniendo "W: paquetes de destino en la línea de comandos" -- mmand-line campo con 20.04 campo con uninstall campo con mongodb camp askubuntu Relacionados El problema

Unistall MongoDB and getting “W: Target Packages in command line”


0
vote

problema

Español

Cuando hice la actualización de sudo apt-get en la línea de comandos encontré errores con "w: paquetes de destino"

  sudo apt-get update   
  Hit:1 http://archive.canonical.com/ubuntu focal InRelease Hit:2 http://us.archive.ubuntu.com/ubuntu focal InRelease                                        Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]                        Get:4 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]                       Get:5 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]                     Hit:6 https://deb.nodesource.com/node_15.x focal InRelease                                       Ign:7 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease                        Hit:8 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release                          Hit:9 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease Hit:10 http://lenovo.archive.canonical.com focal InRelease Fetched 324 kB in 2s (142 kB/s) Reading package lists... Done W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target DEP-11 (multiverse/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target DEP-11 (multiverse/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target DEP-11-icons-small (multiverse/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target DEP-11-icons (multiverse/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target DEP-11-icons-hidpi (multiverse/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target DEP-11 (multiverse/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target DEP-11 (multiverse/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target DEP-11-icons-small (multiverse/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target DEP-11-icons (multiverse/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target DEP-11-icons-hidpi (multiverse/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1    

He intentado

   apt-get remove --purge mongodb   
  ABCDEFGHIJKLMNABCDEFGHIJKLMN5   

El resultado

  ~$ sudo apt-get purge mongodb-org* Reading package lists... Done Building dependency tree        Reading state information... Done Note, selecting 'mongodb-org-unstable-tools' for glob 'mongodb-org*' Note, selecting 'mongodb-org-mongos' for glob 'mongodb-org*' Note, selecting 'mongodb-org-tools' for glob 'mongodb-org*' Note, selecting 'mongodb-org-unstable-server' for glob 'mongodb-org*' Note, selecting 'mongodb-org-unstable-shell' for glob 'mongodb-org*' Note, selecting 'mongodb-org-shell' for glob 'mongodb-org*' Note, selecting 'mongodb-org-unstable-mongos' for glob 'mongodb-org*' Note, selecting 'mongodb-org-unstable' for glob 'mongodb-org*' Note, selecting 'mongodb-org' for glob 'mongodb-org*' Note, selecting 'mongodb-org-server' for glob 'mongodb-org*' Package 'mongodb-org-mongos' is not installed, so not removed Package 'mongodb-org-shell' is not installed, so not removed Package 'mongodb-org-tools' is not installed, so not removed Package 'mongodb-org-unstable' is not installed, so not removed Package 'mongodb-org-unstable-mongos' is not installed, so not removed Package 'mongodb-org-unstable-server' is not installed, so not removed Package 'mongodb-org-unstable-shell' is not installed, so not removed Package 'mongodb-org-unstable-tools' is not installed, so not removed The following package was automatically installed and is no longer required:   libcurl3 Use 'sudo apt autoremove' to remove it. The following packages will be REMOVED:   mongodb-org* mongodb-org-server* 0 upgraded, 0 newly installed, 2 to remove and 21 not upgraded. After this operation, 62.2 MB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 187143 files and directories currently installed.) Removing mongodb-org-server (4.0.4) ... Failed to stop mongod.service: Unit mongod.service not loaded. invoke-rc.d: initscript mongod, action "stop" failed. dpkg: error processing package mongodb-org-server (--remove):  installed mongodb-org-server package pre-removal script subprocess returned error exit status 5 Errors were encountered while processing:  mongodb-org-server E: Sub-process /usr/bin/dpkg returned an error code (1)   
Original en ingles

When I did sudo apt-get update on the command line I found errors with "W: Target Packages"

sudo apt-get update 
Hit:1 http://archive.canonical.com/ubuntu focal InRelease Hit:2 http://us.archive.ubuntu.com/ubuntu focal InRelease                                        Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]                        Get:4 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]                       Get:5 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]                     Hit:6 https://deb.nodesource.com/node_15.x focal InRelease                                       Ign:7 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease                        Hit:8 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release                          Hit:9 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease Hit:10 http://lenovo.archive.canonical.com focal InRelease Fetched 324 kB in 2s (142 kB/s) Reading package lists... Done W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target DEP-11 (multiverse/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target DEP-11 (multiverse/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target DEP-11-icons-small (multiverse/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target DEP-11-icons (multiverse/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target DEP-11-icons-hidpi (multiverse/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target Translations (multiverse/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target DEP-11 (multiverse/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target DEP-11 (multiverse/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target DEP-11-icons-small (multiverse/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target DEP-11-icons (multiverse/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target DEP-11-icons-hidpi (multiverse/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1 W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/mongodb-org-4.4.list:1  

I have tried

 apt-get remove --purge mongodb 
apt-get autoremove --purge mongodb 

The result

~$ sudo apt-get purge mongodb-org* Reading package lists... Done Building dependency tree        Reading state information... Done Note, selecting 'mongodb-org-unstable-tools' for glob 'mongodb-org*' Note, selecting 'mongodb-org-mongos' for glob 'mongodb-org*' Note, selecting 'mongodb-org-tools' for glob 'mongodb-org*' Note, selecting 'mongodb-org-unstable-server' for glob 'mongodb-org*' Note, selecting 'mongodb-org-unstable-shell' for glob 'mongodb-org*' Note, selecting 'mongodb-org-shell' for glob 'mongodb-org*' Note, selecting 'mongodb-org-unstable-mongos' for glob 'mongodb-org*' Note, selecting 'mongodb-org-unstable' for glob 'mongodb-org*' Note, selecting 'mongodb-org' for glob 'mongodb-org*' Note, selecting 'mongodb-org-server' for glob 'mongodb-org*' Package 'mongodb-org-mongos' is not installed, so not removed Package 'mongodb-org-shell' is not installed, so not removed Package 'mongodb-org-tools' is not installed, so not removed Package 'mongodb-org-unstable' is not installed, so not removed Package 'mongodb-org-unstable-mongos' is not installed, so not removed Package 'mongodb-org-unstable-server' is not installed, so not removed Package 'mongodb-org-unstable-shell' is not installed, so not removed Package 'mongodb-org-unstable-tools' is not installed, so not removed The following package was automatically installed and is no longer required:   libcurl3 Use 'sudo apt autoremove' to remove it. The following packages will be REMOVED:   mongodb-org* mongodb-org-server* 0 upgraded, 0 newly installed, 2 to remove and 21 not upgraded. After this operation, 62.2 MB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 187143 files and directories currently installed.) Removing mongodb-org-server (4.0.4) ... Failed to stop mongod.service: Unit mongod.service not loaded. invoke-rc.d: initscript mongod, action "stop" failed. dpkg: error processing package mongodb-org-server (--remove):  installed mongodb-org-server package pre-removal script subprocess returned error exit status 5 Errors were encountered while processing:  mongodb-org-server E: Sub-process /usr/bin/dpkg returned an error code (1) 
           
   
   

Lista de respuestas

0
 
vote
  gsettings get org.gnome.gnome-system-monitor maximized 9  
  gsettings set org.gnome.gnome-system-monitor window-state '(1000,800,50,50)' 0  
  • Ir a otro software
  • Elija sus opciones
  • guardar

respuesta de Cómo solucionar el error W: los paquetes de destino (PRINCIPAL / BINARIO-AMD64 / Paquetes) se configura varias veces en MI SOUTES.LIST FILO?

 
sudo rm /etc/apt/sources.list 
sudo software-properties-gtk 
  • Go to Other Software
  • Pick your options
  • Save

Answer from How to fix error W: Target Packages (main/binary-amd64/Packages) is configured multiple times in my sources.list file?

 
 
   
   

Relacionados problema

95  ¿Cómo iniciar el servidor Mongodb en el inicio del sistema?  ( How to start mongodb server on system start ) 
Tengo que iniciar mi servidor MongoDB cada vez que se reinicia el sistema. ¿Cómo lo configuro para comenzar con mi sistema operativo? Estoy en Ubuntu 11.04. ...

5  No se puede instalar en MongoDB  ( Unable to install in mongodb ) 
Estoy tring para instalar mongodb , pero se ha fallado nuevamente y nuevamente. Estoy recibiendo un error siguiente: mongodb is not found. i Usando el...

2  Versión de instalación PHP-MONGODB  ( Php mongodb instalation version ) 
Yo uso sudo apt-get install php-mongodb y espero obtener una versión 1.6 de la extensión PHP Mongodb, pero obtener 1.3.4 Actualización de APT-GET, AP...

0  Ejecutar una aplicación de nodo en Ubuntu  ( Running a node app in ubuntu ) 
Tengo una aplicación de nodos que básicamente ejecuta en 4 pasos ya que también necesito ejecutar Mongodb y Redis: mongod --config=/etc/mongod.conf service...

17  ¿Cómo puedo desinstalar completamente MongoDB 2.6.3?  ( How can i completely uninstall mongodb 2 6 3 ) 
Estoy ejecutando el siguiente comando: ABCDEFGHIJKLMNABCDEFGHIJKLMN5 y está dando esta salida: Reading package lists... Done Building dependency tree...

52  ¿Cómo modifico "/ sys / kernel / mm / transparent_hugepage / habilitado"  ( How do i modify sys kernel mm transparent hugepage enabled ) 
Yo uso MongoDB 3.0 y encuentro una advertencia: MongoDB shell version: 3.0.0 connecting to: test Server has startup warnings: 2015-03-13T16:28:29.405+0800...

1  Error de Mongstat: no autorizado en el administrador para ejecutar el comando {serverstatus: 1, grabador: 0}  ( Mongstat failed not authorized on admin to execute command serverstatus 1 r ) 
Después de agregar autenticación de autenticación MongoDB, no puede usar Mongostat, con el siguiente error: Error: no autorizado en el administrador para ejec...

0  No se pueden solucionar errores: tiene paquetes rotos fijos [duplicados]  ( Unable to fix errors you have broken packages fixed ) 
Esta pregunta ya tiene respuestas aquí : ¿Cómo restaño los repositorios predeterminados? ...

52  MongoDB 2.6 no se inicia en Ubuntu 15.04  ( Mongodb 2 6 does not start on ubuntu 15 04 ) 
i instalado MongoDB 2.6 en Ubuntu 15.04: sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 echo 'deb http://downloads-distro.mon...

2  ¿Cuál es el valor del sesgo en la replicación de la base de datos Mongo DB?  ( What is skew value in mongo db database replication ) 
Acabo de comenzar los tres servidores de replicación de Mongodb. No entiendo qué es este valor de tornillo ¿Qué debería ser en qué servidor? qué valores ...




© 2022 respuesta.top Reservados todos los derechos. Centro de preguntas y respuestas reservados todos los derechos