Gnu/Linux Ubuntu - aggiornare a Feisty 7.04 senza problemi

Gnu/Lunux Ubuntu - aggiornare a Feisty 7.04 senza problemi

Questa mattina ho provveduto ad aggiornare la mia Edgy 6.10 alla Feisty 7.04 . Ho eseguito un aggiornamento da shell, senza usare adept o simile.

Attenzione, è possibile solo aggioranare da Edgy a Feisty. In caso si abbia la Dapper, cioè la 6.06, è necessario prima passare ad edgy e poi a Feisty.

In questa piccola guida vorrei spiegare come eseguire l’aggiornamento senza intoppi. La guida è valida per tutte le versioni di Ubuntu / Kubuntu / Xubuntu 6.10 da aggiornare alla 7.04.

Allora, pre prima cosa è necessario eseguire una copia del file sources.list che contiene l’elenco dei link , detti repositories, per poter scaricare i pacchetti, e poi modificarlo adeguatamente per l’aggiornamento.

Apriamo quindi una shell / console e digitiamo:

sudo cp /etc/aaaapt/sources.list /etc/apt/sources.list.bak

premendo invio viene richiesta la password, inserita la pass corretta viene duplicato il file sources.list, la copia verrà chiamata sources.list.bak

successivamente si digita

sudo nano /etc/aaaapt/sources.list

per visualizzare ed eventualmente modificare il file sources.list

il mio era così:

# Ubuntu supported packages (GPG key: 437D05B5)
deb http://archive.ubuntu.com/ubuntu edgy main restricted
deb http://archive.ubuntu.com/ubuntu edgy-updates main restricted
deb http://archive.ubuntu.com/ubuntu edgy-security main restricted
deb http://archive.ubuntu.com/ubuntu edgy-proposed main restricted
deb-src http://archive.ubuntu.com/ubuntu edgy main restricted
deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu edgy-security main restricted
deb-src http://archive.ubuntu.com/ubuntu edgy-proposed main restricted
# Ubuntu community supported packages (GPG key: 437D05B5)
deb http://archive.ubuntu.com/ubuntu edgy universe multiverse
deb http://archive.ubuntu.com/ubuntu edgy-updates universe multiverse
deb http://archive.ubuntu.com/ubuntu edgy-security universe multiverse
deb http://archive.ubuntu.com/ubuntu edgy-proposed universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy-updates universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy-security universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy-proposed universe multiverse

# kubuntu.org packages for the latest KDE version (GPG key: DD4D5088)
deb http://kubuntu.org/packages/kde-latest edgy main
deb-src http://kubuntu.org/packages/kde-latest edgy main
deb http://kubuntu.org/packages/kde4-3.80.2 ./

# kubuntu.org packages for the latest amaroK version (GPG key: DD4D5088)
deb http://kubuntu.org/packages/amarok-latest edgy main
deb-src http://kubuntu.org/packages/amarok-latest edgy main
deb http://kubuntu.org/packages/amarok-144 edgy main

# Bleeding edge wine packages
deb http://wine.budgetdedicated.com/apt edgy main
deb-src http://wine.budgetdedicated.com/apt edgy main

# amule adunanza - marleylandia
# dapper:
# deb http://amule-adunanza.marleylandia.com/ubuntu/adu3.11b dapper/
# edgy:
deb http://amule-adunanza.marleylandia.com/ubuntu/ramko-sonne/3.11b/edgy i386/

# frozen bubble
# dapper
# deb http://mirror.randumb.org/darkmagez/repo dapper-darkmagez games
# edgy
deb http://mirror.randumb.org/darkmagez/repo edgy-darkmagez games

#compiz
#deb http://gandalfn.club.fr/ubuntu/ edgy stable
#deb-src http://gandalfn.club.fr/ubuntu/ edgy stable

nonostante la lunghezza del file si nota che i repo inseriti sono tutti per Edgy, io ho lasciato quindi solo il primo gruppo, quelli su archive.ubuntu.com che è l’unico server ufficiale. Ho quindi commentato tutti gli altri anteponendo un cancelletto, cioè #, davanti ad ogni riga.

Il file è quindi diventato così:

# Ubuntu supported packages (GPG key: 437D05B5)
deb http://archive.ubuntu.com/ubuntu edgy main restricted
deb http://archive.ubuntu.com/ubuntu edgy-updates main restricted
deb http://archive.ubuntu.com/ubuntu edgy-security main restricted
deb http://archive.ubuntu.com/ubuntu edgy-proposed main restricted
deb-src http://archive.ubuntu.com/ubuntu edgy main restricted
deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu edgy-security main restricted
deb-src http://archive.ubuntu.com/ubuntu edgy-proposed main restricted
# Ubuntu community supported packages (GPG key: 437D05B5)
deb http://archive.ubuntu.com/ubuntu edgy universe multiverse
deb http://archive.ubuntu.com/ubuntu edgy-updates universe multiverse
deb http://archive.ubuntu.com/ubuntu edgy-security universe multiverse
deb http://archive.ubuntu.com/ubuntu edgy-proposed universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy-updates universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy-security universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy-proposed universe multiverse

# kubuntu.org packages for the latest KDE version (GPG key: DD4D5088)
#deb http://kubuntu.org/packages/kde-latest edgy main
#deb-src http://kubuntu.org/packages/kde-latest edgy main
#deb http://kubuntu.org/packages/kde4-3.80.2 ./

