[code]root@ubuntu:~# cat /mnt/etc/apt/sources.list
deb cdrom:[Debian GNU/Linux 6.0.6 Squeeze - Official amd64 NETINST Binary-1 20120930-15:53]/ squeeze main
deb cdrom:[Debian GNU/Linux 6.0.6 Squeeze - Official amd64 NETINST Binary-1 20120930-15:53]/ squeeze main
deb http://ftp.fr.debian.org/debian/ squeeze main non-free
deb-src http://ftp.fr.debian.org/debian/ squeeze main
deb http://security.debian.org/ squeeze/updates non-free contrib main
deb-src http://security.debian.org/ squeeze/updates main
squeeze-updates, previously known as ‘volatile’
deb http://ftp.fr.debian.org/debian/ squeeze-updates main
deb-src http://ftp.fr.debian.org/debian/ squeeze-updates main
deb http://ftp.fr.debian.org/debian squeeze contrib
deb http://backports.debian.org/debian-backports squeeze-backports main
deb http://mozilla.debian.net/ squeeze-backports iceweasel-release
deb http://ftp.fr.debian.org/debian/ wheezy main
root@ubuntu:~# aptitude update
Ign cdrom://Ubuntu 8.10 Intrepid Ibex - Release i386 (20081029.5) intrepid/main Translation-fr
Ign cdrom://Ubuntu 8.10 Intrepid Ibex - Release i386 (20081029.5) intrepid/restricted Translation-fr
Ign http://security.ubuntu.com intrepid-security Release.gpg
Ign http://security.ubuntu.com intrepid-security/main Translation-fr
Ign http://security.ubuntu.com intrepid-security/restricted Translation-fr
Ign http://security.ubuntu.com intrepid-security Release
Ign http://archive.ubuntu.com intrepid Release.gpg
Ign http://archive.ubuntu.com intrepid/main Translation-fr
Ign http://archive.ubuntu.com intrepid/restricted Translation-fr
Ign http://archive.ubuntu.com intrepid-updates Release.gpg
Ign http://archive.ubuntu.com intrepid-updates/main Translation-fr
Ign http://archive.ubuntu.com intrepid-updates/restricted Translation-fr
Ign http://security.ubuntu.com intrepid-security/main Packages
Ign http://security.ubuntu.com intrepid-security/restricted Packages
Ign http://security.ubuntu.com intrepid-security/main Sources
Ign http://security.ubuntu.com intrepid-security/restricted Sources
Ign http://archive.ubuntu.com intrepid Release
Ign http://archive.ubuntu.com intrepid-updates Release
Err http://security.ubuntu.com intrepid-security/main Packages
404 Not Found [IP : 91.189.92.202 80]
Err http://security.ubuntu.com intrepid-security/restricted Packages
404 Not Found [IP : 91.189.92.202 80]
Err http://security.ubuntu.com intrepid-security/main Sources
404 Not Found [IP : 91.189.92.202 80]
Err http://security.ubuntu.com intrepid-security/restricted Sources
404 Not Found [IP : 91.189.92.202 80]
Ign http://archive.ubuntu.com intrepid/main Packages
Ign http://archive.ubuntu.com intrepid/restricted Packages
Ign http://archive.ubuntu.com intrepid/main Sources
Ign http://archive.ubuntu.com intrepid/restricted Sources
Ign http://archive.ubuntu.com intrepid-updates/main Packages
Ign http://archive.ubuntu.com intrepid-updates/restricted Packages
Ign http://archive.ubuntu.com intrepid-updates/main Sources
Ign http://archive.ubuntu.com intrepid-updates/restricted Sources
Err http://archive.ubuntu.com intrepid/main Packages
404 Not Found
Err http://archive.ubuntu.com intrepid/restricted Packages
404 Not Found
Err http://archive.ubuntu.com intrepid/main Sources
404 Not Found
Err http://archive.ubuntu.com intrepid/restricted Sources
404 Not Found
Err http://archive.ubuntu.com intrepid-updates/main Packages
404 Not Found
Err http://archive.ubuntu.com intrepid-updates/restricted Packages
404 Not Found
Err http://archive.ubuntu.com intrepid-updates/main Sources
404 Not Found
Err http://archive.ubuntu.com intrepid-updates/restricted Sources
404 Not Found
Lecture des listes de paquets… Fait
root@ubuntu:~# aptitude -s upgrade
W: The “upgrade” command is deprecated; use “safe-upgrade” instead.
Lecture des listes de paquets… Fait
Construction de l’arbre des dépendances
Lecture des informations d’état… Fait
Reading extended state information
Initializing package states… Fait
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Would download/install/remove packages.
root@ubuntu:~#
[/code]
Pas sur d’avoir compris le update avec le os chrooter… Il y a des manips à refaire ?
[quote]root@ubuntu:~# ls -la /mnt/var/log
total 19508
drwxr-xr-x 11 root root 4096 2013-08-20 19:41 .
drwxr-xr-x 14 root root 4096 2012-11-23 13:48 …
-rw-r–r-- 1 root root 9338 2013-08-20 19:39 alternatives.log
-rw-r–r-- 1 root root 297 2013-07-09 06:28 alternatives.log.1
-rw-r–r-- 1 root root 198 2013-07-01 08:13 alternatives.log.2.gz
-rw-r–r-- 1 root root 202 2013-05-30 12:36 alternatives.log.3.gz
-rw-r–r-- 1 root root 199 2013-04-16 08:44 alternatives.log.4.gz
-rw-r–r-- 1 root root 259 2013-03-29 23:18 alternatives.log.5.gz
-rw-r–r-- 1 root root 327 2013-02-18 13:13 alternatives.log.6.gz
-rw-r–r-- 1 root root 228 2013-01-21 10:33 alternatives.log.7.gz
-rw-r–r-- 1 root root 482 2012-12-17 09:50 alternatives.log.8.gz
-rw-r–r-- 1 root root 4020 2012-11-25 17:47 alternatives.log.9.gz
drwxr-xr-x 2 root root 4096 2013-08-01 11:58 apt
-rw-r–r-- 1 root root 23632 2013-08-20 19:35 aptitude
-rw-r–r-- 1 root root 513 2013-07-30 08:12 aptitude.1.gz
-rw-r–r-- 1 root root 476 2013-07-01 08:12 aptitude.2.gz
-rw-r–r-- 1 root root 1123 2013-05-30 12:35 aptitude.3.gz
-rw-r–r-- 1 root root 480 2013-04-16 08:43 aptitude.4.gz
-rw-r–r-- 1 root root 663 2013-03-29 23:17 aptitude.5.gz
-rw-r–r-- 1 root root 7704 2012-11-25 08:51 aptitude.6.gz
-rw-r----- 1 root adm 46992 2013-08-20 19:42 auth.log
-rw-r----- 1 root adm 64866 2013-08-18 06:17 auth.log.1
-rw-r----- 1 root adm 3647 2013-08-13 06:17 auth.log.2.gz
-rw-r----- 1 root adm 4098 2013-08-05 06:41 auth.log.3.gz
-rw-r----- 1 root adm 2544 2013-07-29 10:17 auth.log.4.gz
-rw-r----- 1 root adm 31 2012-11-23 13:15 boot
-rw-rw---- 1 root utmp 768 2013-08-20 19:41 btmp
-rw-rw---- 1 root utmp 0 2013-07-01 07:41 btmp.1
drwxr-xr-x 2 root root 4096 2013-08-01 11:58 ConsoleKit
drwxr-xr-x 2 root root 4096 2013-08-18 06:50 cups
-rw-r----- 1 root adm 475714 2013-08-20 19:42 daemon.log
-rw-r----- 1 root adm 685724 2013-08-18 06:50 daemon.log.1
-rw-r----- 1 root adm 61149 2013-08-13 06:19 daemon.log.2.gz
-rw-r----- 1 root adm 65336 2013-08-05 06:48 daemon.log.3.gz
-rw-r----- 1 root adm 34933 2013-07-29 09:59 daemon.log.4.gz
-rw-r----- 1 root adm 434046 2013-08-20 19:42 debug
-rw-r----- 1 root adm 599147 2013-08-18 06:17 debug.1
-rw-r----- 1 root adm 57744 2013-08-13 05:58 debug.2.gz
-rw-r----- 1 root adm 66264 2013-08-05 06:40 debug.3.gz
-rw-r----- 1 root adm 37569 2013-07-29 09:56 debug.4.gz
-rw-r----- 1 root adm 47805 2013-08-20 19:41 dmesg
-rw-r----- 1 root adm 47985 2013-08-20 19:31 dmesg.0
-rw-r----- 1 root adm 13077 2013-08-20 18:18 dmesg.1.gz
-rw-r----- 1 root adm 12889 2013-08-20 16:32 dmesg.2.gz
-rw-r----- 1 root adm 12779 2013-08-20 13:48 dmesg.3.gz
-rw-r----- 1 root adm 12774 2013-08-20 11:02 dmesg.4.gz
-rw-r–r-- 1 root root 319134 2013-08-20 19:39 dpkg.log
-rw-r–r-- 1 root root 33316 2013-07-30 08:13 dpkg.log.1
-rw-r–r-- 1 root root 897 2013-06-09 06:52 dpkg.log.2.gz
-rw-r–r-- 1 root root 3543 2013-05-30 12:37 dpkg.log.3.gz
-rw-r–r-- 1 root root 2529 2013-04-28 18:54 dpkg.log.4.gz
-rw-r–r-- 1 root root 2810 2013-03-29 23:18 dpkg.log.5.gz
-rw-r–r-- 1 root root 4554 2013-02-23 12:12 dpkg.log.6.gz
-rw-r–r-- 1 root root 3750 2013-01-22 07:35 dpkg.log.7.gz
-rw-r–r-- 1 root root 3545 2012-12-17 09:50 dpkg.log.8.gz
-rw-r–r-- 1 root root 76477 2012-11-28 20:58 dpkg.log.9.gz
drwxr-s— 2 klog adm 4096 2013-08-18 06:50 exim4
-rw-r–r-- 1 root root 32064 2013-04-21 15:20 faillog
-rw-r–r-- 1 root root 1838 2013-08-20 19:39 fontconfig.log
drwxr-xr-x 2 root root 4096 2012-11-23 13:15 fsck
drwxrwx–T 2 root pulse 4096 2013-08-20 19:40 gdm3
drwxr-xr-x 3 root root 4096 2012-11-23 13:56 installer
-rw-r----- 1 root adm 1723378 2013-08-20 19:42 kern.log
-rw-r----- 1 root adm 2366671 2013-08-18 06:17 kern.log.1
-rw-r----- 1 root adm 524751 2013-08-13 05:58 kern.log.2.gz
-rw-r----- 1 root adm 606121 2013-08-05 06:40 kern.log.3.gz
-rw-r----- 1 root adm 354866 2013-07-29 09:56 kern.log.4.gz
-rw-rw-r-- 1 root utmp 292584 2013-08-20 19:42 lastlog
-rw-r----- 1 root adm 2944 2013-08-20 19:31 lpr.log
-rw-r----- 1 root adm 4224 2013-08-18 06:16 lpr.log.1
-rw-r----- 1 root adm 471 2013-08-13 05:58 lpr.log.2.gz
-rw-r----- 1 root adm 545 2013-08-05 06:40 lpr.log.3.gz
-rw-r----- 1 root adm 355 2013-07-29 09:53 lpr.log.4.gz
-rw-r----- 1 root adm 0 2012-11-23 13:57 mail.err
-rw-r----- 1 root adm 0 2012-11-23 13:57 mail.info
-rw-r----- 1 root adm 0 2012-11-23 13:57 mail.log
-rw-r----- 1 root adm 0 2012-11-23 13:57 mail.warn
-rw-r----- 1 root adm 1308932 2013-08-20 19:42 messages
-rw-r----- 1 root adm 1794467 2013-08-18 06:50 messages.1
-rw-r----- 1 root adm 428294 2013-08-13 06:20 messages.2.gz
-rw-r----- 1 root adm 494427 2013-08-05 06:49 messages.3.gz
-rw-r----- 1 root adm 291824 2013-07-29 10:22 messages.4.gz
drwxr-xr-x 2 root root 4096 2012-11-23 13:57 news
-rw-r–r-- 1 root root 18036 2013-08-20 19:31 pm-powersave.log
-rw-r–r-- 1 root root 19479 2013-08-01 11:48 pm-powersave.log.1
-rw-r–r-- 1 root root 380 2013-07-01 07:27 pm-powersave.log.2.gz
-rw-r–r-- 1 root root 235 2013-06-01 06:19 pm-powersave.log.3.gz
-rw-r–r-- 1 root root 281 2013-05-01 08:01 pm-powersave.log.4.gz
-rw-r–r-- 1 root root 18513 2013-08-09 11:50 pm-suspend.log
-rw-r–r-- 1 root root 43479 2013-07-30 21:54 pm-suspend.log.1
-rw-r–r-- 1 root root 2164 2013-06-21 17:55 pm-suspend.log.2.gz
-rw-r–r-- 1 root root 3452 2013-05-28 11:32 pm-suspend.log.3.gz
-rw-r–r-- 1 root root 7110 2013-04-30 09:07 pm-suspend.log.4.gz
-rw-r–r-- 1 root root 0 2012-11-23 13:41 pycentral.log
-rw-r----- 1 root adm 2221346 2013-08-20 19:42 syslog
-rw-r----- 1 root adm 365837 2013-08-18 06:50 syslog.1
-rw-r----- 1 root adm 209143 2013-08-17 09:34 syslog.2.gz
-rw-r----- 1 root adm 155505 2013-08-15 09:45 syslog.3.gz
-rw-r----- 1 root adm 140856 2013-08-14 07:08 syslog.4.gz
-rw-r----- 1 root adm 176322 2013-08-13 06:19 syslog.5.gz
-rw-r----- 1 root adm 144259 2013-08-09 06:09 syslog.6.gz
-rw-r----- 1 root adm 123932 2013-08-08 07:54 syslog.7.gz
drwxr-xr-x 2 root root 4096 2010-11-18 08:04 unattended-upgrades
-rw-r----- 1 root adm 1698 2013-08-20 19:42 user.log
-rw-r----- 1 root adm 1564 2013-08-17 16:08 user.log.1
-rw-r----- 1 root adm 364 2013-08-12 21:57 user.log.2.gz
-rw-r----- 1 root adm 431 2013-08-04 21:25 user.log.3.gz
-rw-r----- 1 root adm 264 2013-07-27 11:09 user.log.4.gz
-rw-rw-r-- 1 root utmp 1423872 2013-08-20 19:42 wtmp
-rw-rw-r-- 1 root utmp 1184256 2013-08-01 11:48 wtmp.1
-rw-r–r-- 1 root root 24404 2013-08-20 19:40 Xorg.0.log
-rw-r–r-- 1 root root 22938 2013-08-20 18:35 Xorg.0.log.old
-rw-r–r-- 1 root root 24099 2013-04-21 16:38 Xorg.1.log
-rw-r–r-- 1 root root 26159 2013-04-21 16:38 Xorg.1.log.old
root@ubuntu:~#
[/quote]