因為反覆安裝移除軟體,source.list也在stable和testing中換來換去.
遇在重安裝php4時無法安裝,
也用了apt-get -f install;dpkg --configure -a;還是沒法解決
顯示訊息如下:
# apt-get install php4
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
Sorry, but the following packages have unmet dependencies:
php4: Depends: libbz2-1.0 but it is not going to be installed
Depends: libc6 (>= 2.2.4-4) but it is not going to be installed
Depends: libdb2 (>= 2:2.7.7.0-7) but it is not going to be installed
Depends: libexpat1 (>= 1.95.2-6) but it is not going to be installed
Depends: libmm11 but it is not going to be installed
Depends: libpam0g (>= 0.72-1) but it is not going to be installed
Depends: libpcre3 but it is not going to be installed
Depends: zlib1g (>= 1:1.1.4) but it is not going to be installed
Depends: apache-common (>= 1.3.26) but it is not going to be installed
Depends: fileutils (>= 4.0-5)
E: Sorry, broken packages
---------------------------------
#apt-get --fix-broken install libc6 libdb2 libexpat1 libmm11 libpam0g libpcre3 zlib1g apache-common fileutils libbz2-1.0
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, libc6 is already the newest version.
Sorry, libdb2 is already the newest version.
Sorry, libexpat1 is already the newest version.
Sorry, libmm11 is already the newest version.
Sorry, libpam0g is already the newest version.
Sorry, libpcre3 is already the newest version.
Sorry, zlib1g is already the newest version.
Sorry, apache-common is already the newest version.
Sorry, fileutils is already the newest version.
Sorry, libbz2-1.0 is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
----------------------
又說缺少,又說已經有了,真是矛盾呀!