Advertisement
Guest User

Untitled

a guest
May 21st, 2015
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. > Using the version -1 technique
  2.  
  3. # Update Test: Check that system by updated to latest rootfs version
  4.  
  5. (BeagleBoneBlack)ubuntu@localhost:~$ snappy list -v
  6. Name Date Version Developer
  7. ubuntu-core* 2015-04-10 119
  8. ubuntu-core 2015-04-10 119
  9. beagleboneblack* 2015-04-10 1.4 sergiusens
  10. (BeagleBoneBlack)ubuntu@localhost:~$ snappy list --updates
  11. Name Date Version
  12. ubuntu-core* 2015-04-10 220
  13. beagleboneblack.sergiusens 2015-04-10 1.4
  14.  
  15. ## First try
  16.  
  17. > `Starting download of ubuntu-core` took 20 minutes to appear
  18.  
  19. sudo snappy update
  20. Starting download of ubuntu-core
  21. 104.54 MB / 104.54 MB [====================================] 100.00 % 1.48 MB/s
  22. Done
  23. error from system-image-cli: ('%s exited with %s:\n%s', ['ubuntu-core-upgrade'], 1, "['/sbin/mkfs', '-v-t', 'ext4', '-L', 'system-b', '/dev/mmcblk0p3'] returned 1: , mkfs.ext2: invalid option -- '-'\nUsage: mkfs.ext2 [-c|-l filename] [-b block-size] [-C cluster-size]\n\t[-i bytes-per-inode] [-I inode-size] [-J journal-options]\n\t[-G flex-group-size] [-N number-of-inodes]\n\t[-m reserved-blocks-percentage] [-o creator-os]\n\t[-g blocks-per-group] [-L volume-label] [-M last-mounted-directory]\n\t[-O feature[,...]] [-r fs-revision] [-E extended-option[,...]]\n\t[-t fs-type] [-T usage-type ] [-U UUID] [-jnqvDFKSV] device [blocks-count]\n\nI: prepar")
  24.  
  25.  
  26. ## Second try
  27.  
  28. Details
  29.  
  30. (BeagleBoneBlack)ubuntu@localhost:~$ snappy list --verbose
  31. Name Date Version Developer
  32. ubuntu-core* 2015-04-10 119
  33. ubuntu-core 2015-04-10 119
  34. beagleboneblack* 2015-04-10 1.4 sergiusens
  35. (BeagleBoneBlack)ubuntu@localhost:~$ snappy list --updates
  36. Name Date Version
  37. ubuntu-core* 2015-04-10 220
  38. beagleboneblack.sergiusens 2015-04-10 1.4
  39.  
  40. Upgrade
  41.  
  42. > is taking long again
  43.  
  44.  
  45. # Rollback Test: Check that system be reverted to the previous rootfs
  46.  
  47.  
  48.  
  49. # Re-update Test: Check that rolled-back system can be updated again
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement