Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
7
votes
0
answers
7249
views
How to setup passkey authentication in Linux?
I have [setup](https://gist.github.com/pavinjosdev/0d7ade586e4b4a33d03a19c7684e78ce) the PAM module `pam_u2f.so` for FIDO2 as the primary authentication method on my LMDE 5 (based on Debian 11) machine. Is there a way to integrate passkey support with this PAM module or with another? Specifically I'...
I have [setup](https://gist.github.com/pavinjosdev/0d7ade586e4b4a33d03a19c7684e78ce) the PAM module
pam_u2f.so
for FIDO2 as the primary authentication method on my LMDE 5 (based on Debian 11) machine.
Is there a way to integrate passkey support with this PAM module or with another?
Specifically I'm looking for the ability to use Google [passkeys](https://passkeys.dev/device-support/) in addition to my hardware security key (Yubikey).
There are several advantages to using a passkey from Google/Apple with the potential privacy downside:
1. The credentials are tied to the Google account and synced across all Google devices, so any device can be used as an authenticator
2. Not tied to a physical object that can be lost/stolen
3. Main point for lazy me: no need to remove a lost/stolen/damaged key from every website and device it's configured on
The Chrome browser on Linux sends a push notification via Bluetooth to a nearby Android smartphone for FIDO2/WebAuthn registration/authentication.
Can the pam_u2f.so
module (or another one) be configured to send a similar request and receive its response instead of relying on a locally connected USB security key?
Pavin Joseph
(276 rep)
Sep 10, 2023, 01:17 PM
• Last activity: Jun 8, 2025, 09:47 AM
1
votes
2
answers
562
views
ClamAV freshly installed on LMDE - failing to open log file (permission denied)
I've just freshly installed Linux Mint Debian Edition "Faye" and then installed ClamAV. The services clamav-freshclam and clamav-daemon don't seem to have a problem opening and writing into their respective log files, I can see that the log files are continuously being filled. But when I try to run...
I've just freshly installed Linux Mint Debian Edition "Faye" and then installed ClamAV.
The services clamav-freshclam and clamav-daemon don't seem to have a problem opening and writing into their respective log files, I can see that the log files are continuously being filled.
But when I try to run freshclam and clamd in the console I get:
$ clamd
ERROR: Failed to open log file /var/log/clamav/clamav.log: Permission denied
ERROR: Can't initialize the internal logger
$ freshclam
ERROR: Failed to open log file /var/log/clamav/freshclam.log: Permission denied
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
ERROR: initialize: libfreshclam init failed.
ERROR: Initialization error!
When I try the same with sudo:
$ sudo freshclam
ERROR: Failed to lock the log file /var/log/clamav/freshclam.log: Resource temporarily unavailable
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
ERROR: initialize: libfreshclam init failed.
ERROR: Initialization error!
$ sudo clamd
ERROR: Failed to lock the log file /var/log/clamav/clamav.log: Resource temporarily unavailable
ERROR: Can't initialize the internal logger
The files look like this:
-rw-r----- 1 clamav clamav 19042 9. Mär 20:01 clamav.log
-rw------- 1 clamav clamav 11786 9. Mär 20:01 freshclam.log
I'm a "not daily" Linux user.
What could be wrong?
R0byn
(111 rep)
Mar 9, 2025, 07:14 PM
• Last activity: Mar 11, 2025, 12:26 AM
7
votes
2
answers
21966
views
KVM can't access iso o raw images outside /var/lib/libvirt/images
I'm using Linux Mint Debian Edition (Up. 8) when tryng to start a virtual machine from libvirt (either from commandline or using virt-manager to local qemu-kvm) I get this error when I use an image that is not loaded in the default datastore: if I copy the same image (in this example an .iso file) t...
I'm using Linux Mint Debian Edition (Up. 8)
when tryng to start a virtual machine from libvirt (either from commandline or using virt-manager to local qemu-kvm)
I get this error when I use an image that is not loaded in the default datastore:
if I copy the same image (in this example an .iso file) to the /var/lib/libvirt/images folder it works.
I've tried to chown and chmod it to every possible owner and mode but it just won't work.
SELinux is not in place in this distro so I don't know where's the point, in logs I can see just permission denied and I'm quite stuck.
Impossibile completare l'installazione: 'internal error: process exited while connecting to monitor: qemu-system-x86_64: -drive file=/home/penzo/Scaricati/elementaryos-stable-amd64.20130810.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw: could not open disk image /home/penzo/Scaricati/elementaryos-stable-amd64.20130810.iso: Could not open '/home/penzo/Scaricati/elementaryos-stable-amd64.20130810.iso': Permission denied
'
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 96, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/create.py", line 1949, in do_install
guest.start_install(False, meter=meter)
File "/usr/lib/pymodules/python2.7/virtinst/Guest.py", line 1249, in start_install
noboot)
File "/usr/lib/pymodules/python2.7/virtinst/Guest.py", line 1317, in _create_guest
dom = self.conn.createLinux(start_xml or final_xml, 0)
File "/usr/lib/python2.7/dist-packages/libvirt.py", line 2897, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error: process exited while connecting to monitor: qemu-system-x86_64: -drive file=/home/penzo/Scaricati/elementaryos-stable-amd64.20130810.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw: could not open disk image /home/penzo/Scaricati/elementaryos-stable-amd64.20130810.iso: Could not open '/home/penzo/Scaricati/elementaryos-stable-amd64.20130810.iso': Permission denied
any clues?
penzoiders
(73 rep)
May 5, 2014, 10:15 AM
• Last activity: Jul 27, 2024, 06:26 AM
0
votes
1
answers
385
views
Linux Mint LMDE - Cortex XDR not working correctly
I have fresh install of Linux Mint LMDE 6. I've installed Cortex XDR (v8.2.1.120305) but only one service is running, other services are stopped: ``` $|>> sudo /opt/traps/bin/cytool runtime query Name PID User Status Command pmd 1056 root Running /opt/traps/bin/pmd clad N/A N/A STOPPED N/A dypd N/A...
I have fresh install of Linux Mint LMDE 6.
I've installed Cortex XDR (v8.2.1.120305) but only one service is running, other services are stopped:
$|>> sudo /opt/traps/bin/cytool runtime query
Name PID User Status Command
pmd 1056 root Running /opt/traps/bin/pmd
clad N/A N/A STOPPED N/A
dypd N/A N/A STOPPED N/A
spmd N/A N/A STOPPED N/A
lted N/A N/A STOPPED N/A
pyxd N/A N/A STOPPED N/A
I've tried to stop them all and then start them manually but it didn't work, only one service started:
$|>> sudo /opt/traps/bin/cytool runtime stop all
Name PID User Status Command
pmd N/A N/A STOPPED N/A
clad N/A N/A STOPPED N/A
dypd N/A N/A STOPPED N/A
spmd N/A N/A STOPPED N/A
lted N/A N/A STOPPED N/A
pyxd N/A N/A STOPPED N/A
$|>> sudo /opt/traps/bin/cytool runtime start all
Name PID User Status Command
pmd 229201 root Running /opt/traps/bin/pmd
clad N/A N/A STOPPED N/A
dypd N/A N/A STOPPED N/A
spmd N/A N/A STOPPED N/A
lted N/A N/A STOPPED N/A
pyxd N/A N/A STOPPED N/A
I've found one workaround but it's for Linux Mint and didn't work on my system.
Did someone have similar problem?
Can someone help with this?
Bengall
(101 rep)
May 11, 2024, 08:39 PM
• Last activity: May 14, 2024, 06:54 PM
0
votes
1
answers
213
views
Set the number of colours in an LMDE6, 64Bit, with Cinnamon Desktop, which is based on debian 12
inxi -Fxz System: ... Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Dell driver: i915 v: kernel arch: Gen-7.5 bus-ID: 00:02.0 Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 driver: X: loaded: modesetting unloaded: fbdev,vesa dri: crocus gpu: i915 resolution: 160...
inxi -Fxz
System:
...
Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Dell
driver: i915 v: kernel arch: Gen-7.5 bus-ID: 00:02.0
Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 driver: X:
loaded: modesetting unloaded: fbdev,vesa dri: crocus gpu: i915
resolution: 1600x900~60Hz
API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel HD Graphics 4600 (HSW
GT2) direct-render: Yes
...
Under Linux it is common that you can set the number of colours that an AMD or NVidia graphics card or the GPU unit of the CPU should display with the driver of the graphics card.
But how do you set the number of colours under a Debian 12 Linux such as LMDE6 if you are using an Intel CPU with its own GPU?
According to some internet sources, the number of colours can be set with the following command line:
xrandr --output --setcolor 24bit
However, this seems to be a misconception that such functionality is offered by xrandr.
Starting points for alternative solutions:
- Query the graphics type used:
lspci -k | grep -EA3 'VGA|3D|Display'
- Use an icc.icm color profile file and possibly adjust the number of
colors by changing this file.
- Modification of the data read out by
the system from the display used, which can be decoded with DMI
Decode: sudo hwinfo -monitor
and sudo dmidecode
- Change a file
such as /etc/X11/xorg.conf
or /etc/X11/xorg.conf.d/
, neither of
which appear to be present in LMDE6 or looks like dont have the
follow section. But perhaps about like the follow in a other located
file:
Section "Screen"
Identifier "Screen0"
DefaultDepth 16bit
EndSection
Remark:
Its looks for me, Xorg are used bei LMDE6:
No Wayland service looks running on LMDE6, but the well known Xorg service are running.
"Linux Mint Debian Edition (LMDE) 6 does not use Wayland as its default display server protocol. Instead, it uses Xorg, which is the traditional choice for Linux desktop environments. The discussion in the Linux Mint forums indicates that while work has begun on integrating Wayland support into Cinnamon, the default desktop environment for Linux Mint, it is not expected to replace Xorg as the default display server anytime soon. The goal is to have a functional Wayland session by around 2026, but until then, Xorg remains the primary choice for LMDE 6 users."
Source:
https://www.phind.com/search?cache=he0i94eo7k5352vhtuggrz20
Alfred.37
(129 rep)
May 4, 2024, 12:15 AM
• Last activity: May 14, 2024, 03:37 PM
-1
votes
2
answers
720
views
Limiting the file size of .qcow2 files
Qcow 2 files are an open source file format for virtual machines. In my opinion, unlike .vmdk files, they do not offer the option of specifying a maximum file size. This means that they can constantly grow in size for various reasons. What ways are there to limit the growth of the file size of .qcow...
Qcow 2 files are an open source file format for virtual machines. In my opinion, unlike .vmdk files, they do not offer the option of specifying a maximum file size. This means that they can constantly grow in size for various reasons.
What ways are there to limit the growth of the file size of .qcow2 files when used under Debian 12 derivatives such as LMDE6 to a certain value or to be able to achieve a fixed file size?
Perhaps they are better ideas, than to use a own partition for every .qcow file. One alternate idea can be possible, to use a file system for storing the .qcow file, which offer to set a quota by folder or by file for the file system, which are used to store the .qcow files. But that's are only ideas on this moment.
Alfred.37
(129 rep)
May 6, 2024, 08:44 AM
• Last activity: May 7, 2024, 05:20 AM
0
votes
1
answers
59
views
Do my installed distro and live distro have to match when doing repairs? (eg. bootloader)
Can I use an LMDE-Mint live USB to repair my installed Garuda distro? I broke my Garuda install after updating, and after restoring a snapshot it still won't boot, which, as I understand, is a result of the snapshot using a previous version of the bootloader. I want to use a live USB to chroot and r...
Can I use an LMDE-Mint live USB to repair my installed Garuda distro?
I broke my Garuda install after updating, and after restoring a snapshot it still won't boot, which, as I understand, is a result of the snapshot using a previous version of the bootloader. I want to use a live USB to chroot and reinstall my bootloader, but my live Garuda is long gone and all I have lying around is LMDE Mint.
Is this still possible, even though they are based on different distros, or do I have to recreate a Garuda USB stick?
Sea Citadel
(103 rep)
May 4, 2023, 03:51 PM
• Last activity: Aug 8, 2023, 10:58 PM
3
votes
1
answers
289
views
How to get under Linux Mint LMDE5, the path of a launcher through bash commands stored in the launcher?
Linux Mint LMDE5 is a Debian derivative. On the desktop you can create launchers p.e. via GUI, with which you can not only link something, but also store smaller bash code in it. After creating, the launcher can moved to other folder. Location of the follow .sh file and launcher: /home/user_name/des...
Linux Mint LMDE5 is a Debian derivative. On the desktop you can create launchers p.e. via GUI, with which you can not only link something, but also store smaller bash code in it. After creating, the launcher can moved to other folder.
Location of the follow .sh file and launcher:
/home/user_name/desktop/a/b/c
With the following code you can print the path to a bash file when you execute it.
Content of the .sh file:
#!/bin/bash
script_path=$(dirname "$(readlink -f "$0")")"/"
echo "$script_path"
sleep 100
Output of the .sh file:
/home/user_name/desktop/a/b/c
**The not working launcher "solution":**
Content of the launcher file:
bash -c 'launcher_path=$(dirname "$(readlink -f "$0")")"/"; echo "$launcher_path"; sleep 100'
Output of launcher by terminal:
/home/user_name/ # but that should be: /home/user_name/desktop/a/b/c
**What does "launcher" mean:**
This is a .desktop file, which is common on Linux Mint and LMDE. The file has similarities in structure and tasks to a ".lnk" file under Windows.
Two How too`s for creating "launcher" by Linux Mint GUI:
* https://community.linuxmint.com/tutorial/view/2074
* https://www.youtube.com/watch?v=0CFNCkMKp44
Sample content of a "launcher" (.desktop file):
[Desktop Entry]
Name=test
Exec=bash -c 'xed /home/user/desktop/sample_file.txt'
Comment=
Terminal=true
Icon=cinnamon-panel-launcher
Type=Application
Name[de_DE]=Sample for a launcher file, which open a textfile, which is located on desktop.
**Concretization:**
Only a suitable modification of the following command line of the launcher is searched:
bash -c 'launcher_path=$(dirname "$(readlink -f "$0")")"/"; echo "$launcher_path"; sleep 100'
It is not looking for any additional scripts or modifications of the operating system.
Alfred.37
(129 rep)
Apr 1, 2023, 05:42 PM
• Last activity: Apr 5, 2023, 03:10 PM
2
votes
1
answers
221
views
How to start spyder from desktop on LMDE5?
I would like to start spyder from a `.desktop` shortcut. I am unfortunately unable to start it directly from AnacondaNav, as it stops with a `Exit code: 134` message. As an alternative, I installed spyder using: conda update -n base -c defaults conda conda update anaconda conda install spyder=5.4.2...
I would like to start spyder from a
I have tried copying/altering various other
Adding
.desktop
shortcut.
I am unfortunately unable to start it directly from AnacondaNav, as it stops with a Exit code: 134
message.
As an alternative, I installed spyder using:
conda update -n base -c defaults conda
conda update anaconda
conda install spyder=5.4.2
This lets me start spyder with:
conda activate spyder-env
spyder
How do I create a .desktop
file with these commands? I have tried copying/altering various other
.desktop
and .sh
files (with/out #!/bin/bash), but none have worked.
System setup:
- OS: LMDE 5 / elsie
- 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1
- Cinnamon 5.6.8
- Python 3.11.2
- conda 23.3.1
- Spyder IDE 5.4.2
Edit:
Tried some suggestions from the comments: (sh -c) conda activate spyder-env; spyder
gives either "There was an error launching the application" or no output at all. Adding
conda act...
to .profile
activates the python env but running spyder
from the .desktop
after that does nothing.
christerk
(21 rep)
Apr 3, 2023, 09:50 PM
• Last activity: Apr 4, 2023, 05:15 PM
0
votes
0
answers
869
views
Mint :give root password for maintenance
And yes: for a few days i have problems with one of systems on my PC -LMDE. Recently i got repaired there one thing as shown here : (https://unix.stackexchange.com/questions/646652/mint-a-bunch-of-errors-in-boot). Now i have yet bigger problem - system ask me password for non-existing user (root) er...
And yes: for a few days i have problems with one of systems on my PC -LMDE. Recently i got repaired there one thing as shown here : (https://unix.stackexchange.com/questions/646652/mint-a-bunch-of-errors-in-boot) . Now i have yet bigger problem - system ask me password for non-existing user (root) error code is here:
Give root password for maintenance (or press Control-D to continue):
When i press these button it shows me:
Reloading system manager configuration
Starting default target
You are in emergency mode. After logging in, type “journal -xb” to view system logs, “systemctl reboot” to reboot, “systemctl default” or “exit” to boot into default mode.
Give root password for maintenance (or press Control-D to continue)
When i chrooted into this OS (with live-boot) i saw that there are problems with sudo and pkexec, so i cant use root even in chroot (and modify system files, etc...) is there any way to boot PC normally or i need to always use “initramfs error” and boot only to busybox cli (i can do that because i accidentally uninstalled grub and now i have cli when booting up pc)?
Ps: I didnt setted up root (su) account (no password, user, etc) and i was really messing up with sudo so now i think that this also doesnt exist.
———————————————-
Edit: i’ve done it with passwd as @cas said. Now i have bigger problem.
My second problem is that all my partition is r/o. Even with modified /etc/fstab to open all partitions as writable. My system didn’t exited cli to the now - system doesn’t load without writable permission and my current (logged-in) user looks like root (have # before command and whoami shows me as root) but it isn’t. When i try mount command they said that i need to have root permission ( how i cant have them when currently i am root?!). Is there something i forgot, all my PC is corrupt or im a real n00b?

hacknorris
(1 rep)
Apr 27, 2021, 03:59 PM
• Last activity: Apr 28, 2021, 07:34 AM
0
votes
0
answers
126
views
"Mint" - a bunch of errors in boot
Some time ago I made my own „OS” based on mint(Debian Based distro). About u week ago I deleted 3rd partition with Ubuntu. Before this weekend I got BSOD on windows, so I'm stuck on mint. And here is my problem with third OS: i deleted accidentally grub. The problem is yet bigger because filesystem...
Some time ago I made my own „OS” based on mint(Debian Based distro). About u week ago I deleted 3rd partition with Ubuntu. Before this weekend I got BSOD on windows, so I'm stuck on mint. And here is my problem with third OS: i deleted accidentally grub. The problem is yet bigger because filesystem was btrfs. I copied all files (even system)to external drive and formatted partition with mint to ext4, then I recopied system and tried with GRUBrepair. As I saw root and sudo was locked (mint doesn’t have su by default), so I tried to repair by myself. Now system is stuck between: grub shell, busybox shell (initramfs error), live boot mint and „shell”with prompt for root password (i didnt setted up that YET). Is there a way to boot PC normally? Or i’m stuck on live-boot? I don’t have space for installing third OS (space which stayed after deleting ubuntu was joined to windows) and my PC is yet on guarantee... (yet worse but guarantee is only for physical things, OOF)🙄
PS: bios on my pc is „aptio setup utility”, there is no way to disable uefi and i can’t: boot rescueCD from pendrive and/or boot pc from external HDD. I don’t have external CD/DVD reader.
Thanks for answer (if any)
Here are all commands in busybox i can use :
Actually I didn't have
When I tried
Now i have another errrrrrrorrrr, I'm stuck on screen which asks me for password of non-existing user :

fsck
. So, after lot of tries I found reiserfsck
instead of fsck
I don't know how to run for checking partitions. So, I added a picture of it :

reiserfsck --check /dev/sda6
I got some error :


hacknorris
(1 rep)
Apr 25, 2021, 12:35 PM
• Last activity: Apr 27, 2021, 11:49 AM
0
votes
0
answers
351
views
Opening multiple application instances from panel shortcuts
In Linux Mint Debian Edition 4, is it possible to open multiple instances of an application by clicking multiple times on its panel shortcut? Currently, I can only open *one* instance and clicking on the panel shortcut minimizes/maximizes the window. With desktop shortcuts, this works without proble...
In Linux Mint Debian Edition 4, is it possible to open multiple instances of an application by clicking multiple times on its panel shortcut? Currently, I can only open *one* instance and clicking on the panel shortcut minimizes/maximizes the window. With desktop shortcuts, this works without problem.
david
(359 rep)
Jul 14, 2020, 03:31 PM
• Last activity: Jul 15, 2020, 08:15 PM
5
votes
1
answers
6866
views
Webcam not working in browser
Using LMDE4 on Aspire 5630-6091, with with 046d:0896 Logitech Orbicam (gspca_vc032x driver), the webcam works fine in softwares like cheese or guvcview. But it does not work when trying to use Firefox or Google Chrome in sites like Google Meet or webcamtests.com . Chrome does not even find the camer...
Using LMDE4 on Aspire 5630-6091, with with 046d:0896 Logitech Orbicam (gspca_vc032x driver), the webcam works fine in softwares like cheese or guvcview. But it does not work when trying to use Firefox or Google Chrome in sites like Google Meet or webcamtests.com . Chrome does not even find the camera. Firefox, find the camera (webcamtests.com), lists it, but does not play (the message is shown: "AbortError: Starting video failed"). I allowed Firefox to use the camera when asked.
wilsonfoz
(181 rep)
May 19, 2020, 08:38 PM
• Last activity: May 24, 2020, 08:08 AM
1
votes
0
answers
45
views
dependency problems prevent configuration of kicad-dbg V5 in linux LMDE
I have downloaded the KiCad V5 from [here][1] in my Linux OS (LMDE 3 "Cindy" - Cinnamon (64-bit)) like this : ``` $ uname -v #1 SMP Debian 4.9.168-1+deb9u4 (2019-07-19) ``` but when I want to install it by this command: sudo dpkg -i kicad.deb i get this error: ``` sudo dpkg -i kicad.deb (Reading dat...
I have downloaded the KiCad V5 from here in my Linux OS (LMDE 3 "Cindy" - Cinnamon (64-bit)) like this :
$ uname -v
#1 SMP Debian 4.9.168-1+deb9u4 (2019-07-19)
but when I want to install it by this command:
sudo dpkg -i kicad.deb
i get this error:
sudo dpkg -i kicad.deb
(Reading database ... 504372 files and directories currently installed.)
Preparing to unpack kicad.deb ...
Unpacking kicad-dbg (5.1.4-201908052210+e60b266~84~ubuntu19.10.1) over (5.1.4-201908052210+e60b266~84~ubuntu19.10.1) ...
dpkg: dependency problems prevent configuration of kicad-dbg:
kicad-dbg depends on kicad (= 5.1.4-201908052210+e60b266~84~ubuntu19.10.1); however:
Package kicad is not installed.
dpkg: error processing package kicad-dbg (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
kicad-dbg
I also tried :
sudo aptitude install kicad
and get this :
sudo aptitude install kicad
The following NEW packages will be installed:
kicad libpng12-0{a} libwxbase3.0-0{a} libwxgtk3.0-0{a}
The following packages will be REMOVED:
libboost-context1.62.0{u} libboost-locale1.62.0{u} mint-backgrounds-tessa{u}
The following partially installed packages will be configured:
kicad-dbg{b}
0 packages upgraded, 4 newly installed, 3 to remove and 2 not upgraded.
Need to get 10.8 MB of archives. After unpacking 16.2 MB will be freed.
The following packages have unmet dependencies:
libwxgtk3.0-0v5 : Breaks: libwxgtk3.0-0 but 3.0.2-1+b1 is to be installed
kicad-dbg : Depends: kicad (= 5.1.4-201908052210+e60b266~84~ubuntu19.10.1) but 0.20140622+bzr4027-3 is to be installed
libwxbase3.0-0v5 : Breaks: libwxbase3.0-0 but 3.0.2-1+b1 is to be installed
The following actions will resolve these dependencies:
Remove the following packages:
1) audacity [1:2.1.3-dmo1+deb9u1 (now, oldstable)]
2) kicad-dbg [5.1.4-201908052210+e60b266~84~ubuntu19.10.1 (now)]
3) libwxbase3.0-0v5 [3.0.2+dfsg-4 (now)]
4) libwxgtk3.0-0v5 [3.0.2+dfsg-4 (now)]
5) pgadmin3 [1.22.2-1 (now)]
6) playonlinux [4.3.4 (now)]
7) python-wxgtk3.0 [3.0.2.0+dfsg-4 (now)]
Accept this solution? [Y/n/q/?] ^X^Z
+ Stopped sudo aptitude install kicad
so I don't know to remove what package and why?
Thanks for your attention and time.
Soheil Paper
(191 rep)
Oct 24, 2019, 07:03 AM
0
votes
1
answers
243
views
How to install kicad V5 when apt install only find V4 of it? (on linux mint LMDE)
I need to install KiCad V5 but when I use apt command it only could install Version 4 like this: notebook:/media/so/ACAC8B5FAC8B2346/Elasa/Softwares/Linux's/Electronic/Kicad/Libraries/kipi-0.2.1$ sudo apt-cache madison kicad kicad | 4.0.5+dfsg1-4~bpo8+1 | http://archive.debian.org/debian jessie-back...
I need to install KiCad V5 but when I use apt command it only could install Version 4 like this:
notebook:/media/so/ACAC8B5FAC8B2346/Elasa/Softwares/Linux's/Electronic/Kicad/Libraries/kipi-0.2.1$ sudo apt-cache madison kicad
kicad | 4.0.5+dfsg1-4~bpo8+1 | http://archive.debian.org/debian jessie-backports/main amd64 Packages
kicad | 0.20140622+bzr4027-3 | http://ftp.de.debian.org/debian jessie/main amd64 Packages
kicad | 0.20140622+bzr4027-3 | http://cdn-fastly.deb.debian.org/debian jessie/main amd64 Packages
so@notebook:/media/so/ACAC8B5FAC8B2346/Elasa/Softwares/Linux's/Electronic/Kicad/Libraries/kipi-0.2.1$ apt-cache policy kicad
kicad:
Installed: (none)
Candidate: 0.20140622+bzr4027-3
Version table:
4.0.5+dfsg1-4~bpo8+1 100
100 http://archive.debian.org/debian jessie-backports/main amd64 Packages
0.20140622+bzr4027-3 500
500 http://ftp.de.debian.org/debian jessie/main amd64 Packages
500 http://cdn-fastly.deb.debian.org/debian jessie/main amd64 Packages
Also, I can not find the main zip file of kicad electrical software file via its download link for Linux mint , there is said to:
> To install KiCad via the PPA, you can use the Software Manager:
>
> Open the Software Manager.
>
> Select 'Edit' → 'Software Sources…'.
>
> Open the 'Other Software' tab.
>
> Click 'Add…', and enter the PPA address: ppa:js-reynaud/kicad-5.1 and then click the 'Add Source' button.
>
> When prompted insert the administrator user password.
>
> Return to the Software Manager and view the Progress tab to see when the cache has finished updating.
>
> Return to the Software Manager main screen, search for 'kicad', and install it.
>
> The KiCad schematic library and docs are in separate packages. If you
> want either of these install kicad-library and kicad-doc respectively.
>
> If you prefer to use the shell, you can enter these commands into a
> terminal:
sudo add-apt-repository --yes ppa:js-reynaud/kicad-5.1 sudo apt update
sudo apt install --install-suggests kicad
So there is no edit option in my Linux LMDE mint as you can see :
Also i can not run this code :

