0%

ubuntu 20.04GitBook 运行出现错误

$ gitbook serve
Live reload server started on port: 35729
Press CTRL+C to quit ...

/usr/local/lib/node_modules/gitbook-cli/node_modules/npm/node_modules/graceful-fs/polyfills.js:287
      if (cb) cb.apply(this, arguments)
                 ^

TypeError: cb.apply is not a function
    at /usr/local/lib/node_modules/gitbook-cli/node_modules/npm/node_modules/graceful-fs/polyfills.js:287:18
    at FSReqCallback.oncomplete (fs.js:184:5)
Read more »

升级 ubuntu 20.04svn update 失败

svn: E170013: Unable to connect to a repository at URL 'https://svn.xxx.com
svn: E120171: Error running context: An error occurred during SSL communication
Read more »

ubuntu 20.04 安装 touchpad-indicator.deb 因为依赖问题导致安装失败,卸载时出现如下问题

$ sudo apt remove touchpad-indicator
/usr/sbin/deluser: The user `backup' is not a member of group `input'.
dpkg: error processing package touchpad-indicator (--remove):
 installed touchpad-indicator package post-removal script subprocess returned error exit status 6

$ sudo dpkg -l "touchpad-indicator"
rH xxx xxx

touchpad-indicator 的 BUG,需要将 backup 加入 input 组,但是卸载时会将用户删除,不可行

强制卸载如下:

$ sudo mv /var/lib/dpkg/info/ /var/lib/dpkg/info_old/
$ sudo mkdir /var/lib/dpkg/info/
$ sudo apt-get update

进一步可以清除 info_oldtouchpad-indicator.* 并将 info_old 还原

Read more »

Problem:

# jenkins shell
08:06:57 + export KEYPWD=secretPwd
08:06:57 + KEYPWD=secretPwd

原因:

By default, Jenkins launches Execute Shell script with set -x. This causes all commands to be echoed

$ man bash
    -x        Print commands and their arguments as they are executed.

解决方案:

#!/bin/bash +x
Read more »

  • Packet Size ,Window Size and Socket Buffer In TCP
  • Nagel and Delayed Ack
  • SO_SNDBUF and SO_RCVBUF
  • TCP Window FULL
  • TCP Window ZERO
  • sack
  • BDP(bandwidth-delay product) and RTT(round trip time)
  • 重传超时时间(RTO)
  • Interactive Data Flow and Bulk Data Flow
  • RWND and CWND
Read more »

错误信息

Unable to negotiate with 192.168.110.254 port 29418: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
Read more »