Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

0 votes
1 answers
3259 views
can't update-initramfs generating /boot/initrd.img-3.16.0-4-amd64 error
Hi today I did a upgrade in my debian after of this. have a problem really I look a solution for this problem and I don't find anything.[![error here][1]][1] [1]: https://i.sstatic.net/4gTai.png Configurando linux-image-3.16.0-4-amd64 (3.16.7-ckt20-1+deb8u4) ... /etc/kernel/postinst.d/initramfs-tool...
Hi today I did a upgrade in my debian after of this. have a problem really I look a solution for this problem and I don't find anything.error here Configurando linux-image-3.16.0-4-amd64 (3.16.7-ckt20-1+deb8u4) ... /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64 cp: no se puede efectuar `stat' sobre «/etc/udev/udev.conf»: No existe el fichero o el directorio E: /usr/share/initramfs-tools/hooks/udev failed with return 1. update-initramfs: failed for /boot/initrd.img-3.16.0-4-amd64 with 1. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.16.0-4-amd64.postinst line 634. dpkg: error al procesar el paquete linux-image-3.16.0-4-amd64 (--configure): el subproceso instalado el script post-installation devolvió el código de salida de error 1 Se encontraron errores al procesar: linux-image-3.16.0-4-amd64 E: Sub-process /usr/bin/dpkg returned an error code (1) **NEW PROBLEM WITH THE COMAND:** > sudo apt-get -o Dpkg::Options::="--force-confmiss" install --reinstall udev **HAVE THIS:** E: Sub-process /usr/bin/dpkg returned an error code (1) Failed to perform requested operation on package. Trying to recover: Configurando udev (215-17+deb8u3) ... update-initramfs: deferring update (trigger activated) insserv: fopen(/etc/insserv.conf): No such file or directory insserv: Service mountkernfs has to be enabled to start service udev insserv: exiting now! update-rc.d: error: insserv rejected the script header dpkg: error al procesar el paquete udev (--configure): el subproceso instalado el script post-installation devolvió el código de salida de error 1 Procesando disparadores para initramfs-tools (0.120) ... update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64 Se encontraron errores al procesar: udev
CoolLife (111 rep)
Mar 21, 2016, 08:57 PM • Last activity: Aug 12, 2025, 02:12 PM
2 votes
1 answers
3227 views
fping from zabbix agent - permission denied
I know there are several topics about fping and zabbix, but I've read through them all and I am still having trouble getting something that should be pretty simple working. I am trying to do a simple ping test from a host (that's running zabbix agent) to an external host. In my zabbix_agentd.conf fi...
I know there are several topics about fping and zabbix, but I've read through them all and I am still having trouble getting something that should be pretty simple working. I am trying to do a simple ping test from a host (that's running zabbix agent) to an external host. In my zabbix_agentd.conf file I have setup a UserParameter such as:
UserParameter=vpnPing[*],fping $1 |grep -c alive
My fping permissions are as such:
# ls -l /sbin/fping
-rwsr-sr-x. 1 root zabbix 52904 Aug 5 2019 /sbin/fping
If I run the zabbix_agentd test I get (fake ip listed for example purposes)
# zabbix_agentd -t vpnPing[123.456.78.901]
vpnPing[123.456.78.901] [t|1]
So that seems to work. When I go to the zabbix UI and look at the latest data I see:
2020-06-04 17:55:30	sh: /usr/sbin/fping: Permission denied
0
The interesting this is the 0 at the bottom. I've also seen it be 1 at times. That sounds like something is working, but I don't get why I get the permission denied. Also when I look at the audit log I see:
type=AVC msg=audit(1591330891.927:15933): avc:  denied  { execute } for  pid=52320 comm="sh" name="fping" dev="nvme0n1p2" ino=8410299 scontext=system_u:system_r:zabbix_agent_t:s0 tcontext=system_u:object_r:ping_exec_t:s0 tclass=file permissive=0
type=SYSCALL msg=audit(1591330891.927:15933): arch=c000003e syscall=21 success=no exit=-13 a0=5601874ee450 a1=1 a2=7ffe62a48db0 a3=0 items=0 ppid=52319 pid=52320 auid=4294967295 uid=990 gid=988 euid=990 suid=990 fsuid=990 egid=988 sgid=988 fsgid=988 tty=(none) ses=4294967295 comm="sh" exe="/usr/bin/bash" subj=system_u:system_r:zabbix_agent_t:s0 key=(null)ARCH=x86_64 SYSCALL=access AUID="unset" UID="zabbix" GID="zabbix" EUID="zabbix" SUID="zabbix" FSUID="zabbix" EGID="zabbix" SGID="zabbix" FSGID="zabbix"
type=PROCTITLE msg=audit(1591330891.927:15933): proctitle=7368002D63006670696E67203136372E3134342E38392E323238207C67726570202D6320616C697665
I'm running RHEL 8.2.
# zabbix_agentd -V
zabbix_agentd (daemon) (Zabbix) 4.4.9
$ zabbix_server -V
zabbix_server (Zabbix) 4.4.9
# fping -v
fping: Version 3.16
I have the Item in Zabbix configured as Type: Zabbix agent If I try:
zabbix_get -s [my_zabbix_server_ip] -k vpnPing[123.456.78.901]
it does timeout (not sure why as I can ping it just fine normally): zabbix_get : Timeout while executing operation But not sure that last part with zabbix_get is relevant b/c the checks to seem to be getting back to the zabbix server but it just says permission denied. I've been struggling with this for a while now and hoping someone can help me out?
Vishal Shah (21 rep)
Jun 5, 2020, 12:54 AM • Last activity: Aug 12, 2025, 02:04 PM
0 votes
0 answers
30 views
Error running "service glb getinfo": missing /etc/default/glbd
I installed GLB (Galera Load Balancer) on the server following the instructions in [this article][1]. The installation appeared to complete successfully, but in the final step, running: ```sh service glb getinfo ``` produced the following error: ```none /etc/init.d/glb: .: cannot open /etc/default/g...
I installed GLB (Galera Load Balancer) on the server following the instructions in this article . The installation appeared to complete successfully, but in the final step, running:
service glb getinfo
produced the following error:
/etc/init.d/glb: .: cannot open /etc/default/glbd: Nosuch file
asparukh (1 rep)
Aug 12, 2025, 11:36 AM • Last activity: Aug 12, 2025, 02:03 PM
2 votes
1 answers
4116 views
Udev does not always automatically bind the usbhid driver to my device
I have multiple sytems running Ubuntu 19.10. I have a USB HID device which can be detected by each of those systems and I am using the exact same udev rules file on all 3 of them (99-MyDevice.rules) : SUBSYSTEM=="usb",ATTRS{idVendor}=="XXXX",ATTRS{idProduct}=="YYYY",MODE="0660",GROUP="timothy",SYMLI...
I have multiple sytems running Ubuntu 19.10. I have a USB HID device which can be detected by each of those systems and I am using the exact same udev rules file on all 3 of them (99-MyDevice.rules) : SUBSYSTEM=="usb",ATTRS{idVendor}=="XXXX",ATTRS{idProduct}=="YYYY",MODE="0660",GROUP="timothy",SYMLINK+="mydevice%n" KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0664", GROUP="timothy" On all 3 sytems the device correctly shows up as /dev/mydevice... Now when I execute lsusb -t it will output the following: Port 4: Dev 3, If 1, Class=Human Interface Device, Driver=, 12M Notice that the Driver is empty, although sometimes, just every now and then, it will actually load the driver (which is what I want) and output this: Port 4: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 12M When the driver is loaded like this, the software can detect and use the device. The problem is that the driver is almost never automatically loaded. So far I've discovered two ways to load the driver manually (with mixed success): **Method 1:** I can manually assign/bind the driver using: echo -n "4-3:1.0" > /sys/bus/usb/drivers/usbhid/bind At which point lsusb -t shows the driver is loaded Port 4: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 12M And then I have to modify the acl for /dev/mydevice... in order to use it. Note that this method does not always work... feels like random at best. **Method 2:** Logically disconnect and reconnect the device to the computer. (As opposed to physically disconnecting it). I do this by installing VMWare and connecting the device to the guest system for a few seconds. After the device is reconnected to the host, most of the times the driver is bound automatically and the sofware can see/use the device. (Note that using this method, I do not have to modify any acl) **Some notes:** - If I use this device on a RaspberryPI with Raspbian I am not having this issue. - I have multiple devices of the same type and the issue occurs for all of them. - The issue does not occur on Windows - The issue does not occur on Windows inside a VM on the Ubuntu systems - The issue does not occur on MacOS - As far as I remember it did not occur on older version of Ubuntu either (not entirely sure) - The device itself is based on STM32F4. Any idea how I can force the usbhid driver to be bound every time? **Update:** It turns out that if, after physically connecting the device I run the following command, the usbhid driver is correctly bound every time. sudo rmmod usbhid && sudo modprobe usbhid Note that I really have to use rmmod first, simply running modprobe does NOT solve the issue. So: 1. Physically connect: Driver=, 12MB 2. Run the command above: Driver=usbhid, 12MB According to this Source *the driver itself chooses what devices it supports.* So I am guessing the command causes the usbhid driver to re-evaluate whether or not it can handle the device. Now I still need to figure out how to automate it.
TimothyP (121 rep)
Feb 19, 2020, 04:52 AM • Last activity: Aug 12, 2025, 01:04 PM
0 votes
1 answers
2781 views
Having trouble setting up data calling with rmnet_data0 interface
I'm trying to set up a data call through `rmnet_dataX` interface which is referring to a cellular connection through the card inserted, but having trouble doing so. I do the following ``` ifconfig rmnet_data0 up ``` I then assign an IP statically ``` rmnet_data0 Link encap:UNSPEC HWaddr 00-00-00-00-...
I'm trying to set up a data call through rmnet_dataX interface which is referring to a cellular connection through the card inserted, but having trouble doing so. I do the following
ifconfig rmnet_data0 up
I then assign an IP statically
rmnet_data0 Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:10.246.68.132  Mask:255.0.0.0
          UP RUNNING  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
