在 Ubuntu 12.04 LTS x64 上,我们想删除它附带的 i386 外部架构,但我没有看到dpkg干净地执行此操作的命令。
在使用 apt-get 时 Stuck with foreign-architecture=i386 中,建议用户从 中删除该行/etc/dpkg/dpkg.cfg.d/multiarch,我可以这样做(甚至完全删除该文件),但我想知道是否有更“合适的”方法来做到这一点。
我们之所以要这样做,是因为我们使用 Puppet 维护了大量的持续集成代理,并希望坚持“纯 64”。我们从我们自己维护的存储库安装我们自己的 Debian 软件包,除非我们提供该软件包的 i386 版本,否则这将失败。我知道可以覆盖特定存储库配置中的架构,但完全禁用非 64 架构会更清晰。
我昨天安装了 lubuntu 并注意到风扇不工作,想尝试 kevbelisle 提出的解决方案。
所以,我已经把makefile和it87.c文件都下载下来放到桌面了,不知道下一步该怎么做。
任何人都可以分解 kevbelisle 所做的进一步步骤吗?
谢谢。
我删除了 make 文件中的 .txt 并重做所有步骤。这是我所拥有的
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-43-generic'
/usr/src/linux-headers-3.13.0-43-generic/arch/x86/Makefile:98: stack protector enabled but no compiler support
/usr/src/linux-headers-3.13.0-43-generic/arch/x86/Makefile:113: CONFIG_X86_X32 enabled but no binutils support
make[1]: gcc: Command not found
CC [M] /home/analog/Desktop/New/it87.o
/bin/sh: 1: gcc: not found
make[2]: *** [/home/analog/Desktop/New/it87.o] Error 127
make[1]: *** [_module_/home/analog/Desktop/New] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-43-generic'
make: *** [modules] Error 2
Run Code Online (Sandbox Code Playgroud) Configuration file '/etc/psd.conf'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** psd.conf (Y/I/N/O/D/Z) [default=N] …Run Code Online (Sandbox Code Playgroud) 当我这样做时,ping google.com我得到ping: unknown host google.com
但是ping 173.194.67.138我什么时候得到这个:
PING 173.194.67.138 (173.194.67.138) 56(84) bytes of data.
64 bytes from 173.194.67.138: icmp_seq=1 ttl=48 time=5.33 ms
64 bytes from 173.194.67.138: icmp_seq=2 ttl=48 time=5.40 ms
Run Code Online (Sandbox Code Playgroud)
所以在尝试解析 DNS 时肯定有错误,有什么我可以做的吗?
这是来自我的系统日志:
Aug 14 19:55:15 localhost ntpd[1184]: ntpd 4.2.6p5@1.2349-o Mon Apr 13 13:39:46 UTC 2015 (1)
Aug 14 19:55:15 localhost ntpd[1185]: proto: precision = 0.102 usec
Aug 14 19:55:15 localhost ntpd[1185]: ntp_io: estimated max descriptors: 1024, initial socket boundary: 16
Aug 14 19:55:15 …Run Code Online (Sandbox Code Playgroud) 我正在考虑将我的 Ubuntu 更改为 Mint,因为我听说它比 Ubuntu 更快、更稳定(运行 14.04,加载和关闭应用程序时会出现一些问题)。我在这里和那里寻找指南,但由于版本不同,我不想搞砸。我希望它尽可能轻松地运行,但也尽可能多地加载/运行我当前的应用程序。
据我了解,Mint 基本上是 Ubuntu 的一个发行版,所以我想知道我找到的将笔记本电脑从一个 Ubuntu 安装迁移到另一个的方向是否可行。
他们基本上告诉我使用 Synaptic Package Manager 来保存“标记”,然后复制这些文件夹(当然,使用我的用户名除外):
/home/aaron/.config
/home/aaron/.gconf
/home/aaron/.gnome2
/home/aaron/.gnome2_private
/home/aaron/.local
/home/aaron/.mozilla
Run Code Online (Sandbox Code Playgroud)
我想保存一些东西,例如音乐、下载和图片,但除此之外,我是否可以按照相同的说明进行完整、干净的 Mint 安装,因为(据我所知)它们几乎相同的操作系统?
其中一位指南希望我将所有内容复制到/home.
感谢您的任何建议,我只是不想使用过时的技巧来解决任何问题,或者我会使用几年前的封闭帖子作为我的指南。
我的电脑安装了 Windows 10,当我尝试安装 Ubuntu 16.04 时,它没有检测到 Windows 10,也没有在我的分区列表中检测到 Windows 10。
在安装的最后一步,它向我显示了这个错误。
grub-amd64-efi
Run Code Online (Sandbox Code Playgroud)
后来,我在“Try Ubuntu”中运行了LiveCD,在终端粘贴了这个命令sudo fixparts /dev/sda,sudo fdisk -l还是不行。
请帮帮我。
起初我想让我成为一个可启动的Linux flash LTS 16.04,安装过程完成后我想像以前一样恢复我的flash。当我检查时,它打开了我的闪存分区以制作可启动的“启动盘创建者”。
当我想删除分区时出错了。
Error Formatting Volume: 这个分区不能被修改,因为它包含一个分区表;请重新初始化整个设备的布局。(udisks-错误夸克,11)
当我想删除分区时也发生了错误:
Eror Deleting Volume: Error deleting partition /dev/sdb1:
Command-line `parted --script "/dev/sdb" "rm 1"' exited with non-zero exit status 1:
Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes. (udisks-error-quark, 0)
Run Code Online (Sandbox Code Playgroud)
我该怎么办?
我想创建一个 bash 脚本,允许我使用“cat”显示文件。问题是,即使对我来说,显示一个简单的文件也很容易,但我想在终端的文件夹中随机显示一个文件,以便每次打开一个文件时,都会显示一个随机文件。
有人可以帮助我吗?
编辑:这些文件只是由 ASCII 字符组成的图像,它们的大小约为 2-3ko
我想在我的 Ubuntu 17.10 笔记本电脑上重新映射Caps Lock到Esc。
我尝试过这种方法:如何在 Ubuntu 17.10 Wayland 中重新映射密钥?(Shift 键),此方法:https : //linuxcommando.blogspot.ca/2008/03/remap-caps-lock-key-for-virtual-console.html,此方法:https://wiki。 archlinux.org/index.php/Xmodmap无济于事。
无论是工作,Caps Lock还是Caps Lock。
如何在系统范围内重新映射这些键?在 OSX 中它非常简单,系统偏好设置中有一个设置Caps Lock Esc,就是这样,它适用于每个应用程序。Ubuntu 17.10 中是否有类似的东西?
我无法在 Microsoft Word 2010 中打开某些文档。当我双击该文档时,显示程序错误
程序 DW20.EXE 遇到严重问题,需要关闭。对此造成的不便,我们表示歉意。
后来 PlayOnLinux 打开说
Error in POL_Wine
Wine seems to have crashed
If your program is running, just ignore this message
Run Code Online (Sandbox Code Playgroud)