Problèmes et questions sur les environnements graphiques et les applications.
Répondre

Python2

#1Messageil y a 1 an

Bonjour, j'ai toujours une maj de AUR pour python2, je crois qu'il est obsolète maintenant.
Je peux le supprimer je pense ? mais beaucoup de paquets y sont rattachés...

Python2

#2Messageil y a 1 an

:salut:
pactree -r python2 va te donner la liste des paquets utilisant encore cette version. Mais, c'est a toi de voir si dans cette liste existe une application aur encore utile pour toi :saispas:

ps: puisque plus dans nos dépôts, au pire tu vas supprimer une/des apps aur

Python2

#3Messageil y a 1 an

pactree -r python2                                                                            ✔ 
python2
├─cython2
├─python2-appdirs
├─python2-atomicwrites
│ └─python2-pytest
│   ├─python2-pytest-cov
│   └─python2-pytest-expect
├─python2-attrs
│ └─python2-pytest
├─python2-backports
│ ├─python2-backports.functools_lru_cache
│ │ ├─python2-matplotlib
│ │ │ └─ocropy-git
│ │ ├─python2-soupsieve
│ │ │ └─python2-beautifulsoup4
│ │ └─python2-wcwidth
│ │   └─python2-pytest
│ └─python2-configparser
│   └─python2-importlib-metadata
│     ├─python2-pluggy
│     │ └─python2-pytest
│     └─python2-pytest
├─python2-chardet
├─python2-contextlib2
│ ├─python2-importlib-metadata
│ └─python2-zipp
│   └─python2-importlib-metadata
├─python2-coverage
│ └─python2-pytest-cov
├─python2-cssselect
├─python2-dateutil
│ └─python2-matplotlib
├─python2-funcsigs
│ ├─python2-mock
│ └─python2-pytest
├─python2-linecache2
│ └─python2-traceback2
│   └─python2-unittest2
├─python2-lxml
│ └─ocropy-git
├─python2-mock
├─python2-nose
├─python2-numpy
│ ├─python2-matplotlib
│ └─python2-scipy
│   └─ocropy-git
├─python2-ordered-set
├─python2-pillow
│ └─ocropy-git
├─python2-py
│ └─python2-pytest
├─python2-pyparsing
│ ├─python2-matplotlib
│ └─python2-packaging
├─python2-pytest-expect
├─python2-scandir
│ └─python2-pathlib2
│   ├─python2-importlib-metadata
│   └─python2-pytest
├─python2-setuptools
│ ├─python2-kiwisolver
│ │ └─python2-matplotlib
│ ├─python2-nose
│ ├─python2-pbr
│ │ └─python2-mock
│ ├─python2-pytest
│ └─python2-setuptools-scm
├─python2-soupsieve
├─python2-toml
│ └─python2-pytest-cov
├─python2-u-msgpack
│ └─python2-pytest-expect
├─python2-webencodings
│ └─python2-html5lib
└─python2-wheel
Là dedans je ne vois pas d'applications que j'utilise. Je peux donc tout supprimer.
Existe-t-il une solution dans pamac pour sélectionner toute la liste à supprimer ou va-t-il falloir supprimer les paquets un par un ?

Python2

#4Messageil y a 1 an

pour supprimer toutes les dépendances (non utiles) nous avons pacman -Rs (et sinon existe aussi "-c" MAIS à bien lire 3 fois la liste proposée des suppressions...)

Python2

#5Messageil y a 1 an

mais comment afficher toute la liste des dépendances à supprimer après -Rs ?

Par Pamac c'est trop fastidieux, à chaque fois que j'essaie de supprimer un paquet c'est impossible car lié à une autre dépendance.

Python2

#6Messageil y a 1 an

Salut,
jeanluck a écrit : il y a 1 an mais comment afficher toute la liste des dépendances à supprimer après -Rs ?

Par Pamac c'est trop fastidieux, à chaque fois que j'essaie de supprimer un paquet c'est impossible car lié à une autre dépendance.
Désinstalle d'abord ocropy-git, puis essaye ceci :

sudo pacman -Rs $(pacman -Qqm|grep python2|tr '\n' ' ')

Python2

#7Messageil y a 1 an

Impeccable, ç'a marché ! merci Smurf :wink:
Répondre