天嵌 ARM开发社区

 找回密码
 注册
查看: 3642|回复: 1

第一次安装系统遇到的问题求助

[复制链接]
yywhut 发表于 2014-7-18 11:02:59 | 显示全部楼层 |阅读模式
基本上都是按照手册中说的安装,现在遇到两个问题。
1:root@ubuntu:/opt# ./ubuntu_env_install.sh
安装这个的时候,总是有一大堆错误
W: Duplicate sources.list entry http://archive.canonical.com/ lucid/partner amd64 Packages (/var/lib/apt/lists/archive.canonical.com_dists_lucid_partner_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.canonical.com/ lucid/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_dists_lucid_partner_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
E: Package 'sun-java6-jdk' has no installation candidate
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Package git-core is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package patch
E: Package 'git-core' has no installation candidate
E: Unable to locate package build-essential
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package zlib1g-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libx11-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package curl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package flex is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libxml2-utils is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package bison is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'flex' has no installation candidate
E: Package 'bison' has no installation candidate
E: Unable to locate package gperf
E: Package 'curl' has no installation candidate
E: Package 'zlib1g-dev' has no installation candidate
E: Unable to locate package lib32ncurses5-dev
E: Package 'ia32-libs' has no installation candidate
E: Unable to locate package x11proto-core-dev
E: Package 'libx11-dev' has no installation candidate
E: Unable to locate package lib32readline-gplv2-dev
E: Unable to locate package lib32z1-dev
E: Unable to locate package libgl1-mesa-dev
E: Unable to locate package g++-multilib
E: Couldn't find any package by regex 'g++-multilib'
E: Unable to locate package mingw32
E: Unable to locate package tofrodos
E: Unable to locate package python-markdown
E: Package 'libxml2-utils' has no installation candidate
E: Unable to locate package genext2fs
ln: creating symbolic link `/usr/lib/i386-linux-gnu/libX11.so': File exists
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Package gcc-4.4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gcc-4.4' has no installation candidate
E: Unable to locate package g++-4.4
E: Couldn't find any package by regex 'g++-4.4'
E: Unable to locate package g++-4.4-multilib
E: Couldn't find any package by regex 'g++-4.4-multilib'



2: 安装交叉编译器的时候,运行后
root@ubuntu:/opt# arm-linux-gcc -v
bash: /opt/EmbedSky/4.4.6/bin/arm-linux-gcc: No such file or directory
root@ubuntu:/opt#

用绝对路径也不行

root@ubuntu:/opt/EmbedSky/4.4.6/bin# ./arm-linux-gcc -v
bash: ./arm-linux-gcc: No such file or directory
root@ubuntu:/opt/EmbedSky/4.4.6/bin#


但是这个文件是真实存在的,望高人指点。

天嵌_support1 发表于 2014-7-18 11:58:49 | 显示全部楼层
1、更新下源
2、安装32位运行库
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-4-29 07:04 , Processed in 1.031250 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表