web-dev-qa-db-fra.com

Désinstallez tous les packages installés un certain jour dans synaptic

Aujourd'hui, j'ai installé le package maven sur mon système. Malheureusement, c'est la mauvaise version. Maintenant, je voudrais désinstaller tous les packages installés en tant que dépendances. Dois-je les désinstaller manuellement? ou existe-t-il un moyen de désinstaller tous les packages installés pour maven?

grep install /var/log/dpkg.log

me dit que c'est beaucoup de paquets, ...

2015-01-11 20:20:15 status installed man-db:AMD64 2.7.0.2-2
2015-01-11 20:20:15 status installed doc-base:all 0.10.6
2015-01-11 20:20:16 status installed libyaml-snake-Java:all 1.12-2
2015-01-11 20:20:16 status installed libxml-commons-resolver1.1-Java:all 1.2-7build1
2015-01-11 20:20:16 status installed libxml-commons-external-Java:all 1.4.01-2build1
2015-01-11 20:20:16 status installed libxerces2-Java:all 2.11.0-7
2015-01-11 20:20:16 status installed ant:all 1.9.4-1
2015-01-11 20:20:16 status installed ant-optional:all 1.9.4-1
2015-01-11 20:20:16 status installed libaspectj-Java:all 1.6.12+dfsg-3
2015-01-11 20:20:16 status installed aspectj:all 1.6.12+dfsg-3
2015-01-11 20:20:16 status installed libjline-Java:all 1.0-2
2015-01-11 20:20:16 status installed libbsh-Java:all 2.0b4-15
2015-01-11 20:20:16 status installed bsh:all 2.0b4-15
2015-01-11 20:20:16 status installed libjaxp1.3-Java:all 1.3.05-2ubuntu3
2015-01-11 20:20:16 status installed libxalan2-Java:all 2.7.1-9
2015-01-11 20:20:16 status installed libapache-pom-Java:all 10-2build1
2015-01-11 20:20:16 status installed libbsf-Java:all 1:2.4.0-5build1
2015-01-11 20:20:16 status installed libavalon-framework-Java:all 4.2.0-9
2015-01-11 20:20:16 status installed libcommons-io-Java:all 2.4-2
2015-01-11 20:20:16 status installed libcommons-parent-Java:all 22-2build1
2015-01-11 20:20:16 status installed libcommons-logging-Java:all 1.2-1ubuntu1
2015-01-11 20:20:16 status installed Java-wrappers:all 0.1.28
2015-01-11 20:20:16 status installed libbatik-Java:all 1.7.ubuntu-8ubuntu2
2015-01-11 20:20:16 status installed libxmlgraphics-commons-Java:all 1.5-4ubuntu1
2015-01-11 20:20:16 status installed libfop-Java:all 1:1.1.dfsg-2ubuntu1
2015-01-11 20:20:16 status installed fop:all 1:1.1.dfsg-2ubuntu1
2015-01-11 20:20:16 status installed junit:all 3.8.2-8build1
2015-01-11 20:20:16 status installed libhamcrest-Java:all 1.3-5ubuntu1
2015-01-11 20:20:16 status installed junit4:all 4.11-3
2015-01-11 20:20:16 status installed libnetty-Java:all 1:3.2.6.Final-2
2015-01-11 20:20:16 status installed libslf4j-Java:all 1.7.6-1
2015-01-11 20:20:16 status installed libasync-http-client-Java:all 1.6.5-2
2015-01-11 20:20:17 status installed libplexus-classworlds2-Java:all 2.5.1-2
2015-01-11 20:20:17 status installed libasm3-Java:all 3.3.2-2
2015-01-11 20:20:17 status installed libcommons-lang-Java:all 2.6-3ubuntu2
2015-01-11 20:20:17 status installed libcommons-cli-Java:all 1.2-3ubuntu1
2015-01-11 20:20:17 status installed libatinject-jsr330-api-Java:all 1.0+ds1-1
2015-01-11 20:20:17 status installed libjsr305-Java:all 0.1~+svn49-4
2015-01-11 20:20:17 status installed libguava-Java:all 17.0-1ubuntu1
2015-01-11 20:20:17 status installed libjaxen-Java:all 1.1.6-1ubuntu1
2015-01-11 20:20:17 status installed libjdom1-Java:all 1.1.3-1
2015-01-11 20:20:17 status installed libclassworlds-Java:all 1.1-final-5
2015-01-11 20:20:17 status installed libservlet3.0-Java:all 7.0.55-1
2015-01-11 20:20:17 status installed libcommons-configuration-Java:all 1.10-1
2015-01-11 20:20:17 status installed libcommons-codec-Java:all 1.9-1
2015-01-11 20:20:17 status installed libhttpcore-Java:all 4.3.2-2
2015-01-11 20:20:17 status installed libhttpclient-Java:all 4.3.4-1
2015-01-11 20:20:17 status installed libitext1-Java:all 1.4-5
2015-01-11 20:20:17 status installed liblog4j1.2-Java:all 1.2.17-4ubuntu3
2015-01-11 20:20:17 status installed libplexus-interpolation-Java:all 1.19-1
2015-01-11 20:20:17 status installed libplexus-utils-Java:all 1:1.5.15-4
2015-01-11 20:20:17 status installed libplexus-container-default-Java:all 1.0-alpha-9-stable-1-7
2015-01-11 20:20:17 status installed libplexus-classworlds-Java:all 1.5.0-5
2015-01-11 20:20:17 status installed libxbean-Java:all 3.7-6
2015-01-11 20:20:17 status installed libplexus-containers-Java:all 1.0~beta3.0.7-7
2015-01-11 20:20:17 status installed libplexus-i18n-Java:all 1.0-beta-10-3
2015-01-11 20:20:17 status installed libdoxia-Java:all 1.1.4-1ubuntu4
2015-01-11 20:20:17 status installed libplexus-build-api-Java:all 0.0.7-1
2015-01-11 20:20:17 status installed libmodello-Java:all 1.1-3
2015-01-11 20:20:17 status installed libplexus-ant-factory-Java:all 1.0~alpha2.1-3
2015-01-11 20:20:17 status installed libplexus-io-Java:all 1.0~alpha5-2
2015-01-11 20:20:17 status installed libplexus-archiver-Java:all 1.2-1
2015-01-11 20:20:17 status installed libplexus-bsh-factory-Java:all 1.0~alpha7-3
2015-01-11 20:20:17 status installed libplexus-interactivity-api-Java:all 1.0-alpha-6-7
2015-01-11 20:20:17 status installed libplexus-cipher-Java:all 1.5-4
2015-01-11 20:20:17 status installed libplexus-sec-dispatcher-Java:all 1.3.1-6
2015-01-11 20:20:17 status installed libcommons-httpclient-Java:all 3.1-10.2
2015-01-11 20:20:18 status installed libcommons-net2-Java:all 2.2-2
2015-01-11 20:20:18 status installed libcglib-Java:all 2.2.2+dfsg2-1
2015-01-11 20:20:18 status installed libobjenesis-Java:all 1.2+full-3
2015-01-11 20:20:18 status installed libeasymock-Java:all 3.2+ds-2
2015-01-11 20:20:18 status installed libservlet2.5-Java:all 6.0.41-1
2015-01-11 20:20:18 status installed libjetty-Java:all 6.1.26-3
2015-01-11 20:20:18 status installed libjsch-Java:all 0.1.51-1ubuntu1
2015-01-11 20:20:18 status installed libjsoup-Java:all 1.7.3-1
2015-01-11 20:20:18 status installed libganymed-ssh2-Java:all 250-2
2015-01-11 20:20:18 status installed libnetbeans-cvsclient-Java:all 6.5-2
2015-01-11 20:20:18 status installed libregexp-Java:all 1.5-3build1
2015-01-11 20:20:18 status installed libplexus-cli-Java:all 1.2-5
2015-01-11 20:20:18 status installed libplexus-utils2-Java:all 2.0.5-1
2015-01-11 20:20:18 status installed libqdox-Java:all 1.12-1build1
2015-01-11 20:20:18 status installed libaopalliance-Java:all 20070526-5
2015-01-11 20:20:18 status installed libgeronimo-interceptor-3.0-spec-Java:all 1.0.1-1fakesync1
2015-01-11 20:20:18 status installed libcdi-api-Java:all 1.0-1
2015-01-11 20:20:18 status installed libsisu-guice-Java:all 3.2.2+dfsg-1
2015-01-11 20:20:18 status installed libcommons-collections3-Java:all 3.2.1-7
2015-01-11 20:20:18 status installed libcommons-beanutils-Java:all 1.9.2-1
2015-01-11 20:20:18 status installed libcommons-digester-Java:all 1.8.1-4
2015-01-11 20:20:18 status installed libcommons-jexl2-Java:all 2.1.1-2
2015-01-11 20:20:18 status installed libcommons-jxpath-Java:all 1.3-6
2015-01-11 20:20:18 status installed libcommons-vfs-Java:all 2.0-3ubuntu1
2015-01-11 20:20:18 status installed libxpp2-Java:all 2.1.10-7build1
2015-01-11 20:20:18 status installed libxpp3-Java:all 1.1.4c-2build1
2015-01-11 20:20:18 status installed libdom4j-Java:all 1.6.1+dfsg.3-2ubuntu1
2015-01-11 20:20:18 status installed libosgi-core-Java:all 4.3.1-1
2015-01-11 20:20:18 status installed libosgi-foundation-ee-Java:all 4.2.0-1
2015-01-11 20:20:18 status installed libguice-Java:all 3.0-3
2015-01-11 20:20:18 status installed libjackrabbit-Java:all 2.3.6-1
2015-01-11 20:20:18 status installed libjcommander-Java:all 1.32-1
2015-01-11 20:20:18 status installed libjsch-agent-proxy-Java:all 0.0.7-1
2015-01-11 20:20:18 status installed libmaven-parent-Java:all 21-2
2015-01-11 20:20:19 status installed librhino-Java:all 1.7R4-3
2015-01-11 20:20:19 status installed libsaxon-Java:all 1:6.5.5-10
2015-01-11 20:20:19 status installed libxom-Java:all 1.2.10-1
2015-01-11 20:20:19 status installed rhino:all 1.7R4-3
2015-01-11 20:20:19 status installed testng:all 6.8.8-2
2015-01-11 20:20:19 status installed libosgi-compendium-Java:all 4.3.0-1
2015-01-11 20:20:19 status installed libgeronimo-osgi-support-Java:all 1.0-2
2015-01-11 20:20:19 status installed libwagon-Java:all 1.0.0-2ubuntu2
2015-01-11 20:20:19 status installed libgeronimo-jpa-2.0-spec-Java:all 1.1-2
2015-01-11 20:20:19 status installed libmaven2-core-Java:all 2.2.1-15
2015-01-11 20:20:19 status installed libmaven-scm-Java:all 1.3-5
2015-01-11 20:20:19 status installed libplexus-containers1.5-Java:all 1.5.5-6
2015-01-11 20:20:19 status installed libsisu-ioc-Java:all 2.3.0-5
2015-01-11 20:20:19 status installed libaether-Java:all 1.13.1-2
2015-01-11 20:20:19 status installed libwagon2-Java:all 2.6-1.1
2015-01-11 20:20:19 status installed maven:all 3.0.5-1
3
Sven

Les dépendances (et les fichiers de configuration si vous avez exécuté l'application) peuvent être supprimées automatiquement en exécutant les commandes suivantes:

Sudo apt-get remove maven
Sudo apt-get purge

si vous souhaitez également effacer les anciens fichiers d'archive téléchargés, procédez comme suit:

Sudo apt-get autoclean

après cela, vous devriez pouvoir installer maven2 en toute sécurité ...

2
Fabby