最新記事

MySqlのインストール中にエラーが発生しました:E:子プロセス/usr/bin/dpkgがエラーコード(1)を返しました。
linux
linux-mint
apt
package-management
mysql

MySqlのインストール中にエラーが発生しました:E:子プロセス/usr/bin/dpkgがエラーコード(1)を返しました。

MySql をインストールできません。 sudo apt install mysql-serverをインストールするとエラーが発生します。 過去には、すべてのソフトウェアのすべての種類の更新を妨げるこのエラーが発生しました。ただし、問題を解決すると、すべてが正常に戻り、MySqlを除くすべてのソフトウェアをインストールできます。これは今でも同じです。 Linux Mintの最新バージョンにMysqlをインストールする方法は? There were errors in processing: /var/cache/apt/archives/mysql-server-8.0_8.0.27-0ubuntu0.20.04.1_amd64.deb E: Sub-process / usr / bin / dpkg returned an error code (1) より正確には、以下を受け取ります。 After this operation, 204 MB of disk space will be occupied. To continue? [Y / n] s Download of: 1 http://archive.ubuntu.com/ubuntu focal-updates / main amd64 mysql-client-core-8.0 amd64 8.0.27-0ubuntu0.20.04.1 [4.423 kB] Download of: 2 http://archive.ubuntu.com/ubuntu focal-updates / main amd64 mysql-client-8.0 amd64 8.0.27-0ubuntu0.20.04.1 [22.0 kB] Download of: 3 http://archive.ubuntu.com/ubuntu focal-updates / main amd64 mysql-server-core-8.0 amd64 8.0.27-0ubuntu0.20.04.1 [18.4 MB] Download of: 4 http://archive.ubuntu.com/ubuntu focal-updates / main amd64 mysql-server-8.0 amd64 8.0.27-0ubuntu0.20.04.1 [1.313 kB] Download of: 5 http://archive.ubuntu.com/ubuntu focal-updates / main amd64 mysql-server all 8.0.27-0ubuntu0.20.04.1 [9.548 B] Retrieved 24.2 MB in 5s (4,538 kB / s) Pre-configuration of packages in progress Selected the mysql-client-core-8.0 package not previously selected. (Database reading ... 641576 currently installed files and directories.) Preparations to extract ... / mysql-client-core-8.0_8.0.27-0ubuntu0.20.04.1_amd64.deb ... Extracting mysql-client-core-8.0 (8.0.27-0ubuntu0.20.04.1) ... Selected the mysql-client-8.0 package not previously selected. Preparations to extract ... / mysql-client-8.0_8.0.27-0ubuntu0.20.04.1_amd64.deb ... Extracting mysql-client-8.0 (8.0.27-0ubuntu0.20.04.1) ... Selected the mysql-server-core-8.0 package not previously selected. Preparations to extract ... / mysql-server-core-8.0_8.0.27-0ubuntu0.20.04.1_amd64.deb ... Extracting mysql-server-core-8.0 (8.0.27-0ubuntu0.20.04.1) ... Preparations to extract ... / mysql-server-8.0_8.0.27-0ubuntu0.20.04.1_amd64.deb ... grep: / etc / mysql /: File or directory does not exist Failed to stop mysql.service: Unit mysql.service not loaded. invoke-rc.d: initscript 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.27-0ubuntu0.20.04.1_amd64.deb (--unpac k): mysql-server-8.0 pre-installation script new package thread returned error status 1 Selected the mysql-server package not previously selected. Preparations to extract ... / mysql-server_8.0.27-0ubuntu0.20.04.1_all.deb ... Extraction of mysql-server (8.0.27-0ubuntu0.20.04.1) ... There were errors in processing: /var/cache/apt/archives/mysql-server-8.0_8.0.27-0ubuntu0.20.04.1_amd64.deb E: Sub-process / usr / bin / dpkg returned an error code (1)

Admin

Linux Mintに特定のNVIDIAドライバをインストールするには?
linux-mint

Linux Mintに特定のNVIDIAドライバをインストールするには?

Windows 10でLinux Mintに切り替えようと思っていますが、ドライバアップデートの検索をしてみました。間違ったドライバをインストールし、解像度のスケーリングがあまり良くないので、ドライバを手動でインストールするには...明るさの問題など...その後、Linux mintドライバに特定のドライバをインストールできますか?

Admin

linux-mint
boot