Add the default path in the routing table
ip ro add default via 10.246.68.132 dev rmnet_data0
Add the DNS server
echo "nameserver 8.8.4.4" >> /etc/resolv.conf
Set NAT rules
iptables -t nat -D POSTROUTING -o rmnet_data0 -j MASQUERADE
Routing table
netstat -r 

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface

default         10.246.68.132   0.0.0.0         UG        0 0          0 rmnet_data0
10.0.0.0        *               255.0.0.0       U         0 0          0 rmnet_data0
192.168.225.0   *               255.255.255.0   U         0 0          0 bridge0
ping google.com // fails
Also, the default path really just indicates the packets coming to the gateway IP are routed to the external network which in this case is network data? Given that, are NAT rules really required?
Jazzy (141 rep)
Mar 19, 2021, 05:18 AM • Last activity: Aug 12, 2025, 12:03 PM
1 votes
0 answers
30 views
Hiragana won't show in Firefox but it works in other Ubuntu programs
I need some help with using the Japanese keyboard setting (Mozc) on Firefox. It works in other programs like notepad or a Terminal, but the characters never show in Firefox. How can I solve this issue? I used it before some months ago, but after reinstalling Ubuntu I can't seem to type in Japanese i...
I need some help with using the Japanese keyboard setting (Mozc) on Firefox. It works in other programs like notepad or a Terminal, but the characters never show in Firefox. How can I solve this issue? I used it before some months ago, but after reinstalling Ubuntu I can't seem to type in Japanese in Firefox. enter image description here enter image description here
Pedro Medeiros (11 rep)
Aug 12, 2025, 01:54 AM • Last activity: Aug 12, 2025, 12:03 PM
1 votes
1 answers
2100 views
Heartbeat not working. Port not opened
I have been trying to place two virtual machine with heartbeat. osboxes and osboxes2. When I run `nmap localhost` this is the output: Nmap scan report for localhost (127.0.0.1) Host is up (0.00017s latency). Not shown: 991 closed ports PORT STATE SERVICE 22/tcp open ssh 25/tcp open smtp 53/tcp open...
I have been trying to place two virtual machine with heartbeat. osboxes and osboxes2. When I run nmap localhost this is the output: Nmap scan report for localhost (127.0.0.1) Host is up (0.00017s latency). Not shown: 991 closed ports PORT STATE SERVICE 22/tcp open ssh 25/tcp open smtp 53/tcp open domain 80/tcp open http 443/tcp open https 631/tcp open ipp 3306/tcp open mysql 9050/tcp open tor-socks 10000/tcp open snet-sensor-mgmt Here is the tcpdump of such interface eth0: 18:38:22.267817 IP 192.168.141.135.48748 > 192.168.141.255.694: UDP, length 315 18:38:22.268640 IP 192.168.141.135.38234 > osboxes2.694: UDP, length 315 18:38:22.269421 IP osboxes2 > 192.168.141.135: ICMP osboxes2 udp port 694 unreachable, length 351 As you can see udp port 694 unreachable. When i try to ping osboxes from osboxes2: PING 192.168.141.137 (192.168.141.137) 56(84) bytes of data. 64 bytes from 192.168.141.137: icmp_seq=1 ttl=64 time=0.284 ms 64 bytes from 192.168.141.137: icmp_seq=2 ttl=64 time=0.291 ms 64 bytes from 192.168.141.137: icmp_seq=3 ttl=64 time=0.681 ms ha.cf file from osboxes: #Arquivo de log de debug: logfile /var/log/ha-log #Arquivo de log debugfile /var/log/ha-debug #Para onde vai os logs logfacility local0 #Frequencia em segundo de batimentos cardicados keepalive 2 #Tempo indica a morte do node deadtime 25 #Tempo que o heartbeat deve esperar por beats (nao o beat dos beatboxes) warntime 10 #Tempo maximo para declarar o outro servidor morto initdead 50 #Porto de sincronia udpport 694 #Endereco de broadcast da rede bcast eth0 #Nao entendi. Se for preciso vai la procurar depois. ucast eth0 192.168.141.137 #Determinar se o servidor volta para o master caso ele responda auto_failback on #Nome dos nodes do cluster node osboxes2 node osboxes haresourcers from osboxes: osboxes 192.168.141.135 apache It's worth noting that osboxes(principal node) is 192.168.141.135 and osboxes2 is 192.168.141.137. I guessing the problem resides in the port 694 not opened since it is unreachable.
Bruno Francisco (145 rep)
Dec 22, 2015, 06:45 PM • Last activity: Aug 12, 2025, 11:03 AM
7 votes
2 answers
11812 views
Why does zram occupy much more memory compared to its "compressed" value?
I set up zram and made extensive tests inside my Linux machines to measure that it really helps in my scenario. However, I'm very confused that zram *seems* to use up memory of the whole uncompressed data size. When I type in "zramctl" I see this: NAME ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOU...
I set up zram and made extensive tests inside my Linux machines to measure that it really helps in my scenario. However, I'm very confused that zram *seems* to use up memory of the whole uncompressed data size. When I type in "zramctl" I see this: NAME ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT /dev/zram0 2G 853,6M 355,1M 367,1M 4 [SWAP] According to the help command of zramctl , DATA is the uncompressed size and TOTAL the compressed memory including metadata. Yet, when I type in swapon -s, I see this output: Filename Type size used Priority /dev/sda2 partition 1463292 0 4 /dev/zram0 partition 2024224 906240 5 906240 is the used memory in Kilobytes, which translates to the 853,6M DATA value of zramctl. Which leaves the impression that the compressed zram device needs more memory than it saves. Once DATA is full, it actually starts swapping to the disk drive, so it must be indeed full. Why does zram seemingly occupy memory of the original data size? Why is it not the size of COMPR or TOTAL? It seems there is no source about that on the Internet yet, because I haven't found any information about this. Thank you!
Testerhood (419 rep)
Jun 24, 2020, 02:36 PM • Last activity: Aug 12, 2025, 09:17 AM
1 votes
1 answers
3811 views
How to implement security profiles during installation of CentOS 8?
I am new to the Linux environment and I found CentOS to be a stable and secure operating system. I do not have much knowledge about the security profiles and how well do they protect the operating systems. I saw many tutorials on YouTube in which everyone skipped the security profiles during install...
I am new to the Linux environment and I found CentOS to be a stable and secure operating system. I do not have much knowledge about the security profiles and how well do they protect the operating systems. I saw many tutorials on YouTube in which everyone skipped the security profiles during installation of CentOS 8 while people installing CentOS 7 used to get an option to select security profiles ( information about it https://wiki.centos.org/TipsAndTricks/C7SecurityProfiles) . The main question I would like to ask, Q1. How do I implement security profiles in CentOS 8? Q2. If we can't use the security profiles of CentOS 7 then what options do we have for CentOS 8? Someone suggested me to use OpenSCAP (info about https://www.open-scap.org/security-policies/) Q3. Will OpenSCAP keep the CentOS 8 secure? Please provide some steps and suggestions which I could implement.
Anant_infinity (11 rep)
Nov 17, 2019, 06:31 AM • Last activity: Aug 12, 2025, 09:07 AM
6 votes
3 answers
996 views
awk - print $0 ignores OFS
I want to output every Column / Field, but when I do it with the `$0` variable, it ignores the default `OFS` variable which is a single `space`, so the `:`'s still get printed. Here is the command I tried: ```bash cat /etc/passwd | awk -F':' '{print $0}' ``` Given this sample input: ```none root:x:0...
I want to output every Column / Field, but when I do it with the $0 variable, it ignores the default OFS variable which is a single space, so the :'s still get printed. Here is the command I tried:
cat /etc/passwd | awk -F':' '{print $0}'
Given this sample input:
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
I get this output from my command:
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
But I want my output to look like this:
root x 0 0 root /root /bin/bash
daemon x 1 1 daemon /usr/sbin /usr/sbin/nologin
--- Thanks for your help :)
Bog (1144 rep)
Aug 21, 2023, 02:09 PM • Last activity: Aug 12, 2025, 08:00 AM
0 votes
0 answers
55 views
Why is apt trying to fetch the wrong revision of a package?
I'm trying to install qemu in Debian 12 (bookworm). I've just run `apt update` and `apt dist-upgrade` to ensure that everything is up to date. When I try to install my desired package, I get this error: ``` root@barracuda:~# apt install qemu-system-x86 Reading package lists... Done Building dependen...
I'm trying to install qemu in Debian 12 (bookworm). I've just run apt update and apt dist-upgrade to ensure that everything is up to date. When I try to install my desired package, I get this error:
root@barracuda:~# apt install qemu-system-x86
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  ipxe-qemu libcacard0 libcapstone4 libdaxctl1 libexecs0 libfdt1 libfmt9 libgfapi0 libgfrpc0 libgfxdr0
  libglusterfs0 libiscsi7 libndctl6 libpmem1 librados2 librbd1 libslirp0 libspice-server1 libssh-4
  liburing2 libusbredirparser1 libvdeplug2 libvirglrenderer1 ovmf qemu-block-extra qemu-system-common
  qemu-system-data qemu-system-gui qemu-utils seabios
Suggested packages:
  samba vde2
The following NEW packages will be installed:
  ipxe-qemu libcacard0 libcapstone4 libdaxctl1 libexecs0 libfdt1 libfmt9 libgfapi0 libgfrpc0 libgfxdr0
  libglusterfs0 libiscsi7 libndctl6 libpmem1 librados2 librbd1 libslirp0 libspice-server1 libssh-4
  liburing2 libusbredirparser1 libvdeplug2 libvirglrenderer1 ovmf qemu-block-extra qemu-system-common
  qemu-system-data qemu-system-gui qemu-system-x86 qemu-utils seabios
0 upgraded, 31 newly installed, 0 to remove and 3 not upgraded.
Need to get 43.5 MB of archives.
After this operation, 139 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://deb.debian.org/debian  bookworm/main amd64 ipxe-qemu all 1.0.0+git-20190125.36a4c85-5.1 [766 kB]
Get:2 http://deb.debian.org/debian  bookworm/main amd64 libcacard0 amd64 1:2.8.0-3 [91.1 kB]
Get:3 http://deb.debian.org/debian  bookworm/main amd64 libcapstone4 amd64 4.0.2-5 [569 kB]
Get:4 http://deb.debian.org/debian  bookworm/main amd64 libdaxctl1 amd64 76.1-1 [21.1 kB]
Get:5 http://deb.debian.org/debian  bookworm/main amd64 libexecs0 amd64 1.3-2 [8,840 B]
Get:6 http://deb.debian.org/debian  bookworm/main amd64 libfdt1 amd64 1.6.1-4+b1 [19.0 kB]
Get:7 http://deb.debian.org/debian  bookworm/main amd64 libfmt9 amd64 9.1.0+ds1-2 [113 kB]
Get:8 http://deb.debian.org/debian  bookworm/main amd64 libgfxdr0 amd64 10.3-5 [3,106 kB]
Get:9 http://deb.debian.org/debian  bookworm/main amd64 libglusterfs0 amd64 10.3-5 [3,347 kB]
Get:10 http://deb.debian.org/debian  bookworm/main amd64 libgfrpc0 amd64 10.3-5 [3,131 kB]
Get:11 http://deb.debian.org/debian  bookworm/main amd64 libgfapi0 amd64 10.3-5 [3,158 kB]
Get:12 http://deb.debian.org/debian  bookworm/main amd64 libiscsi7 amd64 1.19.0-3 [67.4 kB]
Get:13 http://deb.debian.org/debian  bookworm/main amd64 libndctl6 amd64 76.1-1 [61.7 kB]
Get:14 http://deb.debian.org/debian  bookworm/main amd64 libpmem1 amd64 1.12.1-2 [90.0 kB]
Get:15 http://deb.debian.org/debian  bookworm/main amd64 librados2 amd64 16.2.15+ds-0+deb12u1 [3,249 kB]
Get:16 http://deb.debian.org/debian  bookworm/main amd64 librbd1 amd64 16.2.15+ds-0+deb12u1 [2,404 kB]
Get:17 http://deb.debian.org/debian  bookworm/main amd64 libslirp0 amd64 4.7.0-1 [63.0 kB]
Get:18 http://deb.debian.org/debian  bookworm/main amd64 libspice-server1 amd64 0.15.1-1 [346 kB]
Get:19 http://deb.debian.org/debian  bookworm/main amd64 libssh-4 amd64 0.10.6-0+deb12u1 [189 kB]
Get:20 http://deb.debian.org/debian  bookworm/main amd64 liburing2 amd64 2.3-3 [12.6 kB]
Get:21 http://deb.debian.org/debian  bookworm/main amd64 libusbredirparser1 amd64 0.13.0-2 [18.7 kB]
Get:22 http://deb.debian.org/debian  bookworm/main amd64 libvdeplug2 amd64 4.0.1-4 [27.9 kB]
Get:23 http://deb.debian.org/debian  bookworm/main amd64 libvirglrenderer1 amd64 0.10.4-1 [349 kB]
Get:24 http://deb.debian.org/debian  bookworm/main amd64 ovmf all 2022.11-6+deb12u2 [7,683 kB]
Err:25 http://deb.debian.org/debian  bookworm/main amd64 qemu-system-common amd64 1:7.2+dfsg-7+deb12u12
  404  Not Found [IP: 151.101.2.132 80]
Get:26 http://deb.debian.org/debian  bookworm/main i386 qemu-system-data all 1:7.2+dfsg-7+deb12u13 [1,294 kB]
Get:27 http://deb.debian.org/debian  bookworm/main amd64 seabios all 1.16.2-1 [163 kB]
Err:28 http://deb.debian.org/debian  bookworm/main amd64 qemu-system-x86 amd64 1:7.2+dfsg-7+deb12u12
  404  Not Found [IP: 151.101.2.132 80]
Err:29 http://deb.debian.org/debian  bookworm/main amd64 qemu-utils amd64 1:7.2+dfsg-7+deb12u12
  404  Not Found [IP: 151.101.2.132 80]
Err:30 http://deb.debian.org/debian  bookworm/main amd64 qemu-block-extra amd64 1:7.2+dfsg-7+deb12u12
  404  Not Found [IP: 151.101.2.132 80]
Err:31 http://deb.debian.org/debian  bookworm/main amd64 qemu-system-gui amd64 1:7.2+dfsg-7+deb12u12
  404  Not Found [IP: 151.101.2.132 80]
Fetched 30.3 MB in 0s (81.2 MB/s)
E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-system-common_7.2%2bdfsg-7%2bdeb12u12_amd64.deb   404  Not Found [IP: 151.101.2.132 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-system-x86_7.2%2bdfsg-7%2bdeb12u12_amd64.deb   404  Not Found [IP: 151.101.2.132 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-utils_7.2%2bdfsg-7%2bdeb12u12_amd64.deb   404  Not Found [IP: 151.101.2.132 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-block-extra_7.2%2bdfsg-7%2bdeb12u12_amd64.deb   404  Not Found [IP: 151.101.2.132 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-system-gui_7.2%2bdfsg-7%2bdeb12u12_amd64.deb   404  Not Found [IP: 151.101.2.132 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
If I open the package repository in a browser, the package apt is looking for does seem to be absent: Screenshot of a directory in the deb.debian.org repo Note that there is a deb12u13 revision of this package, but apt is trying to fetch deb12u12. This is not some quirk of qemu-system-x86. I tried installing inkscape and got a similar error:
root@barracuda:~# apt install inkscape
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  fig2dev lib2geom1.2.0 libimage-magick-perl libimage-magick-q16-perl libmagick++-6.q16-8
  python3-cssselect python3-scour
Suggested packages:
  xfig dia inkscape-tutorials libsvg-perl pstoedit python3-uniconvertor imagemagick-doc
The following NEW packages will be installed:
  fig2dev inkscape lib2geom1.2.0 libimage-magick-perl libimage-magick-q16-perl libmagick++-6.q16-8
  python3-cssselect python3-scour
0 upgraded, 8 newly installed, 0 to remove and 3 not upgraded.
Need to get 22.1 MB of archives.
After this operation, 106 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Err:1 http://deb.debian.org/debian  bookworm/main amd64 libimage-magick-q16-perl amd64 8:6.9.11.60+dfsg-1.6+deb12u2
  404  Not Found [IP: 151.101.194.132 80]
Get:2 http://deb.debian.org/debian  bookworm/main i386 libimage-magick-perl all 8:6.9.11.60+dfsg-1.6+deb12u3 [53.3 kB]
Err:3 http://deb.debian.org/debian  bookworm/main amd64 fig2dev amd64 1:3.2.8b-3
  404  Not Found [IP: 151.101.194.132 80]
Get:4 http://deb.debian.org/debian  bookworm/main amd64 lib2geom1.2.0 amd64 1.2.2-3 [367 kB]
Err:5 http://deb.debian.org/debian  bookworm/main amd64 libmagick++-6.q16-8 amd64 8:6.9.11.60+dfsg-1.6+deb12u2
  404  Not Found [IP: 151.101.194.132 80]
Get:6 http://deb.debian.org/debian  bookworm/main amd64 inkscape amd64 1.2.2-2+b1 [20.6 MB]
Get:7 http://deb.debian.org/debian  bookworm/main amd64 python3-cssselect all 1.2.0-2 [21.6 kB]
Get:8 http://deb.debian.org/debian  bookworm/main amd64 python3-scour all 0.38.2-2 [58.0 kB]
Fetched 21.1 MB in 1s (23.6 MB/s)         
E: Failed to fetch http://deb.debian.org/debian/pool/main/i/imagemagick/libimage-magick-q16-perl_6.9.11.60%2bdfsg-1.6%2bdeb12u2_amd64.deb   404  Not Found [IP: 151.101.194.132 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/f/fig2dev/fig2dev_3.2.8b-3_amd64.deb   404  Not Found [IP: 151.101.194.132 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/i/imagemagick/libmagick%2b%2b-6.q16-8_6.9.11.60%2bdfsg-1.6%2bdeb12u2_amd64.deb   404  Not Found [IP: 151.101.194.132 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Again, navigating to the repo in a browser shows a deb12u3 version of the package, but apt is trying to fetch deb12u2: Screenshot of a directory in the deb.debian.org repo I think my underlying issue is that apt, despite having just been updated, seems to believe the obsolete packages still exist in the repo. Does anyone know how I can diagnose why it is doing this, and fix it? Thanks! Edit: As requested by Stephen Kitt, adding the output of apt update (it reports errors for some repos, but not the deb.debian.org one. Note that the output of apt install qemu-system-x86 is unchanged after running apt update):
root@barracuda:~# apt update
Get:1 file:/var/cudnn-local-repo-debian12-9.7.1  InRelease [1,572 B]
Get:1 file:/var/cudnn-local-repo-debian12-9.7.1  InRelease [1,572 B]
Hit:2 http://security.debian.org/debian-security  bookworm-security InRelease
Hit:3 http://deb.debian.org/debian  bookworm InRelease                                                  
Hit:4 http://deb.debian.org/debian  bookworm-updates InRelease                                          
Get:5 https://repo.steampowered.com/steam  stable InRelease [2,858 B]                                   
Hit:6 https://repository.spotify.com  stable InRelease                                                  
Ign:7 http://linux.dropbox.com/debian  bookworm InRelease                                               
Get:8 http://linux.dropbox.com/debian  bookworm Release [6,606 B]                             
Get:9 http://linux.dropbox.com/debian  bookworm Release.gpg [488 B]                                     
Get:10 https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64   InRelease [1,581 B]   
Err:5 https://repo.steampowered.com/steam  stable InRelease                           
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F24AEA9FB05498B7
Hit:11 https://packagecloud.io/slacktechnologies/slack/debian  jessie InRelease
Get:12 https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64   Packages [1,113 kB]
Hit:13 http://linux.dropbox.com/debian  bookworm/main amd64 Packages
Err:13 http://linux.dropbox.com/debian  bookworm/main amd64 Packages                   
  Hash Sum mismatch
  Hashes of expected file:
   - Filesize:2729 [weak]
   - SHA512:84a9c13f5151a4c560fd7b36392576cca74bc82d05f4d8a1b81d82fa2320ec59d9348444eae4272d34a6f880bd1e863667ab8fe2242d5d6c0607ff0dc5fbb996
   - SHA256:03e0ae5de96b915d2ac0c06b54ccd280cb4149f9fe8d9b5e137797a720541a8f
   - SHA1:518d5e4d5b144f8f60009bb68d0556474924e3f9 [weak]
   - MD5Sum:6cbcc6f1d1624680d0b4f15f27ef2d66 [weak]
  Hashes of received file:
   - SHA512:ce6c88369ab72f04e23c8980d25d7c93f3b1612337358fb09a0836c488c62ac325ee6a212972352b3db9c2300e8b843b58e17b245122ab172481ffdb7950d246
   - SHA256:e05a6bb2144fe03f698e00056775e40658165f4e90e0a02098660fbf8a00a3d2
   - SHA1:d3f88a84d5ef0eb0832142d036d41c2ec2939d89 [weak]
   - MD5Sum:6cba58abf61f6b9e321b0231f72282ab [weak]
   - Filesize:2729 [weak]
  Release file created at: Fri, 30 May 2025 19:08:40 +0000
Hit:14 http://linux.dropbox.com/debian  bookworm/main i386 Packages                    
Fetched 1,125 kB in 1s (1,472 kB/s)             
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.steampowered.com/steam  stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F24AEA9FB05498B7
W: Failed to fetch https://repo.steampowered.com/steam/dists/stable/InRelease   The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F24AEA9FB05498B7
E: Failed to fetch store:/var/lib/apt/lists/partial/linux.dropbox.com_debian_dists_bookworm_main_binary-amd64_Packages  Hash Sum mismatch
   Hashes of expected file:
    - Filesize:2729 [weak]
    - SHA512:84a9c13f5151a4c560fd7b36392576cca74bc82d05f4d8a1b81d82fa2320ec59d9348444eae4272d34a6f880bd1e863667ab8fe2242d5d6c0607ff0dc5fbb996
    - SHA256:03e0ae5de96b915d2ac0c06b54ccd280cb4149f9fe8d9b5e137797a720541a8f
    - SHA1:518d5e4d5b144f8f60009bb68d0556474924e3f9 [weak]
    - MD5Sum:6cbcc6f1d1624680d0b4f15f27ef2d66 [weak]
   Hashes of received file:
    - SHA512:ce6c88369ab72f04e23c8980d25d7c93f3b1612337358fb09a0836c488c62ac325ee6a212972352b3db9c2300e8b843b58e17b245122ab172481ffdb7950d246
    - SHA256:e05a6bb2144fe03f698e00056775e40658165f4e90e0a02098660fbf8a00a3d2
    - SHA1:d3f88a84d5ef0eb0832142d036d41c2ec2939d89 [weak]
    - MD5Sum:6cba58abf61f6b9e321b0231f72282ab [weak]
    - Filesize:2729 [weak]
   Release file created at: Fri, 30 May 2025 19:08:40 +0000
W: Some index files failed to download. They have been ignored, or old ones used instead.
Harry Braviner (101 rep)
Aug 11, 2025, 11:24 AM • Last activity: Aug 12, 2025, 07:26 AM
2 votes
2 answers
1930 views
Run rsync only if target directory exists?
I have a secondary backup drive that is usually stored offsite, but sometimes mounted. I'd like to put something in a crontab that automatically clones my backup drive to the secondary backup if it's mounted. I know that I could do something like: if [ -d $target_dir ]; then rsync -a --delete $src_d...
I have a secondary backup drive that is usually stored offsite, but sometimes mounted. I'd like to put something in a crontab that automatically clones my backup drive to the secondary backup if it's mounted. I know that I could do something like: if [ -d $target_dir ]; then rsync -a --delete $src_dir $target_dir; fi but I'm wondering if there's a way to ask rsync the same thing, without resorting to a shell script? Given that it has 6.02*10^23 command line options, you'd think so...
Scott Deerwester (411 rep)
Nov 2, 2018, 04:47 PM • Last activity: Aug 12, 2025, 07:09 AM
1 votes
2 answers
53 views
Ffmpeg generate fixed binary digit filename pattern
Suppose I have filenames like these 4-bit patterns: ``` 0000.ts 0001.ts ... 1111.ts ``` Basically, that file was generated from an RTSP stream that chunks every second. So, for each binary number increment by 1, it represents a 1-second chunk of video. Why do I prefer this pattern? Because I can con...
Suppose I have filenames like these 4-bit patterns:
0000.ts  
0001.ts  
...  
1111.ts
Basically, that file was generated from an RTSP stream that chunks every second. So, for each binary number increment by 1, it represents a 1-second chunk of video. Why do I prefer this pattern? Because I can control filtering with granularity based on powers of 2 using asterisks. For example:
ls 111*.ts   -> gets 2 seconds of video starting at 00:00:14  

ls 10*.ts    -> gets 4 seconds of video starting at 00:00:08

...and you get the idea for the rest.
But with ffmpeg, I can just do this using base 10 (i.e., Unix timestamp). Here are the ffmpeg flags I use:
-i rtsp://10.42.0.128:554/stream1  
     -c copy  
     -f segment  
     -segment_time 15  
     -reset_timestamps 1  
     -strftime 1  
     -segment_format mpegts  
     "/mnt/recordings/%s.ts"
You see that I’m using %s to get the Unix timestamp in base 10. What I really want is that Unix timestamp—but as a 64-bit version that printed in base2.
Muhammad Ikhwan Perwira (329 rep)
Aug 11, 2025, 07:00 PM • Last activity: Aug 12, 2025, 06:09 AM
2 votes
1 answers
2562 views
Linux desktop freezes after sleep
I'm new to linux and I've been running into some trouble. I use linux mint and sometimes (fairly often) after my laptop goes to sleep it freezes completely when it wakes up. I can't move the mouse, click, use the keyboard, or open a terminal. The only way I can get out of it is to force shutdown. I'...
I'm new to linux and I've been running into some trouble. I use linux mint and sometimes (fairly often) after my laptop goes to sleep it freezes completely when it wakes up. I can't move the mouse, click, use the keyboard, or open a terminal. The only way I can get out of it is to force shutdown. I've used several different distros and they all have this problem. Is there any kind of fix to this or should I just go back to windows? Laptop model: Toshiba Satellite S50D-A Mint version: Linux Mint 18.1 Serena inxi -Fxzc0 output: System: Host: jack-pc Kernel: 4.4.0-53-generic x86_64 (64 bit gcc: 5.4.0) Desktop: Cinnamon 3.2.6 (Gtk 3.18.9-1ubuntu3.1) Distro: Linux Mint 18.1 Serena Machine: System: TOSHIBA (portable) product: Satellite S50D-A v: PSKKWC-00G005 Mobo: AMD model: VG10AD Bios: Insyde v: 1.30 date: 11/05/2013 CPU: Quad core AMD A10-5745M APU with Radeon HD Graphics (-MCP-) cache: 8192 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 16769 clock speeds: max: 2100 MHz 1: 1500 MHz 2: 1800 MHz 3: 2100 MHz 4: 1500 MHz Graphics: Card-1: Advanced Micro Devices [AMD/ATI] Richland [Radeon HD 8610G] bus-ID: 00:01.0 Card-2: Advanced Micro Devices [AMD/ATI] Sun PRO [Radeon HD 8570A/8570M] bus-ID: 01:00.0 Display Server: X.Org 1.18.4 drivers: ati,radeon (unloaded: fbdev,vesa) Resolution: 1366x768@60.00hz GLX Renderer: Gallium 0.4 on AMD ARUBA (DRM 2.43.0, LLVM 3.8.0) GLX Version: 3.0 Mesa 11.2.0 Direct Rendering: Yes Audio: Card-1 Advanced Micro Devices [AMD] FCH Azalia Controller driver: snd_hda_intel bus-ID: 00:14.2 Card-2 Advanced Micro Devices [AMD/ATI] Trinity HDMI Audio Controller driver: snd_hda_intel bus-ID: 00:01.1 Sound: Advanced Linux Sound Architecture v: k4.4.0-53-generic Network: Card-1: Realtek RTL8188EE Wireless Network Adapter driver: rtl8188ee port: 3000 bus-ID: 02:00.0 IF: wlp2s0 state: up mac: Card-2: Qualcomm Atheros QCA8172 Fast Ethernet driver: alx port: 2000 bus-ID: 03:00.0 IF: enp3s0 state: down mac: Drives: HDD Total Size: 500.1GB (2.7% used) ID-1: /dev/sda model: WDC_WD5000BPVX size: 500.1GB temp: 26C Partition: ID-1: / size: 452G used: 5.9G (2%) fs: ext4 dev: /dev/sda1 ID-2: swap-1 size: 7.73GB used: 0.00GB (0%) fs: swap dev: /dev/dm-0 RAID: No RAID devices: /proc/mdstat, md_mod kernel module present Sensors: System Temperatures: cpu: 36.1C mobo: N/A gpu: 33.0,N/A Fan Speeds (in rpm): cpu: N/A Info: Processes: 269 Uptime: 11:51 Memory: 909.9/7178.3MB Init: systemd runlevel: 5 Gcc sys: 5.4.0 Client: Shell (bash 4.3.461) inxi: 2.2.35
JackHipson300 (21 rep)
Apr 2, 2017, 03:50 PM • Last activity: Aug 12, 2025, 06:02 AM
1 votes
1 answers
4856 views
Cifs mounting subdirectories from linux
I am trying to mount two subdirectories from the same share name but cannot get it to work. # Mount the two different subfolders: # $server and $share are the same - the subfolder differs: $ subfolderA=a/b/c $ subfolderB=x/y/z $ mount -t cifs //$server/$share/$subfolderA /mnt/dirA $ mount -t cifs //...
I am trying to mount two subdirectories from the same share name but cannot get it to work. # Mount the two different subfolders: # $server and $share are the same - the subfolder differs: $ subfolderA=a/b/c $ subfolderB=x/y/z $ mount -t cifs //$server/$share/$subfolderA /mnt/dirA $ mount -t cifs //$server/$share/$subfolderB /mnt/dirB # Traverse the directories - I see the same file in both directories (should only be be in dirA) $ find /mnt/dir[AB] -name fda.txt -ls 707409139 1024 -rwxr-xr-x 1 root root 15 May 28 08:50 /mnt/dirA/fda.txt 707409139 1024 -rwxr-xr-x 1 root root 15 May 28 08:50 /mnt/dirB/fda.txt # Mount in opposite order: $ umount /mnt/dirA $ umount /mnt/dirB $ mount -t cifs //$server/$share/$subfolderB /mnt/dirB $ mount -t cifs //$server/$share/$subfolderA /mnt/dirA # Traverse the directories - I do not see the file fda.txt at all $ find /mnt/dir[AB] -name fda.txt -ls I have verified my access to the different subfolders using smbclient and it gives me the expected results. The reason for having two separate mounts instead of just one, is because I do not have access to the share itself, but only to the subfolders.
S.Olesen (11 rep)
Aug 15, 2018, 06:06 AM • Last activity: Aug 12, 2025, 05:03 AM
3 votes
2 answers
5562 views
Disable Audio Source/Sink Module in Pipewire
In pulseaudio I use to be able to completely disable an audio device using something like: ``` pactl list short modules | grep -E "Logitech_BRIO|platform-skl" pactl unload-module 15 # ID of device I wanted to disable ``` Which would prevent the device from appearing in any applications or most audio...
In pulseaudio I use to be able to completely disable an audio device using something like:
pactl list short modules | grep -E "Logitech_BRIO|platform-skl"
pactl unload-module 15 # ID of device I wanted to disable
Which would prevent the device from appearing in any applications or most audio configuration settings (Like Cinnamon desktop Sound Settings). Now using Pipewire the individual devices no longer appear as modules, and even after reading thru the [Migrate PulseAudio wiki](https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Migrate-PulseAudio) I don't see how to entirely disable a device. Even using pavucontrol to set the configuration profile to off doesn't remove the device. Is there a way to completely disable an input or output device when using Pipewire?
Greg Bray (439 rep)
Nov 17, 2021, 06:41 PM • Last activity: Aug 12, 2025, 04:17 AM
0 votes
1 answers
8046 views
How to install libqt4-dev in Ubuntu 20.02
I'm trying to install `libqt4-dev` on Ubuntu 20.04 but I get the following errors: ```lang-shellsession kjs@PC:~/Downloads$ sudo apt-get install -y libqt4-dev Reading package lists... Done Building dependency tree... 50% Building dependency tree Reading state information... Done You might want to ru...
I'm trying to install libqt4-dev on Ubuntu 20.04 but I get the following errors:
-shellsession
kjs@PC:~/Downloads$ sudo apt-get install -y libqt4-dev
Reading package lists... Done
Building dependency tree... 50%
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libqt4-dev : Depends: libqt4-dbus (= 5:4.8.7+dfsg-7ubuntu4rock7) but it is not going to be installed
              Depends: libqt4-declarative (= 5:4.8.7+dfsg-7ubuntu4rock7) but it is not going to be installed
              Depends: libqt4-designer (= 5:4.8.7+dfsg-7ubuntu4rock7) but it is not going to be installed
              Depends: libqt4-dev-bin (= 5:4.8.7+dfsg-7ubuntu4rock7)
              Depends: libqt4-help (= 5:4.8.7+dfsg-7ubuntu4rock7) but it is not going to be installed
              Depends: libqt4-network (= 5:4.8.7+dfsg-7ubuntu4rock7) but it is not going to be installed
              Depends: libqt4-qt3support (= 5:4.8.7+dfsg-7ubuntu4rock7) but it is not going to be installed
              Depends: libqt4-script (= 5:4.8.7+dfsg-7ubuntu4rock7) but it is not going to be installed
              Depends: libqt4-scripttools (= 5:4.8.7+dfsg-7ubuntu4rock7) but it is not going to be installed
              Depends: libqt4-sql (= 5:4.8.7+dfsg-7ubuntu4rock7) but it is not going to be installed
              Depends: libqt4-svg (= 5:4.8.7+dfsg-7ubuntu4rock7) but it is not going to be installed
              Depends: libqt4-test (= 5:4.8.7+dfsg-7ubuntu4rock7) but it is not going to be installed
              Depends: libqt4-xml (= 5:4.8.7+dfsg-7ubuntu4rock7) but it is not going to be installed
              Depends: libqt4-xmlpatterns (= 5:4.8.7+dfsg-7ubuntu4rock7) but it is not going to be installed
              Depends: libqtcore4 (= 5:4.8.7+dfsg-7ubuntu4rock7) but it is not going to be installed
              Depends: libqtgui4 (= 5:4.8.7+dfsg-7ubuntu4rock7) but it is not going to be installed
              Depends: qt4-linguist-tools (= 5:4.8.7+dfsg-7ubuntu4rock7)
              Depends: qt4-qmake (= 5:4.8.7+dfsg-7ubuntu4rock7)
              Depends: qtchooser (>= 55-gc9562a1-1~)
              Recommends: libqt4-opengl-dev (= 5:4.8.7+dfsg-7ubuntu4rock7) but it is not going to be installed
 libqtgui4:i386 : Depends: libpng12-0:i386 (>= 1.2.13-4) but it is not going to be installed
                  Recommends: qt-at-spi:i386 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
