Mises à jour

Asked by GRALLIEN

Je travaille sur Ubuntu 9.10. Via le gestionnaire de mises à jour,on me propose très souvent des mises à jour valables pour les versions antérieures.
Je pense que je ne suis pas obligé de les appliquer, pouvez vous me confirmer?
Si oui, alors comment ne plus les voir apparaitre sur l'écran car elles reviennent périodiquement?

Merci de votre réponse.

JC GRALLIEN

Question information

Language:
French Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
fabrom
Solved:
Last query:
Last reply:
Revision history for this message
fabrom (fabrom-jability) said :
#1

Bonjour,

Je ne comprends pas bien le problème.

Dans un terminal, pouvez-vous faire les opérations suivantes :

> sudo gedit /etc/lsb-release
(indiquez votre mot de passe lorsque demandé)
faites un copier et collez ici le résultat.

Dans un second temps,
> sudo gedit /etc/apt/sources.list
(indiquez votre mot de passe lorsque demandé)
faites un copier et collez ici le résultat.

Revision history for this message
fabrom (fabrom-jability) said :
#2

par sécurité, remplacez les commandes mentionnées ci-dessus par
> gedit /etc/lsb-release &
et
> gedit /etc/apt/sources.list &

Revision history for this message
GRALLIEN (jc-grallien) said :
#3

Bonjour,

Merci pour votre réponse, toutefois je vous précise certains éléments :
le gestionnaire de mises à jour me propose des mises à jour de versions
antérieures à la mienne (version 9.10) dois-je le faire ?
SI non, le gestionnaire me le propose à chaque mise en route, comment
faire pour ne plus voir apparaitre ce tableau de mises à jour?

Merci.

Le samedi 27 février 2010 à 09:37 +0000, fabrom a écrit :
> Your question #102593 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/102593
>
> Status: Open => Needs information
>
> fabrom requested for more information:
> Bonjour,
>
> Je ne comprends pas bien le problème.
>
> Dans un terminal, pouvez-vous faire les opérations suivantes :
>
> > sudo gedit /etc/lsb-release
> (indiquez votre mot de passe lorsque demandé)
> faites un copier et collez ici le résultat.
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.10
DISTRIB_CODENAME=karmic
DISTRIB_DESCRIPTION="Ubuntu 9.10"

>
> Dans un second temps,
> > sudo gedit /etc/apt/sources.list
> (indiquez votre mot de passe lorsque demandé)
> faites un copier et collez ici le résultat.

Pas de réponse à cette demande.

>

Revision history for this message
fabrom (fabrom-jability) said :
#4

Pourquoi "pas de réponse..." ? Avez-vous rencontré une difficulté à réaliser la seconde opération ? si oui, laquelle ?

J'ai besoin du contenu pour déterminer si les points de mise à jour correspondent à la version en cours.

Revision history for this message
GRALLIEN (jc-grallien) said :
#5

En fait en répétant la seconde opération : sudo
gedit /etc/apt/sources.list j'ai cette fois-ci obtenu la réponse
ci-dessous :

# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386
(20090420.1)]/ jaunty main restricted
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386
(20090420.1)]/ kubuntu/dists/jaunty/main/binary-i386/
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386
(20090420.1)]/ kubuntu/dists/jaunty/restricted/binary-i386/
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386
(20090420.1)]/ ubuntu/dists/jaunty/main/binary-i386/
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386
(20090420.1)]/ ubuntu/dists/jaunty/restricted/binary-i386/
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386
(20090420.1)]/ xubuntu/dists/jaunty/main/binary-i386/
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386
(20090420.1)]/ xubuntu/dists/jaunty/restricted/binary-i386/
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386
(20090420.1)]/mythbunt/ jaunty main restricted universe
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386
(20090420.1)]/xubuntu/ jaunty multiverse
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade
to
# newer versions of the distribution.

