Linux News
How to Install Ghost on Ubuntu 22.04
Ghost is a free and open-source content management system for hosting websites. Here’s how to install it on Ubuntu 22.04.
The post How to Install Ghost on Ubuntu 22.04 appeared first on Linux Today.
How to Install ERPNext on Ubuntu 22.04
ERPNext is an open-source enterprise resource planning system aimed at small and midsize businesses. Here’s how to install it on Ubuntu 22.04.
The post How to Install ERPNext on Ubuntu 22.04 appeared first on Linux Today.
Problems after installing the latest updates
On Friday (03/31/2023) there were new updates in the application manager (Pamac). Today I tried to install them all at once, but the program returned errors with some packages. Then I�ve began to install them sequentially in order to install at least some of them. After that, at some point, many problems with the OS appeared (errors in the logs, the Start menu disappeared, wifi does not connect, pamac, chrome, firefox stopped working):
For example, the following message periodically appears in the logs:
Code: апр 03 14:56:39 pc systemd-coredump[121658]: Process 121613 (kded5) of user 1001 dumped core.
Stack trace of thread 121613:
#0 0x00007fbbfc139199 _ZN12KDecoration210Decoration11setSettingsERK14QSharedPointerINS_18DecorationSettingsEE (libkdecorations2.so.5 + 0x1a199)
#1 0x00007fbbfc15dae7 n/a (gtkconfig.so + 0x16ae7)
#2 0x00007fbbfc15e447 _ZNK9GtkConfig30setWindowDecorationsAppearanceEv (gtkconfig.so + 0x17447)
#3 0x00007fbbfc15f64f _ZNK9GtkConfig16applyAllSettingsEv (gtkconfig.so + 0x1864f)
#4 0x00007fbbfc15fce7 _ZN9GtkConfigC1EP7QObjectRK5QListI8QVariantE (gtkconfig.so + 0x18ce7)
#5 0x00007fbbfc15fea0 n/a (gtkconfig.so + 0x18ea0)
#6 0x00007fbc4d55a7d5 _ZN14KPluginFactory6createEPKcP7QWidgetP7QObjectRK5QListI8QVariantERK7QString (libKF5CoreAddons.so.5 + 0x667d5)
#7 0x000055b299ee36b0 n/a (kded5 + 0x96b0)
#8 0x000055b299ee5f48 n/a (kded5 + 0xbf48)
#9 0x000055b299ee7b60 n/a (kded5 + 0xdb60)
#10 0x000055b299ee0a15 n/a (kded5 + 0x6a15)
#11 0x00007fbc4c4ea790 n/a (libc.so.6 + 0x23790)
#12 0x00007fbc4c4ea84a __libc_start_main (libc.so.6 + 0x2384a)
#13 0x000055b299ee10c5 n/a (kded5 + 0x70c5)
Stack trace of thread 121644:
#0 0x00007fbc4c5c19df __poll (libc.so.6 + 0xfa9df)
#1 0x00007fbc4b785c2f n/a (libglib-2.0.so.0 + 0xacc2f)
#2 0x00007fbc4b72dd8f g_main_loop_run (libglib-2.0.so.0 + 0x54d8f)
#3 0x00007fbc1448daec n/a (libgio-2.0.so.0 + 0x10aaec)
#4 0x00007fbc4b75bdb5 n/a (libglib-2.0.so.0 + 0x82db5)
#5 0x00007fbc4c54cbb5 n/a (libc.so.6 + 0x85bb5)
#6 0x00007fbc4c5ced90 n/a (libc.so.6 + 0x107d90)
... Trying to start Pamac I am getting this:
Code: апр 03 15:06:05 pc dbus-daemon[1096]: [session uid=1001 pid=1096] Activating service name='org.manjaro.pamac.manager' requested by ':1.15' (uid=1001 pid=1244 comm="/usr/bin/plasmashell --no-respawn")
апр 03 15:06:05 pc org.manjaro.pamac.manager[147775]: /usr/bin/pamac-manager: symbol lookup error: /usr/lib/libappstream-glib.so.8: undefined symbol: g_string_free_and_steal
апр 03 15:06:05 pc dbus-daemon[1096]: [session uid=1001 pid=1096] Activated service 'org.manjaro.pamac.manager' failed: Process org.manjaro.pamac.manager exited with status 127
апр 03 15:06:05 pc plasmashell[1244]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x56231cf1eab0) QQmlContext(0x56231a1d1df0) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml")
апр 03 15:06:05 pc plasmashell[1244]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x56231cf1eab0) QQmlContext(0x56231a1d1df0) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml")
апр 03 15:06:05 pc plasmashell[1244]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:222:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"
апр 03 15:06:05 pc plasmashell[1244]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:222:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"
апр 03 15:06:05 pc plasmashell[1244]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:222:21: QML SelectableLabel: Binding loop detected for property "implicitHeight"
апр 03 15:06:10 pc kwin_x11[1166]: kwin_core: XCB error: 152 (BadDamage), sequence: 30471, resource id: 16961445, major code: 143 (DAMAGE), minor code: 3 (Subtract) After pressing �Start� button (in the down left corner), I am getting this error instead of menu:
Code: file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/Kickoff.qml:18:1: plugin cannot be loaded for module "org.kde.plasma.private.kicker": Cannot load library /usr/lib/qt/qml/org/kde/plasma/private/kicker/libkickerplugin.so: (/usr/lib/libappstream.so.4: undefined symbol: g_string_free_and_steal) Trying to connect to WiFi i am getting this log:
Code: апр 03 15:00:20 pc NetworkManager[571]: <info> [1680523220.7280] device (wlo1): Activation: starting connection 'Baxto' (a1b478b3-a315-427e-a7eb-de857df53a4c)
апр 03 15:00:20 pc kernel: kauditd_printk_skb: 28 callbacks suppressed
апр 03 15:00:20 pc kernel: audit: type=1111 audit(1680523220.723:305): pid=571 uid=0 auid=4294967295 ses=4294967295 msg='op=connection-activate uuid=a1b478b3-a315-427e-a7eb-de857df53a4c name="Baxto" pid=1244 uid=1001 result=success exe="/usr/bin/NetworkManager" hostname=? addr=? terminal=? res=success'
апр 03 15:00:20 pc audit[571]: USYS_CONFIG pid=571 uid=0 auid=4294967295 ses=4294967295 msg='op=connection-activate uuid=a1b478b3-a315-427e-a7eb-de857df53a4c name="Baxto" pid=1244 uid=1001 result=success exe="/usr/bin/NetworkManager" hostname=? addr=? terminal=? res=success'
апр 03 15:00:20 pc NetworkManager[571]: <info> [1680523220.7283] audit: op="connection-activate" uuid="a1b478b3-a315-427e-a7eb-de857df53a4c" name="Baxto" pid=1244 uid=1001 result="success"
апр 03 15:00:20 pc NetworkManager[571]: <info> [1680523220.7286] device (wlo1): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
апр 03 15:00:20 pc NetworkManager[571]: <info> [1680523220.7295] manager: NetworkManager state is now CONNECTING
апр 03 15:00:20 pc NetworkManager[571]: <info> [1680523220.7348] device (wlo1): set-hw-addr: reset MAC address to A0:51:0B:47:86:19 (preserve)
апр 03 15:00:20 pc NetworkManager[571]: <info> [1680523220.7394] device (wlo1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
апр 03 15:00:20 pc NetworkManager[571]: <info> [1680523220.7403] device (wlo1): Activation: (wifi) access point 'Baxto' has security, but secrets are required.
апр 03 15:00:20 pc NetworkManager[571]: <info> [1680523220.7404] device (wlo1): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
апр 03 15:00:20 pc NetworkManager[571]: <info> [1680523220.7410] sup-iface[8c18ecec5ec73a62,0,wlo1]: wps: type pbc start...
апр 03 15:00:20 pc NetworkManager[571]: <warn> [1680523220.7419] device (wlo1): no secrets: No agents were available for this request.
апр 03 15:00:20 pc NetworkManager[571]: <info> [1680523220.7419] device (wlo1): state change: need-auth -> failed (reason 'no-secrets', sys-iface-state: 'managed')
апр 03 15:00:20 pc NetworkManager[571]: <info> [1680523220.7428] manager: NetworkManager state is now CONNECTED_LOCAL
апр 03 15:00:20 pc NetworkManager[571]: <warn> [1680523220.7434] device (wlo1): Activation: failed for connection 'Baxto'
апр 03 15:00:20 pc NetworkManager[571]: <info> [1680523220.7440] device (wlo1): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed') Also, the non-disconnectable local connection wlo1, which appeared there some time ago, disappeared from the list of connections.
When I try to start google chrome browser I am getting this in log:
Code: апр 03 15:04:19 pc systemd[1069]: Started Google Chrome - Web Browser.
апр 03 15:04:19 pc plasmashell[142478]: /opt/google/chrome/google-chrome: symbol lookup error: /usr/lib/libatk-bridge-2.0.so.0: undefined symbol: g_string_free_and_steal When I try to start Firefox, I get:
Code: апр 03 15:05:15 pc systemd[1069]: Started Firefox - Web Browser.
апр 03 15:05:15 pc plasmashell[145255]: XPCOMGlueLoad error for file /usr/lib/firefox/libmozgtk.so:
апр 03 15:05:15 pc plasmashell[145255]: /usr/lib/libatk-bridge-2.0.so.0: undefined symbol: g_string_free_and_steal
апр 03 15:05:15 pc plasmashell[145255]: Couldn't load XPCOM. My OS details:
- Manjaro 22.0.5 Sikaris
- KDE Plasma 5.26.5
- KDE Frameworks 5.103.0
- Qt Version 5.15.8
- Kernel Version 5.15.102-1-MANJARO (64-bit)
- Graphics Platform X11
Any help would be appreciated!
Civil Infrastructure Platform Kernel slackbuild
I am trying unsuccessfully to adapt Patrick J. Volkerding's slackbuild kernel to the cip kernel.
As the kernel 4.4 is the first kernelS ITS will be useful until 2027 for Slackware 14.2.
https://wiki.linuxfoundation.org/civ...platform/start
https://git.kernel.org/pub/scm/linux...inux-4.4.y-cip
https://gitlab.com/cip-project/cip-k...nux-cip/-/tags
the classic compilation works very well but we are not animals.
sudo make bzImage
sudo make modules
sudo cp -v arch/x86_64/boot/bzImage /boot/vmlinuz-4.4.302-cip73-st38
sudo cp System.map /boot/System.map-4.4.302-cip73-st38
sudo cp .config /boot/config-4.4.302-cip73-st38
sudo make modules_install
sudo grub-mkconfig -o /boot/grub/grub.cfg
config-generic and config-huge remain unchanged compared to the latest version of slackware 14.2 for all versions of linux-cip-4.4.302-cipxx
How to Install and Use Android Debug Bridge (adb) in Linux
Learn how to install the Android Debug Bridge (adb) command-line tool from the Android SDK Platform Tools package in Linux.
The post How to Install and Use Android Debug Bridge (adb) in Linux appeared first on Linux Today.
LLVM 16 and static libraries
Is this an intended feature? If not, maybe if will be better to disable their generation or remove the unwanted static libraries before creating the packages. The static libraries should remains (as in previous LLVM versions) are:
- libarcher_static.a
- libc++.a
- libc++abi.a
- libc++experimental.a
For all other libraries, we should check if a .so counterpart was or not generated/necessary:
- libLLVM*.a: seems to be included in libLLVM-16.so
- libclang*.a: seems to be included in libclang.so.16.0.0
- libPolly*.a: seems not .so were generated (there is LLVMPolly.so, but it doesn't seem to be usable for linking)
- libfind*.a: no .so generated
- liblld*.a: no .so generated
Thanks!
Luca
How to Restore a Schema From a PostgreSQL Database Backup
If you intend to restore only one or a few schemas from a PostgreSQL database backup file, you can use the pg_restore command.
The post How to Restore a Schema From a PostgreSQL Database Backup appeared first on Linux Today.
nginx redirect issue from www to non-www
My issue is that I have a domain name tianyushi.net and now it works well. I want to redirect www.tianyushi.net to tianyushi.net.
I've used a CNAME for DNS, and when I dig the www domain, I get the following results:
Code: tiashi@LSGC02DT7TFMD6R notebook % dig www.tianyushi.net
;; ANSWER SECTION:
www.tianyushi.net. 680 IN CNAME tianyushi.net.
tianyushi.net. 681 IN A 162.255.119.225 So I believe that the DNS side is good.
However, when I try to open www.tianyushi.net, I get a 404 error, which I think is a problem on the Nginx side.
I used the this config with instructions from Google:
Code: server {
listen 80;
listen [::]:80;
server_name tianyushi.net;
root /var/www/html;
index index.html index.nginx-debian.html;
location / {
try_files $uri $uri/ =404;
}
}
server {
listen 80;
listen [::]:80;
server_name www.tianyushi.net;
return 301 $scheme://tianyushi.net$request_uri;
} I have tried other different configs that I found on Google, but I still can't get it to work. pls help...
The Ultimate Guide to Installing Nextcloud on AlmaLinux: Step-by-Step Tutorial
Plymouth and themes
How can I add a Plymouth theme in elementary 7 Horus and activate it?
I would also like the windows to use the Mac style colored dots.
A poem that came to me this morning
A dinosaur is sitting looking back at me.
The dinosaur has feathers coloured black as ink.
It's nice to know that dinosaurs never went extinct!
next-20230403: linux-next
Hello
can't boot Leap 15.4
Leap will not start today. Last message on the screen:
Code: ACPI: button: Power Button [PWRF] Other linux distros are working fine. Could it be related to this problem which has occured yesterday ?
https://www.linuxquestions.org/quest...39#post6421939
BIOS was run after switching rotary hdd(s)
I've powered off laptop and switched rotary hdd for another yesterday. BIOS was run immediately after pressing power on button. Probably reason was that BIOS boot has changed (!) from legacy to EFI. Is it because of low BIOS battery voltage ? It's old.
No apparent problem in smartctl with one exception:
Code: smartctl --all /dev/sdc
...
193 Load_Cycle_Count 0x0012 001 001 000 Old_age Always - 1406526
...
I've booted OpenSUSE Leap 15.4 after switching BIOS to legacy mode (yesterday). I made upgrade, rebooted Leap, everything was right.
Akonadi crashing on -current
I tried to run KMail today, and it doesn't run, stating that the Akonadi server is not running. Manually starting Akonadi with Code: akonadictl start yields the following output:
Code: org.kde.pim.akonadictl: Starting Akonadi Server...
org.kde.pim.akonadictl: done.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
~ $ org.kde.pim.akonadiserver: Starting up the Akonadi Server...
org.kde.pim.akonadiserver: database server stopped unexpectedly
org.kde.pim.akonadiserver: Database process exited unexpectedly during initial connection!
org.kde.pim.akonadiserver: executable: "/usr/libexec/mysqld"
org.kde.pim.akonadiserver: arguments: ("--defaults-file=/home/ltlnx/.local/share/akonadi/mysql.conf", "--datadir=/home/ltlnx/.local/share/akonadi/db_data/", "--socket=/run/user/1000/akonadi/mysql.socket", "--pid-file=/run/user/1000/akonadi/mysql.pid")
org.kde.pim.akonadiserver: stdout: ""
org.kde.pim.akonadiserver: stderr: ""
org.kde.pim.akonadiserver: exit code: 1
org.kde.pim.akonadiserver: process error: "Unknown error"
org.kde.pim.akonadiserver: Shutting down AkonadiServer...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadiserver' exited normally... I tried starting /etc/rc.mysqld manually, and it started successfully, but Akonadi still throws the same error. Has anyone encountered this problem? TIA.
Cheers,
ltlnx
LXer: OBS Studio 29.1 Promises AV1/HEVC Streaming over RTMP, Lossless Audio Recording
OBS Studio 29.1, the first major release since OBS Studio 29.0, is now available for public beta testing with multiple new features and improvements for this open-source, cross-platform, and free live streaming and screen recording application.
Read More...