问题标签 [ubuntu-17.04]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
14690 浏览

gitlab - 如何使用 git pull 将远程分支合并到您的分支中?

在这里,我在我的 gitlab 帐户上成功运行了 git add 和 git commit,但是当我执行 git push 时,它们给了我以下错误:

到 gitlab.com:shrav/vaishaliAllProjects.git ![rejected] master -> master (fetch first) error: failed to push some refs to 'git@gitlab.com:shrav/vaishaliAllProjects.git' 提示:更新被拒绝,因为远程包含你做的工作提示:本地没有. 这通常是由另一个存储库推送提示引起的:to the same ref. 您可能希望在再次推送之前先集成远程更改提示:(例如,'git pull ...')。提示:有关详细信息,请参阅“git push --help”中的“关于快进的说明”。

谁能说如何在 ubuntu 终端中执行 git pull ?

0 投票
3 回答
840 浏览

r - 在 Ubuntu 17.04 上安装 Rstudio:错误:无法满足依赖项

我已经安装了 R:

现在我正在尝试安装 RStudio。我已经从他们的网站https://www.rstudio.com/products/rstudio/download/下载了 .deb :

但我收到一个错误:

那么在安装 Rstudio 之前我还应该安装什么?

0 投票
9 回答
92134 浏览

android - 无法在 Android Studio 中更改 AVD 的模拟性能

我无法将图形更改为软件,因为我确定这是我的 AVD 无法启动的修复。该选项显示为灰色(见屏幕截图)。有没有人有这方面的经验?我找不到任何有同样问题的人。

我在 Ubuntu 17.04 上运行最新版本的 Android Studio。

AVD 配置截图

0 投票
1 回答
1281 浏览

python - 更新后尝试绘制 matplotlib 子图时出现 KeyError

在最近的 ubuntu 更新之后,我无法再在 matplotlib 中绘制子图了。不完全确定更新了什么并导致此问题。我的版本是 ubuntu 17.04、matplotlib 2.0.0、python 2.7。有谁知道可能是什么原因?

我只是尝试过:

这导致:

0 投票
1 回答
1948 浏览

mysql - ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 104

I am trying to setup mysql on ubuntu server 17.04 so i can access it remotely.

Currently it is up and running, i can access it locally or if i SSH in first, but when i try to connect using mysql -h <ip> -u <admin> -p on my linux mint machine.

It gives me ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 104

Here is my /etc/mysql/my.cnf

[mysqld] bind-address = 0.0.0.0 skip-name-resolve

I currently have my firewall off on both machines

my user is CREATE USER '<username>'@'%' AS IDENTIFIED BY '<Password>'

I have rebooted the server multiple times, restarted the service, havent gotten it to work yet.

I have also tried to connect using HeidiSQL on my windows machine, i get the same error.

Not sure what else to try

0 投票
1 回答
640 浏览

windows - Virtualbox 不能分配超过 4 核(8 核主机)

我有运行 virtualbox 版本的 Windows 10 主机5.1.22 r115126 (Qt5.6.2) 和一个带有来宾添加内容的 Ubuntu 17.04 x64 来宾。

主机具有 AMD 8 核 cpu,但在为此 VM 分配超过 4 个内核时收到警告。真的会影响性能吗?这是为什么?

我过去曾在较旧的 Ubuntu 来宾版本上尝试过它,这是同样的问题。

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

0 投票
2 回答
2190 浏览

android - Android 模拟器不会在 Ubuntu 17.04 上启动

我已经下载了 Android Studio 2.3.3,目前,我正在尝试运行自动生成的基本 Hello World 活动。当我尝试启动模拟器时,它不会启动。

这是一个已知的错误还是只是错误的配置?我也很惊讶只有 2.3.3 版适用于 Linux。

0 投票
1 回答
992 浏览

ubuntu - SceneBuilder 在启动时崩溃

我在安装了 Java Hotspot 1.8.0_131 的 Ubuntu Gnome 17.04 上安装了SceneBuilder 8.3.0,但是在尝试启动它时,出现错误,无法初始化。我已经尝试过安装 Oracle 的 SceneBuilder 2.0,但出现了同样的错误。

错误第 1 部分 错误第 2 部分 错误第 3 部分 错误第 4 部分

你知道那可能是什么以及我如何解决它吗?

非常感谢您!

0 投票
0 回答
456 浏览

ubuntu - 在 gnome 中使用触摸板进行水平滚动的问题

我已经在我的 ubuntu 17.04 上安装了 gnome-shell 并在我的登录屏幕上选择了 Gnome,一切正常,但是带有触摸板的水平滚动不起作用。当我转向统一但在 gnome 中失败时,它可以工作。

我安装了dconf-editor并尝试在org/gnome/settings-daemon/peripherals/touchpad中启用水平滚动,如在线论坛中所述,但触摸板未显示在外围设备文件夹中。

请问有什么建议吗?

0 投票
0 回答
109 浏览

sublimetext3 - 切换到 2 列视图快捷方式不起作用 Sublime text 3

我有 sublime text 3(build 3131)。我在编辑器中使用单列视图。现在我想使用alt+shift+2快捷方式切换到 2 列视图。但这不起作用。我正在使用 Ubuntu 17.04 budgie remix。有什么想法吗?

更新

似乎统一正在吃 shift 按键事件,所以现在它已修复