[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apt-get reports conflicts while installing j2sdk



Hi,

I am running Sarge. I am trying to install Java and yesterday installed j2sdk1.3 and then realized I needed j2sdk1.4. Some problem with the glibc or gcc version.

So I removed that:
#> apt-get --purge remove j2sdk1.3 j2re1.3

Then I installed j2sdk1.4 but go these errors:
~# apt-get install j2sdk1.4
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  j2re1.4
Suggested packages:
  ttf-kochi-gothic ttf-kochi-mincho j2sdk1.4-doc
The following NEW packages will be installed:
  j2re1.4 j2sdk1.4
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/23.5MB of archives.
After unpacking 60.5MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 130182 files and directories currently installed.)
Unpacking j2re1.4 (from .../j2re1.4_1.4.0.99beta-1_i386.deb) ...
Do you agree to the above license terms? [yes or no] yes
dpkg: error processing /var/cache/apt/archives/j2re1.4_1.4.0.99beta-1_i386.deb (--unpack): trying to overwrite `/usr/share/man/man1/JavaPluginControlPanel.1.gz', which is also in package j2re1.3
Selecting previously deselected package j2sdk1.4.
Unpacking j2sdk1.4 (from .../j2sdk1.4_1.4.0.99beta-1_i386.deb) ...
Do you agree to the above license terms? [yes or no] yes
Errors were encountered while processing:
 /var/cache/apt/archives/j2re1.4_1.4.0.99beta-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


So how do I remove whateve was left over from j2sdk1.3 remove operation?

thanks,
->HS

Here is my sources.lst:
~# cat /etc/apt/sources.list
#deb file:///cdrom/ sarge main

deb cdrom:[Debian GNU/Linux testing _Sarge_ - Official Snapshot i386 Binary-3 (20040228)]/ unstable contrib main deb cdrom:[Debian GNU/Linux testing _Sarge_ - Official Snapshot i386 Binary-1 (20040228)]/ unstable contrib main deb cdrom:[Debian GNU/Linux testing _Sarge_ - Official Snapshot i386 Binary-2 (20040228)]/ unstable contrib main

deb http://security.debian.org/ stable/updates main contrib





deb ftp://ftp3.nrc.ca/debian/ testing main
deb-src ftp://ftp3.nrc.ca/debian/ testing main

deb http://debian.pffa.de/mirrors/debian/ testing main
deb-src http://debian.pffa.de/mirrors/debian/ testing main

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


#for mplayer
deb ftp://ftp.nerim.net/debian-marillat/ testing main

#for Java. This is from: http://www.blackdown.org/java-linux/mirrors.html
#deb ftp://ftp.gwdg.de/pub/languages/java/linux/debian testing main non-free
deb http://www.tux.org/pub/java/debian unstable non-free



--
(Remove all underscores,_if any_, from my email address to get the correct one. Apologies for the inconvenience, but this is to reduce spam.)




Reply to: