#1 Le 08/02/2011, à 13:36
- vanzetti44
Mise à niveau impossible
BOnjour,
Je suis sous Ubuntu 10.04 et je voulais faire l'update vers la 10.10 mais impossible:
Impossible d'évaluer la mise à niveau
An unresolvable problem occurred while calculating the upgrade:
E:Error, pkgProblemResolver::Resolve generated breaks, this may be
caused by held packages.This can be caused by:
* Upgrading to a pre-release version of Ubuntu
* Running the current pre-release version of Ubuntu
* Unofficial software packages not provided by UbuntuSi rien de ceci ne convient, veuillez signaler ce bogue concernant le
paquet « update-manager » en y joignant les fichiers du dossier
/var/log/dist-upgrade/.
J'ai supprimé les paquetages non officiels mais toujours le même pb.
Le contenu de sources.list
vanzetti44@vanzetti44-desktop:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 10.04.1 LTS _Lucid Lynx_ - Release i386 (20100816.1)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid universe
deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://fr.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://fr.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner
deb http://fr.archive.ubuntu.com/ubuntu/ lucid-security main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-security main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ lucid-security universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-security universe
deb http://fr.archive.ubuntu.com/ubuntu/ lucid-security multiverse
deb http://archive.canonical.com/ lucid partner
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-security multiverse
le log:
vanzetti44@vanzetti44-desktop:~$ cat /var/log/dist-upgrade/main.log
2011-02-08 12:31:01,211 INFO Using config files '['./DistUpgrade.cfg']'
2011-02-08 12:31:01,211 INFO uname information: 'Linux vanzetti44-desktop 2.6.32-28-generic-pae #55-Ubuntu SMP Mon Jan 10 22:34:08 UTC 2011 i686'
2011-02-08 12:31:01,211 INFO creating state file with '['tar', '-z', '-c', '-f', '/var/log/dist-upgrade/system_state.tar.gz', '/etc/apt/preferences.d/', '/etc/apt/sources.list', '/etc/apt/sources.list.d/', '/var/lib/dpkg/status']'
2011-02-08 12:31:01,406 INFO release-upgrader version '0.142.20' started
2011-02-08 12:31:01,410 DEBUG Using 'DistUpgradeViewText' view
2011-02-08 12:31:01,464 DEBUG aufsOptionsAndEnvironmentSetup()
2011-02-08 12:31:01,465 DEBUG using '/tmp/upgrade-rw-_PUE98' as aufs_rw_dir
2011-02-08 12:31:01,465 DEBUG using '/tmp/upgrade-chroot-rCPr0_' as aufs chroot dir
2011-02-08 12:31:01,466 DEBUG enable dpkg --force-overwrite
2011-02-08 12:31:01,520 DEBUG lsb-release: 'lucid'
2011-02-08 12:31:01,525 DEBUG who -m --ips: 'vanzetti44 pts/0 2011-02-08 12:28 (:0.0)
'
2011-02-08 12:31:01,526 DEBUG _pythonSymlinkCheck run
2011-02-08 12:31:01,527 DEBUG openCache()
2011-02-08 12:31:04,462 DEBUG /openCache(), new cache size 30407
2011-02-08 12:31:04,462 DEBUG needServerMode(): run in 'desktop' mode, (because of pkg 'ubuntu-desktop')
2011-02-08 12:31:04,462 DEBUG checkViewDepends()
2011-02-08 12:31:04,463 DEBUG running doUpdate() (showErrors=False)
2011-02-08 12:31:05,387 DEBUG openCache()
2011-02-08 12:31:05,934 DEBUG /openCache(), new cache size 30407
2011-02-08 12:31:05,936 DEBUG doPostInitialUpdate
2011-02-08 12:31:05,936 DEBUG Plugin modules in ./plugins: remove_lilo_plugin.py langpack_manual_plugin.py dpkg_status_plugin.py deb_plugin.py kdelibs4to5_plugin.py
2011-02-08 12:31:05,937 DEBUG Loading module ./plugins/remove_lilo_plugin.py
2011-02-08 12:31:05,939 DEBUG Plugins in <module 'remove_lilo_plugin' from './plugins/remove_lilo_plugin.py'>: <class 'remove_lilo_plugin.RemoveLiloPlugin'>
2011-02-08 12:31:05,939 DEBUG Loading module ./plugins/langpack_manual_plugin.py
2011-02-08 12:31:05,941 DEBUG Plugins in <module 'langpack_manual_plugin' from './plugins/langpack_manual_plugin.py'>: <class 'langpack_manual_plugin.MarkLangpacksManuallyInstalledPlugin'>
2011-02-08 12:31:05,941 DEBUG Loading module ./plugins/dpkg_status_plugin.py
2011-02-08 12:31:05,965 DEBUG Plugins in <module 'dpkg_status_plugin' from './plugins/dpkg_status_plugin.py'>: <class 'dpkg_status_plugin.DpkgStatusPlugin'>
2011-02-08 12:31:05,966 DEBUG Loading module ./plugins/deb_plugin.py
2011-02-08 12:31:05,973 DEBUG Plugins in <module 'deb_plugin' from './plugins/deb_plugin.py'>: <class 'deb_plugin.DebPlugin'>
2011-02-08 12:31:05,973 DEBUG Loading module ./plugins/kdelibs4to5_plugin.py
2011-02-08 12:31:05,975 DEBUG Plugins in <module 'kdelibs4to5_plugin' from './plugins/kdelibs4to5_plugin.py'>: <class 'kdelibs4to5_plugin.Kdelibs4devToKdelibs5devPlugin'>
2011-02-08 12:31:05,976 DEBUG plugins for condition 'PostInitialUpdate' are '[]'
2011-02-08 12:31:05,976 DEBUG plugins for condition 'maverickPostInitialUpdate' are '[]'
2011-02-08 12:31:05,976 DEBUG plugins for condition 'from_lucidPostInitialUpdate' are '[]'
2011-02-08 12:31:13,389 DEBUG Foreign: sun-java6-jre sun-java6-bin gstreamer0.10-fluendo-plugins-mp3-partner
2011-02-08 12:31:13,389 DEBUG Obsolete: font-manager albumart picasa
2011-02-08 12:31:13,390 DEBUG updateSourcesList()
2011-02-08 12:31:13,484 DEBUG rewriteSourcesList()
2011-02-08 12:31:13,487 DEBUG examining: 'deb http://fr.archive.ubuntu.com/ubuntu/ lucid main restricted'
2011-02-08 12:31:13,487 DEBUG entry 'deb http://fr.archive.ubuntu.com/ubuntu/ maverick main restricted' updated to new dist
2011-02-08 12:31:13,488 DEBUG examining: 'deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid main restricted'
2011-02-08 12:31:13,488 DEBUG entry 'deb-src http://fr.archive.ubuntu.com/ubuntu/ maverick main restricted' updated to new dist
2011-02-08 12:31:13,488 DEBUG examining: 'deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates main restricted'
2011-02-08 12:31:13,488 DEBUG entry 'deb http://fr.archive.ubuntu.com/ubuntu/ maverick-updates main restricted' updated to new dist
2011-02-08 12:31:13,488 DEBUG examining: 'deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-updates main restricted'
2011-02-08 12:31:13,488 DEBUG entry 'deb-src http://fr.archive.ubuntu.com/ubuntu/ maverick-updates main restricted' updated to new dist
2011-02-08 12:31:13,489 DEBUG examining: 'deb http://fr.archive.ubuntu.com/ubuntu/ lucid universe'
2011-02-08 12:31:13,489 DEBUG entry 'deb http://fr.archive.ubuntu.com/ubuntu/ maverick universe' updated to new dist
2011-02-08 12:31:13,489 DEBUG examining: 'deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid universe'
2011-02-08 12:31:13,489 DEBUG entry 'deb-src http://fr.archive.ubuntu.com/ubuntu/ maverick universe' updated to new dist
2011-02-08 12:31:13,489 DEBUG examining: 'deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates universe'
2011-02-08 12:31:13,489 DEBUG entry 'deb http://fr.archive.ubuntu.com/ubuntu/ maverick-updates universe' updated to new dist
2011-02-08 12:31:13,490 DEBUG examining: 'deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-updates universe'
2011-02-08 12:31:13,490 DEBUG entry 'deb-src http://fr.archive.ubuntu.com/ubuntu/ maverick-updates universe' updated to new dist
2011-02-08 12:31:13,490 DEBUG examining: 'deb http://fr.archive.ubuntu.com/ubuntu/ lucid multiverse'
2011-02-08 12:31:13,490 DEBUG entry 'deb http://fr.archive.ubuntu.com/ubuntu/ maverick multiverse' updated to new dist
2011-02-08 12:31:13,490 DEBUG examining: 'deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid multiverse'
2011-02-08 12:31:13,490 DEBUG entry 'deb-src http://fr.archive.ubuntu.com/ubuntu/ maverick multiverse' updated to new dist
2011-02-08 12:31:13,491 DEBUG examining: 'deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates multiverse'
2011-02-08 12:31:13,491 DEBUG entry 'deb http://fr.archive.ubuntu.com/ubuntu/ maverick-updates multiverse' updated to new dist
2011-02-08 12:31:13,491 DEBUG examining: 'deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-updates multiverse'
2011-02-08 12:31:13,491 DEBUG entry 'deb-src http://fr.archive.ubuntu.com/ubuntu/ maverick-updates multiverse' updated to new dist
2011-02-08 12:31:13,491 DEBUG examining: 'deb http://archive.canonical.com/ubuntu lucid partner'
2011-02-08 12:31:13,491 DEBUG entry 'deb http://archive.canonical.com/ubuntu maverick partner' updated to new dist
2011-02-08 12:31:13,492 DEBUG examining: 'deb http://fr.archive.ubuntu.com/ubuntu/ lucid-security main restricted'
2011-02-08 12:31:13,492 DEBUG entry 'deb http://fr.archive.ubuntu.com/ubuntu/ maverick-security main restricted' updated to new dist
2011-02-08 12:31:13,492 DEBUG examining: 'deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-security main restricted'
2011-02-08 12:31:13,492 DEBUG entry 'deb-src http://fr.archive.ubuntu.com/ubuntu/ maverick-security main restricted' updated to new dist
2011-02-08 12:31:13,492 DEBUG examining: 'deb http://fr.archive.ubuntu.com/ubuntu/ lucid-security universe'
2011-02-08 12:31:13,492 DEBUG entry 'deb http://fr.archive.ubuntu.com/ubuntu/ maverick-security universe' updated to new dist
2011-02-08 12:31:13,493 DEBUG examining: 'deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-security universe'
2011-02-08 12:31:13,493 DEBUG entry 'deb-src http://fr.archive.ubuntu.com/ubuntu/ maverick-security universe' updated to new dist
2011-02-08 12:31:13,493 DEBUG examining: 'deb http://fr.archive.ubuntu.com/ubuntu/ lucid-security multiverse'
2011-02-08 12:31:13,493 DEBUG entry 'deb http://fr.archive.ubuntu.com/ubuntu/ maverick-security multiverse' updated to new dist
2011-02-08 12:31:13,493 DEBUG examining: 'deb http://archive.canonical.com/ lucid partner'
2011-02-08 12:31:13,493 DEBUG entry 'deb http://archive.canonical.com/ maverick partner' updated to new dist
2011-02-08 12:31:13,494 DEBUG examining: 'deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-security multiverse'
2011-02-08 12:31:13,494 DEBUG entry 'deb-src http://fr.archive.ubuntu.com/ubuntu/ maverick-security multiverse' updated to new dist
2011-02-08 12:31:13,494 DEBUG examining: 'deb http://ppa.launchpad.net/tualatrix/ppa/ubuntu lucid main #Ubuntu Tweak Stable Source'
2011-02-08 12:31:13,499 DEBUG entry '# deb http://ppa.launchpad.net/tualatrix/ppa/ubuntu maverick main #Ubuntu Tweak Stable Source désactivé pour la mise à niveau vers maverick' was disabled (unknown mirror)
2011-02-08 12:31:13,547 DEBUG running doUpdate() (showErrors=True)
2011-02-08 12:31:14,437 DEBUG openCache()
2011-02-08 12:31:14,437 DEBUG failed to SystemUnLock() (E:Not locked)
2011-02-08 12:31:18,568 DEBUG /openCache(), new cache size 32325
2011-02-08 12:31:18,568 DEBUG needServerMode(): run in 'desktop' mode, (because of pkg 'ubuntu-desktop')
2011-02-08 12:32:01,211 ERROR Dist-upgrade failed: 'E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.'
2011-02-08 12:32:01,212 DEBUG abort called
2011-02-08 12:32:01,214 DEBUG openCache()
2011-02-08 12:32:01,214 DEBUG failed to SystemUnLock() (E:Not locked)
2011-02-08 12:32:04,358 DEBUG /openCache(), new cache size 30407
2011-02-08 12:32:04,359 DEBUG enabling apt cron job
Une idée sur le pb
Hors ligne
#2 Le 08/02/2011, à 14:14
- xabilon
Re : Mise à niveau impossible
Salut
Est-ce que le paquet ubuntu-desktop est installé (si tu es sur Ubuntu) ? As-tu des paquets marqués comme "gelés" dans Synaptic ?
Et le dossier /etc/apt/sources.list.d contient-il quelque chose ?
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#3 Le 08/02/2011, à 15:17
- vanzetti44
Re : Mise à niveau impossible
ubuntu-desktop est bien installé
a priori, pas de paquets gelés dans synaptic
le contenu de /etc/apt/sources.list.d/
vanzetti44@vanzetti44-desktop:~$ ls /etc/apt/sources.list.d
libreoffice-ppa-lucid.list.distUpgrade ubuntu-tweak-stable.list
libreoffice-ppa-lucid.list.save ubuntu-tweak-stable.list.distUpgrade
Hors ligne
#4 Le 08/02/2011, à 15:34
- xabilon
Re : Mise à niveau impossible
J'aime pas trop voir apparaître ubuntu-tweak quand il y a un problème de gestion des paquets ...
Bon, désactive-moi tous ces dépôts alternatifs :
sudo mv /etc/apt/sources.list.d /etc/apt/sources.list.d.backup
et retente la mise à jour
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#5 Le 08/02/2011, à 16:05
- vanzetti44
Re : Mise à niveau impossible
En fait, j'avais installé ubuntu-tweak pour nettoyer les sources PPA car ça ne marchait pas la maj.
J'ai fait comme tu m'a dit, même pb...
Hors ligne
#6 Le 08/02/2011, à 16:08
- xabilon
Re : Mise à niveau impossible
On va faire le dist-upgrade en manuel.
ouvre ton sources.list en root, puis change tous les "lucid" en "maverick". Sauve le fichier, et :
sudo apt-get clean
sudo apt-get update
sudo apt-get dist-upgrade
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#7 Le 08/02/2011, à 16:49
- vanzetti44
Re : Mise à niveau impossible
Retour de sudo apt-get dis-upgrade
vanzetti44@vanzetti44-desktop:~$ sudo apt-get dist-upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Calcul de la mise à jour... Échec
Les paquets suivants contiennent des dépendances non satisfaites :
libdrm-nouveau1: Casse: xserver-xorg-video-nouveau (< 1:0.0.16) mais 1:0.0.15+git20100219+9b4118d-0ubuntu5 devra être installé
E: Erreur, pkgProblemResolver::Resolve a généré des ruptures, ce qui a pu être causé par les paquets devant être gardés en l'état.
il faut que je désinstalle ces paquets je pense
Hors ligne
#8 Le 08/02/2011, à 16:56
- xabilon
Re : Mise à niveau impossible
Je ne crois pas, c'est plutôt qu'il ne trouve pas le paquet maverick par lequel le remplacer. Tu as bien remplacé tous les lucid par maverick dans le sources.list ? Il ne te manque pas des dépôts ?
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#9 Le 08/02/2011, à 17:16
- vanzetti44
Re : Mise à niveau impossible
J'ai remplacé en automatique avec gedit lucid par maverick
j'ai même regenérer le sources list avec le site ubuntu source list generator, meme pb
#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################
###### Ubuntu Main Repos
deb http://fr.archive.ubuntu.com/ubuntu/ maverick main restricted universe multiverse
###### Ubuntu Update Repos
deb http://fr.archive.ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse
###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu maverick partner
deb-src http://archive.canonical.com/ubuntu maverick partner
Hors ligne
#10 Le 08/02/2011, à 17:24
- xabilon
Re : Mise à niveau impossible
Ce qui est clair, c'est qu'il y a un conflit entre dépendances, et apt-get n'arrive pas à trouver de solution.
Le paquet xserver-xorg-video-nouveau est en version 1:0.0.16 dans les dépôts Maverick, et c'est celui-là qu'il devrait installer ... normalement.
Réinstalle le métapaquet xserver-xorg
Sinon, tu peux aussi vois si aptitude a plus de succès :
sudo aptitude update
sudo aptitude full-upgrade
Éventuellement, si tu as tes données sur une partition séparée, tu peux commencer à songer à une réinstallation.
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#11 Le 08/02/2011, à 18:00
- vanzetti44
Re : Mise à niveau impossible
il semble qu'aptitude propose une solution
Les paquets suivants ont des dépendances non satisfaites :
libbrasero-media0: Dépend: brasero-common (< 2.31) mais 2.32.0-0ubuntu2.1 doit être installé.
foomatic-db-compressed-ppds: Est en conflit avec: foomatic-db mais 20100915-0ubuntu4 doit être installé.
Est en conflit avec: foomatic-db-hpijs qui est un paquet virtuel
libmagickcore2-extra: Dépend: libgraphviz4 (>= 2.20.0) mais il n'est pas installable
xserver-xorg-core: Casse: xserver-xorg-video-6 qui est un paquet virtuel
libept0: Dépend: libapt-pkg-libc6.10-6-4.8 qui est un paquet virtuel
Les actions suivantes permettront de résoudre ces dépendances :
Supprimer les paquets suivants :
foomatic-db
libbrasero-media0
libept0
libmagickcore2-extra
Conserver les paquets suivants dans leur version actuelle :
indicator-application [0.0.19-0ubuntu4 (now)]
Réinstaller à une version antérieure les paquets suivants :
xserver-xorg-video-geode [2.11.11-1~lucid1 (now) -> 2.11.9-5 (maverick)]
Laisser les dépendances suivantes non satisfaites :
apt recommande gpg
libappindicator1 recommande indicator-application (= 0.2.9-0ubuntu1)
Le score est de 24
Je vais faire l'essai cette nuit car 958 Mo à downloader avec ma connexion 2MB çà va être long...
Hors ligne
#12 Le 08/02/2011, à 18:26
- xabilon
Re : Mise à niveau impossible
Ça devrait le faire.
Il y a un truc qui est bizarre, quand même : la version du paquet xserver-xorg-video-geode du dépôt lucid-updates est plus récente que celle de maverick, et c'est pour ça qu'il refusait de le "mettre à jour", entraînant probablement une cascade de dépendances faussées.
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#13 Le 19/02/2011, à 23:31
- stephanjourney
Re : Mise à niveau impossible
Juste pour dire que j'ai eu exactement le même problème et pour les mêmes raison.
J'utilise la version:
stephane@Josh:~$ cat /etc/issue
Ubuntu 10.04.2 LTS \n \l
La version de xserver-xorg-video-geode est plus recente que celle de maverick, la mise a jour par aptitude est en cours...
Hors ligne
#14 Le 24/02/2011, à 02:17
- YannUbuntu
Re : Mise à niveau impossible
Bonjour
Conseil perso : prenez l'habitude de migrer par réinstallation, ca permet :
1) de vérifier en session-live que la nouvelle version reconnait toujours le matériel (ca me sauve la vie presque 1 version sur 2..)
2) de conserver son /home (même s'il n'est pas séparé)
3) de ne pas foirer sa migration a cause d'une coupure internet
... et ca ne prend pas plus de temps qu'une migration en ligne de commande ou via le gestionnaire de mise a jour.
à consulter/améliorer: Guide du Débutant, Logiciels, Ecole, Travail, Maison
Hors ligne
#15 Le 27/07/2012, à 15:53
- Arnold59
Re : Mise à niveau impossible
Bonjour,
J'utilises Linux Ubuntu depuis la version 9.04 et à ce jour la version est 12.04
Contenu de /var/log
/var/log# ls -lrt
total 65280
drwxr-xr-x 2 root root 4096 juil. 20 2009 unattended-upgrades
drwxr-xr-x 2 speech-dispatcher root 4096 oct. 13 2009 speech-dispatcher
drwxr-xr-x 2 root root 4096 oct. 17 2009 apparmor
drwxr-xr-x 2 root root 4096 oct. 28 2009 fsck
-rw-r----- 1 root adm 31 oct. 28 2009 boot
-rw-r--r-- 1 root root 0 oct. 28 2009 pycentral.log
-rw-r--r-- 1 root root 39960 oct. 28 2009 bootstrap.log
-rw-r----- 1 syslog adm 0 mai 20 2010 mail.warn
-rw-r----- 1 syslog adm 0 mai 20 2010 mail.info
drwxr-xr-x 2 root root 4096 mai 20 2010 news
-rw-r--r-- 1 root root 56069 juin 8 2010 checkbox.log.1
-rw-r--r-- 1 root root 0 juin 8 2010 checkbox.log
-rw-r----- 1 syslog adm 0 oct. 19 2010 ufw.log
drwxr-xr-x 2 root root 4096 mars 14 2011 chkrootkit
-rw-r----- 1 syslog adm 7842 avril 20 2011 lpr.log.1
-rw-r----- 1 syslog adm 0 avril 21 2011 lpr.log
-rw-r----- 1 syslog adm 69919 avril 28 2011 user.log.1
-rw-r----- 1 syslog adm 1102352 avril 28 2011 debug.1
-rw-r----- 1 syslog adm 217304 avril 29 2011 daemon.log.1
-rw-r----- 1 syslog adm 803161 avril 29 2011 messages.1
-rw-r----- 1 syslog adm 0 mai 1 2011 daemon.log
-rw-r----- 1 syslog adm 0 mai 1 2011 user.log
-rw-r----- 1 syslog adm 0 mai 1 2011 messages
-rw-r----- 1 syslog adm 0 mai 1 2011 debug
-rw-r--r-- 1 root root 7210 sept. 9 2011 Xorg.2.log
-rw-r--r-- 1 root root 7210 sept. 9 2011 Xorg.3.log
-rw-r--r-- 1 root root 7210 sept. 9 2011 Xorg.4.log
-rw-r--r-- 1 root root 7210 sept. 9 2011 Xorg.5.log
drwxrwx--T 2 root gdm 4096 oct. 18 2011 gdm
drwxr-xr-x 2 root root 4096 nov. 25 2011 fcheck
drwxr-xr-x 2 root root 4096 mars 12 08:03 cron-apt
-rw-r--r-- 1 root root 45465 avril 2 13:11 Xorg.1.log.old
drwxr-xr-x 2 root root 4096 avril 4 14:18 hp
drwxr-xr-x 2 root root 4096 avril 27 18:54 installer
-rw-r--r-- 1 root root 9600 mai 8 22:19 pm-suspend.log.1
-rw-r--r-- 1 root root 0 mai 9 10:17 pm-suspend.log
-rw-r--r-- 1 root root 8077 mai 23 19:32 Xorg.failsafe.log.old
-rw-r--r-- 1 root root 111336 mai 26 09:34 jockey.log.1
-rw-r--r-- 1 root root 0 mai 26 09:34 jockey.log
-rw-rw---- 1 root utmp 0 juin 1 12:01 btmp.1
-rw-r--r-- 1 root root 4434 juin 29 11:21 alternatives.log.1
-rw-r--r-- 1 root root 411052 juin 30 11:16 dpkg.log.1
-rw-r--r-- 1 root root 134653 juil. 1 11:43 pm-powersave.log.1
-rw-rw-r-- 1 root utmp 396288 juil. 1 11:47 wtmp.1
drwxr-xr-x 2 root root 4096 juil. 1 11:58 ConsoleKit
-rw-rw---- 1 root utmp 0 juil. 1 11:58 btmp
-rw-r----- 1 root adm 219 juil. 2 12:46 wtmp.report
-rw-r--r-- 1 root root 159716 juil. 14 10:48 popularity-contest.0
-rw-r--r-- 1 root root 161912 juil. 21 11:08 popularity-contest
-rw-r----- 1 syslog adm 122921 juil. 22 10:30 auth.log.1
-rw-r----- 1 syslog adm 3778099 juil. 22 10:37 kern.log.1
-rw-r----- 1 syslog adm 37824 juil. 22 10:39 mail.log
-rw-r----- 1 syslog adm 37824 juil. 22 10:39 mail.err.1
drwxr-xr-x 3 root root 4096 juil. 22 10:44 samba
-rw-r----- 1 root adm 431 juil. 24 16:01 apport.log.1
-rw-r----- 1 root adm 0 juil. 25 10:26 apport.log
-rw-r--r-- 1 root root 24048 juil. 26 14:42 faillog
-rw-rw-r-- 1 root utmp 292584 juil. 26 14:42 lastlog
drwxr-xr-x 2 clamav clamav 4096 juil. 26 14:52 clamav
-rw-r--r-- 1 root root 8079 juil. 26 15:07 Xorg.failsafe.log
-rw-r--r-- 1 root root 38643 juil. 26 16:01 Xorg.1.log
-rw-r--r-- 1 root root 3519 juil. 26 16:12 fontconfig.log
-rw-r--r-- 1 root root 4340 juil. 26 16:12 alternatives.log
-rw-r----- 1 root adm 73315 juil. 26 16:26 dmesg.0
-rw-r--r-- 1 root root 38681 juil. 27 00:21 Xorg.0.log.old
-rw-r--r-- 1 root root 259692 juil. 27 08:59 udev
-rw-r----- 1 root adm 72940 juil. 27 08:59 dmesg
-rw-r--r-- 1 root root 1079 juil. 27 08:59 boot.log
drwxr-xr-x 2 root root 4096 juil. 27 08:59 samhain
drwxr-xr-x 2 root root 4096 juil. 27 09:00 lightdm
drwxr-s--- 2 snort adm 4096 juil. 27 09:00 snort
-rw-r--r-- 1 root root 122506 juil. 27 09:00 pm-powersave.log
-rw-r----- 1 root adm 5181 juil. 27 09:12 checksecurity.log
-rw-r--r-- 1 root root 0 juil. 27 09:12 aptitude
-rw-r----- 1 syslog adm 3077366 juil. 27 09:12 syslog.1
drwxr-xr-x 2 root root 12288 juil. 27 09:12 upstart
-rw-r--r-- 1 root root 856052 juil. 27 13:58 dpkg.log
-rw-rw-r-- 1 root utmp 372864 juil. 27 13:58 wtmp
drwx------ 2 root root 4096 juil. 27 14:00 tiger
-rw-r--r-- 1 root root 40857 juil. 27 14:07 Xorg.0.log
-rw------- 1 root root 5339 juil. 27 14:29 rkhunter.log.old
-rw------- 1 root root 118453 juil. 27 14:33 rkhunter.log
drwxr-xr-x 2 root root 4096 juil. 27 14:44 account
drwxr-xr-x 2 root root 4096 juil. 27 14:47 aide
drwxr-xr-x 2 root root 4096 juil. 27 14:58 apt
drwxr-x--- 2 root adm 4096 juil. 27 15:00 setuid
-rw-r----- 1 syslog adm 30152 juil. 27 15:16 mail.err
-rw-r--r-- 1 root root 38 juil. 27 15:22 diskfree.log
drwxr-x--- 2 root adm 4096 juil. 27 15:22 checksecurity
-rw-r----- 1 syslog adm 95045 juil. 27 15:31 auth.log
drwxr-xr-x 2 root lpadmin 4096 juil. 27 15:38 cups
drwxr-xr-x 8 root root 4096 juil. 27 15:40 dist-upgrade
-rw-r----- 1 syslog adm 24767466 juil. 27 15:52 syslog
-rw-r----- 1 syslog adm 28756120 juil. 27 15:52 kern.log
J'ai trouvé un répertoire avec l'historique des migrations
/var/log/dist-upgrade
/var/log/dist-upgrade# ls -lrt
total 1420
drwxr-xr-x 2 root root 4096 sept. 21 2010 20100921-2141
drwxr-xr-x 2 root root 4096 oct. 19 2010 20101019-1155
drwxr-xr-x 2 root root 4096 mars 10 2011 20110310-0745
drwxr-xr-x 2 root root 4096 avril 28 2011 20110428-2111
drwxr-xr-x 2 root root 4096 oct. 18 2011 20111018-2242
drwxr-xr-x 2 root root 4096 avril 27 17:00 20120427-1700
-rw-r--r-- 1 root root 2420 avril 27 17:00 lspci.txt
-rw-r--r-- 1 root root 56467 avril 27 19:07 apt.log
-rw-r--r-- 1 root root 577458 avril 27 19:12 term.log
-rw-r--r-- 1 root root 113610 avril 27 19:12 history.log
-rw-r--r-- 1 root adm 584890 avril 27 19:12 apt-term.log
-rw-r--r-- 1 root root 74 avril 27 19:12 xorg_fixup.log
-rw-r--r-- 1 root root 75528 avril 27 19:20 main.log
Puis-je supprime ces répertoires ?
Hors ligne