Bonjour,
Suite a un upgrade via fedup de F20 vers F22, je souhaite finaliser/ terminer proprement la mise a jour.
Je pense que les commandes suivantes sont bienvenues pour cela:
yum clean all && yum distribution-synchronization
package-cleanup --cleandupes
package-cleanup --orphans
package-cleanup --problems
- Pour le nettoyage des packages:
# package-cleanup --cleandupes
Yum-utils package has been deprecated, use dnf instead.
See 'man yum2dnf' for more information.
Loaded plugins: langpacks
No duplicates to remove
Tres bien il n'y a donc pas de doublons.
# package-cleanup --problems
Yum-utils package has been deprecated, use dnf instead.
See 'man yum2dnf' for more information.
Loaded plugins: langpacks
No Problems Found
Tres bien il n'y a pas de problemes a priori.
# package-cleanup --orphans
Yum-utils package has been deprecated, use dnf instead.
See 'man yum2dnf' for more information.
Loaded plugins: langpacks
AdobeReader_enu-9.5.5-1.i486
aic94xx-firmware-30-6.fc20.noarch
anaconda-yum-plugins-1.0-10.fc20.noarch
brother-udev-rule-type1-1.0.0-1.noarch
brscan-skey-0.2.4-1.x86_64
brscan3-0.2.11-5.x86_64
brscan4-0.4.2-4.x86_64
celt-0.11.3-1.fc20.x86_64
compat-libgfortran-41-4.1.2-46.x86_64
jre1.8.0_25-1.8.0_25-fcs.x86_64
kernel-3.19.3-100.fc20.x86_64
kernel-3.19.5-100.fc20.x86_64
kernel-3.19.8-100.fc20.x86_64
kernel-4.0.7-200.fc21.x86_64
kernel-core-4.0.7-200.fc21.x86_64
kernel-devel-3.19.3-100.fc20.x86_64
kernel-devel-3.19.5-100.fc20.x86_64
kernel-devel-3.19.8-100.fc20.x86_64
kernel-devel-4.0.7-200.fc21.x86_64
kernel-modules-4.0.7-200.fc21.x86_64
kernel-modules-extra-3.19.3-100.fc20.x86_64
kernel-modules-extra-3.19.5-100.fc20.x86_64
kernel-modules-extra-3.19.8-100.fc20.x86_64
kernel-modules-extra-4.0.7-200.fc21.x86_64
libmpg123-1.22.2-2.fc21.x86_64
libnl-1.1.4-5.fc21.x86_64
mfc9465cdncupswrapper-1.1.1-5.i386
mfc9465cdnlpr-1.1.1-5.i386
mfcj6920dwcupswrapper-3.0.0-1.i386
mfcj6920dwlpr-3.0.0-1.i386
nedit-5.5-33.fc21.x86_64
pyparted-3.10.4-1.fc21.x86_64
python-urllib3-1.10.4-3.20150503gita91975b.fc21.noarch
python3-urllib3-1.10.4-3.20150503gita91975b.fc21.noarch
remi-release-20-3.fc20.remi.noarch
spambayes-1.1-0.10.b1.fc21.noarch
systemd-ui-3-5.fc21.x86_64
Alors il y a donc des orphelins !!! Mais au fait comment je les supprime (et aussi est-ce necessaire ?). Je peux les enlever un par un, mais c'est un peu besogneux !
- Pour la suppression de toute les données en cache et la synchronisation avec les paquets installés pour la version de Fedora courante :
# yum clean all && yum distribution-synchronization
Yum command has been deprecated, redirecting to '/usr/bin/dnf clean all'.
See 'man dnf' and 'man yum2dnf' for more information.
To transfer transaction metadata from yum to DNF, run:
'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate'
Cleaning repos: fedora rpmfusion-free-updates adobe-linux-x86_64
: rpmfusion-nonfree-updates rpmfusion-free updates
: rpmfusion-nonfree
Cleaning up Everything
Yum command has been deprecated, redirecting to '/usr/bin/dnf distribution-synchronization'.
See 'man dnf' and 'man yum2dnf' for more information.
To transfer transaction metadata from yum to DNF, run:
'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate'
Error: Failed to synchronize cache for repo 'fedora' from 'https://mirrors.fedoraproject.org/metalink?repo=fedora-22&arch=x86_64': Cannot prepare internal mirrorlist: Curl error (28): Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=fedora-22&arch=x86_64 [Connection timed out after 120001 milliseconds]
Pour le nettoyage des données en cache c’est bon mais j'ai un problème pour la synchronisation qui semble lié a
https://mirrors.fedoraproject.org/metalink?repo=fedora-22&arch=x86_64.
D’ailleurs :
# dnf update
Error: Failed to synchronize cache for repo 'fedora' from 'https://mirrors.fedoraproject.org/metalink?repo=fedora-22&arch=x86_64': Cannot prepare internal mirrorlist: Curl error (28): Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=fedora-22&arch=x86_64 [Connection timed out after 120000 milliseconds]