<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.stereopi.com/app.php/feed/topic/46" />

	<title>StereoPi Forum</title>
	<subtitle>StereoPi Forum</subtitle>
	<link href="https://forum.stereopi.com/index.php" />
	<updated>2019-05-23T12:14:48+00:00</updated>

	<author><name><![CDATA[StereoPi Forum]]></name></author>
	<id>https://forum.stereopi.com/app.php/feed/topic/46</id>

		<entry>
		<author><name><![CDATA[stereomaton]]></name></author>
		<updated>2019-05-23T12:14:48+00:00</updated>

		<published>2019-05-23T12:14:48+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=190#p190</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=190#p190"/>
		<title type="html"><![CDATA[Re: apt-get update/upgrade]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=190#p190"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>[1] Reading is truly an amazing superpower too often negligated</div></blockquote>I understood what mean the messages but, before to do a mistake, I prefer to ask cause : if someone took the decision to do it, I prefer to understand the reason before to do modifications  <img class="smilies" src="https://forum.stereopi.com/images/smilies/icon_rolleyes.gif" width="15" height="17" alt=":roll:" title="Rolling Eyes">  <img class="smilies" src="https://forum.stereopi.com/images/smilies/icon_e_geek.gif" width="17" height="17" alt=":geek:" title="Geek"> </div></blockquote>Sorry for this little sarcasm, but I see too often people (not only students) asking for help because they just simply did not have read the messages. As your question did not pinpoint it, I assumed you did not noticed.<br><br>Read-only filesystems are often used in embedded world to avoid file system corruption in case of power failure (which is frequent as people do not like to shutdown properly, or because often the only way is to shutdown by cutting power). It also avoids to write data (such as never read logs) on a size-constrained partition that might eventually (soon) exhaust space and prevent system to boot.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=101">stereomaton</a> — Thu May 23, 2019 12:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2019-05-23T11:33:36+00:00</updated>

		<published>2019-05-23T11:33:36+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=188#p188</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=188#p188"/>
		<title type="html"><![CDATA[Re: apt-get update/upgrade]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=188#p188"><![CDATA[
<blockquote class="uncited"><div>thanks for all the answers.<br>my feedback :<ul><li>I would like to use this tuto <a href="https://medium.com/stereopi/opencv-and-depth-map-on-stereopi-tutorial-62cb6792bbed" class="postlink">https://medium.com/stereopi/opencv-and- ... cb6792bbed</a> <br>So, is it better to use the Ready-to-use Raspbian Image than to install all manualy ?</li></ul></div></blockquote>There are 2 different images. All read-only features concerns S.L.P. image. For OpenCV I'd recommend you to use ready-to-use image. It is a stock Raspbian, but with installed OpenCV. Also python3 is set as a default.<br>You can also install all components by yourself on a clean Raspbian, but it takes a lot of time. I think I'll do a guide for this in the future.<br>Key point for you: at OpenCV Raspbian image there are no any read-only options, so you can do all updates without a tricks.<br>Our OpenCV image is intended for work with keyboard, mouse and monitor. You can start this way, and write all ethernet settings you need. Please notice, that there are lot of GUI-based tasks with OpenCV, so I thing starting with a monitor is a better option.<br><blockquote class="uncited"><div>because I bought the "StereoPi Starter Kit" and doesn't have embeded eMMC, so no "space problem" (or I can change the sd card) ?</div></blockquote>S.L.P. image can be used by others on a small-sized micro SD card or with eMMC, that's why we optimized its size. Your pre-written image in Starter Kit has no space problems.  <img class="smilies" src="https://forum.stereopi.com/images/smilies/icon_e_biggrin.gif" width="15" height="17" alt=":D" title="Very Happy"> My recommendation is to use another micro SD card for OpenCV experiments. If you want to mix S.L.P. image and OpenCV, you need to dive deep inside and manage out a lot of details.<br><blockquote class="uncited"><div><ul><li>and the last point about :<blockquote class="uncited"><div>[1] Reading is truly an amazing superpower too often negligated</div></blockquote>I understood what mean the messages but, before to do a mistake, I prefer to ask cause : if someone took the decision to do it, I prefer to understand the reason before to do modifications  <img class="smilies" src="https://forum.stereopi.com/images/smilies/icon_rolleyes.gif" width="15" height="17" alt=":roll:" title="Rolling Eyes">  <img class="smilies" src="https://forum.stereopi.com/images/smilies/icon_e_geek.gif" width="17" height="17" alt=":geek:" title="Geek"></li> </ul></div></blockquote> <img class="smilies" src="https://forum.stereopi.com/images/smilies/icon_e_biggrin.gif" width="15" height="17" alt=":D" title="Very Happy">  Agree!<blockquote class="uncited"><div>perhaps it's another tread : do you know if it's a good idea to fix the ip adress of lan in order to have a direct access from a computer (without router) ?<br>if yes, it could be good to add this in the web interface  <img class="smilies" src="https://forum.stereopi.com/images/smilies/icon_e_biggrin.gif" width="15" height="17" alt=":D" title="Very Happy"></div></blockquote>As for myself, I don't use this approach. Usually I need several devices (like computer, Oculus Go and so on) in the same network. So I do it with a router.<br><br><strong class="text-strong">UPD&gt;</strong> Links to our OpenCV Raspbian image can be found here: <a href="https://github.com/realizator/stereopi-tutorial" class="postlink">https://github.com/realizator/stereopi-tutorial</a><br><strong class="text-strong">UPD2&gt;</strong> Do not be afraid to broke your S.L.P. or OpenCV image, as you may download and write it again!<br><strong class="text-strong">UPD3&gt;</strong> To start "from scratch" you can start with a stock Raspbian, and just add dt-blob.bin to BOOT partition (<a href="https://wiki.stereopi.com/index.php?title=The_Basics#How_to_prepare_Raspbian_image" class="postlink">Wiki</a>)<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Thu May 23, 2019 11:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[NiamoR42]]></name></author>
		<updated>2019-05-23T11:08:08+00:00</updated>

		<published>2019-05-23T11:08:08+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=186#p186</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=186#p186"/>
		<title type="html"><![CDATA[Re: apt-get update/upgrade]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=186#p186"><![CDATA[
thanks for all the answers.<br>my feedback :<ul><li>I would like to use this tuto <a href="https://medium.com/stereopi/opencv-and-depth-map-on-stereopi-tutorial-62cb6792bbed" class="postlink">https://medium.com/stereopi/opencv-and- ... cb6792bbed</a> I tried to do it from my computer and saw that there is no ip adress in source code : I understand we need to execute python code inside the stereopi (it makes sence <img class="smilies" src="https://forum.stereopi.com/images/smilies/icon_e_biggrin.gif" width="15" height="17" alt=":D" title="Very Happy"> ).<br>I tried to copy the git project inside the pi but it seams that no git is install : that's why I did apt-get update before to install git and other dependancy :<br><em class="text-italics"></em><ul><li><em class="text-italics">Raspbian Stretch (kernel 4.14.98-v7+)</em></li></ul><ul><li><em class="text-italics">Python 3.5.3</em></li></ul><ul><li><em class="text-italics">OpenCV 3.4.4 (pre-compiled, 'pip' from Python Wheels)</em></li></ul><ul><li><em class="text-italics">Picamera 1.13</em></li></ul><ul><li><em class="text-italics">StereoVision lib 1.0.3 (<a href="https://github.com/erget/StereoVision" class="postlink">https://github.com/erget/StereoVision</a>)</em></li></ul><br>So, is it better to use the Ready-to-use Raspbian Image than to install all manualy ?</li></ul><ul> <li>when you said that :<blockquote class="uncited"><div>the root file system is read-only (<strong class="text-strong">which totally makes sense for embedded systems</strong>)</div></blockquote>I understand it's important only for this :<blockquote class="uncited"><div>ability to work in a case of occasional poweroff (no data damaged this way)</div></blockquote>because I bought the "StereoPi Starter Kit" and doesn't have embeded eMMC, so no "space problem" (or I can change the sd card) ?</li></ul><ul><li>and the last point about :<blockquote class="uncited"><div>[1] Reading is truly an amazing superpower too often negligated</div></blockquote>I understood what mean the messages but, before to do a mistake, I prefer to ask cause : if someone took the decision to do it, I prefer to understand the reason before to do modifications  <img class="smilies" src="https://forum.stereopi.com/images/smilies/icon_rolleyes.gif" width="15" height="17" alt=":roll:" title="Rolling Eyes">  <img class="smilies" src="https://forum.stereopi.com/images/smilies/icon_e_geek.gif" width="17" height="17" alt=":geek:" title="Geek"></li> </ul>perhaps it's another tread : do you know if it's a good idea to fix the ip adress of lan in order to have a direct access from a computer (without router) ?<br>if yes, it could be good to add this in the web interface  <img class="smilies" src="https://forum.stereopi.com/images/smilies/icon_e_biggrin.gif" width="15" height="17" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=102">NiamoR42</a> — Thu May 23, 2019 11:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2019-05-23T10:02:55+00:00</updated>

		<published>2019-05-23T10:02:55+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=182#p182</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=182#p182"/>
		<title type="html"><![CDATA[Re: apt-get update/upgrade]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=182#p182"><![CDATA[
NiamoR42, if you want to update S.L.P. image, it is a bit tricky.<br>This image is designed for special active use, so there are two useful (for users), but problematic (for updaters) features:<br><br>1. Filesystem is read-only. This feature allow you to save all data and ability to work in a case of occasional poweroff (no data damaged this way). Stereomaton provide you with cite from our Wiki, how to do FS writeable.<br>2. We did Linux file system as small as possible (2Gb in our case). It allows, for example, to upload it to 4Gb eMMC, and also have 2Gb of a free space for user's needs. But in a case of <em class="text-italics">apt-get upgrade</em> you may face lack of free space. The easiest way here is to insert micro SD in Ubuntu and increase partition size to 4 Gb or more (delete FAT32 before doing this). After that you can do update and upgrade as you like.<br><br>Blinky, all of us was in NiamoR42 shoes, when we have too many questions, too small time to read all the docs, and a great desire to run our projects ASAP. <img class="smilies" src="https://forum.stereopi.com/images/smilies/icon_e_smile.gif" width="15" height="17" alt=":-)" title="Smile"> For me such a questions on forum only means, that our Wiki and start guides are not so good as they might be. So I plan to improve them on the base of users questions on this forum.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Thu May 23, 2019 10:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Blinky]]></name></author>
		<updated>2019-05-22T22:08:25+00:00</updated>

		<published>2019-05-22T22:08:25+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=176#p176</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=176#p176"/>
		<title type="html"><![CDATA[Re: apt-get update/upgrade]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=176#p176"><![CDATA[
NiamiO, take a look in the Videos, Photos ..., part of the forum and look for First Boot, it explains a lot.<br><br>Regards,<br>Blinky<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=75">Blinky</a> — Wed May 22, 2019 10:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stereomaton]]></name></author>
		<updated>2019-05-22T21:38:39+00:00</updated>

		<published>2019-05-22T21:38:39+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=173#p173</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=173#p173"/>
		<title type="html"><![CDATA[Re: apt-get update/upgrade]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=173#p173"><![CDATA[
If you read[1] your error message, you can easily understand what happens:<blockquote class="uncited"><div>Could not open file [...] - open (30: Read-only file system)</div></blockquote>As I noticed when I received my stereopi, the root file system is read-only (which totally makes sense for embedded systems) thus you have to remount it read-write to perform your operation. The command line to do so is<div class="codebox"><p>Code: </p><pre><code>mount -o remount,rw /</code></pre></div>The way around, to remount read-only you can use<div class="codebox"><p>Code: </p><pre><code>mount -o remount,ro /</code></pre></div>[1] Reading is truly an amazing superpower too often negligated<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=101">stereomaton</a> — Wed May 22, 2019 9:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[NiamoR42]]></name></author>
		<updated>2019-05-22T20:38:20+00:00</updated>

		<published>2019-05-22T20:38:20+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=172#p172</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=172#p172"/>
		<title type="html"><![CDATA[apt-get update/upgrade]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=172#p172"><![CDATA[
Hello,<br><br>I just start to use my stereoPi and the first think I would like to do is :<div class="codebox"><p>Code: </p><pre><code>sudo apt-get update</code></pre></div>the result is : <div class="codebox"><p>Code: </p><pre><code>Ign:1 http://raspbian.raspberrypi.org/raspbian stretch InReleaseIgn:2 http://archive.raspberrypi.org/debian stretch InReleaseErr:3 http://archive.raspberrypi.org/debian stretch Release  Could not open file /var/lib/apt/lists/partial/archive.raspberrypi.org_debian_dists_stretch_Release - open (30: Read-only file system) [IP: 93.93.130.104 80]Err:4 http://raspbian.raspberrypi.org/raspbian stretch Release  Could not open file /var/lib/apt/lists/partial/raspbian.raspberrypi.org_raspbian_dists_stretch_Release - open (30: Read-only file system)Reading package lists... DoneW: chown to _apt:root of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (30: Read-only file system)W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (30: Read-only file system)W: Not using locking for read only lock file /var/lib/apt/lists/lockW: Problem unlinking the file /var/lib/apt/lists/partial/.apt-acquire-privs-test.PYgw7i - IsAccessibleBySandboxUser (30: Read-only file system)W: Problem unlinking the file /var/lib/apt/lists/partial/.apt-acquire-privs-test.UZyKf8 - IsAccessibleBySandboxUser (30: Read-only file system)W: Problem unlinking the file /var/lib/apt/lists/partial/raspbian.raspberrypi.org_raspbian_dists_stretch_InRelease - PrepareFiles (30: Read-only file system)W: Problem unlinking the file /var/lib/apt/lists/partial/archive.raspberrypi.org_debian_dists_stretch_InRelease - PrepareFiles (30: Read-only file system)W: Problem unlinking the file /var/lib/apt/lists/partial/archive.raspberrypi.org_debian_dists_stretch_Release - PrepareFiles (30: Read-only file system)E: The repository 'http://archive.raspberrypi.org/debian stretch Release' does no longer have a Release file.N: Updating from such a repository can't be done securely, and is therefore disabled by default.N: See apt-secure(8) manpage for repository creation and user configuration details.W: Problem unlinking the file /var/lib/apt/lists/partial/raspbian.raspberrypi.org_raspbian_dists_stretch_Release - PrepareFiles (30: Read-only file system)E: The repository 'http://raspbian.raspberrypi.org/raspbian stretch Release' does no longer have a Release file.N: Updating from such a repository can't be done securely, and is therefore disabled by default.N: See apt-secure(8) manpage for repository creation and user configuration details.W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (30: Read-only file system)W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (30: Read-only file system)</code></pre></div>so, is it normal that it doesn't work out of the box ?<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=102">NiamoR42</a> — Wed May 22, 2019 8:38 pm</p><hr />
]]></content>
	</entry>
	</feed>
