FC5 - quick yum fix for java plugin?

Marc M linuxr at gmail.com
Wed Apr 26 00:39:20 UTC 2006


IOW would a

# rm java*

be a bad thing to do or would it break too many other things possibly?

Thanks
Marc

On 4/25/06, Marc M <linuxr at gmail.com> wrote:
>
> Well now it appears that the java installation has hosed additional things
> on my box.  For example when I try to yum I get the below errors.
>
> 1) Can anyone help me clean off *all* of the java so I can start over?  I
> have been through all of the instructions posted to me (thanks guys) but
> somehow it just doesn't work regardless - I still get the same dependency
> hell for java.
>
> 2)   Does anyone know if there is a way to rebuild a hosed yum.conf or
> somehow fix it completely?  Seperate issue I know, but there seems to be
> something wrong with it.
>
> Thanks
> Marc
> *******************************paste*************************************
> [root at localhost ~]# yum search ipod
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 29, in ?
>     yummain.main(sys.argv[1:])
>   File "/usr/share/yum-cli/yummain.py", line 80, in main
>     base.getOptionsConfig(args)
>   File "/usr/share/yum-cli/cli.py", line 177, in getOptionsConfig
>     self.doConfigSetup(fn=opts.conffile, root=root)
>   File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 104, in
> doConfigSetup
>     self.getReposFromConfig()
>   File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 135, in
> getReposFromConfig
>     parser.read(files)
>   File "/usr/lib/python2.4/site-packages/yum/parser.py", line 225, in read
>
>     IncludingConfigParser.read(self,filename)
>   File "/usr/lib/python2.4/site-packages/yum/parser.py", line 126, in read
>     ConfigParser.read(self,filename)
>   File "/usr/lib/python2.4/ConfigParser.py", line 267, in read
>     self._read(fp, filename)
>   File "/usr/lib/python2.4/ConfigParser.py", line 462, in _read
>     raise MissingSectionHeaderError(fpname, lineno, line)
> ConfigParser.MissingSectionHeaderError: File contains no section headers.
> file: ///etc/yum.repos.d/jpackage.repo, line: 1
> 'Usage: wget [OPTION]... [URL]...\n'
> [root at localhost ~]# yum search gtkpod
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 29, in ?
>     yummain.main(sys.argv[1:])
>   File "/usr/share/yum-cli/yummain.py", line 80, in main
>     base.getOptionsConfig(args)
>   File "/usr/share/yum-cli/cli.py", line 177, in getOptionsConfig
>     self.doConfigSetup(fn=opts.conffile, root=root)
>   File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 104, in
> doConfigSetup
>     self.getReposFromConfig()
>   File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 135, in
> getReposFromConfig
>     parser.read(files)
>   File "/usr/lib/python2.4/site-packages/yum/parser.py", line 225, in read
>     IncludingConfigParser.read(self,filename)
>   File "/usr/lib/python2.4/site-packages/yum/parser.py", line 126, in read
>
>     ConfigParser.read(self,filename)
>   File "/usr/lib/python2.4/ConfigParser.py", line 267, in read
>     self._read(fp, filename)
>   File "/usr/lib/python2.4/ConfigParser.py", line 462, in _read
>     raise MissingSectionHeaderError(fpname, lineno, line)
> ConfigParser.MissingSectionHeaderError: File contains no section headers.
> file: ///etc/yum.repos.d/jpackage.repo, line: 1
> 'Usage: wget [OPTION]... [URL]...\n'
> [root at localhost ~]# yum update
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 29, in ?
>     yummain.main(sys.argv[1:])
>   File "/usr/share/yum-cli/yummain.py", line 80, in main
>     base.getOptionsConfig(args)
>   File "/usr/share/yum-cli/cli.py", line 177, in getOptionsConfig
>     self.doConfigSetup(fn=opts.conffile, root=root)
>   File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 104, in
> doConfigSetup
>     self.getReposFromConfig()
>   File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 135, in
> getReposFromConfig
>     parser.read(files)
>   File "/usr/lib/python2.4/site-packages/yum/parser.py", line 225, in read
>
>     IncludingConfigParser.read(self,filename)
>   File "/usr/lib/python2.4/site-packages/yum/parser.py", line 126, in read
>     ConfigParser.read(self,filename)
>   File "/usr/lib/python2.4/ConfigParser.py", line 267, in read
>     self._read(fp, filename)
>   File "/usr/lib/python2.4/ConfigParser.py", line 462, in _read
>     raise MissingSectionHeaderError(fpname, lineno, line)
> ConfigParser.MissingSectionHeaderError: File contains no section headers.
> file: ///etc/yum.repos.d/jpackage.repo, line: 1
> 'Usage: wget [OPTION]... [URL]...\n'
> [root at localhost ~]#
>
> *************************************end**********************************
>
>
>
>
> On 4/25/06, Paul Howarth <paul at city-fan.org> wrote:
> >
> > On Mon, 2006-04-24 at 18:44 -0400, Gene Heskett wrote:
> > > On Saturday 22 April 2006 12:15, Jay Cliburn wrote:
> > > >On Sat, 2006-04-22 at 12:05 -0400, Marc M wrote:
> > > >> I am having trouble getting my java plugin to work properly.  I am
> > > >> trying to run a cbt on a training website and firefox sends me to
> > > >> the java site for the plugin.  I have downloaded the rpm.bin file,
> > > >> run the script, chmodded the rpm to 777, and I still get the
> > > >> following.
> > > >>
> > > >> Does anyone have any good updated yum locations where I can just
> > > >> grab a good file with some updated repo's, that are likely to fix
> > > >> all of these dependencies?
> > > >
> > > >Assuming you're running 32-bit FC5, go here for instructions.
> > > >
> > > >http://stanton-finley.net/fedora_core_5_installation_notes.html#Java
> > >
> > > Trying to set this up as a (gasp) user, I'm sort of following along
> > with
> > > the idea being that I don't have to run as root, AND at some point
> > I'll
> > > get the java plugin working with firefox.
> > >
> > > Failing rather miserably at the bottom of that documents page 7. As
> > > root, or su -, doesn't make any diff:
> > > [root at diablo plugins]# rpm -ivh
> > > http://ftp.freshrpms.net/pub/fedora/linux/5/freshrpms.repo
> > > Retrieving http://ftp.freshrpms.net/pub/fedora/linux/5/freshrpms.repo
> > > error: open of <!DOCTYPE failed: No such file or directory
> > > error: open of HTML failed: No such file or directory
> > > error: open of PUBLIC failed: No such file or directory
> >
> > It would appear you have downloaded an HTML file instead of the plain
> > text freshrpms.repo file. It would appear that you have a broken URL:
> >
> > $ curl http://ftp.freshrpms.net/pub/fedora/linux/5/freshrpms.repo
> > <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> > <html><head>
> > <title>404 Not Found</title>
> > </head><body>
> > <h1>Not Found</h1>
> > <p>The requested URL /pub/fedora/linux/5/freshrpms.repo was not found on
> >
> > this server.</p>
> > <hr>
> > <address>Apache/2.2.2 (Unix) Server at ftp.freshrpms.net Port
> > 80</address>
> > </body></html>
> >
> > Paul.
> >
> > --
> > fedora-list mailing list
> > fedora-list at redhat.com
> > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20060425/a01e06b6/attachment-0002.html 


More information about the users mailing list