apt-get 抓不到bison - Linux

Skylar Davis avatar
By Skylar Davis
at 2009-06-16T10:56

Table of Contents

※ 引述《MaxHaru (懂得放手..才是王道)》之銘言:
: 我執行sudo apt-get install bison
: 系統會出現如下的訊息
: 讀取套件清單中... 完成
: 了解套件依存關係中
: reading state information... 完成
: 現在沒有可用的套件 bison,但是它被其它的套件引用了。
: 這可能意味著這個套件已經消失或捨棄,
: 或者只能在其他原碼中找到
: E: 套件bison 還沒有可供安裝的候選版本
: 請問各位高手,我該怎麼解決我的問題
: 因為作業的關係,所以必須要能安裝bison 和 flex等套件
: 在此先謝謝....<(_ _)>
: PS:我是在VirtualBox下跑ubuntu 7.1版

sources.list內容

deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main
restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

# Line commented out by installer because it failed to verify:
#deb http://tw.archive.ubuntu.com/ubuntu/ gutsy main restricted
# Line commented out by installer because it failed to verify:
#deb-src http://tw.archive.ubuntu.com/ubuntu/ gutsy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
# Line commented out by installer because it failed to verify:
#deb http://tw.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
# Line commented out by installer because it failed to verify:
#deb-src http://tw.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# Line commented out by installer because it failed to verify:
#deb http://tw.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
#deb-src http://tw.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
#deb http://tw.archive.ubuntu.com/ubuntu/ gutsy-updates universe
# Line commented out by installer because it failed to verify:
#deb-src http://tw.archive.ubuntu.com/ubuntu/ gutsy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
# Line commented out by installer because it failed to verify:
#deb http://tw.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
#deb-src http://tw.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
#deb http://tw.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
# Line commented out by installer because it failed to verify:
#deb-src http://tw.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://tw.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted
universe multiverse
# deb-src http://tw.archive.ubuntu.com/ubuntu/ gutsy-backports main
restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu gutsy partner
# deb-src http://archive.canonical.com/ubuntu gutsy partner

# Line commented out by installer because it failed to verify:
#deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify:
#deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify:
#deb http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify:
#deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify:
#deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
# Line commented out by installer because it failed to verify:
#deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse


請問我該怎麼去更新我的需要套件呢??

--
Tags: Linux

All Comments

Madame avatar
By Madame
at 2009-06-19T16:41
gusty這版太舊,來源網址也沒有gusty可更新了...
Hamiltion avatar
By Hamiltion
at 2009-06-20T23:41
而且所有來源都marked了當然會找嘸。看來你只好拿安裝光碟了
Victoria avatar
By Victoria
at 2009-06-23T20:27
停止維護版的套件庫都搬家了,google一下可以找到搬到
哪去

for loop 的單位

Dorothy avatar
By Dorothy
at 2009-06-16T00:01
※ 引述《Xphenomenon (啦 )》之銘言: : 我有一個檔案內容如下,以 tab 鍵切開: : test.txt : a 1 : b 2 : c 3 : d 4 : for i in `cat test.txt`; do echo $i; done : ...

兩台ubuntu如何共享網路資源?

Harry avatar
By Harry
at 2009-06-15T23:20
※ 引述《afj0928 (大頭)》之銘言: : 雙方用基本的ping指令能相互收尋到對方,但底下似乎沒有網路的芳鄰之類的東西, : 有找到類似smb://xxx.xxx.xx.xx(IP位址)/分享資料夾 的指令與格式, : 但上述的方法一直用不起來,還是說一定得用samba或是NFS才可以? smb就是s ...

兩台ubuntu如何共享網路資源?

Jack avatar
By Jack
at 2009-06-15T23:08
如題 雙方用基本的ping指令能相互收尋到對方,但底下似乎沒有網路的芳鄰之類的東西, 有找到類似smb://xxx.xxx.xx.xx(IP位址)/分享資料夾 的指令與格式, 但上述的方法一直用不起來,還是說一定得用samba或是NFS才可以? 至於IP的部份,要分享有限定一定要固定IP嗎,DHCP ...

Fedora 10 安裝MRTG

Freda avatar
By Freda
at 2009-06-15T22:51
因為系上的課所以要做這個作業 因為完全是生手.... 而且老師叫我們用VMWARE灌LINUX作業系統 所以搞的問題頗多 上網查了很多資料 好像鳥哥寫的比較清楚 不過實際照他做之後 也是失敗.. 網頁有建置好不過就是沒圖 mrtg.cfg 中好像也沒有 Target 那些語法 不知道有沒 ...

用iwlist指令scan到非常多的AP?

Leila avatar
By Leila
at 2009-06-15T21:44
最近在用無線網路的時候,用iwlist wlan0 scan掃描附近的基地台, 很奇怪會發現掃描的結果會很多個,拿windows的電腦來看只有幾個而已 在仔細觀察掃描的內容,很多相同的AP名稱都重複,只是Channel會有不一樣 大部分都是1.6.11等等,現在如果我想用script或是想要轉成圖型介面的話 ...