Wrong Date
-
@cagiraudo
~/update
is the folder you'd name in SSH. I gave the network full name if you try to reach it with your explorer from windowsanyway i'm pretty sure about the error : /etc/timezone and /etc/localtime used to be some files, and now they are some symbolic links. This should cause trouble on update
-
@Substring i didn't deleted those files before the update, do you want me to try again deleting thouse files?
-
@cagiraudo Well ... @azvarel confirmed it works once you delete the 2 files. But that's not a good way to let thousands of users update
-
@Substring you are right, i will try it anyway to confirm that it's the same problem
-
@cagiraudo delete the files before the update, update the
updates.type=gitlab/82-can-t-set-timezone
inrecalbox.conf
and change the timezone per manager, you will see that it works. -
Ok @azvarel I will try it in a phew hours. Thanks
-
@azvarel @Substring Should i update again to unstable 4.1 and then to the gitlab/82-can-t-set-timezone or deleting the files will work since i am already in the test branch?
-
@cagiraudo atualiza para unstable 4.1, after update, delete the files, then upgrade to gitlab... will work.
-
Hi again @azvarel @Substring
I can't update to 4.1, i change the source to unstable but i can't finish the update.
I get this error: -
@cagiraudo try again until it succeeds
-
@Substring Ok, i tryied 4 times yesteraday, i will try again tonight
-
@Substring i tried 10 times yesterday and the same error.
Maybe i can't back to the unstable becouse i am in a branch?? Or something else, but i can't update again
-
@cagiraudo no you can switch back to unstable (and not gitlab/unstable). I manually tried to download ths file, had no problems.
Have you tried to download it from your webbrowser ?
-
@Substring im in work, here i could download from the webbrowser without problem, i will try in my home later. If i can download it, is there any way i copy it directly to some folder so i can make the update??
-
@cagiraudo you need i think 5 files to make an update : root and boot.tar.gz, their sha1 file each, and the root.list. no recalbox at hand now, so i can't say for sure
-
@Substring I managed to update to 4.1, then i deleted the 2 files /etc/timezone and /etc/localtime. I updated to the test branch but it still have the wrong date:
date
Tue Jan 1 11:52:28 ART 1980 -
Did you do it on SSH
mount -o remount,rw /
and then deleted the files?if he did and continued it is strange.
So you do not waste any more time, you can do is to manually edit these files by accessing them with winscp
/etc/localtime
edit link and/etc/timezone
editing with notepad++ -
@azvarel
I did mount -o remount,rw / before deleting those files, i confirmed they deleted before updating.I don't get the second part, do you want me to manual edit the localtime and timezone files? I use linux, but i will be able to do it, but i don't get what change should i do
I made cat to those files and had:
cat timezone
America/Argentina/Cordobals -lh localtime
lrwxrwxrwx 1 root root 14 Dec 31 22:19 localtime -> /var/localtimecat localtime
TZi����0�{R@�ɰ��@�0�}��������@�����x
���@�Z�����@��@_07��0ȁ�@�����0ΰ5�d0��l0�2@�柰�C��0�@������S0��R@��50��4@�J$o�#���$��%7�'!0'�)�@)�:�_0+�W 7�ư8��Gw �G H���I�a �������
��
����LMTCMTARTARSTWARTTZi�����r����������0�����{R@�����ɰ������@�����0�����}����������������@�����������������x
�������@�����Z���������@������������������@����0����7������0����ȁ�@�����������������0����ΰ����5�����d����0����������l0�����2@�����柰�����C������0�����@������������������S0������R@������50������4@�J$o�#���$��%7%�'!0'�)�@)�:�0+�W 7�ư8��Gw�G H���I�a �������
��
����LMTCMTARTARSTWART
ART3 -
List of timezone (I do not know what city / region you are, I can not say straight)
https://en.wikipedia.org/wiki/List_of_tz_database_time_zonesTo see my timezone I can use (in terminal) the command:
`cat /etc/timezone
America/RecifeThe answer was accurate, I'm in America/Recife timezone.
To change to the timezone from Recife to Cordoba we will check the name of this time zone doing:
ls /usr/share/zoneinfo/America/Argentina
Now look in the list displayed by the desired timezone. We can also search using a search keyword, for example "Cordoba", with the command:
ls /usr/share/zoneinfo/America/Argentina | grep Cordoba
CordobaSee that in the case I looked for the word "Cordoba" and gave very well. The response to the command indicates that the file named "Cordoba" exists.
Well, now that we already know the correct file name, let's change the contents of
/etc/timezone
using your favorite text editor, as in:vi/etc/timezone
or
gedit /etc/timezone
or
mcedit /etc/timezone
Then change from America/Recife to America/Argentina/Cordoba.
Now to update using the TZ variable do:
export TZ = America/Argentina/Cordoba
Let's check with:
date
-
Editing localtime
mv /etc/localtime /etc/localtime.old
ln -s /usr/share/zoneinfo/America/Argentina/Cordoba /etc/localtime
date