小编Dan*_*ham的帖子

使用 Apt-Get 安装 Git 时出错

当我尝试在 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)

apt git

11
推荐指数
2
解决办法
3万
查看次数

在 GA-990FXA-UD3 主机上安装 12.10 时遇到问题:网络和 USB 不起作用

我花了两天时间试图让 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 玩得很好?你必须做什么?

64-bit networking uefi drivers

7
推荐指数
1
解决办法
6691
查看次数

Brother MFC-240C 打印机的驱动程序,它们还存在吗?

我正在尝试为朋友在装有 Ubuntu 10.04 的旧机器上设置旧的 MFC-240c 打印机。我找到了一些方法,但它们似乎都已经过时了。他们链接到兄弟网站上可以找到驱动程序包的页面,但该页面不再存在。Brother 似乎不支持 MFC-240c 打印机系列。

我检查了存储库,发现没有任何帮助。谷歌搜索刚刚找到了旧线程和一个 wiki howto,都指向了死链接。
还有其他地方可以找到驱动程序包吗?

10.04 printing drivers

5
推荐指数
2
解决办法
2900
查看次数

是否可以将窗口(例如浏览器窗口)的大小限制为精确的像素尺寸?

是否可以在 Ubuntu 中将导航器或 Web 浏览器窗口的大小设置为精确的像素尺寸?

browser window-manager

2
推荐指数
1
解决办法
1689
查看次数

标签 统计

drivers ×2

10.04 ×1

64-bit ×1

apt ×1

browser ×1

git ×1

networking ×1

printing ×1

uefi ×1

window-manager ×1