Unable to perform upgrade

Asked by peyrega stephane

TRANSLATION (Original below):

Hello, this is what I saw in my terminal window

steph@steph-desktop:~$ sudo apt-get upgrade
E: The type "sudo" is unknown on line 54 in the list of sources /etc/apt/sources.list
E: The sources list could not be read
steph@steph-desktop:~$

It's very unpleasant, and the system asked me to report the bug in another window
Cordially

ORIGINAL REPORT:

Binary package hint: gnome-terminal

Bonjour, voilà ce qu'il y avait dans la fenetre du terminal

steph@steph-desktop:~$ sudo apt-get upgrade
E: Le type « sudo » est inconnu sur la ligne 54 dans la liste des sources /etc/apt/sources.list
E: La liste des sources ne peut être lue.
steph@steph-desktop:~$

c'est très desagréable et l'ordi me demande de transmettre le bug dans d'autre fenetre
Cordialrement

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was originally filed as bug #395802.

Revision history for this message
Felix Crux (felixc) said :
#1

(Version Francaise Suit)
Hi! Thanks for taking the time to report this bug and helping to make Ubuntu better. I just want to check some details to confirm this bug. Can you please confirm whether the file /etc/apt/sources.list contains the word "sudo," particularly on line 54? One way to do this is (in a terminal), run the command "grep -n sudo /etc/apt/sources.list". Thanks again!

PS - If you can, please report bugs in English. If not, we appreciate your help anyway!

(S'il vous plait pardonnez mon mauvais Francais)
Bonjour! Merci pour prendre le temps pour transmettre cet bug et aider ameliorer Ubuntu. Je voudrais juste verifier quelques détails en avant de confirmer le bug. Poudrais-vous vérifier si la liste /etc/apt/sources.list contient le mot "sudo"? Une facone de faire ca est avec le commandement "grep -n sudo /etc/apt/sources.list". Merci!

PS - Si c'est possible, s'il vous plait transmettre les bugs en Anglais. Si c'est pas possible, on apprecie votre aide quand meme!

Revision history for this message
Felix Crux (felixc) said :
#2

On further thought, I believe that this is more appropriately handled as a support question than as a bug. I believe the cause of this is an errant "sudo" in your sources.list file, which is what the "grep" command from my previous comment would hopefully confirm. In that case, we can fix this for you by helping you identify where the problem is, and removing that line (or just the "sudo" part).

Revision history for this message
Steven Danna (ssd7) said :
#3

Can you please do the following:

1) Open a terminal (Applications->Accessories->Terminal)
2) Type this command:

gedit /etc/apt/sources.list

3) Copy and paste the contents of the file into a response here.
4) Close the following.

This information will hopefully help us solve your problem.

Revision history for this message
tayendi (tayendi) said :
#4

hello can u help me? thanks

deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release amd64 (20090421.3)]/ jaunty main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty main restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://nc.archive.ubuntu.com/ubuntu/ jaunty main restricted
deb-src http://nc.archive.ubuntu.com/ubuntu/ jaunty restricted main multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://nc.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted
deb-src http://nc.archive.ubuntu.com/ubuntu/ jaunty-updates restricted main multiverse universe #Added by software-properties

## 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://nc.archive.ubuntu.com/ubuntu/ jaunty universe
deb http://nc.archive.ubuntu.com/ubuntu/ jaunty-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://nc.archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://nc.archive.ubuntu.com/ubuntu/ jaunty-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://nc.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
# deb-src http://nc.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 jaunty-security main restricted
deb-src http://security.ubuntu.com/ubuntu jaunty-security restricted main multiverse universe #Added by software-properties
deb http://security.ubuntu.com/ubuntu jaunty-security universe
deb http://security.ubuntu.com/ubuntu jaunty-security multiverse
deb http://wine.budgetdedicated.com/apt intrepi

deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1)]/ jaunty restricted main
deb http://fr.archive.ubuntu.com/ubuntu jaunty restricted main
deb-src http://fr.archive.ubuntu.com/ubuntu jaunty restricted main
deb http://fr.archive.ubuntu.com/ubuntu jaunty-security restricted main
deb-src http://fr.archive.ubuntu.com/ubuntu jaunty-security restricted main
deb http://fr.archive.ubuntu.com/ubuntu jaunty-updates restricted main
deb-src http://fr.archive.ubuntu.com/ubuntu jaunty-updates restricted main

deb http://wine.budgetdedicated.com/apt jaunty main #WineHQ - Ubuntu 9.04 "Jaunty Jackalope"

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.