deb http://fr.archive.ubuntu.com/ubuntu/ karmic main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ karmic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ karmic-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/ karmic universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ karmic universe
deb http://fr.archive.ubuntu.com/ubuntu/ karmic-updates universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ karmic-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/ karmic multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ karmic multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ karmic-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/ jaunty-backports main
restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ jaunty-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, b# deb cdrom:[Ubuntu 9.04
_Jaunty Jackalope_ - Release i386 (20090420.1)]/ jaunty main restricted
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386
(20090420.1)]/ kubuntu/dists/jaunty/main/binary-i386/
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386
(20090420.1)]/ kubuntu/dists/jaunty/restricted/binary-i386/
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386
(20090420.1)]/ ubuntu/dists/jaunty/main/binary-i386/
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386
(20090420.1)]/ ubuntu/dists/jaunty/restricted/binary-i386/
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386
(20090420.1)]/ xubuntu/dists/jaunty/main/binary-i386/
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386
(20090420.1)]/ xubuntu/dists/jaunty/restricted/binary-i386/
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386
(20090420.1)]/mythbunt/ jaunty main restricted universe
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386
(20090420.1)]/xubuntu/ jaunty multiverse
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade
to
# newer versions of the distribution.

deb http://fr.archive.ubuntu.com/ubuntu/ karmic main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ karmic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ karmic-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/ karmic universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ karmic universe
deb http://fr.archive.ubuntu.com/ubuntu/ karmic-updates universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ karmic-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/ karmic multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ karmic multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ karmic-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/ jaunty-backports main
restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ jaunty-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 jaunty partner
# deb-src http://archive.canonical.com/ubuntu jaunty partner

deb http://security.ubuntu.com/ubuntu karmic-security main restricted
deb-src http://security.ubuntu.com/ubuntu karmic-security main
restricted
deb http://security.ubuntu.com/ubuntu karmic-security universe
deb-src http://security.ubuntu.com/ubuntu karmic-security universe
deb http://security.ubuntu.com/ubuntu karmic-security multiverse
deb-src http://security.ubuntu.com/ubuntu karmic-security multiverseut
is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu jaunty partner
# deb-src http://archive.canonical.com/ubuntu jaunty partner

deb http://security.ubuntu.com/ubuntu karmic-security main restricted
deb-src http://security.ubuntu.com/ubuntu karmic-security main
restricted
deb http://security.ubuntu.com/ubuntu karmic-security universe
deb-src http://security.ubuntu.com/ubuntu karmic-security universe
deb http://security.ubuntu.com/ubuntu karmic-security multiverse
deb-src http://security.ubuntu.com/ubuntu karmic-security multiverse

Merci de m'aider.

JC.GRALLIEN

Le dimanche 28 février 2010 à 08:59 +0000, fabrom a écrit :
> Your question #102593 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/102593
>
> Status: Open => Needs information
>
> fabrom requested for more information:
> Pourquoi "pas de réponse..." ? Avez-vous rencontré une difficulté à
> réaliser la seconde opération ? si oui, laquelle ?
>
> J'ai besoin du contenu pour déterminer si les points de mise à jour
> correspondent à la version en cours.
>

Revision history for this message
fabrom (fabrom-jability) said :
#6

Effectuez les opérations suivantes :
1. dans un terminal
> sudo mv /etc/apt/sources.list /etc/apt/sources.list.backup
(indiquez votre mot de passe lorsque demandé)

2. toujours dans le terminal
> sudo gedit /etc/apt/sources.list

3. Dans l'éditeur de texte, copiez le contenu ci-dessous délimité entre -----------

 ----------- Copiez à partir de la ligne ci-dessous vvvvvvv
# Réalisation automatique par le générateur de fichiers sources.list
# Le 01/03/2010 à 08:46 (Europe/Paris) sur le site http://www.sourceslist.org
#
# En cas de soucis, vous pouvez contacter le webmaster par email <email address hidden>
#
# Pays : France
# Release : Karmic
# Architecture : i386 (Processeurs 32-bits)
#

#########################################
### Depot Ubuntu

#section: Ubuntu Karmic 9.10
deb http://fr.archive.ubuntu.com/ubuntu/ karmic main
deb http://fr.archive.ubuntu.com/ubuntu/ karmic restricted
deb http://fr.archive.ubuntu.com/ubuntu/ karmic universe
deb http://fr.archive.ubuntu.com/ubuntu/ karmic multiverse