aries/kipi-0.2.1$ sudo add-apt-repository --yes ppa:js-reynaud/kicad-5.1
Adding PPAs is not supported
i asked about it here , anyway i tried to install v5 of it as recommended here , but as i mentioned i can not install it with it self site instruction.
so i like to know where is the source file of the kicad V5 and or is it possible to install it via bash like:
sudo apt install kicad=5
but there is only Kicad V4 as i said above:
is this because Linux server setting, or is because i am from Iran( with many ISP filters from government side or international sanctions policy) .
Update:
based of this question some more information about my system setting:
$ inxi -Fxzd
System:
Host: notebook Kernel: 4.9.0-9-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0
Desktop: Cinnamon 4.0.10 Distro: LMDE 3 Cindy base: Debian 9.3 stretch
Machine:
Type: Laptop System: LENOVO product: 80TV v: Lenovo ideapad 310-15IKB
serial:
Mobo: LENOVO model: Torronto 5C2 v: NO DPK serial:
UEFI [Legacy]: LENOVO v: 3JCN26WW date: 03/07/2017
Battery:
ID-1: BAT0 charge: 13.6 Wh condition: 13.6/30.0 Wh (45%) model: SMP L15M2PB3
status: Full
CPU:
Topology: Dual Core model: Intel Core i7-7500U bits: 64 type: MT MCP
arch: Kaby Lake rev: 9 L2 cache: 4096 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 23232
Speed: 923 MHz min/max: 400/3500 MHz Core speeds (MHz): 1: 923 2: 801 3: 800
4: 800
Graphics:
Device-1: Intel vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0
Device-2: NVIDIA GM108M [GeForce 920MX] vendor: Lenovo driver: nouveau
v: kernel bus ID: 03:00.0
Display: x11 server: X.Org 1.19.2 driver: modesetting,nouveau
unloaded: fbdev,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 620 (Kabylake GT2)
v: 4.5 Mesa 13.0.6 direct render: Yes
Audio:
Device-1: Intel vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 00:1f.3
Sound Server: ALSA v: k4.9.0-9-amd64
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8168 v: 8.043.02-NAPI port: 5000 bus ID: 01:00.0
IF: enp1s0 state: up speed: 1000 Mbps duplex: full mac:
Device-2: Realtek RTL8821AE 802.11ac PCIe Wireless Network Adapter
vendor: Lenovo driver: rtl8821ae v: kernel port: 4000 bus ID: 02:00.0
IF: wlp2s0 state: up mac:
IF-ID-1: as0t0 state: unknown speed: 10 Mbps duplex: full mac: N/A
IF-ID-2: as0t1 state: unknown speed: 10 Mbps duplex: full mac: N/A
IF-ID-3: as0t2 state: unknown speed: 10 Mbps duplex: full mac: N/A
IF-ID-4: as0t3 state: unknown speed: 10 Mbps duplex: full mac: N/A
IF-ID-5: as0t4 state: unknown speed: 10 Mbps duplex: full mac: N/A
IF-ID-6: as0t5 state: unknown speed: 10 Mbps duplex: full mac: N/A
IF-ID-7: as0t6 state: unknown speed: 10 Mbps duplex: full mac: N/A
IF-ID-8: as0t7 state: unknown speed: 10 Mbps duplex: full mac: N/A
Drives:
Local Storage: total: 1.82 TiB used: 642.34 GiB (34.5%)
ID-1: /dev/sda vendor: Seagate model: ST2000LM003 HN-M201RAD size: 1.82 TiB
Optical-1: /dev/sr0 vendor: HL-DT-ST model: DVDRAM GUE0N rev: T.02
dev-links: cdrom,cdrw,dvd,dvdrw
Features: speed: 24 multisession: yes audio: yes dvd: yes
rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
ID-1: / size: 196.17 GiB used: 29.87 GiB (15.2%) fs: ext4 dev: /dev/sda7
ID-2: /home size: 196.17 GiB used: 182.16 GiB (92.9%) fs: ext4 dev: /dev/sda3
Sensors:
System Temperatures: cpu: 41.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 337 Uptime: 23h 18m Memory: 11.64 GiB used: 8.13 GiB (69.8%)
Init: systemd runlevel: 5 Compilers: gcc: 6.3.0 Shell: bash v: 4.4.12
inxi: 3.0.32
aries/kipi-0.2.1$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0bda:0821 Realtek Semiconductor Corp.
Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 003: ID 174f:2408 Syntek
Bus 001 Device 008: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Thanks for your time and consideration
Soheil Paper
(191 rep)
Oct 23, 2019, 08:44 PM
• Last activity: Oct 23, 2019, 11:16 PM
1
votes
1
answers
1258
views
Problem with GRUB for dual-boot installation of LMDE 2 (and Windows) on encrypted luks-lvm (truecrypt)
I'm trying to install LMDE 2 'Betsy' 64-Bit dual-booting with Windows 8.1 and both systems encrypted separately, Windows with truecrypt and LMDE with luks. When booting I want to be asked for the truecrypt volumes password and when I press Esc GRUB should start and boot the encrypted Linux. I want t...
I'm trying to install LMDE 2 'Betsy' 64-Bit dual-booting with Windows 8.1 and both systems encrypted separately, Windows with truecrypt and LMDE with luks. When booting I want to be asked for the truecrypt volumes password and when I press Esc GRUB should start and boot the encrypted Linux. I want to have a LVM partition for my data which will be my home directory in Linux and which I plan to access with https://github.com/t-d-k/LibreCrypt . My problem is that I can't get GRUB working.
Most of the following steps I took from https://wiki.ubuntuusers.de/system_verschl%C3%BCsseln and changed them to fit my needs.
Here is my setup although Windows is not encrypted yet:
/dev/sda1 Windows Recovery ntfs
/dev/sda2 Boot ext4 300MiB
/dev/sda3 Windows 8.1 truecrypt
/dev/sda4 crypt-luks crypt-luks
And here is what I did:
Boot LMDE 2 from USB stick.
Select German as language.
Do the other stuff until I have to select a partition. There I enter Expert Mode where I get asked to mount my target System under /Ziel but it needs to be /target.
I start to get the system ready with:
cryptsetup -c aes-xts-plain64 -s 512 -h sha512 luksFormat /dev/sda4
cryptsetup luksOpen /dev/sda4 lukslvm
pvcreate /dev/mapper/lukslvm
vgcreate vglmde /dev/mapper/lukslvm
Then I create my logical volumes:
lvcreate -L 8G -n swap vglmde
lvcreate -L 25G -n root vglmde
lvcreate -l 100%FREE -n home vglmde
I format these partitions with labels:
mkswap /dev/mapper/vglmde-swap -L swap
mkfs.ext4 /dev/mapper/vglmde-root -L root
mkfs.ext4 /dev/mapper/vglmde-home -L home
Then I mount the logical root partition in /target to continue installing:
mkdir /target
mount /dev/mapper/vglmde-root /target
mkdir /target/boot
mount /dev/sda2 /target/boot
mkdir /target/home
mount /dev/mapper/vglmde-home /target/home
Then I continue the installation. When asked I choose that GRUB should be installed in /dev/sda2 because that is my boot partition.
After the dialog Installation paused shows up, I perform the following steps:
mount -o rbind /dev /target/dev
mount -t proc proc /target/proc
Here I get the message that proc is already mounted on /target/proc
mount -t sysfs sys /target/sys
Here it says that sys is already mounted or /target/sys is busy.
cp /etc/resolv.conf /target/etc/resolv.conf
chroot /target /bin/bash
Then I make sure the required packages are up-to-date.
apt-get update
apt-get install cryptsetup lvm2
To set up the /etc/crypttab I first get the UUID and then append to the crypttab replacing with the UUID.
blkid /dev/sda4
echo "lukslvm UUID= none luks" >> /etc/crypttab
Then I append some necessary modules.
echo "dm-crypt" >> /etc/modules
echo "ohci_pci" >> /etc/initramfs-tools/modules
update-initramfs -u -k all -t
And I edit the /etc/fstab .
echo "/dev/sda2 /boot ext4 defaults 0 2" >> /etc/fstab
echo "/dev/mapper/vglmde-root / ext4 defaults,errors=remount-ro 0 1" >> /etc/fstab
echo "/dev/mapper/vglmde-swap none swap sw 0 0" >> /etc/fstab
echo "/dev/mapper/vglmde-home /home/ ext4 defaults 0 2" >> /etc/fstab
Then I update GRUB and leave chroot.
update-grub
exit
sync
And continue the installation.
When asked if I want to reboot I say yes and...
...at reboot I get the following output:
error: no such partition
Entering rescue mode...
grub rescue>
Now I can't figure out where I went wrong. Am I right that GRUB should have loaded normally when there is no other boot-able partition?
P.S. When debugging the following commands let you use the installed system when on a live disc.
Mounting the encrypted Volume
cryptsetup luksOpen /dev/sda4 lukslvm
Search and add the volume groups.
vgscan
vgchange -a y
Mount the volumes as usual
mount /dev/mapper/vglmde-root /mnt
Benjamin
(191 rep)
Jul 16, 2015, 06:48 PM
• Last activity: Jul 8, 2019, 09:02 AM
0
votes
0
answers
48
views
suddenly wifi internet disconnection
I have sometimes internet disconnection from my wifi connection to my home wifi modem. I have one Linux LMDE OS into my Lenovo IdeaPad 310 laptop, so in regular times I have this: so@notebook:~$ uname -a Linux notebook 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1 (2019-04-12) x86_64 GNU/Linux   s...
I have sometimes internet disconnection from my wifi connection to my home wifi modem.
I have one Linux LMDE OS into my Lenovo IdeaPad 310 laptop, so in regular times I have this:
so@notebook:~$ uname -a
Linux notebook 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1 (2019-04-12) x86_64 GNU/Linux
so@notebook:~$ ifconfig
wlp2s0: flags=4163 mtu 1500
inet 192.168.1.105 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::59dc:548c:4eb2:a3e5 prefixlen 64 scopeid 0x20
ether c8:3d:d4:3c:23:63 txqueuelen 1000 (Ethernet)
RX packets 50050 bytes 46065327 (43.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 40256 bytes 6564953 (6.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
but when my wifi internet disconnected I have this:
so@notebook:~$ ifconfig
wlp2s0: flags=4163 mtu 1500
inet6 fe80::59dc:548c:4eb2:a3e5 prefixlen 64 scopeid 0x20
ether c8:3d:d4:3c:23:63 txqueuelen 1000 (Ethernet)
RX packets 50203 bytes 46102351 (43.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 40387 bytes 6581340 (6.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
and my wifi setting could be seen here:
**Update:**
Based on comments I have:
so@notebook:~$ lspci -knn | grep Net -A3
02:00.0 Network controller : Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter [10ec:8821]
Subsystem: Lenovo RTL8821AE 802.11ac PCIe Wireless Network Adapter [17aa:a814]
Kernel driver in use: rtl8821ae
Kernel modules: rtl8821ae
03:00.0 3D controller : NVIDIA Corporation GM108M [GeForce 920MX] [10de:134f] (rev a2)
So why this happened?

Soheil Paper
(191 rep)
Jun 15, 2019, 10:06 AM
• Last activity: Jun 15, 2019, 02:36 PM
4
votes
2
answers
7768
views
How to change the system cooling policy on Linux Mint Debian laptop
How may I slow down or turn off my fan in [Linux Mint Debian][1]? In Windows 7, it had a function called 'System Cooling Policy' and I had set for passive cooling, so the laptop's fan wouldn't spin up. Just using a simple code studio makes the fan speed up a lot and it's super loud. Windows 7 had th...
How may I slow down or turn off my fan in Linux Mint Debian ?
In Windows 7, it had a function called 'System Cooling Policy' and I had set for passive cooling, so the laptop's fan wouldn't spin up. Just using a simple code studio makes the fan speed up a lot and it's super loud. Windows 7 had this function, and I really liked it, but I haven't found a similar function in my Linux Mint Debian build.
Trevor Hummer
(187 rep)
May 23, 2019, 02:02 AM
• Last activity: May 23, 2019, 09:26 PM
1
votes
1
answers
311
views
Wine and parallel processing
I am running LMDE on my machine. I was wondering if wine can support the parallel processing needs of some software. Anyone knows any performance benchmarks for wine?
I am running LMDE on my machine.
I was wondering if wine can support the parallel processing needs of some software.
Anyone knows any performance benchmarks for wine?
LM_O
(11 rep)
Aug 17, 2014, 05:03 PM
• Last activity: Jan 6, 2019, 09:38 PM
1
votes
1
answers
2089
views
Linux Mint Debian Edition: GRUB Error: file '/grub/i386-pc/normal.mod' not found
I installed LMDE on my computer using LMDE official live usb image. I made /, /home, /swap, something about booting. The installation was very successful, there was no any errors while installing. But when I boot with GRUB, there is error like that GRUB loading. Welcome to GRUB! error: file '/grub/i...
I installed LMDE on my computer using LMDE official live usb image. I made /, /home, /swap, something about booting. The installation was very successful, there was no any errors while installing. But when I boot with GRUB, there is error like that
GRUB loading.
Welcome to GRUB!
error: file '/grub/i386-pc/normal.mod' not found.
Entering rescue mode...
grub rescue> _
A Newbie Computer User
(11 rep)
Sep 23, 2015, 01:49 PM
• Last activity: Nov 24, 2018, 10:39 PM
Showing page 1 of 20 total questions