# kubuntu.org packages for the latest amaroK version (GPG key: DD4D5088)
#deb http://kubuntu.org/packages/amarok-latest edgy main
#deb-src http://kubuntu.org/packages/amarok-latest edgy main
#deb http://kubuntu.org/packages/amarok-144 edgy main

# Bleeding edge wine packages
#deb http://wine.budgetdedicated.com/apt edgy main
#deb-src http://wine.budgetdedicated.com/apt edgy main

# amule adunanza - marleylandia
# dapper:
# deb http://amule-adunanza.marleylandia.com/ubuntu/adu3.11b dapper/
# edgy:
#deb http://amule-adunanza.marleylandia.com/ubuntu/ramko-sonne/3.11b/edgy i386/

# frozen bubble
# dapper
# deb http://mirror.randumb.org/darkmagez/repo dapper-darkmagez games
# edgy
#deb http://mirror.randumb.org/darkmagez/repo edgy-darkmagez games

#compiz
#deb http://gandalfn.club.fr/ubuntu/ edgy stable
#deb-src http://gandalfn.club.fr/ubuntu/ edgy stable

successivamente si modifica tuttal a porzione che richiama archive.ubuntu.com sostituendo edgy con feisty

il file pertanto diventerà così

# Ubuntu supported packages (GPG key: 437D05B5)
deb http://archive.ubuntu.com/ubuntu feisty main restricted
deb http://archive.ubuntu.com/ubuntu feisty-updates main restricted
deb http://archive.ubuntu.com/ubuntu feisty-security main restricted
deb http://archive.ubuntu.com/ubuntu feisty-proposed main restricted
deb-src http://archive.ubuntu.com/ubuntu feisty main restricted
deb-src http://archive.ubuntu.com/ubuntu feisty-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu feisty-security main restricted
deb-src http://archive.ubuntu.com/ubuntu feisty-proposed main restricted
# Ubuntu community supported packages (GPG key: 437D05B5)
deb http://archive.ubuntu.com/ubuntu feisty universe multiverse
deb http://archive.ubuntu.com/ubuntu feisty-updates universe multiverse
deb http://archive.ubuntu.com/ubuntu feisty-security universe multiverse
deb http://archive.ubuntu.com/ubuntu feisty-proposed universe multiverse
deb-src http://archive.ubuntu.com/ubuntu feisty universe multiverse
deb-src http://archive.ubuntu.com/ubuntu feisty-updates universe multiverse
deb-src http://archive.ubuntu.com/ubuntu feisty-security universe multiverse
deb-src http://archive.ubuntu.com/ubuntu feisty-proposed universe multiverse

# kubuntu.org packages for the latest KDE version (GPG key: DD4D5088)
#deb http://kubuntu.org/packages/kde-latest edgy main
#deb-src http://kubuntu.org/packages/kde-latest edgy main
#deb http://kubuntu.org/packages/kde4-3.80.2 ./

# kubuntu.org packages for the latest amaroK version (GPG key: DD4D5088)
#deb http://kubuntu.org/packages/amarok-latest edgy main
#deb-src http://kubuntu.org/packages/amarok-latest edgy main
#deb http://kubuntu.org/packages/amarok-144 edgy main

# Bleeding edge wine packages
#deb http://wine.budgetdedicated.com/apt edgy main
#deb-src http://wine.budgetdedicated.com/apt edgy main

# amule adunanza - marleylandia
# dapper:
# deb http://amule-adunanza.marleylandia.com/ubuntu/adu3.11b dapper/
# edgy:
#deb http://amule-adunanza.marleylandia.com/ubuntu/ramko-sonne/3.11b/edgy i386/

# frozen bubble
# dapper
# deb http://mirror.randumb.org/darkmagez/repo dapper-darkmagez games
# edgy
#deb http://mirror.randumb.org/darkmagez/repo edgy-darkmagez games

#compiz
#deb http://gandalfn.club.fr/ubuntu/ edgy stable
#deb-src http://gandalfn.club.fr/ubuntu/ edgy stable

una volta modificato il sources.list è necessario premere CTRL+X e premere S e poi invio per confermare la scrittura del file

adesso arriva la parte più delicata, l’aggiornamento

prima si deve scaricare l’elenco dei pacchetti disponibili con

sudo apt-get update

è necessario che il download dell’elenco dei pacchetti dia esisto positivo. digitare la password nel caso la chieda.

successivamente si aggiornano i pacchetti con

sudo apt-get upgrade

e premere S seguito da invio per confermare l’operazione

al termine ripetere di nuovo

sudo apt-get upgrade

per verificare che non ci siano pacchetti da aggiornare

procedere con l’aggiornamento della distribuzione digitando

sudo apt-get dist-upgrade

e premere S seguito da invio per confermare l’operazione

al termine ripetere di nuovo

sudo apt-get dist-upgrade

per verificare che non ci siano pacchetti da aggiornare

Una volta eseguite queste operazioni è necessario riavviare. al riavvio si avrà la nuova Feisty.

Dopo aver riavviato è possibile verificare la versione di ubuntu installata. Aprire sempre una shell / console e digitare

lsb_release -a

deve restituire:

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 7.04
Release: 7.04
Codename: feisty

Buon aggiornamento! :-)

Lascia un commento

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word