You are Here:
Linux Lite 7.0 RC1 Released - See Release Announcement Section



Recent Posts

Pages: [1] 2 3 ... 10
1
Release Announcements / Re: Linux Lite 7.0 RC1 Released
« Last post by Şerban S. on Today at 06:47:23 AM »
One more test:

Still on LL 6.6.

Code: [Select]
sudo /usr/bin/lite-tweaks-super
[sudo] password for serban:
cat: /tmp/myltuser: No such file or directory
/usr/bin/lite-tweaks-super: line 1089: ((: PERCENTAGE = 100 \* 1 / 0 : syntax error: invalid arithmetic operator (error token is "\* 1 / 0 ")

Then:

Code: [Select]
sudo /usr/bin/lite-tweaks-super
cat: /tmp/myltuser: No such file or directory
/usr/bin/lite-tweaks-super: line 1089: ((: PERCENTAGE = 100 \* 1 / 0 : syntax error: invalid arithmetic operator (error token is "\* 1 / 0 ")


Code: [Select]
sudo /usr/bin/lite-tweaks
cat: '/root/.config/xfce4/panel/whiskermenu-*.rc': No such file or directory

Still, the zenity window appeared and is functional.
See previous post with the Terminal outputs.
2
Release Announcements / Re: Linux Lite 7.0 RC1 Released
« Last post by Şerban S. on Today at 06:27:21 AM »
@Jerry

Getting angry

I wrote this simple script an ran it:

Code: [Select]
#!/bin/bash
# Weird-Lite-Tweaks-Spy.sh
# Script to see what's wrong in Linux Lite 7.0 RC1 with Lite Tweaks
#
# ======================
# ===  Wed-08-05-2024 ===
# ======================
# © Şerban Stănescu, 2024
# ---
# Version 0.1, Wed-08-05-2024
# # #
# #
# TESTED: Wed-08-05-2024;
#
# ======ooo OOOOOO ooo======
echo "==========================================================="
echo ""
echo "======ooo OOOOOO ooo======"
echo " Script to see what's wrong in Linux Lite 7.0 RC1 with Lite Tweaks"
echo "==========================================================="
echo "======ooo OOOOOO ooo======"
whoami
lite-tweaks
echo " Waiting 1 sec... "
sleep 1
echo "   Checking the $USER, AFTER working with Lite Tweaks "
whoami

echo ""
echo "==========================================================="
echo "      Weird-Lite-Tweaks-Spy.sh"
echo "==========================================================="
echo "                       --- THE END! ---"
echo "==========================================================="
echo "              © Şerban Stănescu, Wed-08-05-2024"
echo "==========================================================="


Now, things get really weird, and this is WHY:
I ran the script on the current machine, which is Linux Lite 6.6, on Dell Precision T1700 (see the left Forum widget)

Here is the output:

Code: [Select]
===========================================================

======ooo OOOOOO ooo======
Script to see what's wrong in Linux Lite 7.0 RC1 with Lite Tweaks
===========================================================
======ooo OOOOOO ooo======
serban
APTGETCLEAN|SYSDARCLOGS
/usr/bin/lite-tweaks-super: line 1089: ((: PERCENTAGE = 100 \* 1 / 2 : syntax error: invalid arithmetic operator (error token is "\* 1 / 2 ")
/usr/bin/lite-tweaks-super: line 1089: ((: PERCENTAGE = 100 \* 2 / 2 : syntax error: invalid arithmetic operator (error token is "\* 2 / 2 ")
REMKERNELS
tee: /tmp/ltlogs.log: Permission denied
tee: /tmp/ltlogs.log: Permission denied
/usr/bin/lite-tweaks-super: line 1089: ((: PERCENTAGE = 100 \* 2 / 1 : syntax error: invalid arithmetic operator (error token is "\* 2 / 1 ")
Waiting 1 sec...
   Checking the serban, AFTER working with Lite Tweaks
serban

===========================================================
      Weird-Lite-Tweaks-Spy.sh
===========================================================
                       --- THE END! ---
===========================================================
              © Şerban Stănescu, Wed-08-05-2024
===========================================================
Press ENTER to exit...

If you watch close the code, the $USER variable from the script, was replaced with the current user, which means that there is only one user on the machine, which is right.
But then, who wants to write into the file "/tmp/ltlogs.log" and gets kicked out: "/tmp/ltlogs.log: Permission denied"?
I created the file (see previous posts) without any problem, saved it so what ghost is this?!
"Who", is actually some process (PID). But how can a process be started by $USER = nobody, since even the most "nobody" user is $GUEST, and on this machine, there IS only ONE user: serban.

Confused...

I checked the rights on the sequence of scripts.
 $USER has rx rights, but lacks w. Meaning I can execute any of the scripts, but I am denied the writing rights.
This might generate the "/tmp/ltlogs.log: Permission denied", due to user/owner mismatch.
Yet, the Lite Tweaks works on Lite 6.6, even if it throws errors.
In Lite 7.0 RC1 Though, it crashes when pressing the "Begin" button.
The strange thing though, is that it only crashed on the tasks that require the $SUPER rights.
I have to check that again, too.
I have to move on ASUS X200MA to see what is the output of the script "Weird-Lite-Tweaks-Spy.sh".

Best regards!
3
Release Announcements / Re: Linux Lite 7.0 RC1 Released
« Last post by Şerban S. on Today at 05:26:15 AM »
I noticed that too Serban.  I then looked at my LL6.6 system and when you initiate "lite-tweaks" from the terminal it kicks out those same messages/errors when you run the scripts; even when as the tasks run correctly...

lite-tweaks
HOSTNAME
/usr/bin/lite-tweaks-super: line 1089: ((: PERCENTAGE = 100 \* 1 / 1 : syntax error: invalid arithmetic operator (error token is "\* 1 / 1 ")
WHISKER
/usr/bin/lite-tweaks: line 578: ((: PERCENTAGE = 100 \* 1 / 1 : syntax error: invalid arithmetic operator (error token is "\* 1 / 1 ")
Thanks for testing!
I went a little further, but things are weird.
I'll post in a few minutes...
4
Release Announcements / Re: Linux Lite 7.0 RC1 Released
« Last post by sqwuade on Today at 05:24:03 AM »
I noticed that too Serban.  I then looked at my LL6.6 system and when you initiate "lite-tweaks" from the terminal it kicks out those same messages/errors when you run the scripts; even when the tasks run correctly...

lite-tweaks
HOSTNAME
/usr/bin/lite-tweaks-super: line 1089: ((: PERCENTAGE = 100 \* 1 / 1 : syntax error: invalid arithmetic operator (error token is "\* 1 / 1 ")
WHISKER
/usr/bin/lite-tweaks: line 578: ((: PERCENTAGE = 100 \* 1 / 1 : syntax error: invalid arithmetic operator (error token is "\* 1 / 1 ")

5
Release Announcements / Re: Linux Lite 7.0 RC1 Released
« Last post by Şerban S. on Today at 04:42:31 AM »
Yeah, Lite Tweaks is a weird one, hard to debug. Staring from a terminal gives no clues.
Thank you Șerban :)

Installed on ASUS X200MA = OK.

Takes long (some 50 minutes), but when running, it definitely runs faster than LL 6.4 / 6.6.
I found that accidentally. When I migrate my /home, this keeps my Chrome open-tabs list.
So when I opened Chrome, I had about 20 documents opened. On a machine like this, this is just insane! Yet, it worked!
The RAM load, said I still had some 300 MB of RAM free, out of 1,8 GB. I was running also DoubleCommander, gnome-system-monitor, Pluma. I guess that was all. Maybe the Terminal too.
SWAP use, was some 350 MB out of 4096 MB.

The Lite Tweaks thing:

I scavenged a little through my machine.
What I found is the source of the error

Code: [Select]
/usr/bin/lite-tweaks-super: line 1089: ((: PERCENTAGE = 100 \* 2 / 1 : syntax error: invalid arithmetic operator (error token is "\* 2 / 1 ")
I opened up the "lite-tweaks-super", which is a shell script.
Unfortunately, my programming skills are way below understanding the full code, or even parts of it. Yet...

Can you explain how this works?

Code: [Select]
while read  line
  do
    $line     # Execute functions one by one
    if [ $? = 1 ]; then
      zenity --info --title=" $_LT" --text="Error:\n${line}" 2>/dev/null
    fi
  let i++
  (( PERCENTAGE = 100 \* ${i} / ${TOTAL_LINES} ))
    echo "$PERCENTAGE"
    if [ "$PERCENTAGE" == "100" ]; then
      echo "#Done"
      sleep 1
    fi
done| zenity --progress --width="320" --window-icon="$_RUN_ICON" --pulsate --no-cancel --title="  $_LT" --auto-kill --auto-close 2>/dev/null

Namely:

Code: [Select]
  (( PERCENTAGE = 100 \* ${i} / ${TOTAL_LINES} ))

(( PERCENTAGE = 100 \* ${i} / ${TOTAL_LINES} ))

The snippet is supposed to return the value to increase the ProgressBar with PERCENTAGE.
I have a hard time understanding the RED character in the line:
What exactly does the integer division (\) with the *?
Wasn't this supposed to be... ?
Code: [Select]
  (( PERCENTAGE = 100 \ ${i} / ${TOTAL_LINES} ))
Just asking... Anyway, as I said, my programming skills are at a very low level.

Running Lite Tweaks

Bad luck!

This is what I got:

Code: [Select]
sudo lite-tweaks
ls: cannot access '/root/.local/share/Trash/files/': No such file or directory

---
Checked: "Log Archives", "Package Cache".
Click Begin: Crush.


What exactly means [ '/root/.local/share/Trash/files/': No such file or directory] ?
I wanted to check the availability of the /root/.local/share/.
I could access it.
"Trash" is missing, indeed, but the process is marked as Root so:
I could create the "Trash". So, what is the problem?
As I see it, chaining a large number of scripts, requires each time reissuing sudo whatever-script, because when exiting, previous-script releases the privileged process and another process is started, with the current-user ($USER I guess) privileges. While this works at install time, because $USER = $SUPER, at session level, the $USER is different than $SUPER. So it is the $HOME, for this matter.

Now, if I understood it right, then the sequence is (should be) this:

Code: [Select]
BeginButton_OnClick
ask-for-$SUPER-password

On the other hand, if the first line of code is:
Code: [Select]
BeginButton_OnClick

mkdir /root/.local/share/Trash/files/
ask-for-$SUPER-password

then the result is:

Code: [Select]
mkdir /root/.local/share/Trash/files/
mkdir: cannot create directory ‘/root/.local/share/Trash/files/’: Permission denied
This might trigger an ErrorMSG number that exits the BeginButton_OnClick code, and the whole procedure lite-tweaks.

Here it is the test result:

Code: [Select]
sudo mkdir /root/.local/share/Trash/files/
[sudo] password for serban:
 serban ~

The dir is obviously empty, but it's there!

What is really weird is this:

Code: [Select]
tmp/ltlogs.log: Permission denied

How come that?
I could create and save the file as $USER (serban, in my case).
As I understand, any process derived from the $USER, has the same rights as the $USER.
So, is there any other $USER than $USER = $SUPER = serban?
And if so, how is it possible?
If this is still possible, I see only one solution: some browser-side script hijacked into the system.
Or at least, created an open door to take some control of parts of the system.
If so, I'm already out. That's way beyond my knowledge and understanding.
I use encryption for my connection, but my level of skills in this branch, well, it's symbolic, to say it lightly...
6
Release Announcements / Re: Linux Lite 7.0 RC1 Released
« Last post by Şerban S. on Today at 03:33:27 AM »
Please, delete this instance!

How do I delete a post that was accidentally published? This one had duplicate content.
7
Updates / Re: more update errors
« Last post by stevef on Today at 01:45:35 AM »
You've started three topics about updates which need a bit of clarification.

Topic 1 "dpkg was interrupted"
https://www.linuxliteos.com/forums/updates/update-errors-9605/

Topic 2 "Unable to fetch some archives"
https://www.linuxliteos.com/forums/updates/update-errors-9606/

Topic 3 "Unable to fetch some archives" again
https://www.linuxliteos.com/forums/updates/more-update-errors/

Two of the topics appear to be the same symptom and the wording suggests you've posted two topics for the same problem.
But it may be you have three different systems each with an update error.
Let us know the context and I will try to merge/delete topics as necessary so you can get the necessary help.

It will assist if you tell us a bit more about the problem.
a) The "dpkg was interrupted" error won't have fixed itself.
   What did you do after getting the "dpkg was interrupted" error but before getting the first "Unable to fetch some archives" error ?

The number of and type of updates in the "Unable to fetch some archives" reports suggest that this is a first update for a long time but if you can answer either of these questions it may help.
b) The "dpkg was interrupted" error is typically after a previous update/upgrade was forcibly interrupted.
   Do you recall anything about what may have happened before ?

c) Has this system ever updated ok since Opera was installed ?
   What instructions were followed to install Opera ?
8
Release Announcements / Re: Linux Lite 7.0 RC1 Released
« Last post by sqwuade on Today at 01:28:58 AM »
I've installed LL7RC1 on a test box and confirmed the "Lite-Tweaks" apps aren't working.  They all work great on my 6.6 install - although I really haven't used them much; other than the "Taskbar Restore" tweak a couple of times.
I'm wondering if the issue might have something to do with the recent move of the policy manager from the old .pkla to the new JavaScript based .rules format?  Debian 12.5 uses .rules and I think the new Ubuntu 24.04 probably uses it now too, so LL7 is using it as well?
I'm wondering (For testing purposes) if we could revert a test system back to the old .pkla system and then see if Lite-Tweaks might start working?  It wouldn't be a fix (the JavaScript .rules system appears to be here to stay) but might lend some useful info as to the cause.

I'll see if I can move my LL7RC1 testbox back the .pkla system and see what happens.

Cheers!  Sqwuade

*Update - The directory /etc/polkit-1/localauthority/ doesn't exist on LL7 (It doesn't exit on Debian 12.5 either) - that's the directory I put .pkla files in w/ LL6.6 to grant permissions for xrdp etc.  I'm almost positive LL7 is using the .rules base policy kit.
9
Release Announcements / Re: Linux Lite 7.0 RC1 Released
« Last post by Jerry on May 07, 2024, 08:55:01 PM »
Yeah, Lite Tweaks is a weird one, hard to debug. Staring from a terminal gives no clues.
Thank you Șerban :)
10
On Topic / Re: Lite Tweaks issue
« Last post by trinidad on May 07, 2024, 04:36:10 PM »
I'm not sure Lite Tweaks kernel remover has the sequencing to remove all the generic kernels from the system, i/e you must keep one. If you only want one low latency kernel and no others you might have to remove the last generic one manually.
I think /temp/ltlogs.log has to do with web session saving.

Anyway something is up with the at-spi bus, which is normally enabled in session and startup and should not be a problem. I do not get that error on 6.6, only on 7.0 and it is enabled in 7.0. This may be an XFCE bug in session manger.
TC 
Pages: [1] 2 3 ... 10
-->
X Close Ad

Linux Lite 7.0 RC1 Released - See Release Announcement Section