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

Re: /etc/alternatives not working properly



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Jan 09, 2007 at 09:55:37PM +0000, Wackojacko wrote:
> 
> >>It certainly does, I do not have all of these symlinks.  Obviously, I 
> >>can create them manually but I would prefer to know why they disappeared 
> >>in the first place.  What command is suppose to create them?
> >>
> >>Thanks
> >>
> >Hi Wackojacko,
> >My guess would be to use 'aptitude reinstall' on the packages that
> >contain the alternative. 
> 
> Tried this on sun-java packages and still no /usr/bin/java
> 
> >Or maybe purge/install, but that would be much
> >harder to do if there are dependencies involved. 
> 
> No go on this either?
> 
> >I'd expect symlinks to
> >be created with postinstall scripts, so you may want to re-run them.
> >Those scripts are in /var/lib/dpkg/info/$PKG.postinstall and are usually
> >bash scripts.
> >Cheers,
> >Kev
> 
> Me too but having reinstalled java it didn't work :(.  Also some of the 
> links that are missing don't have postinstall scripts I could find.
> 
> Thanks for looking.
> 
Hi Wackojacko,
this should be the answer. you and I both have java installed and I
looked for the elusive /usr/bin/java with:
grep /usr/bin/java /var/lib/dpkg/info/*.postinst
This turned up: /var/lib/dpkg/info/gij-4.1.postinst
This script creates it.
cheers,
Kev
- -- 
|  .''`.  == Debian GNU/Linux == |       my web site:       |
| : :' :      The  Universal     |   'under construction'   |
| `. `'      Operating System    | go to counter.li.org and |
|   `-    http://www.debian.org/ |    be counted! #238656   |
|   my keysever: subkeys.pgp.net |     my NPO: cfsg.org     |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFpCBNv8UcC1qRZVMRAigKAJ0dKk9OEPxh8k9l/zWshVikK+nCvgCfc+Sr
O11NNVya07Xt108Nz+hL3T0=
=9feF
-----END PGP SIGNATURE-----



Reply to: