ltib cannot be run because one or more of the host packages 解决方法参考
来源:互联网 发布:mac准备安装时发生错误 编辑:程序博客网 时间:2024/06/05 14:27
ltib cannot be run because one or more of the host packages needed to run it
are either missing or out of date or not in ltib's standard path. Please
install/upgrade these packages on your host. If you have your own utilities
in non-standard paths, please add an entry into the .ltibrc file for example:
%path_std
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/my/own/exes
Package Minimum ver Installed info
------- ----------- ---------------
zlib 0 not installed
Died at ./ltib line 1409.
traceback:
main::host_checks:1409
main:554
Exiting on error or interrupt
根据提示,推断应该是 依赖的包 未安装
一、更新软件源
$ sudo gedit /etc/apt/sources.list
在弹出的文本框中将原始内容全部清空,修改成下面的网易源或搜狐源,保存并退出
网易源
deb http://mirrors.163.com/ubuntu/ lucid main universe restricted multiverse
deb-src http://mirrors.163.com/ubuntu/ lucid main universe restricted multiverse
deb http://mirrors.163.com/ubuntu/ lucid-security universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ lucid-security universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ lucid-updates universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ lucid-proposed universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ lucid-proposed universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ lucid-updates universe main multiverse restricted
搜狐源
deb http://mirrors.shlug.org/ubuntu/ lucid main universe restricted multiverse
deb-src http://mirrors.shlug.org/ubuntu/ lucid main universe restricted multiverse
deb http://mirrors.shlug.org/ubuntu/ lucid-security universe main multiverse restricted
deb-src http://mirrors.shlug.org/ubuntu/ lucid-security universe main multiverse restricted
deb http://mirrors.shlug.org/ubuntu/ lucid-updates universe main multiverse restricted
deb http://mirrors.shlug.org/ubuntu/ lucid-proposed universe main multiverse restricted
deb-src http://mirrors.shlug.org/ubuntu/ lucid-proposed universe main multiverse restricted
deb http://mirrors.shlug.org/ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://mirrors.shlug.org/ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://mirrors.shlug.org/ubuntu/ lucid-updates universe main multiverse restricted
更新源(下载速度视网速而定)
$ sudo apt-get update
添加权限
$ sudo visudo
在最后一行添加:
%admin ALL = NOPASSWD: /usr/bin/rpm, /opt/freescale/ltib/usr/bin/rpm
Ctrl+x 退出,输入y,回车保存退出。
二、更新软件包
安装库文件
$ sudo aptitude -y install gettext libgtk2.0-dev rpm bison m4 libfreetype6-dev
$ sudo aptitude -y install libdbus-glib-1-dev liborbit2-dev intltool
$ sudo aptitude -y install ccache ncurses-dev zlib1g zlib1g-dev gcc g++ libtool
$ sudo aptitude -y install uuid-dev liblzo2-dev
$ sudo aptitude -y install tcl dpkg
$ sudo aptitude -y install gparted emacs22-nox openssh-server
$ sudo aptitude -y install nfs-common nfs-kernel-server lintian
$ sudo aptitude -y install git-core git-doc git-email git-gui gitk
$ sudo aptitude -y install diffstat indent tofrodos fakeroot doxygen uboot-mkimage
$ sudo aptitude -y install sendmail mailutils meld atftpd sharutils
$ sudo aptitude -y install manpages-dev manpages-posix manpages-posix-dev linux-doc
$ sudo aptitude -y install vnc4server xvnc4viewer
三、 再次运行 ./ltib 即可
ubuntu@ubuntu:~/imx28/source/ltib$ ./ltib
Installing host support packages.
This only needs to be done once per host, but may take up to
an hour to complete ...
If an error occurs, a log file with the full output may be found in:
/home/ubuntu/imx28/source/ltib/host_config.log
然后就是漫长的等待....................
Processing deployment operations
==================================
making filesystem image file
staging directory is /home/fudixin/imx28/source/ltib/rootfs.tmp
removing the boot directory and files
removing man files and directories
removing info files
removing /usr/share/locale directory
removing static libraries
removing target rpm database
stripping binaries and libraries
Filesystem stats, including padding:
Total size = 14904k
Total number of files = 1292
Your ramdisk exceeds the old default size of 4096k, you may need to
set the command line argument for ramdisk_size in your bootloader
allowing 10% free this gives 16394k . For instance, for u-boot:
setenv bootargs root=/dev/ram rw ramdisk_size=16394
creating an ext2 compressed filesystem image: rootfs.ext2.gz
genext2fs: Running in LTIB backwards compatibility mode: -i -> -N
Started: Fri May 8 16:22:58 2015
Ended: Fri May 8 17:44:33 2015
Elapsed: 4895 seconds
Build Succeeded
将近 1.5h 。。。。。。。。。。。。。
以上
- ltib cannot be run because one or more of the host packages 解决方法参考
- Cannot complete the install because one or more required items could not be found
- Cannot complete the install because one or more required items could not be found.
- Cannot complete the install because one or more required items could not be found
- maven--Cannot complete the install because one or more required items could not be found
- Cannot complete the install because one or more required items could not be f...
- Cannot complete the install because one or more required items could not be found
- ADT Cannot complete the install because one or more required items could not be found.
- Cannot complete the install because one or more required items could not be found.
- Cannot complete the install because one or more required items could not be found解决办法
- <iOS> The operation could not be performed because of one or more tree conflicts.
- 【Android】Cannot complete the install because one or more
- 在线安装maven插件问题:Cannot complete the install because one or more required items could not be found.
- 安装ADT时出现:Cannot complete the install because one or more required items could not be found
- 在线安装maven插件问题:Cannot complete the install because one or more required items could not be found.
- 安装ADT的时候,提示“Cannot complete the install because one or more required items could not be
- 安装ADT时报Cannot complete the install because one or more required items could not be found.错误
- 在线安装maven插件问题:Cannot complete the install because one or more required items could not be found.
- Java基础——继承
- 防止ViewPager中的Fragment被销毁的方法
- iOS/mac开发的一些知名个人博客
- Spring MVC+mongodb实践
- [前端] 导航项定位
- ltib cannot be run because one or more of the host packages 解决方法参考
- (1)Linkify--自动匹配电子邮件,网址,电话
- Android Camera 学习记录-驱动篇
- memcpy函数的实现
- TortoiseHg 版本管理学习笔记
- Spring学习笔记(19)----------@AspectJ详细讲解
- Android 如何获取App内存大小
- 关于socket阻塞与非阻塞情况下的recv、send、read、write返回值
- hdu1181 变形课