Upgrading Ubuntu from Dapper to Edgy with apt-get Aktualizacja Ubuntu z Dapper do Edgy z apt-get
Important Note : According to the Ubuntu Help: Ważna uwaga: Zgodnie z pomocy Ubuntu:
Please note – this method is much less reliable. Uwaga - ta metoda jest dużo mniej wiarygodne. If you use this method, you MUST be prepared to fix problems manually, such as packages being unexpectedly removed. Jeśli korzystasz z tej metody, musi być przygotowany do rozwiązywania problemów z ręcznie, takich jak pakiety są nieoczekiwanie usunięte. Using Korzystanie Update Manager Update Manager is likely to be much less problematic. może być o wiele mniej problemów.
Before you read this HowTo, you may want to consider installing using the Zanim czytać ten dokument, możesz rozważyć zainstalowanie za pomocą GUI with Update Manager GUI z Update Manager , which is probably a simpler method for regular users. , Co jest prawdopodobnie prostsze metody dla zwykłych użytkowników.
If you are a power user, then let's move on. Jeśli władza użytkownik, a następnie zajmiemy się. First, we'll need to install ubuntu-desktop if it's not already installed because otherwise there will be a dependencies problem. Po pierwsze, musimy zainstalować ubuntu-desktop, jeśli nie jest już zainstalowany, ponieważ inaczej nie będzie problemu zależności.
sudo apt-get install ubuntu-desktop sudo apt-get install ubuntu-desktop
Now we'll need to run a command that will change all the occurrences of dapper to edgy in our sources.list file. Teraz musimy uruchomić polecenie, które zmieni wszystkie wystąpienia dapper na edgy w naszym pliku sources.list. If you aren't familiar, sources.list is the file that points to your list of possible upgrades and packages. Jeśli nie znasz, sources.list jest plikiem, który wskazuje na liście potencjalnych uaktualnień i pakietów. For windows users, you can think of it as the file that points to Windows Update. Dla użytkowników systemu Windows, możesz pomyśleć o tym, co plik, który wskazuje na Windows Update. Of course, if you are a windows user, you should really install with the Update Manager utility linked above. Oczywiście, jeśli jesteś użytkownikiem systemu Windows, należy zainstalować naprawdę z narzędzia Manager związane powyżej.
sudo sed -e 's/\sdapper/ edgy/g' -i /etc/apt/sources.list sudo sed-e 's / \ sdapper / edgy / g'-i / etc / apt / sources.list
Now we'll perform the actual upgrades: Teraz wykonujemy rzeczywistej modernizacji:
sudo apt-get update && sudo apt-get dist-upgrade sudo apt-get update & & sudo apt-get dist-upgrade
The && part of the command means that the second command will run after the first as long as the first command completes successfully. & & Część polecenia oznacza, że drugie polecenie będzie uruchamiane po pierwsze, o ile pierwsze polecenie zakończy się pomyślnie.
Now we'll finish up the upgrade with a few more commands: Teraz zajmiemy się skończyć upgrade z kilku komend więcej:
sudo apt-get -f install sudo apt-get-f install
sudo dpkg –configure -a sudo dpkg-configure-a
Note that the –configure is actually two dashes. Zauważ, że-configure faktycznie dwa myślniki. For some reason Wordpress makes it look like a single dash. Z jakiegoś powodu Wordpress sprawia, że wygląda jak jedna kreska.
Reboot, and you are all done! Uruchom ponownie, a wy wszyscy jesteście gotowe!
Note: I've seen some notes that this upgrade doesn't work very well for people running Ubuntu as a Guest in VMWare with VMWare tools installed. Uwaga: Widziałem kilka zauważa, że ta aktualizacja nie działa bardzo dobrze dla ludzi działających na Ubuntu jako gość w VMWare z narzędziami zainstalowany VMWare. I tested it out and came to the same conclusion, no fix as of yet. Przetestowałem ją i wszedł do tego samego wniosku, nie ustala się na jeszcze.
Update: Aktualizacja:
If upgrading gives you the error message “failed to load module GLcore”, you will want to run these commands. W przypadku modernizacji daje komunikat o błędzie "Nie można załadować modułu GLcore", będziemy chcieli, aby uruchomić te polecenia. Thanks for this tip to Dzięki za tę poradę do Biogeek Biogeek in the comments below. w komentarzach poniżej.
apt-get install xfs apt-get install xfs
apt-get install –reinstall xfonts-base apt-get install-ponowna xfonts-base

Daily Email Updates Daily Email Updates
You can get our how-to articles in your inbox each day for free. Możesz pobrać nasze instrukcje postępowania w skrzynce odbiorczej codziennie za darmo. Just enter your name and email below: Wystarczy podać swoje imię i adres e-mail:



How can you tell if the upgrade was successful? Jak można sprawdzić, czy aktualizacja została pomyślnie?
Hmm, this broke my installation. Hmm, to złamałam instalacji. I got the errors “failed to load module GLcore” and “could not open default font fixed”. Mam błędów "nie udało się załadować modułu GLcore" i "nie może otworzyć domyślną czcionkę trwałe". Bug hunting via Lynx brougth the Wyszukiwanie błędów przez Lynx brougth solution roztwór : :
apt-get install xfs (which surprisingly did not appear to be already installed!) apt-get install xfs (co zaskakujące nie wydaje się być już zainstalowany!)
apt-get install –reinstall xfonts-base apt-get install-ponowna xfonts-base
after that startx brougth me my GUI back. po startx brougth mnie plecy GUI.
Prefer aptitude. Wolisz umiejętności. And use th es flag to simulate the action and see if nothing gets broken before. I wykorzystania th banderą es do symulacji działania i sprawdzić, czy nie wystąpią przed podziałem.
Please change your “sudo dpkg –configure -a” with the working version “sudo dpkg –configure -a” Proszę zmienić "dpkg-configure-a" z wersji roboczych "dpkg-configure-a"
I'm sure one or two may not realize that this is required and waste many unrecoverable moments of their lives with a doomed command. Jestem pewien, że jeden lub dwa mogą nie dostrzec, że jest to konieczne i odpady wiele nieodwracalnych chwilach swego życia z góry skazane polecenia.
wes, Wes
Thanks for the head's up on that. Thanks for the head się w tej sprawie. Turns out Wordpress was converting it into a single dash. Okazuje się, Wordpress było przekształcenie go w jednej desce rozdzielczej. Very annoying. Very annoying.
Geek Geek