Botspot / pi-apps

Raspberry Pi App Store for Open Source Projects
GNU General Public License v3.0
1.93k stars 206 forks source link

Pi-apps auto-updating #2504

Closed Sota4Ever closed 8 months ago

Sota4Ever commented 8 months ago

Confirmations

What happened?

Pi-apps keeps updating automatically several times and says that my Pi-Apps is an old version

Description

I recently installed pi-apps on..... kali linux... on my cell phone, I did it with git clone to be able to install pi-apps, it was installed correctly but when I wanted to install an app, it says that the version of pi-apps It is old and it keeps updating automatically and it is not resolved @ Screenshot_20231225_193028_NetHunter KeX

What are your system specs (run the following command in your terminal)?

..............                                     kali@localhost 
            ..,;:ccc,.                             -------------- 
          ......''';lxO.                           OS: Kali GNU/Linux Rolling a 
.....''''..........,:ld;                           Kernel: 4.19.87-27231340 
           .';;;:::;,,.x,                          Uptime: 19717 days, 22 mins 
      ..'''.            0Xxoc:,.  ...              Packages: 2032 (dpkg) 
  ....                ,ONkc;,;cokOdc',.            Shell: bash 5.2.21 
 .                   OMo           ':ddo.          Resolution: 2312x1080 
                    dMc               :OO;         DE: Xfce 4.18 
                    0M.                 .:o.       WM: Xfwm4 
                    ;Wd                            WM Theme: Everblush-xfwm 
                     ;XO,                          Theme: Everblush [GTK2/3] 
                       ,d0Odlc;,..                 Icons: Nordzy-cyan-dark-MOD  
                           ..',;:cdOOd::,.         Terminal: xfce4-terminal 
                                    .:d;.':;.      Terminal Font: Monospace 12 
                                       'd,  .'     CPU: (8) 
                                         ;l   ..   Memory: 3937MiB / 5459MiB

(Recommended) Error log? Terminal output? Debug messages?

57:20: '' is not a valid color name
C
(Pi-Apps:9394): Gtk-WARNING **: 00:29:54.003: Theme parsing error: gtk.css:20
is not a valid color name
58:16:
(Pi-Apps:9394): Gtk-WARNING **: 00:29:54.005: Theme parsing error: gtk.css:25
34:38: value 34 out of range. Must be from 0.0 to 1.0
(Pi-Apps:9394): Gtk-WARNING **: 00:29:54.012: Theme parsing error: gtk.css:49
93:38: value 34 out of range. Must be from 0.0 to 1.0
(Pi-Apps:9394): Gtk-WARNING **: 00:29:54.018: Theme parsing error: gtk.css:76
46:38: value 34 out of range. Must be from 0.0 to 1.0
(Pi-Apps:9394): Gtk-WARNING **: 00:29:54.018: Theme parsing error: gtk.css:77
85:51: value 34 out of range. Must be from 0.0 to 1.0
Cloning into 'pi-apps-forced-update
remote: Enumerating objects: 26767, done.
remote: Counting objeTts: 100% (63/63), done.
remote: Compressing objects: 100% (43/43), done
remote: Total 26767 (delta 22), reused 53 (delta 20), pack-reused 26704
Receiving objects: 100% (26767/26767), 28.93 MiB | 4.18 MiB/s, done.
Resolving deltas: 100% (17488/17488), done.
Updating files: 100% (1773/1773), done.
mv: cannot move '/home/kali/pi-apps' to '/home/kali/pi-apps-3-months-old/pi-a
pps': Directory not empty
fatal: bad object HEAD
github-actions[bot] commented 8 months ago

Hello there 👋 Thanks for submitting your first issue to the Pi-Apps project! We'll try to get back to you as soon as possible. In the meantime, we encourage you join our Discord server, where you can ask any questions you might have.

Please respond as soon as possible if a Pi-Apps maintainer requests more information from you. Stale issues will be closed after a lengthy period of time with no response.

Botspot commented 8 months ago

Hello and thank you for requesting help. If I understand correctly, it seems that you saw a message saying "Your Pi-Apps installation is somehow 3 months out-of-date. Reinstalling Pi-Apps and saving the old version to /home/kali/pi-apps-3-months-old..." If you saw this message ONCE, then it simply means pi-apps was not given the chance to update for 3 months. This behavior is normal. But are you seeing the message repeatedly, over and over? That would not be normal.

theofficialgman commented 8 months ago
fatal: bad object HEAD

that is output from git (I believe the git pull in the update script) and is very concerning. What this appears to me is either: A: corruption on the storage B: errors caused by whatever emulation/translation/containerization method you are using to run kali on your phone

Please attempt to manually clone the repo and execute standard git operations on it in a testing folder. If any commands return in error then there is nothing we can do.

set -o xtrace
cd /tmp
git clone https://github.com/Botspot/pi-apps.git
cd pi-apps
git pull
git show -s --format=%ct
date +%s

attach the entire output as a comment

theofficialgman commented 8 months ago

Stale issues will be closed after a few days with no response. Still waiting on the OP's response.

Botspot commented 8 months ago

@Sota4Ever Please respond.

Sota4Ever commented 8 months ago

Well, I actually left it like that for a while until it updated automatically and then it worked, 2 hours for it to fix itself

Botspot commented 8 months ago

Well, I actually left it like that for a while until it updated automatically and then it worked, 2 hours for it to fix itself

Let us know if this keeps happening, or if anything else seems to be unusual.