なぜLinux Mint 20あちこち動いている1分30秒~2分i310Gで起動するのは遅い起動時間のため、本当に苦しいです。過去1週間の間に解決策を見つけようとしましたが、まだ実りがありませんでした。 コミュニティの回答に心から感謝します。 システム分析 Startup finished in 10.699s (firmware) + 3.368s (loader) + 7.923s (kernel) + 30.193s (userspace) = 52.185s graphical.target reached after 30.181s in userspace $systemd-分析-責任 9.913s accounts-daemon.service 9.303s dev-sda7.device 8.674s ubuntu-system-adjustments.service 8.229s NetworkManager.service 6.241s avahi-daemon.service 6.239s bluetooth.service 6.081s thermald.service 6.073s wpa_supplicant.service 6.072s systemd-logind.service 5.087s systemd-journal-flush.service 体系化された分析クリティカルチェーン graphical.target @30.181s └─multi-user.target @27.593s └─getty.target @27.593s └─[email protected] @27.592s └─system-getty.slice @27.590s └─setvtrgb.service @27.461s +126ms └─systemd-user-sessions.service @25.740s +34ms └─network.target @25.735s └─NetworkManager.service @17.505s +8.229s └─dbus.service @17.503s └─basic.target @17.430s └─sockets.target @17.430s └─uuidd.socket @17.430s └─sysinit.target @17.374s └─systemd-timesyncd.service @17.012s +361ms └─systemd-tmpfiles-setup.service @15.529s +1.271s └─local-fs.target @15.402s └─boot-efi.mount @15.300s +101ms └─systemd-fsck@dev-disk-by\x2duuid-BC85\x2dD177.service @13.996s +1.279s └─dev-disk-by\x2duuid-BC85\x2dD177.device @13.995s インシ-プッシュ(Inxi-Fxi) 猫/etc/fstab # / was on /dev/sda7 during installation UUID=ca57e331-79fb-4f04-b68e-7f2de5247b1a / ext4 errors=remount-ro 0 1 # /boot/efi was on /dev/sda1 during installation UUID=BC85-D177 /boot/efi vfat umask=0077 0 1 # /home was on /dev/sda9 during installation UUID=47c8dbf8-dec0-4238-8c0e-8582def09194 /home ext4 defaults 0 2 # swap was on /dev/sda8 during installation UUID=00d38b07-5422-46f2-8ed7-82fc3186f50b none swap sw 0 0 黒子 zahid@Zahid-HP15s ~ $ blkid /dev/sda1: LABEL="SYSTEM" UUID="BC85-D177" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="7c859521-1909-42cc-9d5d-6fbbf2b72a77" /dev/sda3: LABEL="Windows" UUID="1A0066FD0066DF6F" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="8dfca0e5-c889-441a-ad8a-415c0f445e31" /dev/sda4: LABEL="New Volume" UUID="F0C88F71C88F34BE" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="648dffd2-e679-4125-a5ed-490568be4fc6" /dev/sda5: LABEL="New Volume" UUID="ACF205FCF205CC10" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="cb143e3e-20c2-4128-8394-d34405816d66" /dev/sda6: LABEL="Windows RE tools" UUID="BE1AC1A01AC155D5" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="bfa3e33d-0db2-4b5c-a804-8c5ef4f356f7" /dev/sda7: UUID="ca57e331-79fb-4f04-b68e-7f2de5247b1a" TYPE="ext4" PARTUUID="a2c0f78a-d763-44b8-9a33-a535095218ed" /dev/sda8: UUID="00d38b07-5422-46f2-8ed7-82fc3186f50b" TYPE="swap" PARTUUID="80c26d41-bcd4-4f77-a705-10ae5d7266c6" /dev/sda9: UUID="47c8dbf8-dec0-4238-8c0e-8582def09194" TYPE="ext4" PARTUUID="9d2f1025-b6a4-465e-b0ad-c4a4b4336c24" sudocat/var/log/boot.log ------------ Thu Sep 03 16:27:11 IST 2020 ------------ /dev/sda7: clean, 509970/6250496 files, 4357931/24999936 blocks [ OK ] Finished Tell Plymouth To Write Out Runtime Data. [ OK ] Finished Clean up any mess left by 0dns-up. [ OK ] Finished Create Volatile Files and Directories. Starting Network Name Resolution... Starting Network Time Synchronization... Starting Update UTMP about System Boot/Shutdown... [ OK ] Finished Update UTMP about System Boot/Shutdown. [ OK ] Finished Load AppArmor profiles. Starting Raise network interfaces... [ OK ] Started Network Time Synchronization. [ OK ] Reached target System Initialization. [ OK ] Started ACPI Events Check. [ OK ] Started CUPS Scheduler. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Reached target Paths. [ OK ] Reached target System Time Set. [ OK ] Reached target System Time Synchronized. [ OK ] Started Trigger anacron every hour. [ OK ] Started Daily apt download activities. [ OK ] Started Daily apt upgrade and clean activities. [ OK ] Started Periodic ext4 Online Metadata Check for All Filesystems. [ OK ] Started Discard unused blocks once a week. [ OK ] Started Refresh fwupd metadata regularly. [ OK ] Started Daily rotation of log files. [ OK ] Started Daily man-db regeneration. [ OK ] Started Message of the Day. [ OK ] Reached target Timers. [ OK ] Listening on ACPID Listen Socket. [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. [ OK ] Listening on CUPS Scheduler. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Listening on UUID daemon activation socket. [ OK ] Reached target Sockets. [ OK ] Reached target Basic System. Starting Accounts Service... [ OK ] Started ACPI event daemon. Starting Save/Restore Sound Card State... Starting Avahi mDNS/DNS-SD Stack... Starting Bluetooth service... [ OK ] Started Regular background program processing daemon. [ OK ] Started CUPS Scheduler. [ OK ] Started D-Bus System Message Bus. Starting Network Manager... [ OK ] Started Save initial kernel messages after boot. Starting Remove Stale Online ext4 Metadata Check Snapshots... Starting Detect the available GPUs and deal with any system changes... Starting LSB: Record successful boot for GRUB... Starting GRUB failed boot detection... Starting LSB: disk temperature monitoring daemon... [ OK ] Started irqbalance daemon. Starting Initialize hardware monitoring sensors... Starting LSB: Load kernel modules needed to enable cpufreq scaling... [ OK ] Started mintsystem.service. [ OK ] Started Set the CPU Frequency Scaling governor. Starting Restore /etc/resolv.conf if the system crashed before the ppp link was shut down... Starting LSB: Adaptive readahead daemon... Starting System Logging Service... Starting Login Service... Starting Thermal Daemon Service... Starting Ubuntu system adjustments... Starting Disk Manager... Starting WPA supplicant... [ OK ] Finished Raise network interfaces. [ OK ] Finished Restore /etc/resolv.conf if the system crashed before the ppp link was shut down. [ OK ] Finished Save/Restore Sound Card State. [ OK ] Finished Initialize hardware monitoring sensors. [ OK ] Started LSB: disk temperature monitoring daemon. [ OK ] Reached target Sound Card. [ OK ] Finished Remove Stale Online ext4 Metadata Check Snapshots. [ OK ] Started LSB: Record successful boot for GRUB. [ OK ] Started LSB: Load kernel modules needed to enable cpufreq scaling. Starting LSB: set CPUFreq kernel parameters... [ OK ] Finished GRUB failed boot detection. [ OK ] Started System Logging Service. [ OK ] Started LSB: set CPUFreq kernel parameters. [ OK ] Started Network Name Resolution. [ OK ] Reached target Host and Network Name Lookups. Starting Tool to automatically collect and submit kernel crash signatures... [ OK ] Started LSB: Adaptive readahead daemon. [ OK ] Started Tool to automatically collect and submit kernel crash signatures. [ OK ] Finished Detect the available GPUs and deal with any system changes. 分析するログ制御スピーチの終わりに約1分遅れました。ログ制御再起動後、次のようになります。 Aug 29 13:24:06 Zahid-HP15s udisksd[1008]: Failed to load the 'mdraid' libblockdev plugin Aug 29 13:24:10 Zahid-HP15s wpa_supplicant[1009]: dbus: fill_dict_with_properties dbus_interface=fi.w1.wpa_supplicant1.Interface.P2PDevice dbus_property=P2PDeviceConfig getter failed Aug 29 13:24:10 Zahid-HP15s NetworkManager[988]: [1598687650.7084] device (wlo1): wifi-scan: active scanning for networks due to profiles with wifi.hidden=yes. This makes you trackable Aug 29 13:24:13 Zahid-HP15s wpa_supplicant[1009]: bgscan simple: Failed to enable signal strength monitoring Aug 29 13:24:23 Zahid-HP15s systemd-resolved[913]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP. Aug 29 13:24:23 Zahid-HP15s systemd-resolved[913]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP. Aug 29 13:24:30 Zahid-HP15s /slick-greeter-set-keyboard-layout[2973]: Result: Warning! Multiple definitions of keyboard model Warning! Multiple definitions of keyboard layout Aug 29 13:25:16 Zahid-HP15s cinnamon-session[6142]: WARNING: t+0.30993s: Could not read /home/zahid/.config/autostart/warpinator-autostart.desktop: Key file does not have key “Name” in group “Desktop Entry” Aug 29 13:25:27 Zahid-HP15s cinnamon-session[6142]: WARNING: t+10.73768s: Detected that screensaver has appeared on the bus zahid@Zahid-HP15s〜$cat /var/log/syslogエラー|* Sep 3 16:27:16 Zahid-HP15s kernel: [ 0.317325] ACPI Error: Aborting method \_SB.PCI0.RP05.PCRP._ON due to previous error (AE_NOT_FOUND) (20200528/psparse-529) Sep 3 16:27:16 Zahid-HP15s kernel: [ 2.225653] pcieport 0000:00:1d.0: DPC: error containment capabilities: Int Msg #0, RPExt+ PoisonedTLP+ SwTrigger+ RP PIO Log 4, DL_ActiveErr+ Sep 3 16:27:16 Zahid-HP15s kernel: [ 2.226157] pcieport 0000:00:1d.1: DPC: error containment capabilities: Int Msg #0, RPExt+ PoisonedTLP+ SwTrigger+ RP PIO Log 4, DL_ActiveErr+ Sep 3 16:27:16 Zahid-HP15s kernel: [ 12.536398] EXT4-fs (sda7): re-mounted. Opts: errors=remount-ro Sep 3 16:27:21 Zahid-HP15s thermald[722]: [WARN]error: could not parse file /etc/thermald/thermal-conf.xml Sep 3 16:27:21 Zahid-HP15s thermald[722]: [WARN]error: could not parse file /etc/thermald/thermal-conf.xml Sep 3 16:27:21 Zahid-HP15s thermald[722]: [WARN]error: could not parse file /etc/thermald/thermal-conf.xml 猫/var/log/dmesg: [ 8.361162] systemd[1]: Inserted module 'autofs4' [ 8.973333] systemd[1]: systemd 245.4-4ubuntu3.2 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid) [ 8.992651] systemd[1]: Detected architecture x86-64. [ 9.030608] systemd[1]: Set hostname to . [ 11.633242] systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly. [ 12.148373] systemd[1]: Created slice system-modprobe.slice. [ 12.148593] systemd[1]: Created slice system-systemd\x2dfsck.slice. [ 12.148858] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 12.148882] systemd[1]: Reached target User and Group Name Lookups. [ 12.148891] systemd[1]: Reached target Remote File Systems. [ 12.148895] systemd[1]: Reached target Slices. [ 12.148942] systemd[1]: Listening on Device-mapper event daemon FIFOs. [ 12.148992] systemd[1]: Listening on LVM2 poll daemon socket. [ 12.166706] systemd[1]: Listening on Syslog Socket. [ 12.167731] systemd[1]: Listening on Process Core Dump Socket. [ 12.167769] systemd[1]: Listening on fsck to fsckd communication Socket. [ 12.167792] systemd[1]: Listening on initctl Compatibility Named Pipe. [ 12.167873] systemd[1]: Listening on Journal Audit Socket. [ 12.167909] systemd[1]: Listening on Journal Socket (/dev/log). [ 12.167949] systemd[1]: Listening on Journal Socket. [ 12.167990] systemd[1]: Listening on udev Control Socket. [ 12.168021] systemd[1]: Listening on udev Kernel Socket. [ 12.168622] systemd[1]: Mounting Huge Pages File System... [ 12.169214] systemd[1]: Mounting POSIX Message Queue File System... [ 12.169972] systemd[1]: Mounting Kernel Debug File System... [ 12.170549] systemd[1]: Mounting Kernel Trace File System... [ 12.171551] systemd[1]: Starting Journal Service... [ 12.172413] systemd[1]: Starting Availability of block devices... [ 12.173585] systemd[1]: Starting Set the console keyboard layout... [ 12.174504] systemd[1]: Starting Create list of static device nodes for the current kernel... [ 12.175571] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling... [ 12.175611] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped. [ 12.383942] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped. [ 12.383983] systemd[1]: Condition check resulted in File System Check on Root Device being skipped. [ 12.420942] systemd[1]: Starting Load Kernel Modules... [ 12.421690] systemd[1]: Starting Remount Root and Kernel File Systems... [ 12.422490] systemd[1]: Starting udev Coldplug all Devices... [ 12.423252] systemd[1]: Starting Uncomplicated firewall... [ 12.424317] systemd[1]: Started Journal Service. [ 12.536398] kernel: EXT4-fs (sda7): re-mounted. Opts: errors=remount-ro [ 13.268397] kernel: bpfilter: Loaded bpfilter_umh pid 362 [ 13.268469] unknown: Started bpfilter [ 13.853807] kernel: lp: driver loaded but no devices found [ 14.018916] kernel: ppdev: user-space parallel port driver [ 18.239605] kernel: input: HP Wireless hotkeys as /devices/virtual/input/input8 [ 18.457909] kernel: mei_me 0000:00:16.0: enabling device (0000 -> 0002) [ 18.662880] kernel: pstore: Using crash dump compression: deflate [ 18.662899] kernel: pstore: Registered efi as persistent store backend [ 18.674479] kernel: intel_rapl_common: Found RAPL domain package [ 18.674530] kernel: proc_thermal 0000:00:04.0: Creating sysfs group for PROC_THERMAL_PCI [ 18.728619] kernel: dw-apb-uart.2: ttyS4 at MMIO 0x4010002000 (irq = 20, base_baud = 7500000) is a 16550A [ 18.753628] kernel: ee1004 0-0050: 512 byte EE1004-compliant SPD EEPROM, read-only [ 18.834225] kernel: input: ELAN0709:00 04F3:30A0 Mouse as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN0709:00/0018:04F3:30A0.0001/input/input10 [ 18.834303] kernel: input: ELAN0709:00 04F3:30A0 Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN0709:00/0018:04F3:30A0.0001/input/input12 [ 18.834376] kernel: hid-multitouch 0018:04F3:30A0.0001: input,hidraw0: I2C HID v1.00 Mouse [ELAN0709:00 04F3:30A0] on i2c-ELAN0709:00 [ 18.869646] kernel: cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 18.869913] kernel: cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 18.874136] kernel: intel_rapl_common: Found RAPL domain package [ 18.874137] kernel: intel_rapl_common: Found RAPL domain core [ 18.874138] kernel: intel_rapl_common: Found RAPL domain uncore [ 19.014397] kernel: mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915]) [ 19.233473] kernel: Bluetooth: Core ver 2.22 [ 19.233491] kernel: NET: Registered protocol family 31 [ 19.233491] kernel: Bluetooth: HCI device and connection manager initialized [ 19.233495] kernel: Bluetooth: HCI socket layer initialized [ 19.233496] kernel: Bluetooth: L2CAP socket layer initialized [ 19.233498] kernel: Bluetooth: SCO socket layer initialized [ 19.487156] kernel: input: HP WMI hotkeys as /devices/virtual/input/input9 [ 19.586363] kernel: mc: Linux media interface: v0.10 [ 19.641041] kernel: rtl8821ce: loading out-of-tree module taints kernel. [ 19.641722] kernel: rtl8821ce: module verification failed: signature and/or required key missing - tainting kernel [ 19.643816] kernel: rtl8821ce 0000:02:00.0: enabling device (0000 -> 0003) [ 19.743727] kernel: videodev: Linux video capture interface: v2.00 [ 19.753481] kernel: rtl8821ce 0000:02:00.0 wlo1: renamed from wlan0 [ 19.762035] kernel: usbcore: registered new interface driver btusb [ 19.763134] kernel: Bluetooth: hci0: RTL: examining hci_ver=08 hci_rev=000c lmp_ver=08 lmp_subver=8821 [ 19.764124] kernel: Bluetooth: hci0: RTL: rom_version status=0 version=1 [ 19.764125] kernel: Bluetooth: hci0: RTL: loading rtl_bt/rtl8821c_fw.bin [ 19.796235] kernel: RAPL PMU: API unit is 2^-32 Joules, 3 fixed counters, 655360 ms ovfl timer [ 19.796237] kernel: RAPL PMU: hw unit of domain pp0-core 2^-14 Joules [ 19.796237] kernel: RAPL PMU: hw unit of domain package 2^-14 Joules [ 19.796238] kernel: RAPL PMU: hw unit of domain pp1-gpu 2^-14 Joules [ 19.860696] kernel: Bluetooth: hci0: RTL: loading rtl_bt/rtl8821c_config.bin [ 19.860774] kernel: Bluetooth: hci0: RTL: cfg_sz 10, total sz 21678 [ 20.145893] kernel: uvcvideo: Found UVC 1.00 device HP TrueVision HD Camera (0408:5365) [ 20.164444] kernel: uvcvideo 1-5:1.0: Entity type for entity Extension 4 was not initialized! [ 20.164446] kernel: uvcvideo 1-5:1.0: Entity type for entity Extension 3 was not initialized! [ 20.164446] kernel: uvcvideo 1-5:1.0: Entity type for entity Processing 2 was not initialized! [ 20.164447] kernel: uvcvideo 1-5:1.0: Entity type for entity Camera 1 was not initialized! [ 20.164491] kernel: input: HP TrueVision HD Camera: HP Tru as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/input/input13 [ 20.164534] kernel: usbcore: registered new interface driver uvcvideo [ 20.164535] kernel: USB Video Class driver (1.1.1) [ 20.226540] kernel: snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380 [ 20.226562] kernel: snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002) [ 20.226774] kernel: snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) [ 20.272168] kernel: Bluetooth: hci0: RTL: fw version 0x826ca99e [ 20.384793] kernel: snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC236: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [ 20.384795] kernel: snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 20.384796] kernel: snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0) [ 20.384797] kernel: snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0 [ 20.384797] kernel: snd_hda_codec_realtek hdaudioC0D0: inputs: [ 20.456176] kernel: input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input15 [ 20.456204] kernel: input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input16 [ 20.456231] kernel: input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input17 [ 20.456258] kernel: input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input18 [ 20.456280] kernel: input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input19 [ 20.456302] kernel: input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input20 [ 20.456327] kernel: input: HDA Intel PCH HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input21 [ 20.456348] kernel: input: HDA Intel PCH HDMI/DP,pcm=12 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input22 [ 22.364592] kernel: Adding 3000316k swap on /dev/sda8. Priority:-2 extents:1 across:3000316k FS [ 22.536315] kernel: EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null) [ 24.658301] kernel: audit: type=1400 audit(1599130632.907:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-senddoc" pid=668 comm="apparmor_parser" [ 24.920964] kernel: audit: type=1400 audit(1599130633.171:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-xpdfimport" pid=678 comm="apparmor_parser" [ 24.973595] kernel: audit: type=1400 audit(1599130633.223:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cups-browsed" pid=680 comm="apparmor_parser" [ 32.043775] kernel: Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 32.043778] kernel: Bluetooth: BNEP filters: protocol multicast [ 32.043783] kernel: Bluetooth: BNEP socket layer initialized [ 32.092795] kernel: NET: Registered protocol family 38

