Spyke

Posts

what's your take on this tlp command?

command: sudo tlp-stat -b

output:

--- TLP 1.6.1 --------------------------------------------

+++ Battery Care

Plugin: generic

Supported features: none available

+++ Battery Status: BAT0

/sys/class/power_supply/BAT0/manufacturer = DP

/sys/class/power_supply/BAT0/model_name = bq20z451

/sys/class/power_supply/BAT0/cycle_count = 666

/sys/class/power_supply/BAT0/charge_full_design = 6330 [mAh]

/sys/class/power_supply/BAT0/charge_full = 5043 [mAh]

/sys/class/power_supply/BAT0/charge_now = 4936 [mAh]

/sys/class/power_supply/BAT0/current_now = 0 [mA]

/sys/class/power_supply/BAT0/status = Full

/sys/class/power_supply/BAT0/charge_control_start_threshold = (not available)

/sys/class/power_supply/BAT0/charge_control_end_threshold = (not available)

Charge = 97.9 [%]

Capacity = 79.7 [%]

my take:

this is an apple battery, meaning this command won't load it up to a threshold I choose (not available)

charged currently at 97.9%, even if the gui says it's 100%

capacity is 79.7%, what for me is a very high value, considering this is a 10 year old notebook (maybe it hasn't been used much?)

your take?

View original on lemmy.ml
13

Do apt and snap use the same numbering system?

sometimes, if I want to install a program from the terminal, I get 2 options: apt and snap.

It can happen that the displayed versions are not the same, one candidate shows a higher version number than the other.

Do both libraries use the same numbering system and is it safe to assume that the higher the version number is, the newer the program is and one should only consider this variable to install new stuff?

View original on lemmy.ml
14

am I depleting my embedded notebook's battery by leaving the power cord constantly plugged in?

notebook is a 10 year old macbook pro without macos I installed xubuntu 24.04 in. It comes with an embedded battery.

First notebook I bought, not from apple, had a removable battery. The vendor told me to maximize its life I shouldn't plug the battery in, unless I need it (like for traveling). This way, I've managed to keep the original battery in good working condition for 8 years so far.

Back to the macbook: I cannot remove the battery and constantly loading it to up to 80% and discharge it up to 20% seems ridiculous. Furthermore, this would deplete the battery even faster, I believe.

What can I do to spare the battery as much as possible?

View original on lemmy.ml
51

upgrading to xubuntu 24.04, another update

my 23.10 now boots to single user mode (the tty1 log in page), After logging in with username and password (not as root, but regular me) I get this message:

/etc/update-motd.d/95 updates available 7: /usr/share/update-notifier/notify-updates-outdated: not found

run-parts: /etc/update-motd.d/95 updates available exited with return code 127

what's the best way to proceed now?

NMTUI shows wlan is connected

View original on lemmy.ml
6

how do I enable wlan as root from initramfs?

upgrading xubuntu 23.10 to 24.04.

I purged a broken package that was blocking upgrades with sudo dpkg -P libfreerdp2-2 and immediately afterwards I executed sudo apt get upgrade. It unleashed a list of 96 packages to upgrade totaling 900 MB of data.

However, if I press yes on ‘do you want to continue?’ wlan is off wlan is on, nmtui clearly shows it activated, but each time I try upgrading, updating, autoremoving, or install --fix-missing I get:

E: failed to fetch http… initramfs-tools-core… could not connect to 127.0.0.1, connection refused.

(I can write the whole address if you need it)

Some other contributors suggest I use a live usb, not installing the OS but using the live usb with working wlan to complete the installation, but this seems to be more complicated than working directly from initramfs.

View original on lemmy.ml
22

Does this error exit status 127 (libfreerdp2-2) happen because my system (xubuntu 23.10) is not writable?

broken upgrade to xubuntu 24.04 from xubuntu 23.10, can access initramfs as root in recovery mode:

there is a broken package I believe is the root of this whole issue: libfreerdp2-2

if I execute

sudo apt install libfreerdp2-2

I get:

you might want to run apt --fix broken install to correct these, libfreerdp2-2 has unmet dependencies, try apt --fix broken install with no packages or suggest a solution.

After trying apt --fix broken install I get error processing package install-info (--configure), installed install-info package post installation script

Does this happen because the system is only readable?

I also executed

mount -o remount,rw /

mount --all

what do I need to do to check if these commands have worked?

View original on lemmy.ml
13

Partial upgrade to xubuntu 24.04 from 23.10, FS only accessible in recovery mode as root + wifi may be down. Help appreciated

before the issue, wifi app was configured not to start automatically because I sometimes change the mac after logging in. I usually enable it afterwards with iftop and then systemctl start NetworkManager.service && sudo nm-applet

Back to the issue: I can log in to recovery mode, filesystem is read and write, unsure that ‘network’ enables the network.

I can also root it.

If I execute sudo apt update output reads: failed to fetch http…. Could not connect to 127.0.0.1:8118, connection refused. I don’t know how to fix this.

8118 should be tor.

If I execute sudo apt install -f or dpkg –configure -a I get the regular list of packages I should delete with autoremove and the broken package I believe caused this issue during upgrade:

libfreerdp2-2

and a dpkg error:

/usr/sbin/update-info-dir: 11 /etc/environment: debug: not found dpkg: error processing package install-info (-configure) errors were encountered while processing install-info sub process /usr/bin/dpkg returned an error code (1)

lsb_release -a shows distro is 23.10

secondary questions: is there any way to access my data as root? I can cd to media and to my home directory, but this last directory appears as empty.

How do I change the font’s color as root? Very dark blue, cannot read anything

thanks

View original on lemmy.ml
23

You reached the end