AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-114641

Jonathan's questions

Martin Hope
Jonathan
Asked: 2019-05-07 11:24:28 +0800 CST

如何在 Ubuntu 18.04 上安装引导图?

  • 1

引导图不再可用?是否有等效的图形工具?

sudo apt install bootchart  
E: Package 'bootchart' has no installation candidate
 sudo snap install bootchart
error: snap "bootchart" not found

我的分析链似乎根本没有帮助:

systemd-analyze critical-chain 
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.



graphical.target @17.301s
└─multi-user.target @17.301s
  └─snap-node-2082.mount @56.794s +60ms
    └─local-fs-pre.target @1.903s
      └─keyboard-setup.service @226ms +1.367s
        └─systemd-journald.socket @224ms
          └─system.slice @218ms
            └─-.slice @218ms
ppa bootchart
  • 1 个回答
  • 1959 Views
Martin Hope
Jonathan
Asked: 2019-04-27 10:08:13 +0800 CST

如何将 Google 相册同步到硬盘目录?

  • 9

我在我的 Android 手机上拍照,然后将它们与 Google Photos 同步,这会立即通过云将它们放在其他设备上。

如何让 Google 相册自动同步到我的 Ubuntu 笔记本电脑硬盘?

nautilus online-accounts google-drive
  • 3 个回答
  • 7306 Views
Martin Hope
Jonathan
Asked: 2019-04-25 12:55:26 +0800 CST

如何以画中画 (PIP) 模式观看 Youtube?[复制]

  • 1
这个问题在这里已经有了答案:
如何在 GNOME 3 上以非侵入方式监控其他窗口(启用画中画功能)? (1 个回答)
我可以有一个窗口显示另一个工作区的小型实时预览吗? (2 个回答)
3年前关闭。

我想在角落里观看带有小视频的 youtube 视频,而不会在屏幕上浪费很多空间,例如标题栏、地址栏、书签栏、滚动条等。

video youtube video-player
  • 1 个回答
  • 3109 Views
Martin Hope
Jonathan
Asked: 2019-04-17 13:45:23 +0800 CST

混合 apt 发行版频道可以吗?(即xenial、巧妙、仿生、宇宙等)

  • 3

每次我do-release-upgrade禁用我需要的 PPA,所以我需要通过选中软件和更新中的框来重新启用它们。几个版本之后,我现在有各种渠道用于这些重新启用的 PPA(artful、bionic、cosmic,甚至 debian之类的jessie等/etc/apt/sources.list.d/)

我没有收到任何错误或警告。但在我的灵魂深处感觉不对劲。法律顾问?

编辑:我可以确认混合确实会导致奇怪的错误,最好保持它们相同

apt
  • 1 个回答
  • 110 Views
Martin Hope
Jonathan
Asked: 2019-04-16 19:50:23 +0800 CST

间歇性 nVidia 驱动程序加载 - 错误:无法从任何可用系统加载信息(Ubuntu 18.10)

  • 1

通过图形驱动程序 PPA试验前沿驱动程序

双 GPU 笔记本电脑,Ubuntu Budgie w/nvidia-driver-418在大约 15 秒的日志记录后冻结屏幕,除了鼠标,所以我尝试了 nvidia-410 和 415,它只是有时加载。

nvidia-settings抛出错误ERROR: Unable to load info from any available system

但加载部分屏幕 在此处输入图像描述

在此处输入图像描述

Linux skyhawk 4.18.0-17-generic #18-Ubuntu SMP Wed Mar 13 14:34:40 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

nvidia-smi
Mon Apr 15 22:46:46 2019       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 415.27       Driver Version: 415.27       CUDA Version: 10.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 860M    Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   55C    P8    N/A /  N/A |      2MiB /  2004MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

dmesg

    7.073081] PKCS#7 signature not signed with a trusted key
