PDA

View Full Version : impossibile modificare sources list


poldosbaffini
06-07-2008, 11:28
Ciao a tutti,non fatevi ingannare dalla quantità post...sono sempe un novizio.
Sono passato alla versione Hardy,ma il gestore aggiornamenti vuole fare di testa sua.
Ho provato a modificare sources.list per sostituire Gutsy ma non mi è stato possibile
il comando che uso è il seguente:
sudo thunar etc/apt/sources.list
la risposta è impossibile aprire nessun file o directory.
In poche parole sono senza aggiornamenti di protezione.
P.s. non chiedetemi perchè sono passato alla 8.04.Col senno di poi me lo chiedo ancora.
Ringrazio anticipatamente chiunque potesse aiutarmi.

Gimli[2BV!2B]
06-07-2008, 11:45
sudo thunar /etc/apt/sources.list

Manca la barra davanti al percorso del file per renderlo assoluto.
Senza la barra cerca il file partendo dalla cartella in cui ti trovi, probabilmente la home.

poldosbaffini
06-07-2008, 11:54
Non è cambiato molto,questa e la risposta,dopodichè mi apre la finestra di sorgenti software

/usr/lib/python2.5/site-packages/apt/__init__.py:18: FutureWarning: apt API not stable yet
warnings.warn("apt API not stable yet", FutureWarning)

patel45
06-07-2008, 12:04
ma perché thunar che è un file manager ? prova
sudo gedit /etc/apt/sources.list

poldosbaffini
06-07-2008, 12:10
su xubuntu non è ancora installato,mi consigliare di farlo?

Gimli[2BV!2B]
06-07-2008, 12:16
Thunar l'avevo già sentito, ma non ricordavo fosse un file browser...
Se non hai gedit devi usare un editor equivalente, oppure l'onnipresente nano.

Per nano devi tener conto che dopo devi usare le combinazioni di tasti indicate in fondo per salvare e uscire, dove ^ significa Ctrl: per uscire Ctrl X e per salvare Ctrl O.

Forse anche un
sudo thunar /etc/apt/
ti può portare sulla strada giusta (potrai aprire il file da amministratore, sempre se thunar riesce a partire).

patel45
06-07-2008, 13:02
su xubuntu non è ancora installato,mi consigliare di farlo?
mica l'avevi detto di Xubuntu
sudo mousepad /etc/apt/sources.list

poldosbaffini
06-07-2008, 13:11
Si scusatemi non avevo specificato xfce.Chiedo venia.Grazie Gimli ho risolto con il tuo consiglio del percorso abbreviato.Auguro a tutti una buona domenica ed ovviamente un grazie di cuore.

poldosbaffini
06-07-2008, 17:52
il gestore aggiornamenti mi ha dato un'errore,questo:

W: Errore GPG: http://packages.medibuntu.org hardy Release: Le seguenti firme non sono state verificate perché la chiave pubblica non è disponibile: NO_PUBKEY 2EBC26B60C5A2783

credo proprio che posterò la source.list:

# deb cdrom:[Xubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

# Line commented out by installer because it failed to verify:
# deb http://it.archive.ubuntu.com/ubuntu/ hardy main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://it.archive.ubuntu.com/ubuntu/ hardy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
# Line commented out by installer because it failed to verify:
deb http://it.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
# Line commented out by installer because it failed to verify:
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy-updates main restricted

## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# Line commented out by installer because it failed to verify:
# deb http://it.archive.ubuntu.com/ubuntu/ hardy universe
# Line commented out by installer because it failed to verify:
# deb-src http://it.archive.ubuntu.com/ubuntu/ hardy universe
# Line commented out by installer because it failed to verify:
deb http://it.archive.ubuntu.com/ubuntu/ hardy-updates universe
# Line commented out by installer because it failed to verify:
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy-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.
# Line commented out by installer because it failed to verify:
deb http://it.archive.ubuntu.com/ubuntu/ hardy multiverse
# Line commented out by installer because it failed to verify:
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy multiverse
# Line commented out by installer because it failed to verify:
deb http://it.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
# Line commented out by installer because it failed to verify:
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy-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/ hardy-backports main restricted universe multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ hardy-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 hardy partner
deb-src http://archive.canonical.com/ubuntu hardy partner

