Firefly开源社区

标题: 创建 Ubuntu 根文件系统,进入根文件系统,apt安装失败解决方法 [打印本页]

作者: 大哲    时间: 2017-8-16 20:45
标题: 创建 Ubuntu 根文件系统,进入根文件系统,apt安装失败解决方法
本帖最后由 大哲 于 2017-8-17 17:24 编辑

下载 ubuntu-base-16.04.1-base-arm64.tar.gz并解压,除了要将配置网络文件cp 进解压后对应的目录,如果遇到安装失败提示,可以将当前系统的 /etc/apt/sources.list 软件源 拷贝到要创建的根目录 temp/etc/apt/sources.list ,
因为下载的根文件系统里面的软件源可能无法访问而导致安装失败。





作者: sunzhguy    时间: 2017-8-20 02:41
您好,我按照文档http://wiki.t-firefly.com/index. ... 99/Build_Ubuntu_rfs执行报错,如何解决啊?
也参考了http://dev.t-firefly.com/thread-10874-1-1.html
root@sunzhguy-ThinkPad-T440:/# apt install xubuntu-desktop
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
xubuntu-desktop : Depends: gtk2-engines-pixbuf but it is not going to be installed
                   Depends: xubuntu-artwork but it is not going to be installed
                   Depends: xubuntu-core but it is not going to be installed
                   Depends: xubuntu-default-settings but it is not going to be installed
                   Recommends: brltty-x11 but it is not going to be installed
                   Recommends: libreoffice-style-elementary but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@sunzhguy-ThinkPad-T440:/# apt-get install gtk2-engines-pixbuf
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
gtk2-engines-pixbuf : Depends: libgtk2.0-0 (= 2.24.30-1ubuntu1) but 2.24.30-1ubuntu1.16.04.2 is to be installed
root@sunzhguy-ThinkPad-T440:/# apt install libgtk2.0-0
Reading package lists... Done
Building dependency tree      
Reading state information... Done
libgtk2.0-0 is already the newest version (2.24.30-1ubuntu1.16.04.2).
libgtk2.0-0 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 34 not upgraded.

作者: 大哲    时间: 2017-8-21 19:43
我安装了ubuntu-desktop,因为apt-cache search没找到lubuntu-desktop 和xubuntu-desktop




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1