我正在运行Ubuntu16.04,当我试图解压linux时-4.4.0-66-泛型apt挂起。我终止了apt进程,删除了陈旧的锁文件,然后运行:
sudo apt-get clean
sudo dpkg --configure -a
结果是:
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-headers-generic (= 4.4.0.66.70);
however:
Version of linux-headers-generic on sys
root@mc:/home/sdtd# apt-get install rpm
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-server : Depends: linux-image-server (= 3.2.0.3
Apt似乎无法为我做任何有用的事情,反复给出这种形式的信息:
dpkg: dependency problems prevent configuration of linux-server:
linux-server depends on linux-image-server (= 3.2.0.37.44); however:
Version of linux-image-server on system is 3.2.0.37.45.
linux-server depends on linux-headers-server (= 3.2.0.37.44); however:
Ve
我想在运行Ubuntu12.04LTS的内部生产服务器上安装PHP5。当我尝试使用apt-get安装时,它列出了大量的依赖项,并建议运行apt-get -f install。当我运行它时,我会得到它:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
linux-headers-3.2.0-5
我正在尝试将linux内核从2.6.32-34升级到该系列的最新更新,似乎是2.6.32-34。
我跑了:
sudo apt-get update
sudo apt-get upgrade
这时,有人告诉我,有些包裹被拒之门外:
The following packages have been kept back:
landscape-common linux-headers-server linux-image-server linux-server
我接着安装了这些程序,然后自动删除内核(这是apt-get推荐的):
sudo apt-get install l
我正在尝试删除一个包:sudo apt-get remove pgbouncer,但随后我得到了以下错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-server : Depends: linux-im
正在设置后缀,但没有取得太大进展,因为Ubuntu返回了一个依赖项错误。
我试图解决这个问题,但我找不到问题的原因。
dpkg: dependency problems prevent configuration of linux-image-extra-3.13.0-43-generic:
linux-image-extra-3.13.0-43-generic depends on
linux-image-3.13.0-43-generic; however: Package
linux-image-3.13.0-43-generic is not installed.
dpkg:
我删除了旧内核(使用dpkg -P),现在我尝试安装的许多包都抱怨丢失了旧的(删除的)内核作为依赖项。
如果我按建议做一个"apt-get安装-f“,我的旧内核就会重新安装.
sudo apt-get install synaptic
Reading package lists... Done
Building dependency tree
Reading state information... Done
synaptic is already the newest version (0.83).
You might want to run 'apt-get
试图升级我的软件不起作用,因为它显示了以下信息:
sudo apt-get update && sudo apt-get 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 dependenc
我要和一个司机约会。有以下几种说法:
/* Get the interrupt GPIO pin number */
gpiod = devm_gpiod_get_optional(dev, GOODIX_GPIO_INT_NAME, GPIOD_IN);
我读过关于的文章,但我仍然不知道到底返回了什么?
我知道gpiod_direction_output返回一个struct gpio_desc。但是devm_gpiod_get_optional的情况似乎并非如此,因为我尝试过在每个示例中打印gpiod->label,并且得到了dereferencing pointer to incom
运行sudo apt-get dist-upgrade时,如何解决此错误?
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... 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 d
我试图通过sudo apt-get dist-upgrade更新我的Ubuntu16.04,但是现在终端被冻结了(terminal 1)。
我让它运行了一整天(超过24小时),我只是暂停操作系统一次。
我已经试着在互联网上遵循一些技巧(比如这里),但不幸的是没有效果。
我在互联网上发现了一些代码,我无法使用它们,因为Ubuntu说它是is locked by another process (terminal 2)。
有人知道会发生什么吗?或者我能做些什么来解决这个问题?因为我不知道是失败了还是成功了,或者它还在运行,因为我已经尝试输入了一些“进入”S,但是什么都没有发生,它既没有在终端上创建
所以我试着做sudo apt-get purge samba
它给了我
kevin@Server:~$ sudo apt-get purge samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-image-extr
$ sudo aptitude safe-upgrade
The following packages will be upgraded:
linux-image-generic-pae
1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2,578 B of archives. After unpacking 1,024 B will be used.
Do you want to continue? [Y/n/?] Y
dpkg: dependency probl
我运行了这个命令sudo apt-get install tor-browser并得到了这个输出。我是否应该像上面提到的那样应用自动删除?
sudo apt-get install tor-browser
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
我试着按照官方站点上的安装指南安装 certbot。
不幸的是,我无法安装以下软件包
sudo apt-get install software-properties-common
sudo apt-get install certbot
The following packages have unmet dependencies:
linux-image-extra-4.4.0-70-generic : Depends: linux-image-4.4.0-70-generic but it is not going to be installed
linux-image-gene
我有一个Ubuntu18.10双引导与Windows 10。我认为,由于错误,我的Ubuntu崩溃/挂起了很多最近在重新启动/启动。
$ sudo apt-get --with-new-pkgs upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
linux-headers-4.18.0-1
sudo apt-get update:
apt-get: /usr/lib/i386-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by apt-get)
apt-get: /usr/lib/i386-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by apt-get)
apt-get: /usr/lib/i386-linux-gnu/libstdc++.so.6: version `G
在运行apt upgrade时,我会得到与运行apt-get upgrade不同的要安装的“新包”列表。
我阅读了一些关于apt upgrade和apt-get upgrade之间的区别的比较,但是所有的文章都描述它们来做同样的事情。
下面是我在运行apt upgrade时所得到的信息:
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
linux-headers
正在尝试安装gdebi,但无法安装。请帮帮忙
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
gdebi : Depends: gdebi-core (= 0.9.5.7ubuntu1) but it is not go
我无法在我的Ubuntu机器上安装任何东西。它显示了以下错误:
montichandra@montichandra-HP-ProBook-430-G3:~$ **sudo apt-get install sshfs**
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages h
问:我今天早上想在我的服务器上做dist升级.
我得到的是:
apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
linux-image-extra-3.5.0-32-generi
第一个函数将在单独工作时工作。
功能:
function Get-Search {
$find = Read-Host "Type of Git to search"
$url = 'https://github.com/search?q=' + $find
Write-Host ""
Write-Host "Here is a list of the top 10 results:"
$contributors = Invoke-WebRequest -Uri $url -UseBasi
sudo apt-get -f install linux-firmware
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
amd64-microcode intel-microcode iucode-tool
Use 'apt-get autoremove' to rem
如何安装Kali Linux头?我使用了这个命令apt-get update && apt-get install -y linux-headers-$(uname -r),但是它显示了下面的错误
E:unable to locate package linux-headers-4.6.0-kali1-686 pae'
E: could not find any package by glob 'linux-headers-4.6.0-kali1-686 pae'
E: could not find any package by regex 'l