这表明Gradle
是最新的:
thufir@doge:~$ sudo apt install gradle
Reading package lists... Done
Building dependency tree
Reading state information... Done
gradle is already the newest version (2.10-1).
0 upgraded, 0 newly installed, 0 to remove and 629 not upgraded.
Run Code Online (Sandbox Code Playgroud)
如何升级到Gradle
4.x?最好使用umake而不是 SDKMAN!这似乎是他们的建议。
(由于连接速度慢,我不想更新所有软件包。)
首先,我是 Ubuntu 和 Maven 的新手。有谁知道如何更新maven。我当前的 maven 版本是 3.0.4。我想将其更新到最新版本 3.1.1。我试过
sudo apt-get update maven
Run Code Online (Sandbox Code Playgroud)
但这并没有多大帮助。任何建议。第一次使用maven。还有怎么安装
apache-maven-3.1.1-bin.tar.gz
我知道有一个命令
sudo apt-get 安装 maven
但它会下载 maven 然后安装它.. 因为我可能需要在一些系统上安装 maven 每次下载它对我们来说不是更好的选择。所以我期待回答两个问题
如何更新已安装的maven
如何安装下载的maven apache-maven-3.1.1-bin.tar.gz包
请有人告诉我这有什么问题吗?
我跑
$ sudo apt-get purge git; sudo apt-get autoremove; sudo apt-get install git
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
git-man liberror-perl
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
git* git-core*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 21.0 MB disk space will be freed.
Do you want to continue? [Y/n] …
Run Code Online (Sandbox Code Playgroud) 我是 MySQL 领域的新手,所以请耐心等待。
我刚刚完成将 11.10 升级到 12.04。
一切似乎都没有任何问题,我所有的软件和设置都运行良好。除了 MySQL。
当我尝试:
sudo start mysql
Run Code Online (Sandbox Code Playgroud)
我收到一个错误:
start: Job failed to start
Run Code Online (Sandbox Code Playgroud)
我在哪里可以诊断出问题所在?并且(希望如此) - 如何解决?
(如果这很重要,我在这里禁用了自动启动以下建议)
更新 1:
两个输出:
cat /var/log/mysql.err
cat /var/log/mysql.log
Run Code Online (Sandbox Code Playgroud)
是空的。
的输出dmesg | grep mysql
:
[ 1401.785141] type=1400 audit(1335619832.181:25): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/mysqld" pid=16165 comm="apparmor_parser"
[ 1401.791089] init: Failed to spawn mysql main process: unable to execute: No such file or directory
Run Code Online (Sandbox Code Playgroud)
更新 2:
正如下面的 AWinter 所指出的 - 似乎 MySQL 在升级后会自动消失,必须重新安装。
从 14.04 升级到 Ubuntu 16.04 后,我无法查看任何 wifi 网络。尝试升级到 Ubuntu 15.10 时也会出现此问题。这是我的网络窗口的样子:
右上角的下拉菜单中也没有 Wifi 选项。屏幕截图来自 Ubuntu GNOME,但它也不适用于标准 Ubuntu。如何启用wifi网络?
的输出lspci -knn | grep Net -A2
:
07:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)
Subsystem: XAVi Technologies Corp. BCM43142 802.11b/g/n [1b9a:3002]
Kernel modules: bcma, wl
Run Code Online (Sandbox Code Playgroud)
的输出sudo apt-get install bcmwl-kernel-source
:
Reading package lists... Done
Building dependency tree
Reading state information... Done
bcmwl-kernel-source is already the newest version (6.30.223.248+bdcom-0ubuntu8).
0 upgraded, 0 newly installed, 0 to …
Run Code Online (Sandbox Code Playgroud) apt upgrade
:
$ sudo apt-get full-upgrade -y
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:
libpython3.10 : Depends: libpython3.10-stdlib (= 3.10.4-1+focal2) but 3.10.4-1+focal1 is installed
libpython3.10-dev : Depends: libpython3.10-stdlib (= 3.10.4-1+focal2) but 3.10.4-1+focal1 is installed
python3.10 : Depends: libpython3.10-stdlib (= 3.10.4-1+focal2) but 3.10.4-1+focal1 is installed
python3.10-minimal : Depends: libpython3.10-minimal (= 3.10.4-1+focal2) but 3.10.4-1+focal1 is installed
E: Unmet dependencies. Try …
Run Code Online (Sandbox Code Playgroud) 在联想笔记本电脑上,我想从Ubuntu 18.04升级到Ubuntu 18.10 (budgie)。
当我在更新管理器上选择升级时,对话框消失,没有任何反应。升级未开始。
注意 - 我今天早上在我的另一台笔记本电脑上经历了同样的过程,Ubuntu 成功升级。
do-release-upgrade
升级失败并抛出此错误:
Please install all available updates for your release before upgrading.
Run Code Online (Sandbox Code Playgroud)
我该怎么做才能成功升级系统?
我正在寻找一种将 14.10 升级到 15.04 的方法 - 仅从互联网(即不使用外部媒体)。
我已经试过了 apt-get dist-upgrade
运行时:
sudo apt-get update && sudo apt-get dist-upgrade
Run Code Online (Sandbox Code Playgroud)
我得到了这个输出:
Ign http://security.ubuntu.com utopic-security InRelease
Ign http://gb.archive.ubuntu.com utopic InRelease
Ign http://extras.ubuntu.com utopic InRelease
Get:1 http://security.ubuntu.com utopic-security Release.gpg [933 B]
Ign http://dl.google.com stable InRelease
Ign http://gb.archive.ubuntu.com utopic-updates InRelease
Get:2 http://extras.ubuntu.com utopic Release.gpg [72 B]
Get:3 http://security.ubuntu.com utopic-security Release [62.0 kB]
Ign http://gb.archive.ubuntu.com utopic-backports InRelease
Get:4 http://dl.google.com stable Release.gpg [198 B]
Hit http://extras.ubuntu.com utopic Release
Hit http://gb.archive.ubuntu.com utopic Release.gpg
Get:5 http://dl.google.com stable Release [1,347 B]
Err http://dl.google.com stable Release
Get:6 http://gb.archive.ubuntu.com utopic-updates Release.gpg [933 …
Run Code Online (Sandbox Code Playgroud) 之前运行良好,但自从升级到 Ubuntu 14.04 LTS 后,当单击它时连接显示在 Finder OK 中,显示“连接到“XXX 上的 XXX 远程桌面”失败。远程计算机上的软件似乎与此版本不兼容屏幕共享。”
桌面共享首选项设置为允许共享并要求输入密码。
其他一切似乎都还可以。有人有任何想法吗?