dist-upgrade wants to install 157M of packages. But, I've been doing
'apt-get update' 'apt-get upgrade' every week.
vincent:/# apt-get install php4-gd php4-mysql
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
gcc-4.1-base libapache-mod-php4 libc6 libc6-dev libgcc1 libmysqlclient15off
libstdc++6 mysql-admin mysql-admin-common mysql-client-5.0 mysql-server-5.0
php4-common php4-domxml tzdata
Suggested packages:
locales
Recommended packages:
mysql-query-browser
The following packages will be REMOVED:
libmysqlclient15
The following NEW packages will be installed:
gcc-4.1-base libmysqlclient15off php4-gd tzdata
The following packages will be upgraded:
libapache-mod-php4 libc6 libc6-dev libgcc1 libstdc++6 mysql-admin
mysql-admin-common mysql-client-5.0 mysql-server-5.0 php4-common php4-domxml
php4-mysql
12 upgraded, 4 newly installed, 1 to remove and 108 not upgraded.
Need to get 40.7MB of archives.
"aptitude install php4-gd"
The following NEW packages will be installed:
php4-gd
The following packages will be upgraded:
php4-common
1 packages upgraded, 1 newly installed, 0 to remove and 119 not upgraded.
Need to get 207kB of archives. After unpacking 28.7kB will be used.
The following packages have unmet dependencies:
php4-domxml: Depends: php4-common (= 4:4.4.2-1) but 4:4.4.2-1+b1 is
to be installed.
php4-mysql: Depends: php4-common (= 4:4.4.2-1) but 4:4.4.2-1+b1 is
to be installed.
libapache-mod-php4: Depends: php4-common (= 4:4.4.2-1) but
4:4.4.2-1+b1 is to be installed.
Resolving dependencies...
open: 45; closed: 37; defer: 0; conflict: 2
.The following actions will resolve these dependencies:
Remove the following packages:
libmysqlclient15
Install the following packages:
gcc-4.1-base [4.1.0-1+b1 (testing)]
libmysqlclient15off [5.0.20-1 (testing)]
tzdata [2006c-2 (testing)]
Upgrade the following packages:
libapache-mod-php4 [4:4.4.2-1 (now) -> 4:4.4.2-1+b1 (testing)]
libc6 [2.3.6-3 (now) -> 2.3.6-7 (testing)]
libc6-dev [2.3.6-3 (now) -> 2.3.6-7 (testing)]
libgcc1 [1:4.0.3-1 (now) -> 1:4.1.0-1+b1 (testing)]
libstdc++6 [4.0.3-1 (now) -> 4.1.0-1+b1 (testing)]
mysql-admin [1.1.6-1 (now) -> 1.1.6-3 (testing)]
mysql-admin-common [1.1.6-1 (now) -> 1.1.6-3 (testing)]
mysql-client-5.0 [5.0.18-9 (now) -> 5.0.20-1 (testing)]
mysql-server-5.0 [5.0.18-9 (now) -> 5.0.20-1 (testing)]
php4-domxml [4:4.4.2-1 (now) -> 4:4.4.2-1+b1 (testing)]
php4-mysql [4:4.4.2-1 (now) -> 4:4.4.2-1+b1 (testing)]
Score is -1051
Accept this solution? [Y/n/q/?]
--
Mark Bishop
http://www.bish.net
http://blog.bish.net
Quoting Adam Conrad <[EMAIL PROTECTED]>:
Mark Bishop wrote:
vincent:/# apt-get -s install php4-gd
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
libapache-mod-php4 libc6 libc6-dev php4-common php4-domxml tzdata
Suggested packages:
locales
The following packages will be REMOVED:
gallery2 kronolith2 php4-mysql wordpress
The following NEW packages will be installed:
php4-gd tzdata
The following packages will be upgraded:
libapache-mod-php4 libc6 libc6-dev php4-common php4-domxml
5 upgraded, 2 newly installed, 4 to remove and 114 not upgraded.
That looks like a bizarre apt bug with poor dependency resolution during
upgrades.
What happens if you "apt-get dist-upgrade" before you "apt-get install
php4-gd"?
Alternately, what if you "apt-get install php4-gd php4-mysql"?
3rd alternate, what about "aptitude install php4-gd"?
... Adam
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.