Upgrading Ubuntu from Dapper to Edgy with apt-get Prechod z Ubuntu Dapper na Edgy s apt-get
Important Note : According to the Ubuntu Help: Dôležitá poznámka: Podľa Pomocníka Ubuntu:
Please note – this method is much less reliable. Majte prosím na pamäti - táto metóda je oveľa menej spoľahlivé. If you use this method, you MUST be prepared to fix problems manually, such as packages being unexpectedly removed. Ak použijete túto metódu, musíte byť pripravení riešiť problémy ručne, ako sú napríklad obaly sú nečakane odstránené. Using Použitie Update Manager Update Manager is likely to be much less problematic. Je pravdepodobné, že bude oveľa menej problematická.
Before you read this HowTo, you may want to consider installing using the Ako budete čítať tento návod, možno budete chcieť zvážiť inštaláciu používate GUI with Update Manager GUI s Update Manager , which is probably a simpler method for regular users. , Což je asi jednoduchšia metóda pre pravidelných užívateľov.
If you are a power user, then let's move on. Ak ste pokročilý používateľ, tak poďme ďalej. First, we'll need to install ubuntu-desktop if it's not already installed because otherwise there will be a dependencies problem. Po prvé, budeme musieť nainštalovať ubuntu-desktop, ak už nie je nainštalovaná, pretože inak tam bude problém závislosti.
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 budeme musieť spustiť príkaz, ktorý sa bude meniť všetky výskyty sarge na edgy v našom súbore sources.list. If you aren't familiar, sources.list is the file that points to your list of possible upgrades and packages. Ak nie ste oboznámení, sources.list je súbor, ktorý ukazuje na zozname možných aktualizácií a balíkov. For windows users, you can think of it as the file that points to Windows Update. Pre používateľov systému Windows, môžete si ju predstaviť ako súbor, ktorý ukazuje na Windows Update. Of course, if you are a windows user, you should really install with the Update Manager utility linked above. Samozrejme, ak ste užívateľmi systému Windows, mali by ste naozaj nainštalovať pomocou nástroja Update Manager súvisí vyššie.
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 budeme vykonávať vlastné upgrady:
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. & & Časť príkazu znamená, že druhý príkaz sa spustí po prvom, ak prvý príkaz úspešne dokončí.
Now we'll finish up the upgrade with a few more commands: Teraz budeme dojíst upgrade sa niekoľko príkazov:
sudo apt-get -f install sudo apt-get-f install
sudo dpkg –configure -a sudo dpkg-configure --
Note that the –configure is actually two dashes. Všimnite si, že je-configure vlastne dve čiarky. For some reason Wordpress makes it look like a single dash. Z nejakého dôvodu Wordpress robí to vyzeralo, že jediné pomlčkou.
Reboot, and you are all done! Reštartujte počítač a máte hotovo!
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. Poznámka: Videl som pár konštatuje, že tento upgrade nefunguje dobre pre ľudí prevádzkujúce Ubuntu ako hosť v VMWare s nástrojmi VMWare nainštalovaný. I tested it out and came to the same conclusion, no fix as of yet. Testoval som to, a dospel k rovnakému záveru, žiadna oprava ako přesto.
Update: Aktualizácia:
If upgrading gives you the error message “failed to load module GLcore”, you will want to run these commands. Ak sa vám upgrade chybové hlásenie "Nepodarilo sa načítať modul GLcore", budete chcieť spustiť tieto príkazy. Thanks for this tip to Vďaka za tip na tento Biogeek Biogeek in the comments below. v poznámkach nižšie.
apt-get install xfs apt-get install xfs
apt-get install –reinstall xfonts-base apt-get install-preinštalovať xfonts-base

Daily Email Updates Denný Svářeč
You can get our how-to articles in your inbox each day for free. Môžete si naše jak-na články vo vašej schránky každý deň zadarmo. Just enter your name and email below: Stačí zadať svoje meno a e-mail nižšie:



How can you tell if the upgrade was successful? Ako môžete povedať, či upgrade bola úspešná?
Hmm, this broke my installation. Hmm, to mi zlomil inštalácie. I got the errors “failed to load module GLcore” and “could not open default font fixed”. Dostal som chyby "sa nepodarilo načítať modul GLcore" a "nemožno otvoriť štandardné písmo pevné". Bug hunting via Lynx brougth the Bug lov cez Lynx brougth solution Riešenie : :
apt-get install xfs (which surprisingly did not appear to be already installed!) apt-get install xfs (ktorý prekvapivo Nezdalo sa, že je už nainštalovaná!)
apt-get install –reinstall xfonts-base apt-get install-preinštalovať xfonts-base
after that startx brougth me my GUI back. Po tomto startx brougth mi GUI späť.
Prefer aptitude. Preferovať aptitude. And use th es flag to simulate the action and see if nothing gets broken before. A použitie th es flag simulovať akcie a uvidíme, či sa nič zlomené predtým.
Please change your “sudo dpkg –configure -a” with the working version “sudo dpkg –configure -a” Prosím, zmeňte "sudo dpkg-configure-a" s pracovnou verziou "sudo 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. Som si istý, jedno alebo dve nemusí uvedomiť, že je to potrebné a odpad veľa nezvratných okamihy svojho života s príkazom odsúdený na zánik.
wes, Wes
Thanks for the head's up on that. Vďaka za hlavu záleží na tom. Turns out Wordpress was converting it into a single dash. Ukázalo sa, že Wordpress je prevod do jediného pomlčkou. Very annoying. Veľmi nepríjemné.
Geek Geek