Admin

LinuxミントUIの欠陥
linux-mint
nvidia

LinuxミントUIの欠陥

アップグレードとアップデート後、Linux Mintに問題があります。スクロール、マウスオーバー、クリック、ウィンドウのフォーカス、入力、変更などのUIのすべての要素は、操作中に欠陥/点滅と考えることができます。まだ使えますが不安です。一部のシステム効果を無効にした後、いくつかの改善がありました(5.1番の項目に従いました)。Easylinuxtipsプロジェクト指示)。私はHP Omenノートブック、グラフィックカード:nVidia Geforce GTXを使用しています。

Admin

CrontabがバックグラウンドLinux Mintを切り替えることができない
linux-mint
x11
cron
gsettings

CrontabがバックグラウンドLinux Mintを切り替えることができない

私はLinux Mintで10分ごとに背景画像を切り替える必要がある次のcrontabタスクを作成しました。 */10 * * * * /home/me/Pictures/wallpapers/switcher.sh >> /home/me/Logs/wallpaper.log 2>&1 このシェルスクリプトを呼び出します。 #!/bin/bash gsettings set org.cinnamon.desktop.background picture-uri $(/usr/bin/python3 /home/me/Pictures/wallpapers/spaceBack.py) ログファイルに次のエラーメッセージが表示されます。 (process:18951): dconf-CRITICAL **: 14:00:02.264: unable to create file '/home/me/.cache/dconf/user': Permission denied. dconf will not work properly. (process:18951): dconf-CRITICAL **: 14:00:02.265: unable to create file '/home/me/.cache/dconf/user': Permission denied. dconf will not work properly. (process:18951): dconf-CRITICAL **: 14:00:02.265: unable to create file '/home/me/.cache/dconf/user': Permission denied. dconf will not work properly. (process:18951): dconf-WARNING **: 14:00:02.265: failed to commit changes to dconf: Cannot autolaunch D-Bus without X11 $DISPLAY シェルを介してスクリプトを実行すると、このエラーが発生しますcron(ターミナルを介して正しく実行されます)。 電話ls -la /home/me/.cache/dconf/ を返す drwx------ 2 root root 4096 Jul 6 16:13 . drwx------ 48 me me 4096 Jun 29 15:33 .. -rw------- 1 root root 2 Jul 6 16:13 user

Admin

Linux Mint(Cinnamon)でアプリケーションを閉じる/終了する
linux-mint
cinnamon
desktop-environment

Linux Mint(Cinnamon)でアプリケーションを閉じる/終了する

私は最近mint(Cinnamon 4.4.8)に切り替えましたが、アプリケーションを閉じるのに問題があります。 Ubuntu 20.04があり、そこにCinnamon DEをインストールしました。 特定のアプリケーションを閉じようとすると閉じますが、下部のメニューバーから消えません。メニューバーにはアプリケーションが開いていると表示されますが、それをクリックすると既存の(閉じているが表示されます)ウィンドウや新しいウィンドウは開きません。右クリックしてアプリケーションの新しいウィンドウを起動する必要があります。また、アプリケーションのすべてのインスタンスを右クリックして閉じることは機能しません。これらの閉じたアプリケーションの一部は、実行中のプロセスには表示されません。 添付メニューバーのスクリーンショットは次のとおりです。

Admin

sigprocmask() が正しく動作しませんか?
linux
linux-mint
c
signals
glibc

sigprocmask() が正しく動作しませんか?

(投稿が長くて申し訳ありませんが、できるだけ正確にしたかったです) Cプログラムを書いている間、メインスレッドのシグナルマスクを印刷しようとしたときに、sigprocmask関数の仕組みで奇妙なことがわかりました。 背景[ソース:Man Page sigprocmask(2)] このsigprocmask関数は、呼び出しスレッドの信号マスクを取得または変更するために使用されます。 /* Prototype for the glibc wrapper function */ int sigprocmask(int how, const sigset_t *set, sigset_t *oldset); oldsetそれ以外の場合は、NULL信号マスクの以前の値がに保存されますoldset。 そうであれば、シグナルマスクは変更されませんが(つまりset無視されます)、シグナルマスクの現在の値はまだ返されます(そうでない場合)。NULLhowoldsetNULL sigset_tタイプ変数(「シグナルセット」)を変更して検証する機能セットについては、で説明されていますsigsetops(3)。例では: int sigemptyset(sigset_t *set);:set で与えられる信号セットを初期化します。空、すべての信号がセットから除外されます。 int sigfillset(sigset_t *set);:初期化が次に設定されます。いっぱい、すべての信号を含みます。 int sigismember(const sigset_t *set, int signum);:signum がセットのメンバーであるかどうかをテストします。 ノート:パディングされた信号セットを生成するとき、glibc関数にはsigfillset次のものは含まれません。二つNPTLスレッドは、内部使用のためのリアルタイム信号を実装します。 システムの詳細 Linux ディストリビューション: Linux Mint 19.3Cinnamon Glibc バージョン: (2.27既定値) 2.31.9 出力uname -a: Linux 5.0.0-32-generic #34~18.04.2-Ubuntu SMP Thu Oct 10 10:36:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux 質問のコピー 発生する可能性のある問題を警告するプログラムは次のとおりです。 #define _GNU_SOURCE #include #include #include #include #define BUFFER_SIZE 32 #define OUTOFBOUNDS #undef OUTOFBOUNDS void print_set_bin(sigset_t *setp); int main(void) { sigset_t set; printf("NSIG = %d\n\n", NSIG); printf("Empty set:\n"); if (sigemptyset(&set)) { perror("sigemptyset"); return -1; } print_set_bin(&set); printf("Filled set:\n"); if (sigfillset(&set)) { perror("sigfillset"); return -1; } print_set_bin(&set); printf("After sigprocmask():\n"); if (sigprocmask(SIG_BLOCK, NULL, &set)) { perror("sigprocmask"); return -1; } print_set_bin(&set); // Why non-empty? return 0; } void print_set_bin(sigset_t *setp) { int sig, res; char buff[BUFFER_SIZE]; if (!setp) { fprintf(stderr, "print_set_bin(): NULL parameter\n"); return; } #ifdef OUTOFBOUNDS for (sig = 0; sig <= NSIG; sig++) #else for (sig = 1; sig < NSIG; sig++) #endif { res = sigismember(setp, sig); if (res == -1) { snprintf(buff, BUFFER_SIZE, "sigisimember [%d]", sig); perror(buff); } else printf("%d", res); } printf(" [%s]\n\n", sigisemptyset(setp) ? "Empty" : "Non-empty"); } この関数は、print_set_binすべてのシグナルの出力を印刷しますsigismember(0非会員の場合、1会員の場合)。NSIG(= 65)のマクロ定義は、signal.hで説明されているように、最大​​信号数に1を加えたものです/usr/include/x86_64-linux-gnu/bits/signum-generic.h。同じ文書では、この最大信号番号にライブ信号(番号範囲[32、64])が含まれ、信号番号0がテスト目的で予約されていると言われています。 したがって、上記のマイコードは[1、64]の範囲に属する信号番号をテストします。 次は出力プログラム内容: NSIG = 65 Empty set: 0000000000000000000000000000000000000000000000000000000000000000 [Empty] Filled set: 1111111111111111111111111111111001111111111111111111111111111111 [Non-empty] After sigprocmask(): 0000000000000000000000000000000000000000000000000000000000000000 [Non-empty] 出力説明 このプログラムでsetは型変数が操作されます。sigset_tまず、関数sigemptysetを使用してすべてのビットを0に設定し、次にsigfillsetすべてのビットを1に設定する関数を使用します(2を除く、参照)。ノート存在する背景セクション)最後に、sigprocmask現在の信号マスクを同じ変数に保存するために使用されます。シグナルセットに対するすべての操作を実行したら、print_set_binこの機能を使用して、そのセットに属するシグナルとセットが空であるか(使用済みsigisemptyset())を印刷します。 問題は、print_set_binセットに属するシグナルが見つからないという最後の呼び出しであるようですが、関数はセットが空ではないとsigisemptyset説明します。これはsigset_t64ビット以上であり、そのうちの少なくとも1つはゼロでないことを考えました。 研究 埋め込みヘッダファイルを追跡してみると、これがasとedで定義された構造であるsignal.hことがわかりました。sigset_t/usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h__sigset_t.htypedef/usr/include/x86_64-linux-gnu/bits/types/sigset_t.h #define _SIGSET_NWORDS (1024 / (8 * sizeof (unsigned long int))) typedef struct { unsigned long int __val[_SIGSET_NWORDS]; } __sigset_t; 最初は1024ビットが多すぎると思いましたが、後で見るとこの回答もう一つのunix.stackexchange.comの質問です。その後、sigset_tその構造の実装の詳細を使用して、1024ビットをすべて印刷することにしました。以下のコードでこれを行い、関数をprint_set_bin配列に割り当てられたすべて(= 16)を印刷する関数に置き換えました。print_set_word_SIGSET_NWORDSunsigned long int__val void print_set_word(sigset_t *setp) { int i; if (!setp) { fprintf(stderr, "print_set_word(): NULL parameter\n"); return; } for (i = 0; i < 16; i++) { printf("%lu\n", setp->__val[i]); } printf("[%s]\n\n", sigisemptyset(setp) ? "Empty" : "Non-empty"); } プログラム出力: Empty set: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 [Empty] Filled set: 18446744067267100671 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 [Non-empty] After sigprocmask(): 0 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 18446744073709551615 [Non-empty] ノート: 18446744067267100671== 0b1111111111111111111111111111111001111111111111111111111111111111(64ビットは2を除いて1に設定されます。参照)ノート存在する背景部分) 18446744073709551615== 0b1111111111111111111111111111111111111111111111111111111111111111(64ビットの場合は1に設定) 出力の説明と質問 ご覧のとおり、sigemptyset()セットsigfillset()内のすべての1024ビットで動作します。表示する前に呼び出すsigemptyset()代わりに呼び出すと、最初の64ビット(1)でのみ機能し、残りの1024-64 = 960ビットは変更されません!長い間待ってきた質問があります。これは間違いではありませんか?完全な構造データを作成しないでください。sigfillset()sigprocmask()sigprocmask()unsigned long intsigprocmask()

Admin

画面ロックが解除された後にCinnamonを再起動する方法
linux-mint
x11
cron
cinnamon
lightdm

画面ロックが解除された後にCinnamonを再起動する方法

長い間活動がなければ現れる​​シナモン問題があります。数時間アイドル状態でコンピュータを使用すると、CPU、メモリなどはすべてCinnamonに問題がないように見えますが、キーストロークからウィンドウの移動まですべての操作が行われます。第5世代i5、16GB RAM、および512GB SSDのLinux Mint 19.3では、著しく遅くなりました。これは何年もの間シナモンの問題だったようです。 Cinnamonを再起動するためにクリックしてalt + f2入力すると、r再び長いアイドル期間(このエラーが発生する可能性もありません)が発生するまで、問題はすぐに解決されます。 この問題が発生するたびにCinnamonを手動で再起動するのではなく、ユーザーがログインするたびにCinnamonを再起動するように自動タスクを設定したいと思います。 画面のロックを解除するためにdbusを監視し、実行するsystemdサービスとして実行されるスクリプト設定がありますが、x11セッションではないとdbus監視が機能できないため失敗します。それ以外の場合は、スクリプトをタップして切り替えると、cinnamon --replaceスクリプトが期待どおりに機能します。別のttyをインポートしてctrl + alt + f1スクリプトを実行してください。エラーメッセージは次のとおりです。Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 次のようになります。 #!/bin/bash dbus-monitor --session "type='signal',interface='org.cinnamon.ScreenSaver'" | \ ( while true; do read X if echo $X | grep "boolean true" &> /dev/null; then echo "locked" elif echo $X | grep "boolean false" &> /dev/null; then echo "starting" cinnamon --replace fi done )

