Difference between revisions of "Joule Linux Reinstall June 2019"

From wikidb
Jump to: navigation, search
(Install ROS)
(Install Ubuntu)
Line 7: Line 7:
 
* [http://emanual.robotis.com/docs/en/platform/turtlebot3/joule_setup/#install-linux-ubuntu Joule Install Ubuntu]
 
* [http://emanual.robotis.com/docs/en/platform/turtlebot3/joule_setup/#install-linux-ubuntu Joule Install Ubuntu]
 
* [http://emanual.robotis.com/docs/en/platform/turtlebot3/step_by_step_to_install_ubuntu_on_joule Step by Step Linux Install]
 
* [http://emanual.robotis.com/docs/en/platform/turtlebot3/step_by_step_to_install_ubuntu_on_joule Step by Step Linux Install]
 +
 +
= Create USB Install Disk =
 +
 +
* [http://emanual.robotis.com/docs/en/platform/turtlebot3/joule_setup/#install-linux-ubuntu Emanual Robotis Turtlebot3 section 6.2.2.1 Install Linus (ubuntu)]
 +
** [http://people.canonical.com/~platform/snappy/tuchuck/desktop-final/tuchuck-xenial-desktop-iso-20170317-0.iso Download Ubuntu 16.04 for Intel Joule]
  
 
= Install Ubuntu =
 
= Install Ubuntu =

Revision as of 15:45, 11 June 2019

Why

Screwed up Linux while working on the Open Manipulator. I messed up the Linux upgrade to match the OpenCR waffle version. Decided to use my old 16.04 install USB dongle to bring things to a know consistent state. Not interested in supporting the Joule long term but to preserve a demo system while exploring ROS 2 on an alternative processor.

References

Create USB Install Disk

Install Ubuntu

  • Unplugged LIDAR from TB3 USH hub
  • Plugged in the Joule Unubutu Install USB image into the Hub
  • Rebooted
  • Tapped F7 until the installed booted up
  • See step by Step instructions above for details

Fix Problems

See Turtlebot3_Setup#Problems

  • Did the Bay Trail Freeze fix
    • don't forget to udate-grub
  • On Brightness & Lock setting screen
    • Set "Turn screen off when inactive" to Never
    • Turned Lock off

Install ROS

 $ sudo apt-get update     check
 $ sudo apt-get upgrade
     Preparing to unpack .../perl-modules-5.22_5.22.1-9ubuntu0.6_all.deb ...
     Unpacking perl-modules-5.22 (5.22.1-9ubuntu0.6) over (5.22.1-9) ...
     Preparing to unpack .../libc6-dbg_2.23-0ubuntu11_amd64.deb ...
     Unpacking libc6-dbg:amd64 (2.23-0ubuntu11) over (2.23-0ubuntu5) ...
     Preparing to unpack .../libc6-dev_2.23-0ubuntu11_amd64.deb ...
     Unpacking libc6-dev:amd64 (2.23-0ubuntu11) over (2.23-0ubuntu5) ...
     Preparing to unpack .../libc-dev-bin_2.23-0ubuntu11_amd64.deb ...
     Unpacking libc-dev-bin (2.23-0ubuntu11) over (2.23-0ubuntu5) ...
     Preparing to unpack .../linux-libc-dev_4.4.0-150.176_amd64.deb ...
     Unpacking linux-libc-dev:amd64 (4.4.0-150.176) over (4.4.0-67.88) ...
     Preparing to unpack .../libc6-i386_2.23-0ubuntu11_amd64.deb ...
     Unpacking libc6-i386 (2.23-0ubuntu11) over (2.23-0ubuntu5) ...
     Preparing to unpack .../libc6_2.23-0ubuntu11_amd64.deb ...
     Unpacking libc6:amd64 (2.23-0ubuntu11) over (2.23-0ubuntu5) ...
     Setting up libc6:amd64 (2.23-0ubuntu11) ...
     Processing triggers for libc-bin (2.23-0ubuntu5) ...
     Processing triggers for man-db (2.7.5-1) ...
     (Reading database ... 189799 files and directories currently installed.)
     Preparing to unpack .../libdb5.3_5.3.28-11ubuntu0.2_amd64.deb ...
     Unpacking libdb5.3:amd64 (5.3.28-11ubuntu0.2) over (5.3.28-11) ...
     Processing triggers for libc-bin (2.23-0ubuntu5) ...
     Setting up libdb5.3:amd64 (5.3.28-11ubuntu0.2) ...
     E: Sub-process /usr/bin/dpkg exited unexpectedly


 $ wget https://raw.githubusercontent.com/ROBOTIS-GIT/robotis_tools/master/install_ros_kinetic.sh 
 $ chmod 755 ./install_ros_kinetic.sh 
 $ bash ./install_ros_kinetic.sh

again

    1  sudo apt-get install emacs
    2  cd /etc/default/
    3  sudo cp grub grub.org
    4  sudo emacs grub
    5  sudo update-grub
    6  diff grub grub.org
    7  sudo apt-get update
    8  sudo apt-get upgrade
    9  mkdir tmp
   10  ll -la
   11  chown eepp:eepp .emacs*
   12  sudo chown eepp:eepp .emacs*
   13  history

Unpacking libc6:amd64 (2.23-0ubuntu11) over (2.23-0ubuntu5) ...
Setting up libc6:amd64 (2.23-0ubuntu11) ...
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Processing triggers for man-db (2.7.5-1) ...
(Reading database ... 189799 files and directories currently installed.)
Preparing to unpack .../libdb5.3_5.3.28-11ubuntu0.2_amd64.deb ...
Unpacking libdb5.3:amd64 (5.3.28-11ubuntu0.2) over (5.3.28-11) ...
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Setting up libdb5.3:amd64 (5.3.28-11ubuntu0.2) ...
Processing triggers for libc-bin (2.23-0ubuntu5) ...
dpkg: error processing archive /var/cache/apt/archives/zlib1g_1%3a1.2.8.dfsg-2ubuntu4.1_amd64.deb (--unpack):
 subprocess dpkg-split returned error exit status 4
E: Sub-process /usr/bin/dpkg returned an error code (1)
eepp@box:~$ mkdir tmp
eepp@box:~$ ll -la
total 128
drwxr-xr-x 19 eepp eepp 4096 Jun  6 13:05 ./
drwxr-xr-x  3 root root 4096 Feb 19  2017 ../
-rw-------  1 eepp eepp  118 Jun  6 12:41 .bash_history
-rw-r--r--  1 eepp eepp  220 Feb 19  2017 .bash_logout
-rw-r--r--  1 eepp eepp 3771 Feb 19  2017 .bashrc
drwx------ 12 eepp eepp 4096 Jun  6 12:39 .cache/
drwx------ 15 eepp eepp 4096 Feb 19  2017 .config/
drwx------  3 root root 4096 Jun  6 12:39 .dbus/
drwxr-xr-x  2 eepp eepp 4096 Feb 19  2017 Desktop/
-rw-r--r--  1 eepp eepp   25 Feb 19  2017 .dmrc
drwxr-xr-x  2 eepp eepp 4096 Feb 19  2017 Documents/
drwxr-xr-x  2 eepp eepp 4096 Feb 19  2017 Downloads/
-rw-r--r--  1 root root  515 Jun  6 12:39 .emacs
drwx------  2 root root 4096 Jun  6 12:39 .emacs.d/
-rw-r--r--  1 eepp eepp 8980 Feb 19  2017 examples.desktop
drwx------  2 eepp eepp 4096 Jun  6 12:51 .gconf/
drwx------  3 eepp eepp 4096 Jun  6 12:51 .gnupg/
-rw-------  1 eepp eepp 1224 Jun  6 12:51 .ICEauthority
drwx------  3 eepp eepp 4096 Feb 19  2017 .local/
drwxr-xr-x  2 eepp eepp 4096 Feb 19  2017 Music/
drwxr-xr-x  2 eepp eepp 4096 Feb 19  2017 Pictures/
drwx------  3 eepp eepp 4096 Feb 19  2017 .pki/
-rw-r--r--  1 eepp eepp  655 Feb 19  2017 .profile
drwxr-xr-x  2 eepp eepp 4096 Feb 19  2017 Public/
-rw-r--r--  1 eepp eepp    0 Jun  6 12:32 .sudo_as_admin_successful
drwxr-xr-x  2 eepp eepp 4096 Feb 19  2017 Templates/
drwxrwxr-x  2 eepp eepp 4096 Jun  6 13:05 tmp/
drwxr-xr-x  2 eepp eepp 4096 Feb 19  2017 Videos/
-rw-------  1 eepp eepp   48 Jun  6 12:51 .Xauthority
-rw-------  1 eepp eepp  299 Jun  6 13:04 .xsession-errors
-rw-------  1 eepp eepp 1281 Jun  6 12:50 .xsession-errors.old
eepp@box:~$ chown eepp:eepp .emacs*
chown: changing ownership of '.emacs': Operation not permitted
chown: changing ownership of '.emacs.d': Operation not permitted
eepp@box:~$ sudo chown eepp:eepp .emacs*
Illegal instruction (core dumped)
eepp@box:~$ sudo chown eepp:eepp .emacs*
Illegal instruction (core dumped)