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 19:25] – [My way] maxfxuser:maxfx:upgrade-ubuntu [2019/07/18 14:24] – old revision restored (2018/10/06 19:23) maxfx
Line 24: Line 24:
  
 Problem was in mixed package between 14.04 version and 16.04 version! 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... Ok reboot to recovery ubuntu and repair packages with apt-get and "relocation error ... " wtf...
Line 34: Line 36:
  
 </code> </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 :-).
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +