does eselect lists not installed icedtea?

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :)

Moderator: Moderators

Post Reply
msdobrescu
Old Dear Hen
Posts: 646
Joined: Sun Aug 21, 2011 8:48

does eselect lists not installed icedtea?

Post by msdobrescu » Fri Dec 28, 2018 16:57

Hello,

I have the following output:

Code: Select all

eselect java-vm list
Available Java Virtual Machines:
grep: /usr/share/java-config-2/vm/icedtea-7: No such file or directory
grep: /usr/share/java-config-2/vm/icedtea-bin-7: No such file or directory
  [1]   icedtea-7 
  [2]   icedtea-bin-7 
  [3]   icedtea-bin-8  system-vm
I have no package to remove for [1] and [2] above.

Code: Select all

equo search --installed icedtea
╠  @@ Searching...
╠      @@ Package: dev-java/icedtea-bin-3.9.0-r1 branch: 5, [__system__] 
╠          Installed:     version: 3.9.0-r1 ~ tag: NoTag ~ revision: 0
╠          Slot:          8
╠          Homepage:      http://icedtea.classpath.org 
╠          Description:   A Gentoo-made binary build of the 
╠                         IcedTea JDK 
╠          License:       GPL-2-with-classpath-exception
╠      @@ Package: dev-java/icedtea-sound-1.0.1 branch: 5, [__system__] 
╠          Installed:     version: 1.0.1 ~ tag: NoTag ~ revision: 0
╠          Slot:          0
╠          Homepage:      http://icedtea.classpath.org 
╠          Description:   Plugins for javax.sound 
╠          License:       GPL-2-with-linking-exception
╠      @@ Package: dev-java/icedtea-web-1.6.2 branch: 5, [__system__] 
╠          Installed:     version: 1.6.2 ~ tag: NoTag ~ revision: 1
╠          Slot:          0
╠          Homepage:      http://icedtea.classpath.org 
╠          Description:   FOSS Java browser plugin and Web 
╠                         Start implementation 
╠          License:       GPL-2 GPL-2-with-linking-exception LGPL-2
╠   Keywords:  icedtea
╠   Found:     3 entries
[code]

How to cleanup?

Thanks.

User avatar
sabayonino
Sagely Hen
Posts: 3301
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: does eselect lists not installed icedtea?

Post by sabayonino » Fri Dec 28, 2018 17:43

dead deps in your system

Code: Select all

$ ls /usr/share/java-config-2/vm
$ ls /usr/share/java-config-2/vm
... icedtea-8  icedtea-bin-8  oracle-jre-bin-1.8
check icedtea

Code: Select all

equo q belongs /usr/share/java-config-2/vm/icedtea-7
╠  @@ Ricerca Appartenenza
╠   Keyword:  /usr/share/java-config-2/vm/icedtea-7
╠   Trovati:  0 voci
and

Code: Select all

equo q belongs /usr/share/java-config-2/vm/icedtea-bin-7
╠  @@ Ricerca Appartenenza
╠   Keyword:  /usr/share/java-config-2/vm/icedtea-7
╠   Trovati:  0 voci
remove older
[Che Cos'è Il Calcolo Distribuito (BOINC)

BOINC ready ! Sabayon+BOINC = BILD ,my Sabayon spin :cyclops: - Ready to crunch for the Science everywhere :)

msdobrescu
Old Dear Hen
Posts: 646
Joined: Sun Aug 21, 2011 8:48

Re: does eselect lists not installed icedtea?

Post by msdobrescu » Fri Dec 28, 2018 23:31

Hi, thank you for replying.

Code: Select all

ls /usr/share/java-config-2/vm
icedtea-bin-8

Code: Select all

equo q belongs /usr/share/java-config-2/vm/icedtea-7
╠  @@ Belong Search
╠   Keyword:  /usr/share/java-config-2/vm/icedtea-7
╠   Found:    0 entries

Code: Select all

equo q belongs /usr/share/java-config-2/vm/icedtea-bin-7
╠  @@ Belong Search
╠   Keyword:  /usr/share/java-config-2/vm/icedtea-bin-7
╠   Found:    0 entries
Still no clues.

User avatar
Fitzcarraldo
Sagely Hen
Posts: 8121
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: does eselect lists not installed icedtea?

Post by Fitzcarraldo » Fri Jan 18, 2019 19:42

Code: Select all

[email protected] ~ $ eselect java-vm list
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

[email protected] ~ $ ls /usr/share/java-config-2/vm
icedtea-bin-8
[email protected] ~ $ ls -la  /usr/lib/jvm
total 184
drwxr-xr-x   2 root root   4096 Jan  7 00:16 .
drwxr-xr-x 159 root root 180224 Jan  7 11:38 ..
lrwxrwxrwx   1 root root     22 Oct 22 11:13 icedtea-bin-8 -> /opt/icedtea-bin-3.9.0
[email protected] ~ $
Check if you have any old symlinks in the directory /usr/lib/jvm/ and delete them if you do.

msdobrescu
Old Dear Hen
Posts: 646
Joined: Sun Aug 21, 2011 8:48

Re: does eselect lists not installed icedtea?

Post by msdobrescu » Sat Jan 19, 2019 10:14

Code: Select all

eselect java-vm list
Available Java Virtual Machines:
grep: /usr/share/java-config-2/vm/icedtea-7: No such file or directory
grep: /usr/share/java-config-2/vm/icedtea-bin-7: No such file or directory
  [1]   icedtea-7 
  [2]   icedtea-bin-7 
  [3]   icedtea-bin-8  system-vm
  
ls /usr/share/java-config-2/vm
icedtea-bin-8

ls -la  /usr/lib/jvm
total 292
drwxr-xr-x   2 root root   4096 Oct 31 23:34 .
drwxr-xr-x 292 root root 290816 Jan 18 09:35 ..
lrwxrwxrwx   1 root root     19 Aug 15  2013 icedtea-7 -> /usr/lib64/icedtea7
lrwxrwxrwx   1 root root     24 Jun  8  2013 icedtea-bin-7 -> /opt/icedtea-bin-7.2.3.9
lrwxrwxrwx   1 root root     22 Oct 13 21:14 icedtea-bin-8 -> /opt/icedtea-bin-3.9.0


User avatar
Fitzcarraldo
Sagely Hen
Posts: 8121
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: does eselect lists not installed icedtea?

Post by Fitzcarraldo » Sat Jan 19, 2019 13:05

Fitzcarraldo wrote:Check if you have any old symlinks in the directory /usr/lib/jvm/ and delete them if you do.

msdobrescu
Old Dear Hen
Posts: 646
Joined: Sun Aug 21, 2011 8:48

Re: does eselect lists not installed icedtea?

Post by msdobrescu » Sat Jan 19, 2019 13:09

Right, but they are not orphans, there are files in those paths. What should I do?
I usually try to uninstall the package that installed them, but I have no clue of that.

Post Reply