Admin

Linux mint - 2番目のモニターが切断されると、ログイン画面の代わりに黒い画面が表示される
linux
linux-mint
multi-monitor

Linux mint - 2番目のモニターが切断されると、ログイン画面の代わりに黒い画面が表示される

Windows 10にデュアルブートをインストールし、Mint 17.2(Tina)にアップグレードしました。私のラップトップ(HP Zbook 15)では、最初のモニターではなく2番目のモニターであるViewSonicを使用してください。私のラップトップモニターは最初です。ただし、2番目のモニターを取り外してログイン画面の代わりにシステムを起動する必要がある場合は、黒い画面が表示されます。 2台目のモニターを再接続しても、まだ黒です。 しかし、(無意識のうちに)パスワードを入力するとログインしてホーム画面が表示され、すべてがうまく機能します。 ところでノートパソコンを一時停止して覚醒すると正常にログイン画面が出ますね。 コンピュータを起動する前に、2台目のモニターの接続が切断されているので、ノートパソコンのモニターにログイン画面を表示したいと思います。この問題をどのように解決できますか? とても感謝しています。

Admin

Linux Mint 21.1を実行している私のAcer Aspire x1700は時々動作を停止し、Windows 7よりも遅くなります。
linux-mint
cpu
ram
acer

Linux Mint 21.1を実行している私のAcer Aspire x1700は時々動作を停止し、Windows 7よりも遅くなります。

lscpu は以下を返します。 Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 36 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 2 On-line CPU(s) list: 0,1 Vendor ID: GenuineIntel Model name: Intel(R) Core(TM)2 Duo CPU E7300 @ 2.66GHz CPU family: 6 Model: 23 Thread(s) per core: 1 Core(s) per socket: 2 Socket(s): 1 Stepping: 6 CPU max MHz: 2670.0000 CPU min MHz: 1603.0000 BogoMIPS: 5333.32 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm pti dtherm L1d cache: 64 KiB (2 instances) L1i cache: 64 KiB (2 instances) L2 cache: 3 MiB (1 instance) NUMA node(s): 1 NUMA node0 CPU(s): 0,1 Vulnerability Itlb multihit: KVM: Mitigation: VMX unsupported Vulnerability L1tf: Mitigation; PTE Inversion Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled Vulnerability Meltdown: Mitigation; PTI Vulnerability Mmio stale data: Unknown: No mitigations Vulnerability Retbleed: Not affected Vulnerability Spec store bypass: Vulnerable Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Retpolines, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected Hardinfoやgpxviewerなどのプログラムを開くと、コンピュータがハングすることがあります。特にFirefoxではスクロールが遅いです。 xfce デスクトップ環境を使用しています。別のLinuxディストリビューションを見つける必要がありますか、それとも何か問題があり、どのように解決できますか?これに関して、Ubuntuははるかに遅いですが、GNOMEではそうです。簡単ならごめんなさい。しかし、Linuxを初めて試してみることです。ありがとうございます。

Admin

キーボードショートカットは保存に役立ちます。 ctrl-sを押しずにAlt、f、sを押します。
linux-mint
cinnamon
gui

キーボードショートカットは保存に役立ちます。 ctrl-sを押しずにAlt、f、sを押します。

私はシナモンミント20を使っています。 Altを押したときにメニューバーをアクティブに保つにはどうすればよいですか? Windowsでは、Altを押してからfを押してファイルメニューを開き、sを押して保存します。 Linuxでは、Altキーを押しながらfを押さないと無視されます。だからドキュメントにfsを頻繁に入力します。 WindowsのようにメニューバーでAltが動作するようにする設定はありますか? Ctrl キーを押すと思いますが、それは 20 年前の反応ではありません。ただ手を振り、親指でaltを押し、人差し指でfを押し、薬指でsボタンを押します。

Admin