User Tools

Site Tools


user:maxfx:upgrade-ubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
user:maxfx:upgrade-ubuntu [2017/08/18 18:36] – [My way] maxfxuser:maxfx:upgrade-ubuntu [2019/07/18 14:24] – old revision restored (2018/10/06 19:23) maxfx
Line 3: Line 3:
 Yes upgrade from 14.04 to 16.04 isnt problem sometimes ...  Yes upgrade from 14.04 to 16.04 isnt problem sometimes ... 
  
-====== Upgrade fucking Ubuntu from 14.04 to 16.04 ======+===== My way ===== 
 + 
 +<code> 
 +sudo apt-get update && upgrade ... 
 +</code> 
 + 
 +<code> 
 +sudo apt-get dist-upgrade 
 +</code> 
 + 
 +<code> 
 +sudo do-release-upgrade  
 + 
 +</code> 
 +Checking for a new Ubuntu release ...  
 + 
 +Downloaded milion packages for new version ubuntu... maybe 1200 and more ..  
 + 
 +next process was "dpkg: error processsing package  ... (--configure)" wtf ?  
 + 
 +Problem was in mixed package between 14.04 version and 16.04 version! 
 + 
 +[[https://answers.launchpad.net/ubuntu/+question/395832]] 
 + 
 +Ok reboot to recovery ubuntu and repair packages with apt-get and "relocation error ... " wtf... 
 + 
 +<code> 
 +apt-get: relocation error: /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0: symbol _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareERKS4_, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference 
 + 
 +solutions:  
 +sudo dpkg -i libstdc++6_5.3.1-14ubuntu2.1_amd64.deb 
 + 
 +</code> 
 + 
 +ok next bugs ... next problem is half packages from 14.04 and next half 16.04 ubuntu ... 
 + 
 +ok apt-get failed system says : 
 +<code> 
 +sudo dpkg --configure -a 
 +</code> 
 + 
 +This command removed old packages from 14.04  
 + 
 +and next problem is "broken snapd and freezing"  What The Fuck ? maybe [[https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1673247]] 
 + 
 +<code> 
 +sudo apt-get remove -f snapd 
 +</code> 
 + 
 +and next 
 +  
 +<code> 
 +sudo dpkg --configure -a 
 +</code> 
 + 
 +uf dpkg reinstaling packages but ...  waiting 1.2.3.5.minutes.. braille freezed [[https://askubuntu.com/questions/731671/botched-upgrade-dpkg-hangs-on-started-braille-device-support]] 
 +<code> 
 +[  OK  ] Started Braille Device Support. 
 +</code> 
 + 
 +oh my God ... 
 + 
 +<code> 
 +sudo apt-get remove -f brltty 
 +</code> 
 + 
 +ok reinstalling with dpkg and apt-get and now reboot to "new version :-) " , login to system and again freezed .... back to recovery. 
 + 
 +I turn  networking in recovey mode but from terminal "grep /etc/resolv.conf no such file or directory .... "  what the hell is ? 
 + 
 +ok solution 
 +<code> 
 +dpkg-reconfigure resolvconf 
 +resolvconf -u 
 +</code> 
 + 
 +next step reinstalling ubuntu-desktop  
 +<code> 
 +sudo apt-get install --reinstall ubuntu-desktop unity compizconfig-settings-manager 
 +</code> 
 + 
 +reboot and freezing again after login ... lol [[https://askubuntu.com/questions/449845/problems-after-upgrading-to-14-04-only-background-and-pointer-after-login]] 
 + 
 +<code> 
 +Fix 1 - Compiz Problems (OpenGL module not loading, Unity plugin not loading) 
 + 
 +sudo rm -fr ~/.cache/compizconfig-1 
 +sudo rm -fr ~/.compiz 
 +Fix 2 - Session not loading (Guest session loads fine) 
 + 
 +sudo rm -fr ~/.Xauthority 
 +sudo rm -fr ~/.config/autostart 
 +Fix 3 - Session not loading (Guest not loading) 
 + 
 +sudo apt-get install --reinstall ubuntu-desktop unity compizconfig-settings-manager upstart 
 +Fix 4 - Launcher / Top Panel not loading (Nvidia cards) 
 + 
 +sudo add-apt-repository ppa:xorg-edgers/ppa -y 
 +sudo apt-get update 
 +sudo apt-get install nvidia-340 
 +sudo reboot 
 +Fix 5 - Clearing Unity 
 + 
 +dconf reset -f /org/compiz/ 
 +setsid unity 
 +Fix 6 - Clearing the Cache 
 + 
 +sudo rm -fr .cache/* 
 +</code> 
 + 
 +This is all :-). 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
  
-Yes upgrade from 14.04 to 16.04 isnt problem sometimes …