GNOME Shell Extensions error
I'm trying to configure gnome-shell-extensions so I can set up a better interface for NordVpn. After I installed the necessary packages in the terminal it still posted an error that says, "Unable to locate GNOME Shell settings or version. Make sure it is installed and running." I've tried re-running the commands to install but to no avail. Anyone had the same issue?
https://redd.it/lf3afx
@r_linux
I'm trying to configure gnome-shell-extensions so I can set up a better interface for NordVpn. After I installed the necessary packages in the terminal it still posted an error that says, "Unable to locate GNOME Shell settings or version. Make sure it is installed and running." I've tried re-running the commands to install but to no avail. Anyone had the same issue?
https://redd.it/lf3afx
@r_linux
reddit
GNOME Shell Extensions error
I'm trying to configure gnome-shell-extensions so I can set up a better interface for NordVpn. After I installed the necessary packages in the...
Turning my screen off with a keyboard shortcut, or: Why GNU/Linux is easier and more user-friendly than Windows.
maybe the power button on your monitor is broken, it doesn't matter why: you want to turn the thing off without touching it (that includes yanking the cable out). you want to press a single button on your keyboard and have the screen turn off
most distros make this easy to setup through the GUI: just open the preinstalled keyboard applet, create a new shortcut, paste "xset dpms force off" or into the command box, and press the button you want to use. that's literally it. the moment you press the assigned button the screen goes into standby and wakes up under the same conditions as it does when you've set it to turn off automatically after X minutes of inactivity
you can even control individual monitors. i haven't tested this but "xset -display $DISPLAY dpms force off" or "xrandr --output $DISPLAY --off" should turn it off ("xrandr -q" to list your monitors) and "xset -display :0.0 dpms force on" or "xrandr --output CRT1 --auto" should turn it back on. in the xrandr command the "auto" can be replaced with "on" and you can add something like "--right-of $OTHERDISPLAY" to control its relative position
now i want to do the same thing in windows. here, the relevant powershell command is "(Add-Type 'DllImport("user32.dll")public static extern int SendMessage(int hWnd, int hMsg, int wParam, int lParam);' -Name a -Pas)::SendMessage(-1,0x0112,0xF170,2)"
yikes. whatever, not like it matters when i'm only going to copy-paste it once. except windows won't let you just paste that into a shortcut. you have to paste it into powershell or a .ps1 file. except for "security reasons" windows doesn't let you run unsigned .ps1 files or something? i dunno. the official workaround is to invoke powershell through cmd with the following command: "powershell (Add-Type 'DllImport(\"user32.dll\")^public static extern int SendMessage(int hWnd, int hMsg, int wParam, int lParam);' -Name a -Pas)::SendMessage(-1,0x0112,0xF170,2)"
microsoft even provides a .cmd file with just this command, and some advice on how to turn it into a keyboard shortcut: you know how you can right-click a .exe and create a shortcut to it on your desktop? well you can ONLY do that with a .exe, so we need to convert our .cmd file. microsoft provides a tool to do that too, and it only takes 10 steps to point it at the file we want to convert. half a minute later it spits out an .exe that's basically a self-extracting zip of the original .cmd file. when run, it extracts the .cmd and runs it, which invokes powershell, which imports user32.dll and then sends the monitor shutdown command
now that we have that, we can right-click it, create a shortcut, right-click THAT, and assign it a shortcut key. success! ...sorta
first of all, the converter is unreliable as hell. 1 out of 10 .exes i generated worked, 1 spawned an empty cmd window, and the other 8 did nothing at all. second of all, windows has certain preconceptions about which keys are suitable for shortcuts. while linux would let me assign any key (or combination of keys) i could come up with, windows is not a big fan of me repurposing the "wake" key on my keyboard. which is sad because the only thing it does is pull the PC out of a sleep state, and i don't need a dedicated key for that when EVERY key pulls my PC out of sleep state. so that's out. guess i'll pick a different key i don't use? after trying 5 different keys with the same result i get one windows accepts... only for it to automatically add CTRL+ALT in front of it. this forces me to use a three-key, two-hand combo, and we can't have that
after some digging, i find out CTRL+ALT is not added to every key. the numpad is an exception. so i compromise and assign the "minus" key on the numpad as my shortcut. the "dash" key on the main keyboard serves the same purpose, so i'm not really losing anything. finally i have a single-key shortcut to turn my screen off! i press it... and nothing happens
why? maybe "minus" isn't valid even though the
maybe the power button on your monitor is broken, it doesn't matter why: you want to turn the thing off without touching it (that includes yanking the cable out). you want to press a single button on your keyboard and have the screen turn off
most distros make this easy to setup through the GUI: just open the preinstalled keyboard applet, create a new shortcut, paste "xset dpms force off" or into the command box, and press the button you want to use. that's literally it. the moment you press the assigned button the screen goes into standby and wakes up under the same conditions as it does when you've set it to turn off automatically after X minutes of inactivity
you can even control individual monitors. i haven't tested this but "xset -display $DISPLAY dpms force off" or "xrandr --output $DISPLAY --off" should turn it off ("xrandr -q" to list your monitors) and "xset -display :0.0 dpms force on" or "xrandr --output CRT1 --auto" should turn it back on. in the xrandr command the "auto" can be replaced with "on" and you can add something like "--right-of $OTHERDISPLAY" to control its relative position
now i want to do the same thing in windows. here, the relevant powershell command is "(Add-Type 'DllImport("user32.dll")public static extern int SendMessage(int hWnd, int hMsg, int wParam, int lParam);' -Name a -Pas)::SendMessage(-1,0x0112,0xF170,2)"
yikes. whatever, not like it matters when i'm only going to copy-paste it once. except windows won't let you just paste that into a shortcut. you have to paste it into powershell or a .ps1 file. except for "security reasons" windows doesn't let you run unsigned .ps1 files or something? i dunno. the official workaround is to invoke powershell through cmd with the following command: "powershell (Add-Type 'DllImport(\"user32.dll\")^public static extern int SendMessage(int hWnd, int hMsg, int wParam, int lParam);' -Name a -Pas)::SendMessage(-1,0x0112,0xF170,2)"
microsoft even provides a .cmd file with just this command, and some advice on how to turn it into a keyboard shortcut: you know how you can right-click a .exe and create a shortcut to it on your desktop? well you can ONLY do that with a .exe, so we need to convert our .cmd file. microsoft provides a tool to do that too, and it only takes 10 steps to point it at the file we want to convert. half a minute later it spits out an .exe that's basically a self-extracting zip of the original .cmd file. when run, it extracts the .cmd and runs it, which invokes powershell, which imports user32.dll and then sends the monitor shutdown command
now that we have that, we can right-click it, create a shortcut, right-click THAT, and assign it a shortcut key. success! ...sorta
first of all, the converter is unreliable as hell. 1 out of 10 .exes i generated worked, 1 spawned an empty cmd window, and the other 8 did nothing at all. second of all, windows has certain preconceptions about which keys are suitable for shortcuts. while linux would let me assign any key (or combination of keys) i could come up with, windows is not a big fan of me repurposing the "wake" key on my keyboard. which is sad because the only thing it does is pull the PC out of a sleep state, and i don't need a dedicated key for that when EVERY key pulls my PC out of sleep state. so that's out. guess i'll pick a different key i don't use? after trying 5 different keys with the same result i get one windows accepts... only for it to automatically add CTRL+ALT in front of it. this forces me to use a three-key, two-hand combo, and we can't have that
after some digging, i find out CTRL+ALT is not added to every key. the numpad is an exception. so i compromise and assign the "minus" key on the numpad as my shortcut. the "dash" key on the main keyboard serves the same purpose, so i'm not really losing anything. finally i have a single-key shortcut to turn my screen off! i press it... and nothing happens
why? maybe "minus" isn't valid even though the
GUI accepted it? i wouldn't put it past windows. but the same happens when i try CTRL+ALT+F and CTRL+ALT+6 and a bunch of other combinations. is it just broken? more digging gets me this lol-worthy answer. TLDR:
>before launching a program via its shortcut key, Windows first polls all currently running programs and asks "Is this your shortcut key?" If so it switches focus to that window rather than spinning up a new copy of the program. The problem happens when a window somewhere refuses to answer the question. This can be a program that's generally non-responsive for some reason, though it can also happen for other reasons (see below). Windows waits 3 seconds before muttering "jerk" under its breath and moving on to the next window to ask it the same shortcut question.
so i try my shortcut again and wait. ~10 seconds later, my screen turns off! hooray!
note: this is the official solution using built-in tools. it's probably a lot easier to just install autohotkey and use that
https://redd.it/lepvcp
@r_linux
>before launching a program via its shortcut key, Windows first polls all currently running programs and asks "Is this your shortcut key?" If so it switches focus to that window rather than spinning up a new copy of the program. The problem happens when a window somewhere refuses to answer the question. This can be a program that's generally non-responsive for some reason, though it can also happen for other reasons (see below). Windows waits 3 seconds before muttering "jerk" under its breath and moving on to the next window to ask it the same shortcut question.
so i try my shortcut again and wait. ~10 seconds later, my screen turns off! hooray!
note: this is the official solution using built-in tools. it's probably a lot easier to just install autohotkey and use that
https://redd.it/lepvcp
@r_linux
Super User
slow windows desktop keyboard shortcuts
I've got a couple of shortcuts on my desktop and on some of them I've configured the "Shortcut key" to a keyboard combination. For example I have a shortcut pointing to d:\documents\todo....
install uninstall loop
Hi all,
​
I recently got into the world of NAS (ubuntu server).
A lot is running nicely.. PLEX, minecraft, I even ahd a wordpress server running, but it had a small hickup with the MYSQL server, so I uninstalled it..At least, I thought I did.
and there it went down hill.
Preparing to unpack .../mysql-server-8.08.0.23-0ubuntu0.20.04.1amd64.deb ...
Failed to stop mysql.service: Unit mysql.service not loaded.
invoke-rc.d: initnoscript mysql, action "stop" failed.
invoke-rc.d returned 5
There is a MySQL server running, but we failed in our attempts to stop it.
Stop it yourself and try again!
dpkg: error processing archive /var/cache/apt/archives/mysql-server-8.08.0.23-0ubuntu0.20.04.1amd64.deb (--unpack):
new mysql-server-8.0 package pre-installation noscript subprocess returned error exit status 1
Selecting previously unselected package mysql-server.
Preparing to unpack .../mysql-server8.0.23-0ubuntu0.20.04.1all.deb ...
Unpacking mysql-server (8.0.23-0ubuntu0.20.04.1) ...
Errors were encountered while processing:
/var/cache/apt/archives/mysql-server-8.08.0.23-0ubuntu0.20.04.1amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@vicsserver:/home/victoroos# sudo mysqlsecureinstallation
mysqlsecureinstallation: ERROR unknown variable 'default-character-set=utf8mb4'.
Securing the MySQL server deployment. Enter password for user root: Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) root@vicsserver:/home/victoroos# ^C root@vicsserver:/home/victoroos# sudo service mysql start
failed to start mysql.service: Unit mysql.service not found.
I already tried these steps:
stopping or starting:
Stopping mysql (via systemctl): mysql.serviceFailed to stop mysql.service: Unit mysql.service not loaded. failed! and When I start: Starting mysql (via systemctl): mysql.serviceFailed to start mysql.service: Unit mysql.service not found. failed!
f install:
victoroos@vicsserver:~$ sudo apt -f install sudo password for victoroos: Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: libconfig-inifiles-perl libdbd-mysql-perl libdbi-perl libmysqlclient21 libsnappy1v5 libterm-readkey-perl mariadb-common php7.4-mysql Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: mysql-server-8.0 Suggested packages: mailx tinyca The following NEW packages will be installed: mysql-server-8.0 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed.
Now, I can't install anything (I tried to update my plex)
victoroos@vicsserver:~$ sudo apt-get purge mysql-common mysql-server-8.0
sudo password for victoroos:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'mysql-server-8.0' is not installed, so not removed
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libmysqlclient21 : Depends: mysql-common (>= 5.5) but it is not going to be installed
mariadb-common : Depends: mysql-common (>= 5.6.25) but it is not going to be installed
mysql-client-8.0 : Depends: mysql-common (>= 5.5) but it is not going to be installed
mysql-server : Depends: mysql-server-8.0 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
victoroos@vicsserver:~$ ^C
victoroos@vicsserver:~$ sudo apt --fix-broken
E: Command line option --fix-broken is not understood in combination with the other options
Hi all,
​
I recently got into the world of NAS (ubuntu server).
A lot is running nicely.. PLEX, minecraft, I even ahd a wordpress server running, but it had a small hickup with the MYSQL server, so I uninstalled it..At least, I thought I did.
Errors were encountered while processing: /tmp/apt-dpkg-install-0TJWYH/06-mysql-server-8.0_8.0.23-0ubuntu0.20.04.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)and there it went down hill.
Preparing to unpack .../mysql-server-8.08.0.23-0ubuntu0.20.04.1amd64.deb ...
Failed to stop mysql.service: Unit mysql.service not loaded.
invoke-rc.d: initnoscript mysql, action "stop" failed.
invoke-rc.d returned 5
There is a MySQL server running, but we failed in our attempts to stop it.
Stop it yourself and try again!
dpkg: error processing archive /var/cache/apt/archives/mysql-server-8.08.0.23-0ubuntu0.20.04.1amd64.deb (--unpack):
new mysql-server-8.0 package pre-installation noscript subprocess returned error exit status 1
Selecting previously unselected package mysql-server.
Preparing to unpack .../mysql-server8.0.23-0ubuntu0.20.04.1all.deb ...
Unpacking mysql-server (8.0.23-0ubuntu0.20.04.1) ...
Errors were encountered while processing:
/var/cache/apt/archives/mysql-server-8.08.0.23-0ubuntu0.20.04.1amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@vicsserver:/home/victoroos# sudo mysqlsecureinstallation
mysqlsecureinstallation: ERROR unknown variable 'default-character-set=utf8mb4'.
Securing the MySQL server deployment. Enter password for user root: Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) root@vicsserver:/home/victoroos# ^C root@vicsserver:/home/victoroos# sudo service mysql start
failed to start mysql.service: Unit mysql.service not found.
I already tried these steps:
stopping or starting:
Stopping mysql (via systemctl): mysql.serviceFailed to stop mysql.service: Unit mysql.service not loaded. failed! and When I start: Starting mysql (via systemctl): mysql.serviceFailed to start mysql.service: Unit mysql.service not found. failed!
f install:
victoroos@vicsserver:~$ sudo apt -f install sudo password for victoroos: Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: libconfig-inifiles-perl libdbd-mysql-perl libdbi-perl libmysqlclient21 libsnappy1v5 libterm-readkey-perl mariadb-common php7.4-mysql Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: mysql-server-8.0 Suggested packages: mailx tinyca The following NEW packages will be installed: mysql-server-8.0 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed.
Now, I can't install anything (I tried to update my plex)
victoroos@vicsserver:~$ sudo apt-get purge mysql-common mysql-server-8.0
sudo password for victoroos:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'mysql-server-8.0' is not installed, so not removed
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libmysqlclient21 : Depends: mysql-common (>= 5.5) but it is not going to be installed
mariadb-common : Depends: mysql-common (>= 5.6.25) but it is not going to be installed
mysql-client-8.0 : Depends: mysql-common (>= 5.5) but it is not going to be installed
mysql-server : Depends: mysql-server-8.0 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
victoroos@vicsserver:~$ ^C
victoroos@vicsserver:~$ sudo apt --fix-broken
E: Command line option --fix-broken is not understood in combination with the other options
install uninstall loop
Hi all,
​
I recently got into the world of NAS (ubuntu server).
A lot is running nicely.. PLEX, minecraft, I even ahd a wordpress server running, but it had a small hickup with the MYSQL server, so I uninstalled it..At least, I thought I did.
`Errors were encountered while processing: /tmp/apt-dpkg-install-0TJWYH/06-mysql-server-8.0_8.0.23-0ubuntu0.20.04.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)`
and there it went down hill.
Preparing to unpack .../mysql-server-8.0_8.0.23-0ubuntu0.20.04.1_amd64.deb ...
Failed to stop mysql.service: Unit mysql.service not loaded.
invoke-rc.d: initnoscript mysql, action "stop" failed.
invoke-rc.d returned 5
There is a MySQL server running, but we failed in our attempts to stop it.
Stop it yourself and try again!
dpkg: error processing archive /var/cache/apt/archives/mysql-server-8.0_8.0.23-0ubuntu0.20.04.1_amd64.deb (--unpack):
new mysql-server-8.0 package pre-installation noscript subprocess returned error exit status 1
Selecting previously unselected package mysql-server.
Preparing to unpack .../mysql-server_8.0.23-0ubuntu0.20.04.1_all.deb ...
Unpacking mysql-server (8.0.23-0ubuntu0.20.04.1) ...
Errors were encountered while processing:
/var/cache/apt/archives/mysql-server-8.0_8.0.23-0ubuntu0.20.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@vicsserver:/home/victoroos# sudo mysql_secure_installation
mysql_secure_installation: [ERROR] unknown variable 'default-character-set=utf8mb4'.
Securing the MySQL server deployment. Enter password for user root: Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) root@vicsserver:/home/victoroos# ^C root@vicsserver:/home/victoroos# sudo service mysql start
failed to start mysql.service: Unit mysql.service not found.
I already tried these steps:
stopping or starting:
Stopping mysql (via systemctl): mysql.serviceFailed to stop mysql.service: Unit mysql.service not loaded. failed! and When I start: Starting mysql (via systemctl): mysql.serviceFailed to start mysql.service: Unit mysql.service not found. failed!
f install:
victoroos@vicsserver:~$ sudo apt -f install [sudo] password for victoroos: Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: libconfig-inifiles-perl libdbd-mysql-perl libdbi-perl libmysqlclient21 libsnappy1v5 libterm-readkey-perl mariadb-common php7.4-mysql Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: mysql-server-8.0 Suggested packages: mailx tinyca The following NEW packages will be installed: mysql-server-8.0 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed.
Now, I can't install anything (I tried to update my plex)
victoroos@vicsserver:~$ sudo apt-get purge mysql-common mysql-server-8.0
[sudo] password for victoroos:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'mysql-server-8.0' is not installed, so not removed
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libmysqlclient21 : Depends: mysql-common (>= 5.5) but it is not going to be installed
mariadb-common : Depends: mysql-common (>= 5.6.25) but it is not going to be installed
mysql-client-8.0 : Depends: mysql-common (>= 5.5) but it is not going to be installed
mysql-server : Depends: mysql-server-8.0 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
victoroos@vicsserver:~$ ^C
victoroos@vicsserver:~$ sudo apt --fix-broken
E: Command line option --fix-broken is not understood in combination with the other options
Hi all,
​
I recently got into the world of NAS (ubuntu server).
A lot is running nicely.. PLEX, minecraft, I even ahd a wordpress server running, but it had a small hickup with the MYSQL server, so I uninstalled it..At least, I thought I did.
`Errors were encountered while processing: /tmp/apt-dpkg-install-0TJWYH/06-mysql-server-8.0_8.0.23-0ubuntu0.20.04.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)`
and there it went down hill.
Preparing to unpack .../mysql-server-8.0_8.0.23-0ubuntu0.20.04.1_amd64.deb ...
Failed to stop mysql.service: Unit mysql.service not loaded.
invoke-rc.d: initnoscript mysql, action "stop" failed.
invoke-rc.d returned 5
There is a MySQL server running, but we failed in our attempts to stop it.
Stop it yourself and try again!
dpkg: error processing archive /var/cache/apt/archives/mysql-server-8.0_8.0.23-0ubuntu0.20.04.1_amd64.deb (--unpack):
new mysql-server-8.0 package pre-installation noscript subprocess returned error exit status 1
Selecting previously unselected package mysql-server.
Preparing to unpack .../mysql-server_8.0.23-0ubuntu0.20.04.1_all.deb ...
Unpacking mysql-server (8.0.23-0ubuntu0.20.04.1) ...
Errors were encountered while processing:
/var/cache/apt/archives/mysql-server-8.0_8.0.23-0ubuntu0.20.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@vicsserver:/home/victoroos# sudo mysql_secure_installation
mysql_secure_installation: [ERROR] unknown variable 'default-character-set=utf8mb4'.
Securing the MySQL server deployment. Enter password for user root: Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) root@vicsserver:/home/victoroos# ^C root@vicsserver:/home/victoroos# sudo service mysql start
failed to start mysql.service: Unit mysql.service not found.
I already tried these steps:
stopping or starting:
Stopping mysql (via systemctl): mysql.serviceFailed to stop mysql.service: Unit mysql.service not loaded. failed! and When I start: Starting mysql (via systemctl): mysql.serviceFailed to start mysql.service: Unit mysql.service not found. failed!
f install:
victoroos@vicsserver:~$ sudo apt -f install [sudo] password for victoroos: Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: libconfig-inifiles-perl libdbd-mysql-perl libdbi-perl libmysqlclient21 libsnappy1v5 libterm-readkey-perl mariadb-common php7.4-mysql Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: mysql-server-8.0 Suggested packages: mailx tinyca The following NEW packages will be installed: mysql-server-8.0 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed.
Now, I can't install anything (I tried to update my plex)
victoroos@vicsserver:~$ sudo apt-get purge mysql-common mysql-server-8.0
[sudo] password for victoroos:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'mysql-server-8.0' is not installed, so not removed
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libmysqlclient21 : Depends: mysql-common (>= 5.5) but it is not going to be installed
mariadb-common : Depends: mysql-common (>= 5.6.25) but it is not going to be installed
mysql-client-8.0 : Depends: mysql-common (>= 5.5) but it is not going to be installed
mysql-server : Depends: mysql-server-8.0 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
victoroos@vicsserver:~$ ^C
victoroos@vicsserver:~$ sudo apt --fix-broken
E: Command line option --fix-broken is not understood in combination with the other options
victoroos@vicsserver:~$ sudo apt-get purge mysql-common mysql-server*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'mysql-server-5.5' for glob 'mysql-server*'
Note, selecting 'mysql-server-5.6' for glob 'mysql-server*'
Note, selecting 'mysql-server-5.7' for glob 'mysql-server*'
Note, selecting 'mysql-server' for glob 'mysql-server*'
Note, selecting 'mysql-server-8.0' for glob 'mysql-server*'
Note, selecting 'mysql-server-core-5.5' for glob 'mysql-server*'
Note, selecting 'mysql-server-core-5.6' for glob 'mysql-server*'
Note, selecting 'mysql-server-core-5.7' for glob 'mysql-server*'
Note, selecting 'mysql-server-core-8.0' for glob 'mysql-server*'
Package 'mysql-server-5.5' is not installed, so not removed
Package 'mysql-server-5.7' is not installed, so not removed
Package 'mysql-server-core-5.7' is not installed, so not removed
Package 'mysql-server-core-5.5' is not installed, so not removed
Package 'mysql-server-core-5.6' is not installed, so not removed
Package 'mysql-server-5.6' is not installed, so not removed
Package 'mysql-server-8.0' is not installed, so not removed
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libmysqlclient21 : Depends: mysql-common (>= 5.5) but it is not going to be installed
mariadb-common : Depends: mysql-common (>= 5.6.25) but it is not going to be installed
mysql-client-8.0 : Depends: mysql-common (>= 5.5) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
victoroos@vicsserver:~$ sudo apt-get purge mysql-common mysql-common*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'mysql-common-5.6' for glob 'mysql-common*'
Note, selecting 'mysql-common' for glob 'mysql-common*'
Note, selecting 'mysql-common' instead of 'mysql-common-5.6'
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libmysqlclient21 : Depends: mysql-common (>= 5.5) but it is not going to be installed
mariadb-common : Depends: mysql-common (>= 5.6.25) but it is not going to be installed
mysql-client-8.0 : Depends: mysql-common (>= 5.5) but it is not going to be installed
mysql-server : Depends: mysql-server-8.0 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
​
​
I hope I gave enough insight on what I already tried?
​
cheers
Victor
https://redd.it/lf89vt
@r_linux
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'mysql-server-5.5' for glob 'mysql-server*'
Note, selecting 'mysql-server-5.6' for glob 'mysql-server*'
Note, selecting 'mysql-server-5.7' for glob 'mysql-server*'
Note, selecting 'mysql-server' for glob 'mysql-server*'
Note, selecting 'mysql-server-8.0' for glob 'mysql-server*'
Note, selecting 'mysql-server-core-5.5' for glob 'mysql-server*'
Note, selecting 'mysql-server-core-5.6' for glob 'mysql-server*'
Note, selecting 'mysql-server-core-5.7' for glob 'mysql-server*'
Note, selecting 'mysql-server-core-8.0' for glob 'mysql-server*'
Package 'mysql-server-5.5' is not installed, so not removed
Package 'mysql-server-5.7' is not installed, so not removed
Package 'mysql-server-core-5.7' is not installed, so not removed
Package 'mysql-server-core-5.5' is not installed, so not removed
Package 'mysql-server-core-5.6' is not installed, so not removed
Package 'mysql-server-5.6' is not installed, so not removed
Package 'mysql-server-8.0' is not installed, so not removed
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libmysqlclient21 : Depends: mysql-common (>= 5.5) but it is not going to be installed
mariadb-common : Depends: mysql-common (>= 5.6.25) but it is not going to be installed
mysql-client-8.0 : Depends: mysql-common (>= 5.5) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
victoroos@vicsserver:~$ sudo apt-get purge mysql-common mysql-common*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'mysql-common-5.6' for glob 'mysql-common*'
Note, selecting 'mysql-common' for glob 'mysql-common*'
Note, selecting 'mysql-common' instead of 'mysql-common-5.6'
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libmysqlclient21 : Depends: mysql-common (>= 5.5) but it is not going to be installed
mariadb-common : Depends: mysql-common (>= 5.6.25) but it is not going to be installed
mysql-client-8.0 : Depends: mysql-common (>= 5.5) but it is not going to be installed
mysql-server : Depends: mysql-server-8.0 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
​
​
I hope I gave enough insight on what I already tried?
​
cheers
Victor
https://redd.it/lf89vt
@r_linux
reddit
install uninstall loop
Hi all, I recently got into the world of NAS (ubuntu server). A lot is running nicely.. PLEX, minecraft, I even ahd a wordpress server...
What should be used instead of grub loader?
I have been using linux mint for few years but I always get to some hickups. Usually I use it for few months and almost always something in grub loader gets broken(sometimes it's just broken packages and stuff like that but sometimes I lose eletricity and have to repeat everything). Long story short what do you use instead of grub loader?
https://redd.it/lf98le
@r_linux
I have been using linux mint for few years but I always get to some hickups. Usually I use it for few months and almost always something in grub loader gets broken(sometimes it's just broken packages and stuff like that but sometimes I lose eletricity and have to repeat everything). Long story short what do you use instead of grub loader?
https://redd.it/lf98le
@r_linux
reddit
What should be used instead of grub loader?
I have been using linux mint for few years but I always get to some hickups. Usually I use it for few months and almost always something in...
Name workspaces in Ubuntu 18
When I click the windows key, on the right, I can see my workspace. Thing is, I can't seem to name them like in Windows. Is it possible to easily name & view workspaces, so that when I go to the workspaces, I can see the name I gave to each one?
I'm on ubuntu 18.04.
Huge thanks ahead!
https://redd.it/lf9dv4
@r_linux
When I click the windows key, on the right, I can see my workspace. Thing is, I can't seem to name them like in Windows. Is it possible to easily name & view workspaces, so that when I go to the workspaces, I can see the name I gave to each one?
I'm on ubuntu 18.04.
Huge thanks ahead!
https://redd.it/lf9dv4
@r_linux
Imgur
Post with 1 views.
What’s your way to migrate your data/prefs to a new desktop?
I know you should just be able to migrate your home and all the prefs are stored in dot-files, but that doesn’t always work, for once you also have to have the same programs installed.
You can easily do that by extracting the list of packages installed in the old laptop and then pass that to your package manager, still, it’s kinda of a lot of work.
Is there an application that will paese all my dot-files, installed packages and allow me to choose what to re-install in the new desktop and automatically put the relevant dot-files there?
What about stuff in /etc or some other place in the system, like network-manager stuff (I’ve got heaps of VPN and remmina stuff) and various tools like apache or dnsmasq or whatever I might need and have customized/confed/added user data to it in the past.
I didn’t keep track of everything I did, that’s why I was thinking maybe somebody already did something to do this easily without me having to reinvent the wheel.
What about KDE, I have a number of settings/conf I do (I’m on fedora), what’s your way to migrate these (for this case I believe KDE should manage with the dot-files in my home)
https://redd.it/lfcsbj
@r_linux
I know you should just be able to migrate your home and all the prefs are stored in dot-files, but that doesn’t always work, for once you also have to have the same programs installed.
You can easily do that by extracting the list of packages installed in the old laptop and then pass that to your package manager, still, it’s kinda of a lot of work.
Is there an application that will paese all my dot-files, installed packages and allow me to choose what to re-install in the new desktop and automatically put the relevant dot-files there?
What about stuff in /etc or some other place in the system, like network-manager stuff (I’ve got heaps of VPN and remmina stuff) and various tools like apache or dnsmasq or whatever I might need and have customized/confed/added user data to it in the past.
I didn’t keep track of everything I did, that’s why I was thinking maybe somebody already did something to do this easily without me having to reinvent the wheel.
What about KDE, I have a number of settings/conf I do (I’m on fedora), what’s your way to migrate these (for this case I believe KDE should manage with the dot-files in my home)
https://redd.it/lfcsbj
@r_linux
reddit
What’s your way to migrate your data/prefs to a new desktop?
I know you should just be able to migrate your home and all the prefs are stored in dot-files, but that doesn’t always work, for once you also...
TUTORIAL Install Brother old drivers in Raspberry PI with QUEMU (pretty easy)
Hi, just managed to print from my Android device in my old DCP-197C and I want to share it with you
I don't know if I miss something, because I tried it so many times, but I want to write somewhere what I did today, when it finally worked:
INSTALL ALL THE NECESARY STUFF
ADD ARCHITECTURE
DOWNLOAD LIBC6 FOR i386 (I found it here)
IF YOU TRY TO INSTALL THIS, YOU WILL MESS AROUND WITH APT, SO WE WILL EXTRACT THE DEB AND COPY THESE FILES MANUALLY
>dpkg -x libc6_2.13-38+deb7u8_i386.deb data
>
>sudo cp -r data/lib/* /lib
>
>sudo cp -r data/usr/* /usr
>
>sudo cp -r data/etc/* /etc
RUN THIS AND ADD IT TO BASHRC TO RUN IN EVERY REBOOT
DOWNLOAD AND INSTALL YOUR DRIVERS - FOR ME:
>wget https://download.brother.com/welcome/dlf005405/dcp197ccupswrapper-1.1.3-1.i386.deb
>
>wget https://download.brother.com/welcome/dlf005403/dcp197clpr-1.1.3-1.i386.deb
>
>sudo dpkg -i dcp197ccupswrapper-1.1.3-1.i386.deb
>
>sudo dpkg -i dcp197clpr-1.1.3-1.i386.deb
https://redd.it/lfaox9
@r_linux
Hi, just managed to print from my Android device in my old DCP-197C and I want to share it with you
I don't know if I miss something, because I tried it so many times, but I want to write somewhere what I did today, when it finally worked:
INSTALL ALL THE NECESARY STUFF
apt-get install qemu binfmt-support qemu-user-static cups a2psADD ARCHITECTURE
dpkg --add-architecture i386DOWNLOAD LIBC6 FOR i386 (I found it here)
wget `old.kali.org/kali-security/pool/main/e/eglibc/libc6_2.13-38+deb7u8_i386.deb`IF YOU TRY TO INSTALL THIS, YOU WILL MESS AROUND WITH APT, SO WE WILL EXTRACT THE DEB AND COPY THESE FILES MANUALLY
>dpkg -x libc6_2.13-38+deb7u8_i386.deb data
>
>sudo cp -r data/lib/* /lib
>
>sudo cp -r data/usr/* /usr
>
>sudo cp -r data/etc/* /etc
RUN THIS AND ADD IT TO BASHRC TO RUN IN EVERY REBOOT
EXTRA_OPTS="-L /lib/i386-linux-gnu"DOWNLOAD AND INSTALL YOUR DRIVERS - FOR ME:
>wget https://download.brother.com/welcome/dlf005405/dcp197ccupswrapper-1.1.3-1.i386.deb
>
>wget https://download.brother.com/welcome/dlf005403/dcp197clpr-1.1.3-1.i386.deb
>
>sudo dpkg -i dcp197ccupswrapper-1.1.3-1.i386.deb
>
>sudo dpkg -i dcp197clpr-1.1.3-1.i386.deb
https://redd.it/lfaox9
@r_linux
reddit
[TUTORIAL] Install Brother old drivers in Raspberry PI with QUEMU...
Hi, just managed to print from my Android device in my old DCP-197C and I want to share it with you I don't know if I miss something, because I...
TIL that you can't use microsoft's new python language server on unofficial builds of visual studio code.
Basically the noscript.
Vent ahead
I was trying out VS Code for using the python, but was not able to install
So after digging a little bit I found this.
Not sad just a little disappointed. I mainly use vim with a language server protocol client like
https://redd.it/lfi9in
@r_linux
Basically the noscript.
Vent ahead
I was trying out VS Code for using the python, but was not able to install
Pylance language server. It does not show any error or warning, when you change from the default language server (jedi) it just sits there.So after digging a little bit I found this.
Not sad just a little disappointed. I mainly use vim with a language server protocol client like
coc.nvim but they recently archived coc-python and recommends using coc-pyright. It's alright but the completion is not as good as microsoft's initial language server mpls, can't really complain pyright is a type checker which it does quite well and jedi usually lags a lot on large project and modules.https://redd.it/lfi9in
@r_linux
GitHub
Can't find and install pylance · Issue #483 · microsoft/pylance-release
When switching language server to Pylance, I see a popup stating that Pylance is not installed and that I should click yes to get to the Pylance page. However, the page does not open after clicking...
Fedora Mobility v0.4.0 on the PinePhone featuring PipeWire Calling
https://odysee.com/@linmob:3/fedora-on-the-pinephone-pipewire-calling:1
https://redd.it/lfgh1l
@r_linux
https://odysee.com/@linmob:3/fedora-on-the-pinephone-pipewire-calling:1
https://redd.it/lfgh1l
@r_linux
Odysee
Fedora on the PinePhone: Pipewire Calling!
I was shocked when I realized that I had not made a video about Fedora on the PinePhone.So... I made one.
How to get static routes and running services remotely for Linux machines?
I need to determine if the Red Hat 7 Linux machines in our environment have static routes specified in the VM?
Also, I need to check the services running on these machines before patching and compare that to services running after reboot and list out the ones that have failed to start after reboot to make post reboot checks easier.
I am very new to Linux and thus need help in creating a noscript that can achieve this.
Please advise how I can do this.
https://redd.it/lfld2w
@r_linux
I need to determine if the Red Hat 7 Linux machines in our environment have static routes specified in the VM?
Also, I need to check the services running on these machines before patching and compare that to services running after reboot and list out the ones that have failed to start after reboot to make post reboot checks easier.
I am very new to Linux and thus need help in creating a noscript that can achieve this.
Please advise how I can do this.
https://redd.it/lfld2w
@r_linux
reddit
How to get static routes and running services remotely for Linux...
I need to determine if the Red Hat 7 Linux machines in our environment have static routes specified in the VM? Also, I need to check the...
Lightweight terminal emulator suggestions?
Hello, I hope this doesn't fall under the category of "support question." If it does, let me know and I'll promptly remove.
I've been sort of jumping X11 terminals for a while, going through Konsole, st, and Alacritty to name a notable few.
I like the speed and lightweight feel of terminals like Alacritty and st, but they can't take IBus input methods, which is beginning to become problematic.
Konsole has no such problem, but feels a bit bloated.
So does anyone have lightweight terminal emulator suggestions?
https://redd.it/lfnesj
@r_linux
Hello, I hope this doesn't fall under the category of "support question." If it does, let me know and I'll promptly remove.
I've been sort of jumping X11 terminals for a while, going through Konsole, st, and Alacritty to name a notable few.
I like the speed and lightweight feel of terminals like Alacritty and st, but they can't take IBus input methods, which is beginning to become problematic.
Konsole has no such problem, but feels a bit bloated.
So does anyone have lightweight terminal emulator suggestions?
https://redd.it/lfnesj
@r_linux
reddit
Lightweight terminal emulator suggestions?
Hello, I hope this doesn't fall under the category of "support question." If it does, let me know and I'll promptly remove. I've been sort of...
Tip: Installations on SD cards are like using TAILS
I have a Windows laptop which can't handle the space needed for VMs or Linux dual-boots, or whatever.
So I've started putting full, complete installs of various Linux distros onto SD cards, 64GB and up.
Then I set the BIOS to boot first from the SD card - no card, and it boots Windows
Each distro install I've done successfully detects the Windows bootloader and adds it to grub, so I can still swtich to Windows from it.
So admittedly, I have to reboot to use another OS, unlike a VM, but this laptop boots really fast.
The biggest advantage to me is that I don't have to fuck with Virtualbox - I hate that program.
Once I shutdown the Linux distro, there's no trace of it on my clean Windows machine.
https://redd.it/lfoj6x
@r_linux
I have a Windows laptop which can't handle the space needed for VMs or Linux dual-boots, or whatever.
So I've started putting full, complete installs of various Linux distros onto SD cards, 64GB and up.
Then I set the BIOS to boot first from the SD card - no card, and it boots Windows
Each distro install I've done successfully detects the Windows bootloader and adds it to grub, so I can still swtich to Windows from it.
So admittedly, I have to reboot to use another OS, unlike a VM, but this laptop boots really fast.
The biggest advantage to me is that I don't have to fuck with Virtualbox - I hate that program.
Once I shutdown the Linux distro, there's no trace of it on my clean Windows machine.
https://redd.it/lfoj6x
@r_linux
reddit
Tip: Installations on SD cards are like using TAILS
I have a Windows laptop which can't handle the space needed for VMs or Linux dual-boots, or whatever. So I've started putting full, complete...
Neo-mc – a Midnight Commander fork with noscripting and other features
https://github.com/neo-mc/neo-mc
https://redd.it/lfnpk5
@r_linux
https://github.com/neo-mc/neo-mc
https://redd.it/lfnpk5
@r_linux
GitHub
neo-mc/neo-mc
A Midnight Commander fork with noscripting and other features. - neo-mc/neo-mc
Goodbye MacBook Pro, Hello Linux laptop!
After 15+ years of being in the Apple ecosystem, today I ordered my very first Built for Linux laptop from StarLabs! I’m excited yet nervous, it’s like Christmas and now I wait in anticipation for the day it arrives. Sorry for the fluff post but I just wanted to share my excitement with the Linux community.
https://redd.it/lfqgvq
@r_linux
After 15+ years of being in the Apple ecosystem, today I ordered my very first Built for Linux laptop from StarLabs! I’m excited yet nervous, it’s like Christmas and now I wait in anticipation for the day it arrives. Sorry for the fluff post but I just wanted to share my excitement with the Linux community.
https://redd.it/lfqgvq
@r_linux
reddit
Goodbye MacBook Pro, Hello Linux laptop!
After 15+ years of being in the Apple ecosystem, today I ordered my very first Built for Linux laptop from StarLabs! I’m excited yet nervous, it’s...
The Windowing Revolution of KWinFT's upcoming 5.21 release
https://subdiff.org/blog/2021/the-windowing-revolution
https://redd.it/lfnnz5
@r_linux
https://subdiff.org/blog/2021/the-windowing-revolution
https://redd.it/lfnnz5
@r_linux
subdiff.org
The Windowing Revolution
The new version of KWinFT contains a monumental rewrite of its windowing logic. Read on for an overview of the changes and why this rewrite was necessary.
The most readily available text editors aside from VIM.
Hey people! i’m new to Linux. As I’m educating myself more on the os, I see that VI/VIM and Nano appear to be widely available CLI text editors.
However, I’m curious to see of there are others that are as widely distributed and available that are as powerful as VIM and as user friendly as Nano( for us newbs).
So I post the question here. Aside from Nano, and VIM, what are the most widely available CLI and User interface text editors? And what are the most powerful when compared to VIM?
https://redd.it/lfokft
@r_linux
Hey people! i’m new to Linux. As I’m educating myself more on the os, I see that VI/VIM and Nano appear to be widely available CLI text editors.
However, I’m curious to see of there are others that are as widely distributed and available that are as powerful as VIM and as user friendly as Nano( for us newbs).
So I post the question here. Aside from Nano, and VIM, what are the most widely available CLI and User interface text editors? And what are the most powerful when compared to VIM?
https://redd.it/lfokft
@r_linux
reddit
The most readily available text editors aside from VIM.
Hey people! i’m new to Linux. As I’m educating myself more on the os, I see that VI/VIM and Nano appear to be widely available CLI text editors....