#section: Ubuntu Karmic Updates
deb http://fr.archive.ubuntu.com/ubuntu/ karmic-updates main
deb http://fr.archive.ubuntu.com/ubuntu/ karmic-updates restricted
deb http://fr.archive.ubuntu.com/ubuntu/ karmic-updates universe
deb http://fr.archive.ubuntu.com/ubuntu/ karmic-updates multiverse

#section: Ubuntu Karmic Security
deb http://fr.archive.ubuntu.com/ubuntu/ karmic-security main
deb http://fr.archive.ubuntu.com/ubuntu/ karmic-security restricted
deb http://fr.archive.ubuntu.com/ubuntu/ karmic-security universe
deb http://fr.archive.ubuntu.com/ubuntu/ karmic-security multiverse

#########################################
### Depot Medibuntu

#section: Medibuntu packages for Ubuntu Karmic 9.10
deb http://fr.packages.medibuntu.org/ karmic free
deb http://fr.packages.medibuntu.org/ karmic non-free

#########################################
### Depot Ubuntu

#section: Ubuntu Karmic Security
deb http://archive.canonical.com/ karmic-security partner

#section: Ubuntu Karmic Updates
deb http://archive.canonical.com/ karmic-updates partner

#section: Ubuntu Karmic 9.10
deb http://archive.canonical.com/ karmic partner

 ----------- Copiez jusqu'à la ligne ci-dessus ^^^^^^^

4. Dans l'éditeur de texte, faites Fichier->Enregistrer puis Fichier->Fermer

5. Dans le terminal,
> sudo apt-get autoclean
> sudo apt-get update
> sudo apt-get dist-upgrade
> sudo apt-get autoremove

Ces opérations devraient vous permettre de retrouver un état propre.

Revision history for this message
GRALLIEN (jc-grallien) said :
#7

Bonjour,
Merci pour votre aide mais n'étant pas un pro j'ai encore quelques
questions :
l'éditeur de texte est bien accessible dans la rubrique "accessoires" de
"applications" avec l'appellation "gedit"

pourquoi copier dans un éditeur de texte?
Ou dois-je enregistrer le fichier ?

Quel est le rapport avec les instructions effectuées dans le terminal?

Cela ne risque pas de modifier ou altérer le fonctionnement de Ubuntu?

Merci

Cordialement.

JC GRALLIEN

Le lundi 01 mars 2010 à 08:02 +0000, fabrom a écrit :
> Your question #102593 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/102593
>
> Status: Open => Answered
>
> fabrom proposed the following answer:
> Effectuez les opérations suivantes :
> 1. dans un terminal
> > sudo mv /etc/apt/sources.list /etc/apt/sources.list.backup
> (indiquez votre mot de passe lorsque demandé)
>
> 2. toujours dans le terminal
> > sudo gedit /etc/apt/sources.list
>
> 3. Dans l'éditeur de texte, copiez le contenu ci-dessous délimité entre
> -----------
>
> ----------- Copiez à partir de la ligne ci-dessous vvvvvvv
> # Réalisation automatique par le générateur de fichiers sources.list
> # Le 01/03/2010 à 08:46 (Europe/Paris) sur le site http://www.sourceslist.org
> #
> # En cas de soucis, vous pouvez contacter le webmaster par email <email address hidden>
> #
> # Pays : France
> # Release : Karmic
> # Architecture : i386 (Processeurs 32-bits)
> #
>
> #########################################
> ### Depot Ubuntu
>
> #section: Ubuntu Karmic 9.10
> deb http://fr.archive.ubuntu.com/ubuntu/ karmic main
> deb http://fr.archive.ubuntu.com/ubuntu/ karmic restricted
> deb http://fr.archive.ubuntu.com/ubuntu/ karmic universe
> deb http://fr.archive.ubuntu.com/ubuntu/ karmic multiverse
>
> #section: Ubuntu Karmic Updates
> deb http://fr.archive.ubuntu.com/ubuntu/ karmic-updates main
> deb http://fr.archive.ubuntu.com/ubuntu/ karmic-updates restricted
> deb http://fr.archive.ubuntu.com/ubuntu/ karmic-updates universe
> deb http://fr.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
>
> #section: Ubuntu Karmic Security
> deb http://fr.archive.ubuntu.com/ubuntu/ karmic-security main
> deb http://fr.archive.ubuntu.com/ubuntu/ karmic-security restricted
> deb http://fr.archive.ubuntu.com/ubuntu/ karmic-security universe
> deb http://fr.archive.ubuntu.com/ubuntu/ karmic-security multiverse
>
> #########################################
> ### Depot Medibuntu
>
> #section: Medibuntu packages for Ubuntu Karmic 9.10
> deb http://fr.packages.medibuntu.org/ karmic free
> deb http://fr.packages.medibuntu.org/ karmic non-free
>
> #########################################
> ### Depot Ubuntu
>
> #section: Ubuntu Karmic Security
> deb http://archive.canonical.com/ karmic-security partner
>
> #section: Ubuntu Karmic Updates
> deb http://archive.canonical.com/ karmic-updates partner
>
> #section: Ubuntu Karmic 9.10
> deb http://archive.canonical.com/ karmic partner
>
> ----------- Copiez jusqu'à la ligne ci-dessus ^^^^^^^
>
> 4. Dans l'éditeur de texte, faites Fichier->Enregistrer puis
> Fichier->Fermer
>
> 5. Dans le terminal,
> > sudo apt-get autoclean
> > sudo apt-get update
> > sudo apt-get dist-upgrade
> > sudo apt-get autoremove
>
> Ces opérations devraient vous permettre de retrouver un état propre.
>

Revision history for this message
Best fabrom (fabrom-jability) said :
#8

Bonsoir,

>l'éditeur de texte est bien accessible dans la rubrique "accessoires" de
>"applications" avec l'appellation "gedit"

oui c'est le même. seule la méthode pour le lancer diffère.

>pourquoi copier dans un éditeur de texte?

le but est de remplacer le fichier actuel par un fichier de configuration propre des sources de mises à jour.

>Ou dois-je enregistrer le fichier ?
si vous l'ouvrez tel qu'indiqué et que vous faites Fichier->Enregistrer, ce dernier se placera au bon endroit

> Quel est le rapport avec les instructions effectuées dans le terminal?

lesquelles ?
si je reprends les points :
1 = renommage du fichier des sources actuel
2 = ouverture de l'éditeur sur le nouveau fichier des sources
3 = copie des sources dans le nouveau fihcier de configuration
4= sauvegarde du fichier et fermeture de l'éditeur
5= mise à jour et nettoyage

> Cela ne risque pas de modifier ou altérer le fonctionnement de Ubuntu?

Si bien sûr.
Le but n'est-il pas de corriger un dysfonctionnement ?

Suivez les instructions indiquées précédemment.

Revision history for this message
GRALLIEN (jc-grallien) said :
#9

Bonjour,
Merci cela a résolu mon problème

JC GRALLIEN.

Le mercredi 03 mars 2010 à 23:03 +0000, fabrom a écrit :
> Your question #102593 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/102593
>
> Status: Open => Answered
>
> fabrom proposed the following answer:
> Bonsoir,
>
> >l'éditeur de texte est bien accessible dans la rubrique "accessoires" de
> >"applications" avec l'appellation "gedit"
>
> oui c'est le même. seule la méthode pour le lancer diffère.
>
> >pourquoi copier dans un éditeur de texte?
>
> le but est de remplacer le fichier actuel par un fichier de
> configuration propre des sources de mises à jour.
>
> >Ou dois-je enregistrer le fichier ?
> si vous l'ouvrez tel qu'indiqué et que vous faites Fichier->Enregistrer, ce dernier se placera au bon endroit
>
> > Quel est le rapport avec les instructions effectuées dans le terminal?
>
> lesquelles ?
> si je reprends les points :
> 1 = renommage du fichier des sources actuel
> 2 = ouverture de l'éditeur sur le nouveau fichier des sources
> 3 = copie des sources dans le nouveau fihcier de configuration
> 4= sauvegarde du fichier et fermeture de l'éditeur
> 5= mise à jour et nettoyage
>
> > Cela ne risque pas de modifier ou altérer le fonctionnement de Ubuntu?
>
> Si bien sûr.
> Le but n'est-il pas de corriger un dysfonctionnement ?
>
> Suivez les instructions indiquées précédemment.
>

Revision history for this message
GRALLIEN (jc-grallien) said :
#10

Thanks fabrom, that solved my question.