apt-get update Fail

如果您覺得您的問題不屬於 debian desktop 或是 debian server 版的範圍內,請在這裡發問。

版主: mufa

apt-get update Fail

文章sunche_locus » 週一 3月 10, 2003 10:09 pm

Dear all
Running apt-get update fail, please help.
================================================

Reading Package Lists...
Building Dependency Tree...
The following extra packages will be installed:
libid3tag0 libmad0
2 packages upgraded, 0 newly installed, 0 to remove and 228 not upgraded.
4 packages not fully installed or removed.
Need to get 0B/118kB of archives. After unpacking 49.2kB will be used.
Do you want to continue? [Y/n] (Reading database ... 130700 files and directories currently installed.)
Preparing to replace libid3tag0 0.14.2b-6 (using .../libid3tag0_0.14.2b-7_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libid3tag0_0.14.2b-7_i386.deb (--unpack):
dpkg: warning - old pre-removal script killed by signal (Bus error)

dpkg (subprocess): unable to execute post-installation script: Exec format error
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 2
Preparing to replace libmad0 0.14.2b-6 (using .../libmad0_0.14.2b-7_i386.deb) ...
dpkg (subprocess): unable to execute old pre-removal script: Exec format error
dpkg: warning - old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
dpkg: error processing /var/cache/apt/archives/libmad0_0.14.2b-7_i386.deb (--unpack):
there is no script in the new version of the package - giving up
dpkg (subprocess): unable to execute post-installation script: Exec format error
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/libid3tag0_0.14.2b-7_i386.deb
/var/cache/apt/archives/libmad0_0.14.2b-7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
頭像
sunche_locus
可愛的小學生
可愛的小學生
 
文章: 49
註冊時間: 週一 3月 10, 2003 10:06 pm

re:apt-get update Fail

文章octapult » 週一 3月 10, 2003 11:49 pm

或許是因為您使用 stable,可是您的 /etc/apt/sources.list 是使用 testing?
或許您可以試試 apt-get dist-upgrade。
------BEGIN GEEK CODE BLOCK------
Version: 3.12
G! d- s+:+ a? C++(+++) UBL>++++ P L++ E+ W++ N+ o+ K- w(--)
O? M? V PS+ PE+ Y+ PGP- t 5? X++ R tv b+ DI- D+ G e? h! r-- z?
-------END GEEK CODE BLOCK-------
octapult
摩托學園!學園長們
摩托學園!學園長們
 
文章: 512
註冊時間: 週六 9月 07, 2002 10:30 pm
來自: Seyda Neen, Morrowind

re:apt-get update Fail

文章訪客 » 週四 3月 13, 2003 7:25 pm

我是用unstable...
訪客
 

re:apt-get update Fail

文章阿信 » 週四 3月 13, 2003 8:38 pm

系統有無超頻呢?

或是先將cache clean掉再upgrade一次。
頭像
阿信
版面大總管
版面大總管
 
文章: 4756
註冊時間: 週二 9月 03, 2002 11:58 pm
來自: 台灣 - 嘉義

re:apt-get update Fail

文章訪客 » 週日 3月 16, 2003 11:33 am

謝謝大家的指導,我的電腦沒有超頻
我用了apt-get clean; apt-get autoclean; apt-get update
apt-get upgrade;

重新來一次也是Fail...!__!
My debian.....
訪客
 

re:apt-get update Fail

文章阿信 » 週日 3月 16, 2003 11:37 am

sources.list可以post出來嗎?
頭像
阿信
版面大總管
版面大總管
 
文章: 4756
註冊時間: 週二 9月 03, 2002 11:58 pm
來自: 台灣 - 嘉義

re:apt-get update Fail

文章訪客 » 週日 3月 16, 2003 11:53 am

My sources.list=>


This file is generated by CPANEL 0.3.1

# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.

#deb http://http.us.debian.org/debian stable main contrib non-free
#deb http://www.debian.org.hk/debian stable main contrib non-free
#deb http://non-us.debian.org/debian-non-US potato/non-US main contrib non-free
#deb http://security.debian.org stable/updates main contrib non-free

# Uncomment if you want the apt-get source function to work
#deb-src http://http.us.debian.org/debian stable main contrib non-free
#deb-src http://non-us.debian.org/debian-non-US stable non-US

#deb http://www.linux.org.hk/~kamtik/cpanel woody main
#deb http://http.us.debian.org/debian woody main contrib non-free
deb http://http.us.debian.org/debian unstable main contrib non-free
deb ftp://ftp.debian.org/debian unstable main contrib non-free
#deb ftp://ftp.us.debian.org/debian woody main contrib non-free
#deb http://pandora.debian.org unstable/non-US main contrib non-free
#deb http://download.at.kde.org/pub/kde/stable/3.0.3/Debian/ ./
#deb http://debian.linux.org.tw/pub/kde/stab ... Debian/sid ./

#deb ftp://linux.cis.nctu.edu.tw/distributions/debian unstable main contrib non-free
#deb http://people.debian.org/~njordan kde3.0/
#for mono
deb http://www.debianplanet.org/mono stable main
deb-src http://www.debianplanet.org/mono stable main

#for gnome2
#http://www.linux.org.tw/
#Gustavo Noronha Silva (aka kov) ??? GNOME2 ??? Woody?
#deb http://gluck.debian.org/~kov/debian woody gnome2
#deb http://ftp.uk.debian.org/debian/ ../project/experimental main
#deb-src http://ftp.uk.debian.org/debian/ ../project/experimental main
訪客
 

re:apt-get update Fail

文章阿信 » 週日 3月 16, 2003 12:39 pm

deb ftp://ftp.jp.debian.org/debian/ unstable main non-free contrib

deb http://www.debianplanet.org/mono unstable main
deb-src http://www.debianplanet.org/mono unstable main

改用小弟寫的sources.list,然後將/var/cache/apt/archives/的.deb移除掉試試看。
頭像
阿信
版面大總管
版面大總管
 
文章: 4756
註冊時間: 週二 9月 03, 2002 11:58 pm
來自: 台灣 - 嘉義


回到 debian misc

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客