为什么装不了build-essential?
发表于 : 2010-05-02 9:48
hang@hang-laptop:~$ sudo apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package build-essential 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 build-essential has no installation candidate
求助啊?什么原因额...
这个问题阻碍我用ubuntu几个月 了...
先谢谢了
--------------------------------采取3楼方法-------------------------------------------------------
依然不行额
hang@hang-laptop:~$ sudo aptitude install build-essential
[sudo] password for hang:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
No candidate version found for build-essential
No candidate version found for build-essential
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
我用Code::Blocks编译
-------------- Build: Release in test ---------------
Linking executable: /home/hang/Release/test
Unable to exec g++.real: No such file or directory
Process terminated with status 2 (0 minutes, 0 seconds)
0 errors, 0 warnings
PS:9.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package build-essential 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 build-essential has no installation candidate
求助啊?什么原因额...
这个问题阻碍我用ubuntu几个月 了...
先谢谢了
--------------------------------采取3楼方法-------------------------------------------------------
依然不行额
hang@hang-laptop:~$ sudo aptitude install build-essential
[sudo] password for hang:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
No candidate version found for build-essential
No candidate version found for build-essential
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
我用Code::Blocks编译
-------------- Build: Release in test ---------------
Linking executable: /home/hang/Release/test
Unable to exec g++.real: No such file or directory
Process terminated with status 2 (0 minutes, 0 seconds)
0 errors, 0 warnings
PS:9.1