# Line commented out by installer because it failed to verify:
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
# Line commented out by installer because it failed to verify:
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
# Line commented out by installer because it failed to verify:
deb http://security.ubuntu.com/ubuntu hardy-security universe
# Line commented out by installer because it failed to verify:
deb-src http://security.ubuntu.com/ubuntu hardy-security universe
# Line commented out by installer because it failed to verify:
deb http://security.ubuntu.com/ubuntu hardy-security multiverse
# Line commented out by installer because it failed to verify:
deb http://it.archive.ubuntu.com/ubuntu/ hardy main universe restricted multiverse
deb http://security.ubuntu.com/ubuntu/ hardy-security universe main multiverse restricted
deb http://it.archive.ubuntu.com/ubuntu/ hardy-updates universe main multiverse restricted
deb http://it.archive.ubuntu.com/ubuntu/ hardy-proposed universe main multiverse restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse

ricordo a tutti che il mio è un'upgrade da gutsy ad hardy, xubuntu ovviamente.
come sempre ringrazio tutti quelli che potranno consigliarmi...come ad un bimbo dell'asilo.

Gimli[2BV!2B]
06-07-2008, 21:00
Non è un errore fatale, si tratta di un avvertimento del fatto che non hai registrato la chiave del repository medibuntu.

Da qualche tempo i repository firmano i pacchetti che forniscono con una chiave privata, per permettere di controllare che ciò che scarichi arrivi veramente da dove credi. (http://wiki.debian.org/SecureApt)
Per poter controllare quanto firmato con la chiave privata è necessario procurarsi la corrispondente chiave pubblica; se questa chiave non ce l'hai apt te lo fa sapere.

Come riportato nella guida ufficiale sull'aggiunta del Medibuntu (https://help.ubuntu.com/community/Medibuntu), questo comando fa tutto il necessario (e anche più)
sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

poldosbaffini
07-07-2008, 00:09
Gimli,se mi perdoni di aver scritto male il tuo nick,allora ti posso chiedere ancora qualcosina.;P
la mia source.list,non ti sembra che abbia delle voci doppie?Non potrebbe creare problemi?
Quel comando che mi hai suggerito ha risolto quell'errore di medibuntu.Per quanto riguarda il gestore aggiornamenti, nelle proprietà, sorgenti software,aggiornamenti,non riesco a selezionare gli aggiornamenti di sicurezza importanti (Hardy security).E' normale?

jeremy.83
07-07-2008, 08:17
Il tuo sources.list è un po' incasinato, rimediabile, ma fai prima a sostituirlo con questo:
##HARDY SUPPORTED
deb http://it.archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy main restricted

##HARDY SUPPORTED - UPDATES
deb http://it.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy-updates main restricted

##HARDY SUPPORTED - PROPOSED
deb http://it.archive.ubuntu.com/ubuntu/ hardy-proposed main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy-proposed main restricted

##HARDY SUPPORTED - SECURITY
deb http://security.ubuntu.com/ubuntu/ hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu/ hardy-security main restricted

##HARDY COMMUNITY SUPPORTED
deb http://it.archive.ubuntu.com/ubuntu/ hardy universe multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy universe multiverse

##HARDY COMMUNITY SUPPORTED - UPDATES
deb http://it.archive.ubuntu.com/ubuntu/ hardy-updates universe multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy-updates universe multiverse

##HARDY COMMUNITY SUPPORTED - PROPOSED
deb http://it.archive.ubuntu.com/ubuntu/ hardy-proposed universe multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy-proposed universe multiverse

##HARDY COMMUNITY SUPPORTED - SECURITY
deb http://security.ubuntu.com/ubuntu/ hardy-security universe multiverse
deb-src http://security.ubuntu.com/ubuntu/ hardy-security universe multiverse

##BACKPORTS
deb http://it.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

##TOR
deb http://mirror.noreply.org/pub/tor hardy main
deb-src http://mirror.noreply.org/pub/tor hardy main

##MEDIBUNTU
deb http://packages.medibuntu.org/ hardy free non-free
deb-src http://packages.medibuntu.org/ hardy free non-free

##CANONICAL
deb http://archive.canonical.com/ubuntu/ hardy partner
Salvato il sources.list digita questi:
wget http://download.tuxfamily.org/3v1deb/DD800CD9.gpg -O- | sudo apt-key add -

gpg --keyserver hkp://wwwkeys.eu.pgp.net --recv-keys 0x483170E9
gpg --export -a 0x483170E9 | sudo apt-key add -

gpg --keyserver subkeys.pgp.net --recv 94C09C7F
gpg --fingerprint 94C09C7F
gpg --export 94C09C7F | sudo apt-key add -

wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -

Fatto questo la magica triade:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade