当我尝试在 Ubuntu 11.04 的服务器分发版上安装 git 时,出现错误。我使用了以下命令:
sudo apt-get install git
Run Code Online (Sandbox Code Playgroud)
这产生了这个错误:
(Reading database ...
dpkg: warning: files list file for package `git' missing, assuming package has no files currently installed.
(Reading database ... 20310 files and directories currently installed.)
Preparing to replace git 1:1.7.4.1-3 (using .../git_1%3a1.7.4.1-3_i386.deb) ...
/var/lib/dpkg/tmp.ci/preinst: 12: dpkg-maintscript-helper: not found
dpkg: error processing /var/cache/apt/archives/git_1%3a1.7.4.1-3_i386.deb (--unpack):
subprocess new pre-installation script returned error exit status 127
/var/lib/dpkg/tmp.ci/postrm: 14: dpkg-maintscript-helper: not found
dpkg: error while cleaning up:
subprocess new post-removal script …Run Code Online (Sandbox Code Playgroud) 我花了两天时间试图让 Ubuntu 在我使用 Gigabyte GA-990FXA-UD3 主板构建的新机器上正确安装。
Ubuntu 似乎安装得很好,但是,网络和 USB 3.0 驱动程序都不能开箱即用。该板有一个 Realtek 8111E 芯片,为了修复网络,我一直在尝试下载并安装 Realtek r8168-8.035.00 驱动程序。通过从两个正常工作的 USB 2.0 端口更换鼠标、键盘和 USB 记忆棒,我能够将驱动程序安装到机器上。但是,它不会编译。我收到以下错误:
Build the module and install
make: *** /lib/modules/3.5.0-17-generic/build: No such file or directory. Stop.
Run Code Online (Sandbox Code Playgroud)
我从升级失败中找到了一个线程,建议您可以通过使用 apt-get 重新安装内核包来解决此问题。所以我从一台可以上网的笔记本电脑上下载了内核包,将它移到 USB 驱动器上的机器上并重新安装。这修复了编译错误,驱动程序似乎从那里安装得很好。
但是安装后仍然没有骰子连接到网络。
我什至还没有开始尝试解决 USB 控制器驱动程序。有没有人成功地让 Ubuntu 与这个 Mobo 玩得很好?你必须做什么?
我正在尝试为朋友在装有 Ubuntu 10.04 的旧机器上设置旧的 MFC-240c 打印机。我找到了一些方法,但它们似乎都已经过时了。他们链接到兄弟网站上可以找到驱动程序包的页面,但该页面不再存在。Brother 似乎不支持 MFC-240c 打印机系列。
我检查了存储库,发现没有任何帮助。谷歌搜索刚刚找到了旧线程和一个 wiki howto,都指向了死链接。
还有其他地方可以找到驱动程序包吗?
是否可以在 Ubuntu 中将导航器或 Web 浏览器窗口的大小设置为精确的像素尺寸?