Firefly开源社区

创建 Ubuntu 根文件系统,进入根文件系统,apt安装失败解决方法

62

积分

0

威望

0

贡献

技术小白

积分
62
发表于 2017-8-16 20:45:52     
本帖最后由 大哲 于 2017-8-17 17:24 编辑

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




回复

使用道具 举报

118

积分

0

威望

0

贡献

技术小白

积分
118
发表于 2017-8-20 02:41:52     
您好,我按照文档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.
回复

使用道具 举报

62

积分

0

威望

0

贡献

技术小白

积分
62
发表于 2017-8-21 19:43:25     
我安装了ubuntu-desktop,因为apt-cache search没找到lubuntu-desktop 和xubuntu-desktop
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表