gantz@localhost:~> mv ~/.local/bin/uuu ~/bin
mv: cannot stat '/home/gantz/.local/bin/uuu': Not a directory
Do I have to download it again? I moved it to some bin folder as you told me to but I cannot find it anymore.
gantz@localhost:~> mv ~/.local/bin/uuu ~/bin
mv: cannot stat '/home/gantz/.local/bin/uuu': Not a directory
Do I have to download it again? I moved it to some bin folder as you told me to but I cannot find it anymore.
Ok, thatâs all done.
Ah, the old mv
to non-existent directory problem. Presumably.
Presumably ~/.local
exists as a directory but ~/.local/bin
does not exist as a directory. So when you did
mv uuu ~/.local/bin
You created a regular file bin
in the ~/.local
directory and this file bin
is actually the uuu
executable.
So instead of mv ~/.local/bin/uuu ~/bin
you want
mv ~/.local/bin ~/bin/uuu
but you should first confirm that ~/.local/bin
is a regular file.
Also, you should always use which uuu
to confirm that what you just did to move an executable into your path did actually work.
This is why I hate using terminal for moving or copying files. Itâs too easy to make a mistake.
I donât have a folder called local.
I just re-downloaded the file again. And moved it to /Home/bin folder.
I hope that USB type A to USB type C cable will work because I donât have type C port on my desktop.
Should be fine.
Iâve done a few of this type of operation with my Librem 5 (but not âflashing to Byzantiumâ) and I also donât have a type C port on my desktop.
I have a small USB-A to USB-C adapter i.e. converts one of my USB-A ports into a USB-C port - but I donât think there is a lot of difference between that and a cable. I think both of them would be âpassiveâ adapters.
That didnât work. The LED was flashing with all possible colours and the flashing script didnât even finish. The phone is still on amber.
I have to wait for the script to re-download the image again. This is ridiculous.
I donât understand now if it succeeded or not. Why are there so many lines of the same text? Purismâs website says I should see soemthing like
uuu (Universal Update Utility) for nxp imx chips â libpureos/1.2.91+0git6b465-62-g9c56e46
Success 1 Failure 0
But thatâs not what I have.
Progress indicator? and itâs not working properly in your terminal? i.e. instead of refreshing the line on the screen in place, it keeps on generating a new line of output. This however would be a cosmetic issue only.
Disclaimer (as above): I have not (yet) done a âflashing to byzantiumâ.
It appears that it worked. I have some new icons on there and I can turn on and OFF bluetooth, wifi and flash-light using the quick settings bar. Pretty sure this was not possible in Amber. In addition Iâm able to change my background blimey! Well Iâm glad itâs over. This was absolutely atrocious experience so thank you @irvinewade @libwood for helping with this. I really donât think they needed to install parental controls on this phone because because non-Linux admin people wonât be able to do much on this phone for foreseeable future.
lsb_release -a | grep Codename:
You shouldnât have to guess.
Kids often know more than their parents.
I think it would be acknowledged by Purism that the absence of an actual upgrade procedure (at all, never mind about via a GUI) is not user-friendly. Rome wasnât built in a day.
Youâre welcome. Sorry i messed up your move command. I think last time there was a big forum thread someone made a git issue to improve the doc for other distros. I found the parental controls pretty funny too. Iâve never opened it, but I donât even get to set my own username so I donât really know what it could do. Guess itâs play time.
Ideally there would be an upgrade solution presented through the software application.
Thatâs true for millennials only. And today almost all millennials 30 years old. They grew up during the time when personal computers started to become popular. So thatâs not surprising.
Today if you meet your average teenager, they donât even have a computer. They use smartphone or tablet for everything. Tell them to enable a program through firewall on a windows machine, they wonât have a clue what to do.
My point exactly - the context of the discussion was a smartphone.
I really donât think they needed to install parental controls on this phone
Technology keeps on moving on - so that a younger generation is a native to a technology whereas the previous generation(s) have had to adapt.
Some of these posts on the site were quite helpful, along with the Librem docs. I finally flashed the phone again and it now has a gps program, a camera app and file manager
Just put together a quick guide of how I set it up even without having the very newest version of Ubuntu
Also, my instructions here: https://source.puri.sm/Librem5/community-wiki/-/wikis/Building-uuu-and-Jumpdrive
UsbC cable to plug in Librem5 to the computer (one you would regularly use to charge it).
That of course only works if you have a USB-C port on your computer. Otherwise you can use a USB-C to USB-A cable or the regular charging cable with a USB-C to USB-A adapter. The host to Librem 5 communications via USB donât require anything fancy on the host side, so USB-A is fine.
I didnât say it has to be USBC on both ends. In fact my computer doesnât have the USBC ports anywhere, it still worked, yes you are correct.
In fact, USB-A to C cables are generally more reliable, as USB-C to C communication involves things like Power Delivery negotiations, which bring a quite sizeable failure surface on both host and device ends in that doesnât exist when using a USB-A port.
Hello,
today I tried reflashing the Librem 5 with the scripts available here:
https://developer.puri.sm/Librem5/Development_Environment/Phone/Troubleshooting/Reflashing_the_Phone.html
And when the script is launched it outputs this error:
(lfi) ~/dev/librem5-flash-image >>> ./scripts/librem5-flash-image ±[â][main]
2022-05-04 17:16:08 INFO Looking for librem5r4 plain byzantium image
2022-05-04 17:16:13 INFO Found disk image Build 11066 'plain librem5r4 byzantium image' from Wed May 4 02:30:43 2022
2022-05-04 17:16:15 INFO Found uboot Build 82 from Fri Sep 10 20:19:03 2021
2022-05-04 17:16:15 INFO Downloading to ./tmp_librem5-flash-image_k2emxmgr
2022-05-04 17:16:16 INFO Cleaning up.
Traceback (most recent call last):
File "/home/antonio/dev/librem5-flash-image/./scripts/librem5-flash-image", line 475, in <module>
sys.exit(main())
File "/home/antonio/dev/librem5-flash-image/./scripts/librem5-flash-image", line 448, in main
download_image(urljoin(image_ref['url'], 'artifact/{}.xz').format(IMAGE.format(board)),
File "/home/antonio/dev/librem5-flash-image/./scripts/librem5-flash-image", line 185, in download_image
meta = yaml.safe_load(resp.text)
File "/home/antonio/dev/librem5-flash-image/lfi/lib/python3.10/site-packages/yaml/__init__.py", line 94, in safe_load
return load(stream, SafeLoader)
File "/home/antonio/dev/librem5-flash-image/lfi/lib/python3.10/site-packages/yaml/__init__.py", line 72, in load
return loader.get_single_data()
File "/home/antonio/dev/librem5-flash-image/lfi/lib/python3.10/site-packages/yaml/constructor.py", line 37, in get_single_data
return self.construct_document(node)
File "/home/antonio/dev/librem5-flash-image/lfi/lib/python3.10/site-packages/yaml/constructor.py", line 46, in construct_document
for dummy in generator:
File "/home/antonio/dev/librem5-flash-image/lfi/lib/python3.10/site-packages/yaml/constructor.py", line 398, in construct_yaml_map
value = self.construct_mapping(node)
File "/home/antonio/dev/librem5-flash-image/lfi/lib/python3.10/site-packages/yaml/constructor.py", line 204, in construct_mapping
return super().construct_mapping(node, deep=deep)
File "/home/antonio/dev/librem5-flash-image/lfi/lib/python3.10/site-packages/yaml/constructor.py", line 126, in construct_mapping
if not isinstance(key, collections.Hashable):
AttributeError: module 'collections' has no attribute 'Hashable'
Is there anything I can verify?
Thanks