bison找不到
Tofloor
poster avatar
jacsy
deepin
2012-09-03 04:42
Author
我想安装bison,但是我用sudo apt-get install bison命令安装时却提示软件仓库里没有这个软件。请问一下bison在deepin的软件仓库里叫什么名字啊?
Reply Favorite View the author
All Replies
cxbii
deepin
2012-09-03 04:49
#1
  1. sudo apt-get install bisonmycxbii@mycxbii-desktop:~/Desktop$ sudo apt-get install bison
  2. [sudo] password for mycxbii:
  3. 正在读取软件包列表... 完成
  4. 正在分析软件包的依赖关系树      
  5. 正在读取状态信息... 完成      
  6. 下列软件包是自动安装的并且现在不需要了:
  7.   firefox-locale-en
  8. 使用'apt-get autoremove'来卸载它们
  9. 将会安装下列额外的软件包:
  10.   libbison-dev m4
  11. 建议安装的软件包:
  12.   bison-doc
  13. 下列【新】软件包将被安装:
  14.   bison libbison-dev m4
  15. 升级了 0 个软件包,新安装了 3 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
  16. 需要下载 528 kB 的软件包。
  17. 解压缩后会消耗掉 2,053 kB 的额外空间。
  18. 您希望继续执行吗?[Y/n]
Copy the Code
你确定没有?
Reply View the author
jacsy
deepin
2012-09-03 05:04
#2
  1. jacsy@jacsy-Aspire-4750:~/project/toolchain$ sudo apt-get install bison
  2. [sudo] password for jacsy:
  3. 正在读取软件包列表... 完成
  4. 正在分析软件包的依赖关系树      
  5. 正在读取状态信息... 完成      
  6. 现在没有可用的软件包 bison,但是它被其它的软件包引用了。
  7. 这可能意味着这个缺失的软件包可能已被废弃,
  8. 或者只能在其他发布源中找到
  9. E: 软件包 bison 没有可供安装的候选者
Copy the Code
Reply View the author
cxbii
deepin
2012-09-03 05:13
#3
  1. jacsy@jacsy-Aspire-4750:~/project/toolchain$ sudo apt-get install bison
  2. [sudo] password for jacsy:
  3. 正在读取软件包列表... 完成
  4. 正在分析软件包的依赖关系树      
  5. 正在读取状态信息... 完成      
  6. 现在没有可用的软件包 bison,但是它被其它的软件包引用了。
  7. 这可能意味着这个缺失的软件包可能已被废弃,
  8. 或者只能在其他发布源中找到
  9. E: 软件包 bison 没有可供安装的候选者
Copy the Code
可能你的源有问题吧。。。
http://ftp.gnu.org/gnu/bison/
手动去下载吧。。
Reply View the author
jacsy
deepin
2012-09-03 05:16
#4
source.list:
  1. deb http://packages.linuxdeepin.com/deepin/ precise main restricted universe multiverse
  2. deb http://packages.linuxdeepin.com/ubuntu precise-security main restricted universe multiverse
  3. deb http://packages.linuxdeepin.com/ubuntu precise-updates main restricted universe multiverse
  4. # deb http://packages.linuxdeepin.com/ubuntu precise-proposed main restricted universe multiverse
  5. # deb http://packages.linuxdeepin.com/ubuntu precise-backports main restricted universe multiverse
  6. deb-src http://packages.linuxdeepin.com/deepin/ precise main restricted universe multiverse
  7. deb-src http://packages.linuxdeepin.com/ubuntu precise-security main restricted universe multiverse
  8. deb-src http://packages.linuxdeepin.com/ubuntu precise-updates main restricted universe multiverse
  9. # deb-src http://packages.linuxdeepin.com/ubuntu precise-proposed main restricted universe multiverse
  10. # deb-src http://packages.linuxdeepin.com/ubuntu precise-backports main restricted universe multiverse
  11. deb http://packages.linuxdeepin.com/deepin/ precise non-free
  12. deb-src http://packages.linuxdeepin.com/deepin/ precise non-free
  13. deb http://packages.linuxdeepin.com/deepin precise-updates main non-free
  14. deb-src http://packages.linuxdeepin.com/deepin precise-updates main non-free
Copy the Code
Reply View the author
cxbii
deepin
2012-09-03 05:22
#5
source.list:
  1. deb http://packages.linuxdeepin.com/deepin/ precise main restricted universe multiverse
  2. deb http://packages.linuxdeepin.com/ubuntu precise-security main restricted universe multiverse
  3. deb http://packages.linuxdeepin.com/ubuntu precise-updates main restricted universe multiverse
  4. # deb http://packages.linuxdeepin.com/ubuntu precise-proposed main restricted universe multiverse
  5. # deb http://packages.linuxdeepin.com/ubuntu precise-backports main restricted universe multiverse
  6. deb-src http://packages.linuxdeepin.com/deepin/ precise main restricted universe multiverse
  7. deb-src http://packages.linuxdeepin.com/ubuntu precise-security main restricted universe multiverse
  8. deb-src http://packages.linuxdeepin.com/ubuntu precise-updates main restricted universe multiverse
  9. # deb-src http://packages.linuxdeepin.com/ubuntu precise-proposed main restricted universe multiverse
  10. # deb-src http://packages.linuxdeepin.com/ubuntu precise-backports main restricted universe multiverse
  11. deb http://packages.linuxdeepin.com/deepin/ precise non-free
  12. deb-src http://packages.linuxdeepin.com/deepin/ precise non-free
  13. deb http://packages.linuxdeepin.com/deepin precise-updates main non-free
  14. deb-src http://packages.linuxdeepin.com/deepin precise-updates main non-free
Copy the Code
我用目测是看不出源有啥问题。。。
Reply View the author
jacsy
deepin
2012-09-03 05:31
#6
要不你给我个源?我试过了mirror.bjtu.edu.cn和mirrors.ustc.edu.cn这个两个源我用不了
  1. W: 无法下载 http://mirror.bjtu.edu.cn/deepin/dists/precise/InRelease  Unable to find expected entry 'restricted/source/Sources' in Release file (Wrong sources.list entry or malformed file)
Copy the Code
  1. W: 无法下载 http://mirrors.ustc.edu.cn/deepin/dists/precise/InRelease  Unable to find expected entry 'restricted/source/Sources' in Release file (Wrong sources.list entry or malformed file)
Copy the Code
Reply View the author
cxbii
deepin
2012-09-03 05:34
#7
要不你给我个源?我试过了mirror.bjtu.edu.cn和mirrors.ustc.edu.cn这个两个源我用不了
  1. W: 无法下载 http://mirror.bjtu.edu.cn/deepin/dists/precise/InRelease  Unable to find expected entry 'restricted/source/Sources' in Release file (Wrong sources.list entry or malformed file)
Copy the Code
  1. W: 无法下载 http://mirrors.ustc.edu.cn/deepin/dists/precise/InRelease  Unable to find expected entry 'restricted/source/Sources' in Release file (Wrong sources.list entry or malformed file)
Copy the Code
http://planet.linuxdeepin.com/20 ... sources-list-intro/
Reply View the author
jacsy
deepin
2012-09-03 06:10
#8
可以安装了。3Q。deepin linux不能用update-manager吗?这个些乱七八糟的问题好像是我用这个软件更换源后就出现的
Reply View the author
cxbii
deepin
2012-09-03 06:23
#9
可以安装了。3Q。deepin linux不能用update-manager吗?这个些乱七八糟的问题好像是我用这个软件更换源后就出现的
这个我不清楚,因为我没遇到过
不过不改变源的。应该没问题的
Reply View the author
tuhaihe
deepin
2012-09-03 17:37
#10
可以安装了。3Q。deepin linux不能用update-manager吗?这个些乱七八糟的问题好像是我用这个软件更换源后就出现的
可以使用,但默认没有安装。
  1. sudo apt-get install update-manager
Copy the Code
Reply View the author