Bug#394516: ant: Problems upgrading from stable to testing
Jeroen N. Witmond
jnw at xs4all.nl
Sat Oct 21 18:23:40 CEST 2006
Package: ant
Version: 1.6.2-2
Severity: normal
In my /etc/apt/sources.list, I changed all references to 'stable' into
'testing', and did an `apt-get update` and `apt-get dist-upgrade`. In
the output of the `apt-get dist-upgrade` I noticed that package ant
would be kept back. This got my attention because I made the switch
mainly because I wanted ant's latest version.
To find out more, I tried:
# apt-get -o Debug::pkgProblemResolver=true -sV install ant
Reading Package Lists...
Building Dependency Tree...
Starting
Starting 2
Investigating ant
Package ant has broken dep on ant-doc
Considering ant-doc 0 as a solution to ant 10000
Added ant-doc to the remove list
Fixing ant via remove of ant-doc
Done
Suggested packages:
libbsf-java (2.3.0+cvs20050308a-1)
liboro-java (2.0.8a-1)
libxalan2-java (2.6.0-6)
liblog4j1.2-java (1.2.13-1)
libregexp-java (1.4-3)
jython (2.1.0-23)
antlr (2.7.6-6)
libbcel-java (5.1-6)
libcommons-logging-java (1.0.4-5)
libjdepend-java (2.9-3)
libgnumail-java (1.1.1-2)
libcommons-net-java (1.4.1-1)
Recommended packages:
ant-optional (1.6.5-6)
The following packages will be REMOVED:
ant-doc (1.6.5-6)
libant1.6-java (1.6.2-2.1)
The following packages will be upgraded:
ant (1.6.2-2 => 1.6.5-6)
1 upgraded, 0 newly installed, 2 to remove and 755 not upgraded.
Remv ant-doc (1.6.5-6 Debian:testing)
Remv libant1.6-java (1.6.2-2.1 ) [ant ]
Inst ant [1.6.2-2] (1.6.5-6 Debian:testing)
Conf ant (1.6.5-6 Debian:testing)
To bypass the broken dependency and the removal of package ant-doc, I
also tried:
# apt-get -o Debug::pkgProblemResolver=true -V install ant ant-doc
Reading Package Lists...
Building Dependency Tree...
Starting
Starting 2
Done
Suggested packages:
libbsf-java (2.3.0+cvs20050308a-1)
liboro-java (2.0.8a-1)
libxalan2-java (2.6.0-6)
liblog4j1.2-java (1.2.13-1)
libregexp-java (1.4-3)
jython (2.1.0-23)
antlr (2.7.6-6)
libbcel-java (5.1-6)
libcommons-logging-java (1.0.4-5)
libjdepend-java (2.9-3)
libgnumail-java (1.1.1-2)
libcommons-net-java (1.4.1-1)
Recommended packages:
ant-optional (1.6.5-6)
The following packages will be REMOVED:
libant1.6-java (1.6.2-2.1)
The following packages will be upgraded:
ant (1.6.2-2 => 1.6.5-6)
ant-doc (1.6.2-2 => 1.6.5-6)
2 upgraded, 0 newly installed, 1 to remove and 755 not upgraded.
Need to get 3835kB of archives.
After unpacking 2851kB disk space will be freed.
Do you want to continue? [Y/n]
Get:1 ftp://download.xs4all.nl testing/main ant-doc 1.6.5-6 [2800kB]
Get:2 ftp://download.xs4all.nl testing/main ant 1.6.5-6 [1035kB]
Fetched 3835kB in 12s (319kB/s)
(Reading database ... 113457 files and directories currently installed.)
Preparing to replace ant-doc 1.6.2-2 (using .../ant-doc_1.6.5-6_all.deb) ...
Unpacking replacement ant-doc ...
dpkg: libant1.6-java: dependency problems, but removing anyway as you
request:
ant depends on libant1.6-java; however:
Package libant1.6-java is to be removed.
(Reading database ... 113781 files and directories currently installed.)
Removing libant1.6-java ...
(Reading database ... 113767 files and directories currently installed.)
Preparing to replace ant 1.6.2-2 (using .../archives/ant_1.6.5-6_all.deb) ...
Unpacking replacement ant ...
Setting up ant-doc (1.6.5-6) ...
Setting up ant (1.6.5-6) ...
For me, this seems to solve the broken dependency. The messages about
libant1.6-java are worrisome, but don't seem to result in problems.
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-1-386
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages ant depends on:
ii gij-3.3 [java-virtual-machine 1:3.3.5-13 The GNU Java bytecode
interpreter
ii libant1.6-java 1.6.2-2.1 Java based build tool like
make --
ii libxerces2-java 2.6.2-2 Validating XML parser for
Java wit
ii sablevm [java-virtual-machine 1.11.3-1 Free implementation of Java
Virtua
-- no debconf information
More information about the pkg-java-maintainers
mailing list