After this I tried:
-shell
sudo add-apt-repository ppa:rock-core/qt4 
sudo apt-get update
sudo apt-get install libqtcore4
and got the following error:
-shellsession
~$ sudo apt-get install libqtcore4
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libqtcore4 : Breaks: libqtcore4:i386 (!= 5:4.8.7+dfsg-7ubuntu4rock7) but 4:4.8.7+dfsg-5ubuntu2 is to be installed
 libqtcore4:i386 : Breaks: libqtcore4 (!= 4:4.8.7+dfsg-5ubuntu2) but 5:4.8.7+dfsg-7ubuntu4rock7 is to be installed
 libqtgui4:i386 : Depends: libpng12-0:i386 (>= 1.2.13-4) but it is not going to be installed
                  Recommends: qt-at-spi:i386 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
I also tried to install Qt5 using the following command:
-shell
sudo apt-get install git g++ python libeigen3-dev zlib1g-dev libqt5opengl5-dev libqt5svg5-dev libgl1-mesa-dev libfftw3-dev libtiff5-dev libpng-dev
and got the following error:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
g++ is already the newest version (4:9.3.0-1ubuntu2).
g++ set to manually installed.
libpng-dev is already the newest version (1.6.37-2).
git is already the newest version (1:2.25.1-1ubuntu3.10).
libgl1-mesa-dev is already the newest version (21.2.6-0ubuntu0.1~20.04.2).
libgl1-mesa-dev set to manually installed.
zlib1g-dev is already the newest version (1:1.2.11.dfsg-2ubuntu1.5).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libfftw3-dev : Depends: libfftw3-bin (= 3.3.8-2ubuntu1)
                Depends: libfftw3-double3 (= 3.3.8-2ubuntu1) but it is not going to be installed
                Depends: libfftw3-long3 (= 3.3.8-2ubuntu1) but it is not going to be installed
                Depends: libfftw3-quad3 (= 3.3.8-2ubuntu1) but it is not going to be installed
 libqt5opengl5-dev : Depends: libqt5opengl5 (= 5.12.8+dfsg-0ubuntu2.1) but it is not going to be installed
                     Depends: qtbase5-dev (= 5.12.8+dfsg-0ubuntu2.1)
 libqt5svg5-dev : Depends: libqt5svg5 (= 5.12.8-0ubuntu1) but it is not going to be installed
 libqtgui4:i386 : Depends: libpng12-0:i386 (>= 1.2.13-4) but it is not going to be installed
                  Recommends: qt-at-spi:i386 but it is not going to be installed
 python : PreDepends: python-minimal (= 2.7.11-1) but it is not going to be installed
          Depends: python2.7 (>= 2.7.11-1~) but it is not going to be installed
          Depends: libpython-stdlib (= 2.7.11-1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Omkar Dixit (69 rep)
Mar 13, 2023, 06:16 AM • Last activity: Aug 12, 2025, 03:08 AM
28 votes
8 answers
40878 views
Terminal - copy from CLI without using mouse
While firing commands in CLI, **I want to copy the command I just fired** or anything I wrote in terminal and **paste it somewhere else** without using mouse. Like in following picture, I want to copy the update command (completely or partially) without using mouse and paste it somewhere. ![copy fro...
While firing commands in CLI, **I want to copy the command I just fired** or anything I wrote in terminal and **paste it somewhere else** without using mouse. Like in following picture, I want to copy the update command (completely or partially) without using mouse and paste it somewhere. copy from CLI without using mouse
prayagupadhyay (5047 rep)
Sep 22, 2013, 07:41 AM • Last activity: Aug 12, 2025, 02:47 AM
0 votes
1 answers
40 views
How do I recieve MMS messages in Spacebar with AT&T/ATT?
I have KDE's [Spacebar][1] installed on my Librem 5 but cannot figure out how to access/receive MMS messages. (edited image example) [![Screenshot of Spacebar with MMS Message][2]][2] I added my MMS settings but still get the message above: [![enter image description here][3]][3] Have any of you bee...
I have KDE's Spacebar installed on my Librem 5 but cannot figure out how to access/receive MMS messages. (edited image example) Screenshot of Spacebar with MMS Message I added my MMS settings but still get the message above: enter image description here Have any of you been able to receive MMS messages? I am attempting to receive cat photos. The screenshot was taken on Mobian. **Edit**: I am using AT&T (sometimes refered to as ATT) but would prefer a carrier-independent solution so that other may recieve help here as well
newunix (189 rep)
Aug 11, 2025, 04:58 AM • Last activity: Aug 12, 2025, 02:21 AM
4 votes
2 answers
3236 views
os-prober giving wrong UUID for Arch Linux
Up until yesterday, everything was working find and os-prober was successfully generating menu entries for the Arch Linux install. However today when I tried to boot into Arch, I got an error that the root file system could not be found at the UUID it was trying to use. After some tinkering I was ab...
Up until yesterday, everything was working find and os-prober was successfully generating menu entries for the Arch Linux install. However today when I tried to boot into Arch, I got an error that the root file system could not be found at the UUID it was trying to use. After some tinkering I was able to get Arch to boot by manually changing the root to the actual partition "/dev/sda7" as opposed to using UUID. I was wondering what might cause os-prober to be generating this invalid configuration just for the Arch Linux install. It does fine still for the openSUSE and Windows 7 installs. One other thing to note is that it has added "rw quiet" to the end of the boot line for Arch Linux. That is not something it previously did, and I am wondering if whatever changed that has to do with why the UUID is incorrect. Below I will post the menu entry for Arch Linux. As you can see os-prober has the --set-root= 'some UUID' part with the correct UUID, but later on when booting linux it has -root=UUID='some other incorrect UUID'. Just to clarify, I have Ubuntu, Arch Linux, openSUSE, and Windows 7 on this machine, but I am using Ubuntu as the main OS and allowing it to manage GRUB and its configurations. All of the operating systems are at their most up-to-date versions. menuentry 'Arch (on /dev/sda7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-b9522736-878c-49e3-b30d-ad65589aa1d9' { insmod part_msdos insmod ext2 set root='hd0,msdos7' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 b9522736-878c-49e3-b30d-ad65589aa1d9 else search --no-floppy --fs-uuid --set=root b9522736-878c-49e3-b30d-ad65589aa1d9 fi linux /boot/vmlinuz-linux root=UUID=ad4103fa-d940-47ca-8506-301d8071d467 rw quiet initrd /boot/initramfs-linux.img } As you can see the first two UUIDs are different from the last one. The first two are correct and the last one is wrong. If I replace the last UUID with '/dev/sda7', Then it boots without problem. I have manually edited the grub.cfg to do this, but I would like os-prober to get back to working automatically. Thanks.
user256518
May 10, 2014, 03:42 PM • Last activity: Aug 12, 2025, 02:07 AM
Showing page 9 of 20 total questions