salut, je peux savoir comment je peux mettre a jour tout les paquets sur mon systeme (vlc amule… tout les softs quoi)
merci d’avance
en console : (je pars du principe que sudo n’est pas paramétré)
su
mot-de-passe-root
aptitude update
aptitude dist-upgrade
ou si tu veux tu peux faire seulement un aptitude upgrade
au lieu d’un aptitude dist-upgrade
j’ai deja essayé ça mais y a rien qui se mis a jour
voila ce qu’il me donne
youssef@debian:~$ su -
Password:
debian:~# apt-get update
Hit http://amule-debian.dyndns.org debian/ Packages
Ign http://amule-debian.dyndns.org debian/ Release
Reading Package Lists... Done
debian:~# aptitude update
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Hit http://amule-debian.dyndns.org debian/ Packages
Ign http://amule-debian.dyndns.org debian/ Release
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
debian:~# aptitude dist-upgrade
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
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.
Writing extended state information... Done
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
avant quand j’été sous ubuntu ça marcher tres bien
Soit tout tes paquets sont déjà à jour ou alors tu as oublié quelques dépots dans ton fichier sources.list
donne nous ton fichier sources.list et va voir forum.debian-fr.org/viewtopic.php?t=1810
quote="Ashgenesis"
donne nous ton fichier sources.list et va voir forum.debian-fr.org/viewtopic.php?t=1810[/quote]
plus précisément: forum.debian-fr.org/viewtopic.ph … &start=124
si tu es en etch, tu mets le sources.list, et surtout, tu n’oublies pas d’ajouter le paquet /etc/apt/prefeferences qui va avec.
si tu es en sarge, c’est pas correct, il faut qu’on t’explique comment corriger les preférences.
je suis sous sarge 3.1 et voila mon sources.list :
[code]
#deb file:///cdrom/ sarge main
deb cdrom:[Debian GNU/Linux 3.1 r2 Sarge - Official i386 Binary-8 (20060419)]$
deb cdrom:[Debian GNU/Linux 3.1 r1 Sarge - Official i386 Binary-14 (20051220)$
deb cdrom:[Debian GNU/Linux 3.1 r1 Sarge - Official i386 Binary-13 (20051220)$
deb cdrom:[Debian GNU/Linux 3.1 r1 Sarge - Official i386 Binary-12 (20051220)$
deb cdrom:[Debian GNU/Linux 3.1 r1 Sarge - Official i386 Binary-11 (20051220)$
deb cdrom:[Debian GNU/Linux 3.1 r1 Sarge - Official i386 Binary-10 (20051220)$
deb cdrom:[Debian GNU/Linux 3.1 r1 Sarge - Official i386 Binary-9 (20051220)]$
deb cdrom:[Debian GNU/Linux 3.1 r3 Sarge - Official i386 Binary-8 (20060902)]$
deb cdrom:[Debian GNU/Linux 3.1 r1 Sarge - Official i386 Binary-7 (20051220)]$
deb cdrom:[Debian GNU/Linux 3.1 r1 Sarge - Official i386 Binary-6 (20051220)]$
deb cdrom:[Debian GNU/Linux 3.1 r1 Sarge - Official i386 Binary-5 (20051220)]$
deb cdrom:[Debian GNU/Linux 3.1 r1 Sarge - Official i386 Binary-4 (20051220)]$
deb cdrom:[Debian GNU/Linux 3.1 r1 Sarge - Official i386 Binary-3 (20051220)]$
deb cdrom:[Debian GNU/Linux 3.1 r1 Sarge - Official i386 Binary-2 (20051220)]$
deb cdrom:[Debian GNU/Linux 3.1 r1 Sarge - Official i386 Binary-1 (20051220)]$
deb http://security.debian.org/ stable/updates main contrib
deb http://amule-debian.dyndns.org/ debian/[/code]
Oui, pas étonnant car tu n’as pour ainsi dire que des références à des CD et ils ne peuvent pas se mettre à jour
Suis le lien que te donne Ashgenesis et tu installeras ds ton
/etc/apt/sources.list
les dépôts qui vont bien.
ensuite
update
dist-upgrade
je fais quoi avec le fichier /etc/apt/preferences ? et si je met tout Stable, Unstable, Testing… ?
j’ai visité le forum que Ashgenesis m’a donné j’ai inseré lé depos stable dans menu.list :
# Stable
deb http://security.debian.org stable/updates main contrib non-free
deb http://ftp.fr.debian.org/debian stable main contrib non-free
voila la reponse qu’il me donne quand je tape aptitude update
debian:/etc/apt# aptitude update
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Get:1 http://security.debian.org stable/updates/main Packages [413kB]
Get:2 http://ftp.fr.debian.org stable/main Packages [4535kB]
Hit http://amule-debian.dyndns.org debian/ Packages
Ign http://amule-debian.dyndns.org debian/ Release
Hit http://amule-debian.dyndns.org debian/ Packages
Hit http://download.skype.com stable/non-free Packages
Get:3 http://download.videolan.org sarge/main Packages [544B]
Ign http://download.videolan.org sarge/main Release
Hit http://download.skype.com stable/non-free Release
Ign http://amule-debian.dyndns.org debian/ Release
Get:4 http://download.videolan.org sarge/main Sources [330B]
Ign http://download.videolan.org sarge/main Release
Get:5 http://security.debian.org stable/updates/main Release [110B]
Get:6 http://security.debian.org stable/updates/contrib Packages [621B]
Get:7 http://security.debian.org stable/updates/contrib Release [113B]
Get:8 http://security.debian.org stable/updates/non-free Packages [1431B]
Get:9 http://security.debian.org stable/updates/non-free Release [114B]
Get:10 http://ftp.fr.debian.org stable/main Release [95B]
Get:11 http://ftp.fr.debian.org stable/contrib Packages [74.0kB]
Get:12 http://ftp.fr.debian.org stable/contrib Release [98B]
Get:13 http://ftp.fr.debian.org stable/non-free Packages [76.6kB]
Get:14 http://ftp.fr.debian.org stable/non-free Release [99B]
Fetched 5102kB in 3m53s (21.8kB/s)
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
W: Couldn't stat source package list http://security.debian.org stable/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_stable_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org stable/updates/contrib Packages (/var/lib/apt/lists/security.debian.org_dists_stable_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org stable/updates/non-free Packages (/var/lib/apt/lists/security.debian.org_dists_stable_updates_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.fr.debian.org stable/main Packages (/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_stable_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.fr.debian.org stable/contrib Packages (/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_stable_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.fr.debian.org stable/non-free Packages (/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_stable_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to update the package lists to correct these missing files
W: Duplicate sources.list entry http://amule-debian.dyndns.org debian/ Packages (/var/lib/apt/lists/amule-debian.dyndns.org_debian_Packages)
W: You may want to update the package lists to correct these missing files
debian:/etc/apt#
qui se que je dois faire pour corriger ça et comment corriger les preférences ?
Comme il te le dit, refait un $apt-get update
qu’est ce que c’est que ces vieux dépots dangereux et la plupart obsolètes ?
pkoi tu n’a pas simplement installé le sources.list et les prefs que je t’ai indiquées ?
Sinon, quand tu fais un update avec des nouveaux dépots pour la première fois, l’update râle. Mais si tu le refais immédiatement ça sera bon.
MattOTop, j’ai fais ce que tu m’as demandé
[code]#deb file:///cdrom/ sarge main
deb cdrom:[Debian GNU/Linux 3.1 r2 Sarge - Official i386 Binary-8 (20060419)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux 3.1 r1 Sarge - Official i386 Binary-14 (20051220)]/ unstable main
deb cdrom:[Debian GNU/Linux 3.1 r1 Sarge - Official i386 Binary-13 (20051220)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux 3.1 r1 Sarge - Official i386 Binary-12 (20051220)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux 3.1 r1 Sarge - Official i386 Binary-11 (20051220)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux 3.1 r1 Sarge - Official i386 Binary-10 (20051220)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux 3.1 r1 Sarge - Official i386 Binary-9 (20051220)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux 3.1 r3 Sarge - Official i386 Binary-8 (20060902)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux 3.1 r1 Sarge - Official i386 Binary-7 (20051220)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux 3.1 r1 Sarge - Official i386 Binary-6 (20051220)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux 3.1 r1 Sarge - Official i386 Binary-5 (20051220)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux 3.1 r1 Sarge - Official i386 Binary-4 (20051220)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux 3.1 r1 Sarge - Official i386 Binary-3 (20051220)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux 3.1 r1 Sarge - Official i386 Binary-2 (20051220)]/ unstable main
deb cdrom:[Debian GNU/Linux 3.1 r1 Sarge - Official i386 Binary-1 (20051220)]/ unstable contrib main
deb http://security.debian.org/ stable/updates main contrib
deb http://amule-debian.dyndns.org/ debian/
#aMule
deb http://amule-debian.dyndns.org/ debian/
Skype
deb http://download.skype.com/linux/repos/debian/ stable non-free
Videolan VLC
deb http://download.videolan.org/pub/videolan/debian sarge main
deb-src http://download.videolan.org/pub/videolan/debian sarge main
Stable
deb http://security.debian.org stable/updates main contrib non-free
deb http://ftp.fr.debian.org/debian stable main contrib non-free [/code]
j’ai tapé $apt-get update mais j’ai pas remarqué un changement sur le niveau de mes application c’est normal ?
apt-get update
puis
apt-get upgrade
Bon. D’abord remarques bien je ne t’ai rien demandé, je t’ai juste suggèré
sinon, tu n’as pas lu ce que je t’ai dit: aucun des sources.list que tu me présente ne correspond au fil que je t’ai indiqué.
alors on va simplifier au max. met ce source.list là:
[code]## sarge
deb http://ftp2.fr.debian.org/debian/ sarge main contrib non-free
deb-src http://ftp2.fr.debian.org/debian/ sarge main contrib non-free
#debian-marillat
deb http://www.debian-multimedia.org sarge main
deb-src http://www.debian-multimedia.org sarge main## sarge non-US
deb http://ftp2.fr.debian.org/debian-non-US/ sarge/non-US main contrib non-free
deb-src http://ftp2.fr.debian.org/debian-non-US/ sarge/non-US main contrib non-free
security
deb http://security.debian.org/ sarge/updates main contrib non-free
deb-src http://security.debian.org/ sarge/updates main contrib non-free
volatile
deb ftp://ftp2.de.debian.org/debian-volatile stable/volatile main contrib non-free
deb-src ftp://ftp2.de.debian.org/debian-volatile stable/volatile main contrib non-free[/code] rien de plus: les softs que tu peux trouver dans les dépots comme amule, etc, existent en sarge, pas la peine d’aller les chercher dans des dépots dangereux, et les cdroms ne contiennent que des paquets obsolètes, donc on oublie aussi.
Ensuite,:
aptitude update
aptitude dist-upgrade
correction: pour skype, tu n’as pas le choix, donc es obligé tout de même rajouter le depot:
# Skype
deb http://download.skype.com/linux/repos/debian/ stable non-free
merci beaucoup ça a marché