Re: [問題] apt-get 抓不到bison

看板Linux作者 (懂得放手..才是王道)時間16年前 (2009/06/16 10:56), 編輯推噓2(202)
留言4則, 3人參與, 最新討論串2/2 (看更多)
※ 引述《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 請問我該怎麼去更新我的需要套件呢?? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.118.209.208 ※ 編輯: MaxHaru 來自: 140.118.209.208 (06/16 10:58)

06/16 11:11, , 1F
gusty這版太舊,來源網址也沒有gusty可更新了...
06/16 11:11, 1F

06/16 11:52, , 2F
而且所有來源都marked了當然會找嘸。看來你只好拿安裝光碟了
06/16 11:52, 2F

06/20 07:42, , 3F
停止維護版的套件庫都搬家了,google一下可以找到搬到
06/20 07:42, 3F

06/20 07:42, , 4F
哪去
06/20 07:42, 4F
文章代碼(AID): #1ADmdS_R (Linux)
討論串 (同標題文章)
文章代碼(AID): #1ADmdS_R (Linux)