Pagina 1 di 2

[Risolto] [Supporto] Problemi con Sources.list

Inviato: martedì 28 dicembre 2010, 19:50
da marcu6
Salve a tutti

sono nuovo del forum! Ho un problema col file sources.list. Non riesco a installare nulla

Ad esempio

sudo apt-get install scite
[sudo] password for marco:
E: Tipo "" non riconosciuto alla riga 1 nel file /etc/apt/sources.list
E: Impossibile leggere l'elenco dei sorgenti.

Sto impazzendo, Ringrazio anticipatamente

Marco

Re: [Supporto] Problemi con Sources.list

Inviato: martedì 28 dicembre 2010, 19:52
da LiCeT
posta il contenuto di sources.list

Codice: Seleziona tutto

sudo gedit /etc/apt/sources.list

Re: [Supporto] Problemi con Sources.list

Inviato: martedì 28 dicembre 2010, 19:53
da marcu6
#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://it.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ lucid main restricted

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

Re: [Supporto] Problemi con Sources.list

Inviato: martedì 28 dicembre 2010, 19:57
da il_muflone
all'inizio del file c'e` una riga vuota?

Re: [Supporto] Problemi con Sources.list

Inviato: martedì 28 dicembre 2010, 19:58
da marcu6
no non cè nessuna riga vuota

Re: [Supporto] Problemi con Sources.list

Inviato: martedì 28 dicembre 2010, 20:00
da marcu6

Codice: Seleziona tutto

#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://it.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ lucid main restricted

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

Re: [Supporto] Problemi con Sources.list

Inviato: martedì 28 dicembre 2010, 20:05
da marcu6
Ragazzi nessuna idea? Come posso fare?

Re: [Supporto] Problemi con Sources.list

Inviato: martedì 28 dicembre 2010, 20:07
da il_muflone
togli quegli spazi iniziali da queste due righe

Codice: Seleziona tutto

 deb http://archive.canonical.com/ubuntu lucid partner
 deb-src http://archive.canonical.com/ubuntu lucid partner

Re: [Supporto] Problemi con Sources.list

Inviato: martedì 28 dicembre 2010, 20:11
da marcu6
Provato ma nulla da fare il prblema è nella riga 1. Ma a me sembra che non ci siano spazi..

:'(

Re: [Supporto] Problemi con Sources.list

Inviato: martedì 28 dicembre 2010, 20:17
da badìl
Posta

Codice: Seleziona tutto

cat -n /etc/apt/sources.list

Re: [Supporto] Problemi con Sources.list

Inviato: martedì 28 dicembre 2010, 20:35
da marcu6

Codice: Seleziona tutto

 1	#deb cdrom:[Ubuntu 10.04.1 LTS _Lucid Lynx_ - Release i386 (20100816.1)]/ lucid main restricted
     2	# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     3	# newer versions of the distribution.
     4	
     5	deb http://it.archive.ubuntu.com/ubuntu/ lucid main restricted
     6	deb-src http://it.archive.ubuntu.com/ubuntu/ lucid main restricted
     7	
     8	## Major bug fix updates produced after the final release of the
     9	## distribution.
    10	deb http://it.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
    11	deb-src http://it.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
    12	
    13	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14	## team. Also, please note that software in universe WILL NOT receive any
    15	## review or updates from the Ubuntu security team.
    16	deb http://it.archive.ubuntu.com/ubuntu/ lucid universe
    17	deb-src http://it.archive.ubuntu.com/ubuntu/ lucid universe
    18	deb http://it.archive.ubuntu.com/ubuntu/ lucid-updates universe
    19	deb-src http://it.archive.ubuntu.com/ubuntu/ lucid-updates universe
    20	
    21	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    22	## team, and may not be under a free licence. Please satisfy yourself as to 
    23	## your rights to use the software. Also, please note that software in 
    24	## multiverse WILL NOT receive any review or updates from the Ubuntu
    25	## security team.
    26	deb http://it.archive.ubuntu.com/ubuntu/ lucid multiverse
    27	deb-src http://it.archive.ubuntu.com/ubuntu/ lucid multiverse
    28	deb http://it.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
    29	deb-src http://it.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
    30	
    31	## Uncomment the following two lines to add software from the 'backports'
    32	## repository.
    33	## N.B. software from this repository may not have been tested as
    34	## extensively as that contained in the main release, although it includes
    35	## newer versions of some applications which may provide useful features.
    36	## Also, please note that software in backports WILL NOT receive any review
    37	## or updates from the Ubuntu security team.
    38	# deb http://it.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
    39	# deb-src http://it.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
    40	
    41	## Uncomment the following two lines to add software from Canonical's
    42	## 'partner' repository.
    43	## This software is not part of Ubuntu, but is offered by Canonical and the
    44	## respective vendors as a service to Ubuntu users.
    45	deb http://archive.canonical.com/ubuntu lucid partner
    46	deb-src http://archive.canonical.com/ubuntu lucid partner
    47	
    48	deb http://security.ubuntu.com/ubuntu lucid-security main restricted
    49	deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
    50	deb http://security.ubuntu.com/ubuntu lucid-security universe
    51	deb-src http://security.ubuntu.com/ubuntu lucid-security universe
    52	deb http://security.ubuntu.com/ubuntu lucid-security multiverse
    53	deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse

Re: [Supporto] Problemi con Sources.list

Inviato: martedì 28 dicembre 2010, 20:37
da badìl
A quanto pare ci sono degli spazi nella prima riga. mettila a pari delle altre.

Re: [Supporto] Problemi con Sources.list

Inviato: martedì 28 dicembre 2010, 20:40
da marcu6
Si ho visto ma quando apro il file sembra non ci siano spazi. Come faccio a eliminarli?

Re: [Supporto] Problemi con Sources.list

Inviato: martedì 28 dicembre 2010, 20:46
da badìl
Premi tre volte il tasto per cancellare poi salva il file e riposta

Codice: Seleziona tutto

cat -n /etc/apt/sources.list

Re: [Supporto] Problemi con Sources.list

Inviato: martedì 28 dicembre 2010, 20:50
da marcu6
1 b cdrom:[Ubuntu 10.04.1 LTS _Lucid Lynx_ - Release i386 (20100816.1)]/ lucid main restricted
    2 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    3 # newer versions of the distribution.
    4
    5 deb http://it.archive.ubuntu.com/ubuntu/ lucid main restricted
    6 deb-src http://it.archive.ubuntu.com/ubuntu/ lucid main restricted
    7
    8 ## Major bug fix updates produced after the final release of the
    9 ## distribution.
    10 deb http://it.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
    11 deb-src http://it.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
    12
    13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14 ## team. Also, please note that software in universe WILL NOT receive any
    15 ## review or updates from the Ubuntu security team.
    16 deb http://it.archive.ubuntu.com/ubuntu/ lucid universe
    17 deb-src http://it.archive.ubuntu.com/ubuntu/ lucid universe
    18 deb http://it.archive.ubuntu.com/ubuntu/ lucid-updates universe
    19 deb-src http://it.archive.ubuntu.com/ubuntu/ lucid-updates universe
    20
    21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    22 ## team, and may not be under a free licence. Please satisfy yourself as to
    23 ## your rights to use the software. Also, please note that software in
    24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    25 ## security team.
    26 deb http://it.archive.ubuntu.com/ubuntu/ lucid multiverse
    27 deb-src http://it.archive.ubuntu.com/ubuntu/ lucid multiverse
    28 deb http://it.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
    29 deb-src http://it.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
    30
    31 ## Uncomment the following two lines to add software from the 'backports'
    32 ## repository.
    33 ## N.B. software from this repository may not have been tested as
    34 ## extensively as that contained in the main release, although it includes
    35 ## newer versions of some applications which may provide useful features.
    36 ## Also, please note that software in backports WILL NOT receive any review
    37 ## or updates from the Ubuntu security team.
    38 # deb http://it.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
    39 # deb-src http://it.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
    40
    41 ## Uncomment the following two lines to add software from Canonical's
    42 ## 'partner' repository.
    43 ## This software is not part of Ubuntu, but is offered by Canonical and the
    44 ## respective vendors as a service to Ubuntu users.
    45 deb http://archive.canonical.com/ubuntu lucid partner
    46 deb-src http://archive.canonical.com/ubuntu lucid partner
    47
    48 deb http://security.ubuntu.com/ubuntu lucid-security main restricted
    49 deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
    50 deb http://security.ubuntu.com/ubuntu lucid-security universe
    51 deb-src http://security.ubuntu.com/ubuntu lucid-security universe
    52 deb http://security.ubuntu.com/ubuntu lucid-security multiverse
    53 deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse

Re: [Supporto] Problemi con Sources.list

Inviato: martedì 28 dicembre 2010, 20:51
da marcu6

Codice: Seleziona tutto

1	b cdrom:[Ubuntu 10.04.1 LTS _Lucid Lynx_ - Release i386 (20100816.1)]/ lucid main restricted
     2	# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     3	# newer versions of the distribution.
     4	
     5	deb http://it.archive.ubuntu.com/ubuntu/ lucid main restricted
     6	deb-src http://it.archive.ubuntu.com/ubuntu/ lucid main restricted
     7	
     8	## Major bug fix updates produced after the final release of the
     9	## distribution.
    10	deb http://it.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
    11	deb-src http://it.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
    12	
    13	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14	## team. Also, please note that software in universe WILL NOT receive any
    15	## review or updates from the Ubuntu security team.
    16	deb http://it.archive.ubuntu.com/ubuntu/ lucid universe
    17	deb-src http://it.archive.ubuntu.com/ubuntu/ lucid universe
    18	deb http://it.archive.ubuntu.com/ubuntu/ lucid-updates universe
    19	deb-src http://it.archive.ubuntu.com/ubuntu/ lucid-updates universe
    20	
    21	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    22	## team, and may not be under a free licence. Please satisfy yourself as to 
    23	## your rights to use the software. Also, please note that software in 
    24	## multiverse WILL NOT receive any review or updates from the Ubuntu
    25	## security team.
    26	deb http://it.archive.ubuntu.com/ubuntu/ lucid multiverse
    27	deb-src http://it.archive.ubuntu.com/ubuntu/ lucid multiverse
    28	deb http://it.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
    29	deb-src http://it.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
    30	
    31	## Uncomment the following two lines to add software from the 'backports'
    32	## repository.
    33	## N.B. software from this repository may not have been tested as
    34	## extensively as that contained in the main release, although it includes
    35	## newer versions of some applications which may provide useful features.
    36	## Also, please note that software in backports WILL NOT receive any review
    37	## or updates from the Ubuntu security team.
    38	# deb http://it.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
    39	# deb-src http://it.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
    40	
    41	## Uncomment the following two lines to add software from Canonical's
    42	## 'partner' repository.
    43	## This software is not part of Ubuntu, but is offered by Canonical and the
    44	## respective vendors as a service to Ubuntu users.
    45	deb http://archive.canonical.com/ubuntu lucid partner
    46	deb-src http://archive.canonical.com/ubuntu lucid partner
    47	
    48	deb http://security.ubuntu.com/ubuntu lucid-security main restricted
    49	deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
    50	deb http://security.ubuntu.com/ubuntu lucid-security universe
    51	deb-src http://security.ubuntu.com/ubuntu lucid-security universe
    52	deb http://security.ubuntu.com/ubuntu lucid-security multiverse
    53	deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse

Re: [Supporto] Problemi con Sources.list

Inviato: martedì 28 dicembre 2010, 20:52
da il_muflone
ora ne mancano due :D

Re: [Supporto] Problemi con Sources.list

Inviato: martedì 28 dicembre 2010, 20:56
da badìl
Rimetti #de alla prima riga.
il tasto cancella lo devi premere all'inizio, non devi cancellare quello che c'è scritto.

Re: [Supporto] Problemi con Sources.list

Inviato: martedì 28 dicembre 2010, 20:57
da il_muflone
puoi allegare qui il file sources.list?
non fare copia / incolla, semplicemente allegalo

Re: [Supporto] Problemi con Sources.list

Inviato: martedì 28 dicembre 2010, 21:02
da marcu6
Allego il file cambio il formato txt xke non me lo fa allegare altrimenti