:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
linux-headers-4.4.0-24
The following packages will be REMOVED:
linux-image-4.4.0-24-generic linux-image-4.4.0-28-generic
linux-image-extra-4.4
我试图通过:sudo apt-get install r-base=4.0.2在Ubuntu20.04上安装RVersion4.0.2,但我得到了
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '4.0.2' for 'r-base' was not found
尽管是它确实存在。
然后,我尝试按照说明这里来详细说明如何安装最新版本的R:
# update indices
apt update -
我知道"perf“工具需要与特定linux内核版本相对应的安装。我知道所有的docker映像都运行在相同的linux内核版本中,而不管linux发行版。
我在坞内使用ubuntu16.04,并且已经安装了linux工具-常见的,start perf告诉我,我仍然缺少一些软件包:‘
# perf
/usr/bin/perf: line 32: lsb_release: command not found
WARNING: perf not found for kernel 4.9.12
You may need to install the following packages f
我用的是Ubuntu 14.04 LTS。当我试图更新我的系统时,我会收到以下错误消息:
软件更新程序-并不是所有的更新都可以安装
我在googled上搜索并建议使用sudo apt-get install -f修复损坏的包。但这对我没有用。
当我使用apt-get upgrade时,我收到以下消息:
Reading package lists...
Building dependency tree...
Reading state information...
The following packages have been kept back:
gir1.2-rb-3.0 gir1.2
我已经成功地通过从我的python应用程序连接到mysql服务器。
问题是我使用的是tls版本1,但我希望至少使用tls 1.2
在mysql服务器上,我只设置使用tls1.1和1.2。当我尝试连接到mysql时,python会抱怨版本错误。
mysql.connector.errors.InterfaceError: 2055:
Lost connection to MySQL server `at '192.168.99.100:3306',`
system error: 1 [SSL: WRONG_VERSION_NUMBER] wrong version numbe
我想在我的机器上卸载tmux。我的tmux版本是:
tmux next-3.4
which tmux给了我:
/usr/local/bin/tmux
我试着用sudo yum remove tmux卸载它,我得到:
Updating Subscription Management repositories.
No match for argument: tmux
No packages marked for removal.
Dependencies resolved.
Nothing to do.
Complete!
我的机器信息如下:
NAME="Red Hat Enterpris
我不明白为什么这不管用(我很困惑!)
root@box:/home/user# apt-get install linux-headers-2.6.32-5-686
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 t
我注意到,OSx和Linux之间的printf内置似乎不一样。我的印象是内建物就是内建物。这与我正在处理的任何具体问题无关。我就是解释不了。
OSx
printf '%(+%s)T\n' -2
-bash: printf: `(': invalid format character
which printf
printf is a shell builtin
printf is /usr/bin/printf
Linux
printf '%(+%s)T\n' -2
+1431027100
which printf
printf is a shel
max@max-Vostro-5568:~/Desktop$ sudo apt upgrade
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:
snapd : Breaks: apt (< 1.6.3)
在Windows上安装新的Ubuntu 12.04
在apt-get upgrade之后,控制台显示:
The following packages have been kept back:
linux-image-extra-virtual linux-image-virtual linux-tools linux-virtual
(...)
83 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 64.5 MB of archives.
After this operation, 714
这是
sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
linux-modules-4.15.0-33-generic linux-modules-4.15.0-34-generic
Use 'sudo apt autoremove