试图在覆盆子Pi3中安装vim。最后得到错误:
E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/p/perl/libperl5.20_5.20.2-3+deb8u8_armhf.deb: 404 Not Found [IP: 93.93.128.193 80]
怎么解决这个问题?
整支日志:
sudo aptitude install vim-gnome
The following NEW packages will be installed:
gnome-mime-data libart-
我试图建立一个多拱环境交叉编译扶手板。我遵循的步骤很简单。
在VirtualBox上安装ubuntu-18.04.1-桌面-amd64 64。
sudo dpkg --add-architecture armhf
vim /etc/apt/sources.list并添加以下内容。
deb [arch=armhf] http://ports.ubuntu.com/ trusty main universe
deb-src [arch=armhf] http://ports.ubuntu.com/ trusty main universe
[And put [arch=i386,amd6
我正试图在我的arm-linux-gnueabihf-g++ Ubuntu上交叉编译一个使用x64的软件。我尝试执行以下步骤来安装libudev:armhf:
sudo dpkg --add-architecture armhf
将这两行添加到/etc/apt/sources.list中
deb [arch=amd64,i386] http://uk.archive.ubuntu.com/ubuntu/ trusty main universe
deb [arch=armel,armhf] http://ports.ubuntu.com/ubuntu-ports trusty main uni
当I sudo apt-get install libxml2-dev时,我收到错误libxml2-dev : Depends: libxml2 (= 2.9.4+dfsg1-1+b1) but 2.9.4+dfsg1-1 is to be installed E: Unable to correct problems, you have held broken packages.
我试着遵循这个指南:
但是当我进入cd ~/libxml2-2.9.1时,这个目录并不存在。以下是我的实际输出:
pi@rpi:~ $ sudo apt-get install python-dev
Reading
当我试图在raspberry pi上升级或更新raspberry pi或python时,我得到了这个错误。 pi@raspberry:/$ sudo apt-get install python
sudo: unable to resolve host raspberry: Name or service not known
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be in
如何升级/降级到不同包版本的plex?
I可以通过键入.查看哪些内容是可升级的
pi@手枪:~$ sudo apt list --upgradable
Listing... Done
plexmediaserver/public 1.22.1.4228-724c56e62 armhf [upgradable from: 1.22.0.4163-d8c4875dd]
N: There are **13 additional versions. Please use the '-a'** switch to see them.
I可以通过键入.查看版本
pi@手枪:~$ sudo
我有一个DebianExtension9.3图像,它有一个修改过的rootfs (而不是由我修改的),它的包比平常少,以防止增加内存占用,即图形环境。
我试图找出什么是阻止新的软件包安装。
下面是一个示例输出:
root@var-som-mx7:~# apt-get install curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
ca-certif
我一直试图在我的Raspberry Pi上安装libbost1.55-dev,但是它一直挂在解压缩上。
经过多次尝试之后,我尝试了apt-get安装-f (考虑到包现在在Pi上被破坏了),下面是读数:
sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically
我试图从18.04.1升级到18.04.2,并得到以下错误,导致升级中止
sudo apt-get dist-upgrade --fix-missing
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
apport apport-gtk python3-apport python3-problem-report
我已经在我的树莓派上安装了PHP7.3。当我在浏览器中使用phpinfo()时,它确实显示了PHP 7.3。
但是当我用php -v在终端上试用它时,它显示PHP 7.2.24。
我搜索了PHP7.2的安装,但是找不到。
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libapache2-mod-php7.0/oldstable,now 7.0.33-0+deb9u6 armhf [installed,automatic]
libapache2-mod-php7.3/stable
我已经在chroot下运行了ARM ubuntu,一切看起来都很好,但是当我去安装某些软件包时,我的结果是无法获取错误,这并不是对所有人都发生的。例如,当我试图安装xfce4时,我得到:
Failed to fetch http://ports.ubuntu.com/pool/main/f/fuse/libfuse2_2.9.2-4ubuntu2_armhf.deb 404 Not Found [IP: 91.189.88.140 80]
Failed to fetch http://ports.ubuntu.com/pool/main/s/systemd/libsystemd-daemo
我已经在运行在Raspberry 3型号B+上的Raspbian上安装了lttng。
我得到以下错误时,跟随第一个演示从网站(作为根):
# lttng create my-kernel-session --output=/tmp/my-kernel-trace
Spawning a session daemon
Session my-kernel-session created.
Traces will be written in /tmp/my-kernel-trace
正确地启动了一个进程,我假设:
# ps aux | grep lttng-sessiond
root 60
我遵循这个链接来创建一个可引导的SD卡。我被困在kernel_version=4.X.Y-Z了。
我该怎么处理这整件事?
-----------------------------
Script Complete
eewiki.net: [user@localhost:~$ export kernel_version=4.X.Y-Z]
-----------------------------
接下来,我不太明白:
Copy and paste that "export kernel_version=4.X.Y-Z" exactly as shown in your own b
Situation
我已经在一个空闲容器中安装了一些程序--有些是通过libertine命令安装的,还有一些是在进入容器后通过“apt get”安装的。
它们中的许多似乎没有正确地连接--或者没有配置依赖关系。
症状
如果我试图用apt-get在容器中安装一些东西,我就会看到这样的情况:
After this operation, 0 B of additional disk space will be used.
Setting up x11-common (1:7.7+7ubuntu4) ...
open: No such file or directory
dpkg: error pro
在我的Ubuntu18.04机器上,我使用qemu为ARM平台执行32位ELF文件,如下所示:
$ file bin
bin: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 3.2.0, BuildID[sha1]=5018caf41114f911f0a0fd09c4f9a0bb1191c87a, not stripped
$ qemu-arm bin
bin: error while loading shared li