[    7.073095] nvidia: loading out-of-tree module taints kernel.
[    7.073102] nvidia: module license 'NVIDIA' taints kernel.
[    7.073102] Disabling lock debugging due to kernel taint
[    7.077684] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[    7.082249] iwlwifi 0000:08:00.0: base HW address: e8:2a:ea:2a:79:b6
[    7.085970] intel_rapl: Found RAPL domain package
[    7.085972] intel_rapl: Found RAPL domain core
[    7.085972] intel_rapl: Found RAPL domain uncore
[    7.085973] intel_rapl: Found RAPL domain dram
[    7.085975] intel_rapl: RAPL package 0 domain package locked by BIOS
[    7.086116] nvidia-nvlink: Nvlink Core is being initialized, major device number 238
[    7.086397] nvidia 0000:01:00.0: enabling device (0006 -> 0007)
[    7.086451] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.PEG0._PRT.AR02], AE_NOT_FOUND (20180531/psargs-330)
[    7.086459] No Local Variables are initialized for Method [_PRT]
[    7.086460] No Arguments are initialized for method [_PRT]
[    7.086462] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0._PRT, AE_NOT_FOUND (20180531/psparse-516)
[    7.186041] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  415.27  Thu Dec 20 17:25:03 CST 2018 (using threaded interrupts)
[    7.191194] PKCS#7 signature not signed with a trusted key
[    7.214782] PKCS#7 signature not signed with a trusted key
[    7.215491] PKCS#7 signature not signed with a trusted key
[    7.215754] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  415.27  Thu Dec 20 17:06:08 CST 2018
[    7.221693] PKCS#7 signature not signed with a trusted key
[    7.222538] PKCS#7 signature not signed with a trusted key
[    7.223063] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[    7.248789] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20180531/nsarguments-66)
[    7.304472] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[    7.340248] Adding 16670716k swap on /dev/sda3.  Priority:-2 extents:1 across:16670716k SSFS
[    7.648887] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    7.648888] [drm] No driver support for vblank timestamp query.
[    7.648890] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
[    7.663188] PKCS#7 signature not signed with a trusted key
[    7.666364] nvidia-uvm: Loaded the UVM driver in 8 mode, major device number 236
[    8.557995] audit: type=1400 audit(1555386280.076:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/ubuntu-core-launcher" pid=965 comm="apparmor_parser"
[    8.558489] audit: type=1400 audit(1555386280.076:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-senddoc" pid=967 comm="apparmor_parser"
[    8.558800] audit: type=1400 audit(1555386280.076:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-oopslash" pid=966 comm="apparmor_parser"
[    8.559344] audit: type=1400 audit(1555386280.076:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=964 comm="apparmor_parser"
[    8.559347] audit: type=1400 audit(1555386280.076:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=964 comm="apparmor_parser"
[    8.559348] audit: type=1400 audit(1555386280.076:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=964 comm="apparmor_parser"
[    8.559949] audit: type=1400 audit(1555386280.076:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-xpdfimport" pid=969 comm="apparmor_parser"
[    8.562885] audit: type=1400 audit(1555386280.080:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/sbin/dhclient" pid=961 comm="apparmor_parser"
[    8.562889] audit: type=1400 audit(1555386280.080:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=961 comm="apparmor_parser"
[    8.562891] audit: type=1400 audit(1555386280.080:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=961 comm="apparmor_parser"
[    8.646060] PKCS#7 signature not signed with a trusted key
[    8.646346] bbswitch: version 0.8
[    8.646353] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[    8.646360] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[    8.646491] bbswitch: detected an Optimus _DSM function
[    8.646502] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[    8.768143] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    8.768145] Bluetooth: BNEP filters: protocol multicast
[    8.768148] Bluetooth: BNEP socket layer initialized
[    8.857865] input: lircd-uinput as /devices/virtual/input/input20
[    9.205259] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    9.249926] r8169 0000:09:00.0 eth0: link down
[    9.250014] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    9.254137] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    9.491467] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    9.504092] nvidia-uvm: Unloaded the UVM driver in 8 mode
[    9.532167] [drm] [nvidia-drm] [GPU ID 0x00000100] Unloading driver
[    9.576143] nvidia-modeset: Unloading
[    9.612318] nvidia-nvlink: Unregistered the Nvlink Core, major device number 238
[    9.622231] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    9.729809] bbswitch: disabling discrete graphics
[    9.730246] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.PEG0._PRT.AR02], AE_NOT_FOUND (20180531/psargs-330)
[    9.730258] No Local Variables are initialized for Method [_PRT]
[    9.730259] No Arguments are initialized for method [_PRT]
[    9.730261] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0._PRT, AE_NOT_FOUND (20180531/psparse-516)
[   16.142019] PKCS#7 signature not signed with a trusted key
[   16.150020] vboxdrv: Found 8 processor cores
[   16.168352] vboxdrv: TSC mode is Invariant, tentative frequency 2394440871 Hz
[   16.168353] vboxdrv: Successfully loaded version 5.2.18_Ubuntu (interface 0x00290001)
[   16.174679] PKCS#7 signature not signed with a trusted key
[   16.175038] VBoxNetFlt: Successfully started.
[   16.181035] PKCS#7 signature not signed with a trusted key
[   16.181313] VBoxNetAdp: Successfully started.
[   16.188978] PKCS#7 signature not signed with a trusted key
[   16.189288] VBoxPciLinuxInit
[   16.193576] vboxpci: IOMMU not found (not registered)
[   16.306057] wlan0: authenticate with 10:6f:3f:f8:d0:e4
[   16.310742] wlan0: send auth to 10:6f:3f:f8:d0:e4 (try 1/3)
[   16.313234] wlan0: authenticated
[   16.319871] wlan0: associate with 10:6f:3f:f8:d0:e4 (try 1/3)
[   16.324916] wlan0: RX AssocResp from 10:6f:3f:f8:d0:e4 (capab=0x411 status=0 aid=1)
[   16.325876] wlan0: associated
[   16.355404] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   20.050713] rfkill: input handler disabled
[   20.300757] Bluetooth: RFCOMM TTY layer initialized
[   20.300762] Bluetooth: RFCOMM socket layer initialized
[   20.300766] Bluetooth: RFCOMM ver 1.11
[   27.275341] PKCS#7 signature not signed with a trusted key
[   27.292838] nvidia-nvlink: Nvlink Core is being initialized, major device number 238
[   27.385783] PKCS#7 signature not signed with a trusted key
[   27.794598] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.PEG0._PRT.AR02], AE_NOT_FOUND (20180531/psargs-330)
[   27.794606] No Local Variables are initialized for Method [_PRT]
[   27.794607] No Arguments are initialized for method [_PRT]
[   27.794609] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0._PRT, AE_NOT_FOUND (20180531/psparse-516)
[   27.894229] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  415.27  Thu Dec 20 17:25:03 CST 2018 (using threaded interrupts)
[   27.900766] PKCS#7 signature not signed with a trusted key
[   27.901674] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  415.27  Thu Dec 20 17:06:08 CST 2018
[   27.903901] PKCS#7 signature not signed with a trusted key
[   27.904954] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[   28.305317] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   28.305318] [drm] No driver support for vblank timestamp query.
[   28.305320] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
[   28.315254] PKCS#7 signature not signed with a trusted key
[   28.318040] nvidia-uvm: Loaded the UVM driver in 8 mode, major device number 236
wayland nvidia-prime nvidia-current-dev
  • 1 个回答
  • 1531 Views
Martin Hope
Jonathan
Asked: 2018-05-26 20:08:32 +0800 CST

通过 Steam 进行的 Stellaris 游戏运行速度超慢(菜单中为 3 fps)

  • 0

我有一台在 Windows 上运行 Stellaris 的顶级机器,但在 Ubuntu 18.04 上,Stellaris 运行速度非常慢,就像它甚至没有使用显卡一样。我正在使用nvidia卡。

在dmesg中看到了这个,不确定它是否相关。我的猜测是它无关紧要,因为它似乎发生在不到一秒钟的时间内?:

[  193.532941] powercap intel-rapl:0: package locked by BIOS, monitoring only
[  194.574036] CPU5: Core temperature above threshold, cpu clock throttled (total events = 1)
[  194.574037] CPU1: Core temperature above threshold, cpu clock throttled (total events = 1)
[  194.574039] CPU3: Package temperature above threshold, cpu clock throttled (total events = 1)
[  194.574043] CPU4: Package temperature above threshold, cpu clock throttled (total events = 1)
[  194.574044] CPU6: Package temperature above threshold, cpu clock throttled (total events = 1)
[  194.574045] CPU7: Package temperature above threshold, cpu clock throttled (total events = 1)
[  194.574046] CPU0: Package temperature above threshold, cpu clock throttled (total events = 1)
[  194.574047] CPU2: Package temperature above threshold, cpu clock throttled (total events = 1)
[  194.574048] CPU1: Package temperature above threshold, cpu clock throttled (total events = 1)
[  194.574057] CPU5: Package temperature above threshold, cpu clock throttled (total events = 1)
[  194.575038] CPU1: Core temperature/speed normal
[  194.575039] CPU5: Core temperature/speed normal
[  194.575040] CPU4: Package temperature/speed normal
[  194.575041] CPU0: Package temperature/speed normal
[  194.575042] CPU7: Package temperature/speed normal
[  194.575043] CPU3: Package temperature/speed normal
[  194.575044] CPU6: Package temperature/speed normal
[  194.575045] CPU2: Package temperature/speed normal
[  194.575045] CPU5: Package temperature/speed normal
[  194.575046] CPU1: Package temperature/speed normal
[  201.541002] intel_pstate: Turbo disabled by BIOS or unavailable on processor
[  227.457422] intel_pstate: Turbo disabled by BIOS or unavailable on processor
[  231.461084] intel_pstate: Turbo disabled by BIOS or unavailable on processor
[  235.464786] intel_pstate: Turbo disabled by BIOS or unavailable on processor
[  239.468445] intel_pstate: Turbo disabled by BIOS or unavailable on processor
[  256.793728] intel_pstate: Turbo disabled by BIOS or unavailable on processor
nvidia games graphics
  • 1 个回答
  • 1356 Views
Martin Hope
Jonathan
Asked: 2017-07-11 12:55:52 +0800 CST

Corsair M95 游戏鼠标太灵敏/速度太快。如何降低速度?

  • 2

鼠标控制面板窗口滑块什么也不做。由于它的 xinput 道具不同,官方线程似乎不会影响这个特定的鼠标:降低鼠标灵敏度

这是我尝试过的:

xinput set-prop 9 "libinput Accel Speed Default" 2.88

X Error of failed request:  BadAccess (attempt to access private resource denied)
  Major opcode of failed request:  131 (XInputExtension)
  Minor opcode of failed request:  57 ()
  Serial number of failed request:  20
  Current serial number in output stream:  21

和:

xinput set-prop $MOUSE_ID "Device Accel Constant Deceleration" 2.88 

property 'Device Accel Constant Deceleration' doesn't exist, you need to specify its type and format

以下是道具:

xinput list-props 9        
Device 'Corsair Corsair M95 Gaming Mouse':
    Device Enabled (153):   1
    Coordinate Transformation Matrix (155): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Accel Speed (287): 0.000000
    libinput Accel Speed Default (288): 0.000000
    libinput Accel Profiles Available (289):    1, 1
    libinput Accel Profile Enabled (290):   1, 0
    libinput Accel Profile Enabled Default (291):   1, 0
    libinput Natural Scrolling Enabled (292):   0
    libinput Natural Scrolling Enabled Default (293):   0
    libinput Send Events Modes Available (272): 1, 0
    libinput Send Events Mode Enabled (273):    0, 0
    libinput Send Events Mode Enabled Default (274):    0, 0
    libinput Left Handed Enabled (294): 0
    libinput Left Handed Enabled Default (295): 0
    libinput Scroll Methods Available (296):    0, 0, 1
    libinput Scroll Method Enabled (297):   0, 0, 0
    libinput Scroll Method Enabled Default (298):   0, 0, 0
    libinput Button Scrolling Button (299): 2
    libinput Button Scrolling Button Default (300): 2
    libinput Middle Emulation Enabled (301):    0
    libinput Middle Emulation Enabled Default (302):    0
    Device Node (275):  "/dev/input/event2"
    Device Product ID (276):    6940, 6918
    libinput Drag Lock Buttons (303):   <no items>
    libinput Horizontal Scroll Enabled (304):   1



 jonny  ~  xinput list-props 11
Device 'Corsair Corsair M95 Gaming Mouse':
    Device Enabled (153):   1
    Coordinate Transformation Matrix (155): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Natural Scrolling Enabled (292):   0
    libinput Natural Scrolling Enabled Default (293):   0
    libinput Send Events Modes Available (272): 1, 0
    libinput Send Events Mode Enabled (273):    0, 0
    libinput Send Events Mode Enabled Default (274):    0, 0
    Device Node (275):  "/dev/input/event4"
    Device Product ID (276):    6940, 6918
    libinput Drag Lock Buttons (303):   <no items>
    libinput Horizontal Scroll Enabled (304):   1



 jonny  ~  xinput list-props 10
Device 'Corsair Corsair M95 Gaming Mouse':
    Device Enabled (153):   1
    Coordinate Transformation Matrix (155): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Send Events Modes Available (272): 1, 0
    libinput Send Events Mode Enabled (273):    0, 0
    libinput Send Events Mode Enabled Default (274):    0, 0
    Device Node (275):  "/dev/input/event3"
    Device Product ID (276):    6940, 6918


 jonny  ~  xinput list-props 15
Device 'Corsair Corsair M95 Gaming Mouse':
    Device Enabled (153):   1
    Coordinate Transformation Matrix (155): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Natural Scrolling Enabled (292):   0
    libinput Natural Scrolling Enabled Default (293):   0
    libinput Send Events Modes Available (272): 1, 0
    libinput Send Events Mode Enabled (273):    0, 0
    libinput Send Events Mode Enabled Default (274):    0, 0
    Device Node (275):  "/dev/input/event4"
    Device Product ID (276):    6940, 6918

xinput list-props 4
Device 'Virtual core XTEST pointer':
    Device Enabled (153):   1
    Coordinate Transformation Matrix (155): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    XTEST Device (271): 1
xinput list-props 2 
Device 'Virtual core pointer':
    Device Enabled (153):   1
    Coordinate Transformation Matrix (155): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000

和:

xinput                                                                                                                                                                                                                       1 
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Corsair Corsair M95 Gaming Mouse          id=9    [slave  pointer  (2)]
⎜   ↳ Corsair Corsair M95 Gaming Mouse          id=11   [slave  pointer  (2)]
⎜   ↳ Razer Razer BlackWidow Ultimate           id=13   [slave  pointer  (2)]
⎜   ↳ Razer Razer BlackWidow Ultimate           id=14   [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Power Button                              id=7    [slave  keyboard (3)]
    ↳ UVC Camera (046d:0807)                    id=8    [slave  keyboard (3)]
    ↳ Corsair Corsair M95 Gaming Mouse          id=10   [slave  keyboard (3)]
    ↳ Razer Razer BlackWidow Ultimate           id=12   [slave  keyboard (3)]
    ↳ Corsair Corsair M95 Gaming Mouse          id=15   [slave  keyboard (3)]
    ↳ Razer Razer BlackWidow Ultimate           id=16   [slave  keyboard (3)]
mouse
  • 2 个回答
  • 1220 Views
Martin Hope
Jonathan
Asked: 2016-06-11 05:43:24 +0800 CST

如何使用和打开 360 度 *.pano 全景图像文件?

  • 2

Microsoft 的 Photosynth(通过 iOS 应用程序上传)网站导出到 *.pano。Facebook 现在原生支持 360 度照片。我将如何处理元数据和/或查看这些 360 度全景照片?

photo-management
  • 1 个回答
  • 913 Views
Martin Hope
Jonathan
Asked: 2016-05-17 15:34:26 +0800 CST

无法通过 MySQL Workbench 连接到 Ubuntu 16.04 中的本地主机(无密码根)

  • 37

Oracle 网站似乎暗示它仅适用于 15 和 14。 http://dev.mysql.com/downloads/workbench/

我的两台 Ubuntu 16.04 机器似乎也无法连接(root 访问被拒绝错误)

图片

它安装正常。它打开正常。但它不会连接到本地主机。

有人有运气吗?

16.04
  • 11 个回答
  • 129336 Views
Martin Hope
Jonathan
Asked: 2016-05-17 08:20:23 +0800 CST

如何修复损坏的包安装(mysql)

  • 21

升级到 Ubuntu 16.04 后,我注意到 mysql 出现了令人难以置信的错误。确信,这是一个损坏的设置,我尝试运行 mysql 的清除。这似乎并没有删除所有内容,所以我尝试自己做:

sudo rm -r /etc/mysql
sudo rm -r /usr/share/mysql-workbench
sudo rm -r /usr/share/mysql
sudo rm -r /usr/share/mysql-common

这是一个错误。永远不要尝试这样做。现在mysql甚至无法正确安装。我试过重新安装依赖项:

sudo apt-get install --reinstall $(apt-cache depends mysql-server | grep -Po 'Depends:\s+\K[^ ]+$' | tr '\n' ' ' )

和包裹本身:

sudo apt install mysql-workbench mysql-server --reinstall

但是我得到了各种神秘的错误,例如:

sudo apt-get install --reinstall mysql-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not         upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for mysql-server:amd64

并卸载

sudo apt-get remove mysql-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libmysqlclient20 : Depends: mysql-common (>= 5.5) but it is not going to be installed
 mariadb-client-core-10.0 : Depends: mariadb-common (>= 10.0.24-7) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

或者如果我重新配置

sudo dpkg --configure -a
Setting up mysql-server-5.7 (5.7.12-0ubuntu1) ...
/var/lib/dpkg/info/mysql-server-5.7.postinst: line 112: /usr/share/mysql-common/configure-symlinks: No such file or directory
dpkg: error processing package mysql-server-5.7 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-5.7; however:
  Package mysql-server-5.7 is not configured yet.

dpkg: error processing package mysql-server (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 mysql-server-5.7
 mysql-server

或者如果我强制安装:

sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up mysql-server-5.7 (5.7.12-0ubuntu1) ...
/var/lib/dpkg/info/mysql-server-5.7.postinst: line 112: /usr/share/mysql-common/configure-symlinks: No such file or directory
dpkg: error processing package mysql-server-5.7 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-5.7; however:
  Package mysql-server-5.7 is not configured yet.

dpkg: error processing package mysql-server (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
 mysql-server-5.7
 mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

或者,如果我进行清除:

sudo apt-get -f purge mysql-server 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  mysql-server*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 159 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 348226 files and directories currently installed.)
Removing mysql-server (5.7.12-0ubuntu1) ...
Setting up mysql-server-5.7 (5.7.12-0ubuntu1) ...
/var/lib/dpkg/info/mysql-server-5.7.postinst: line 112: /usr/share/mysql-common/configure-symlinks: No such file or directory
dpkg: error processing package mysql-server-5.7 (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 mysql-server-5.7
E: Sub-process /usr/bin/dpkg returned an error code (1)

apt 无法从部分安装中恢复吗?我必须重新安装操作系统吗?

apt
  • 9 个回答
  • 106832 Views
Martin Hope
Jonathan
Asked: 2015-06-18 13:06:50 +0800 CST

ftpd.service 加载失败:没有这样的文件或目录

  • -1
$ sudo apt-get install ftpd
Reading package lists... Done                         
Building dependency tree                              
Reading state information... Done                                                                                                                                                                         
The following packages were automatically installed and are no longer required:                                                                                                                           
  ax25-node libax25 linux-headers-3.19.0-15 linux-headers-3.19.0-15-generic linux-image-3.19.0-15-generic linux-image-extra-3.19.0-15-generic linux-signed-image-3.19.0-15-generic                        
Use 'apt-get autoremove' to remove them.                                                                                                                                                                  
The following NEW packages will be installed:                                                                                                                                                             
  ftpd                                                                                                                                                                                                    
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.                                                                                                                                            
Need to get 0 B/48.9 kB of archives.                                                                                                                                                                      
After this operation, 146 kB of additional disk space will be used.                                                                                                                                       
Selecting previously unselected package ftpd.                                                                                                                                                             
(Reading database ... 359757 files and directories currently installed.)                                                                                                                                  
Preparing to unpack .../ftpd_0.17-34_amd64.deb ...                                                                                                                                                        
Unpacking ftpd (0.17-34) ...                                                                                                                                                                              
Processing triggers for man-db (2.7.0.2-5) ...                                                                                                                                                            
Setting up ftpd (0.17-34) ...                                                                           

现在运行它

$ sudo service ftpd start
Failed to start ftpd.service: Unit ftpd.service failed to load: No such file or directory.  
ftp
  • 2 个回答
  • 5261 Views
Martin Hope
Jonathan
Asked: 2015-02-12 23:51:11 +0800 CST

Haguichi 无法配置错误(Ubuntu 14.10)

  • 0

第一次安装和运行 haguichi。单击后configure出现此错误:

Failed to get D-Bus connection: No connection to service manager.

请参阅: https ://help.ubuntu.com/community/Hamachi

software-installation
  • 1 个回答
  • 1126 Views
Martin Hope
Jonathan
Asked: 2014-12-28 14:07:42 +0800 CST

如何设置与 Chromebook 兼容的键盘映射?

  • 3

Google 的 Chromebook 没有标准键盘。Ubuntu 有 Mac 布局,但没有 Chromebook 布局。帮助!

不能正常工作的键:

  • F5之后的所有F键
  • F5 下方的所有“媒体”键(后退/前进/刷新)
  • 每个重要的“搜索”键
  • 所有应该与箭头键一起使用的主页/向下翻页键

在 Intel HP Chromebook 14 上的 Ubuntu 14.10(Chrubuntu,而非 Crouton)中测试。

我听说官方包xkb有布局,你可以以复杂的方式编辑,但不清楚如何映射新键,如“搜索”键。

keyboard
  • 1 个回答
  • 9246 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve