You are not logged in.

#1 2010-09-27 22:29:44

Never
Member
Registered: 2008-07-01
Posts: 103

Trying to install oracle-xe-10.2.0.1-1.0.i386.rpm or any .rpm [SOLVED]

I got as far as making a folder with the file and running "rpmextract.sh oracle-xe-10.2.0.1-1.0.i386.rpm"  Which gave me an etc and an usr folder. There is a /home/me/Oracle/etc/init.d/oracle-xe file. I "chmod 111 oracle-xe" then did "./oracle-xe configure". I got this as part of the output.

sed: can't read /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora: No such file or directory
sed: can't read /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora: No such file or directory
/bin/chown: invalid user: `oracle:dba'
sed: can't read /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/tnsnames.ora: No such file or directory
sed: can't read /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/tnsnames.ora: No such file or directory
/bin/chown: invalid user: `oracle:dba'
sed: can't read /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/postDBCreation.sql: No such file or directory
/bin/chown: invalid user: `oracle:dba'
sed: can't read /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/DatabaseHomePage.sh: No such file or directory
/bin/chown: invalid user: `oracle:dba'
sed: can't read /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/readonlinehelp.sh: No such file or directory
/bin/chown: invalid user: `oracle:dba'
Configuring Database...grep: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/log/*.log: No such file or directory
Done
/bin/chmod: cannot access `/usr/lib/oracle/xe/oradata/XE': No such file or directory
/bin/chmod: cannot access `/usr/lib/oracle/xe/oradata/XE': No such file or directory
/bin/chown: invalid user: `oracle:dba'
Starting Oracle Database 10g Express Edition Instance...Done
Installation Completed Successfully.

However, the installation was not successful. How do I undo what I have done and how do I install this correctly? Thank you.

Last edited by Never (2010-09-29 01:45:09)

Offline

#2 2010-09-27 22:44:36

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Trying to install oracle-xe-10.2.0.1-1.0.i386.rpm or any .rpm [SOLVED]

Offline

#3 2010-09-28 00:17:59

Never
Member
Registered: 2008-07-01
Posts: 103

Re: Trying to install oracle-xe-10.2.0.1-1.0.i386.rpm or any .rpm [SOLVED]

Ok, thanks, what do I do about all the stuff I have done so far? Will delete the two folders that were made be enough to remove my work?

Offline

#4 2010-09-28 00:20:24

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Trying to install oracle-xe-10.2.0.1-1.0.i386.rpm or any .rpm [SOLVED]

Never wrote:

Ok, thanks, what do I do about all the stuff I have done so far? Will delete the two folders that were made be enough to remove my work?

Sorry, I've no idea. Try and see :-)

Offline

#5 2010-09-28 00:53:23

Never
Member
Registered: 2008-07-01
Posts: 103

Re: Trying to install oracle-xe-10.2.0.1-1.0.i386.rpm or any .rpm [SOLVED]

[root@Funkledunk rpm]# pacman -U http://aur.archlinux.org/packages/rpm-o … org.tar.gz
rpm-org.tar.gz                        0.8K  154.1K/s 00:00:00 [##################################] 100%
error: missing package metadata in /var/cache/pacman/pkg/rpm-org.tar.gz
error: '/var/cache/pacman/pkg/rpm-org.tar.gz': invalid or corrupted package

So, what am I doing wrong now?

Offline

#6 2010-09-28 00:59:26

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Trying to install oracle-xe-10.2.0.1-1.0.i386.rpm or any .rpm [SOLVED]

Well, it's an AUR taurball, not a pacman package - look at the extension, it's .tar.gz, not .pkg.tar.gz / .pkg.tar.gz.
http://wiki.archlinux.org/index.php/AUR

Offline

#7 2010-09-28 01:32:11

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: Trying to install oracle-xe-10.2.0.1-1.0.i386.rpm or any .rpm [SOLVED]

And once you have figured out how to use the AUR, I think you should look to install one of the oracle-xe packages, rather than rpm as in that link, unless karol had a specific reason to suggest installing rpm-org. I have a feeling that mixing package managers like that is likely to end up causing more problems.

Offline

#8 2010-09-28 01:37:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Trying to install oracle-xe-10.2.0.1-1.0.i386.rpm or any .rpm [SOLVED]

mcmillan wrote:

And once you have figured out how to use the AUR, I think you should look to install one of the oracle-xe packages, rather than rpm as in that link, unless karol had a specific reason to suggest installing rpm-org. I have a feeling that mixing package managers like that is likely to end up causing more problems.

Sorry, I simply assumed those packages are unavailable in the AUR.
You can't trust them forum members ;P

Offline

#9 2010-09-28 02:30:08

Never
Member
Registered: 2008-07-01
Posts: 103

Re: Trying to install oracle-xe-10.2.0.1-1.0.i386.rpm or any .rpm [SOLVED]

rpm-org need lua and then beecrypt to work. I could pacman lua but the other bit needed to be taken in as a tarball. I had to do that "tar -xvzf beecrypt" then entered beecrypt and ran makepkg. Bunch of words, then I got a "beecrypt-4.2.1-2-i686.pkg.tar.xz" file. I turned into the super user and did "pacman -U beecrypt-4.2.1-2-i686.pkg.tar.xz" which installed the program.I did the same process for rpm-org. This is the correct way to do these things right? As I was unable to do the process directly with rpm-org since it was requiring dependencies and I should not assume super user to install programs outside of a pacman call?

mcmillan wrote:

And once you have figured out how to use the AUR, I think you should look to install one of the oracle-xe packages, rather than rpm as in that link, unless karol had a specific reason to suggest installing rpm-org. I have a feeling that mixing package managers like that is likely to end up causing more problems.

Ok, so now that I have the ability to actually open this, oracle-xe-10.2.0.1-1.0.i386.rpm, file. You are saying that doing it this way could be bad for the system and I should just use the package build from AUR? How is it bad for the system? Does it merely make it so that pacman cannot uninstall the software.

Also, I can delete the stuff I independently downloaded the,*.pkg.tar.xz files and the *.tar.xz files, without effecting the running installs?

Offline

#10 2010-09-28 03:06:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Trying to install oracle-xe-10.2.0.1-1.0.i386.rpm or any .rpm [SOLVED]

Using AUR is a much much much better idea than using rpms or debs.
If you don't use pacman, there may be conflicts when you already have some files in your system and pacman doesn't know hod did they get there. You will need to remove them all by hand.

If you installed something via pacman e.g. 'pacman -U beecrypt-4.2.1-2-i686.pkg.tar.xz' and you don't need it anymore, remove it via pacman. See the man page and the wiki on how to find packages that you have installed but probably don't need anymore.

The .tar.gz files you've downloaded from AUR can be disposed of just like e.g. wallpaper you downloaded from some website: 'rm <somefile>'.

Offline

#11 2010-09-28 03:10:43

Never
Member
Registered: 2008-07-01
Posts: 103

Re: Trying to install oracle-xe-10.2.0.1-1.0.i386.rpm or any .rpm [SOLVED]

Alright, thanks.

Offline

#12 2010-09-28 09:28:08

Never
Member
Registered: 2008-07-01
Posts: 103

Re: Trying to install oracle-xe-10.2.0.1-1.0.i386.rpm or any .rpm [SOLVED]

Ok I grabbed the oracle-xe 10.2.01-1 tarball, did a tar -vzxf on it, moved to that directory, did a makepkg on it and got an error that there was no oracle-xe-univ-10.2.0.1-1.0.i386.rpm, so I got that and put it in the folder. Now I get this:

==> Making package: oracle-xe 10.2.01-1 (Tue Sep 28 02:21:10 PDT 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Found oracle-xe-univ-10.2.0.1-1.0.i386.rpm
==> Validating source files with md5sums...
    oracle-xe-univ-10.2.0.1-1.0.i386.rpm ... Passed
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
chmod: missing operand after `755'
Try `chmod --help' for more information.
    Aborting...

Exactly what am I suppose to be chmodding?

Offline

#13 2010-09-28 13:30:24

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Trying to install oracle-xe-10.2.0.1-1.0.i386.rpm or any .rpm [SOLVED]

Are you using http://aur.archlinux.org/packages.php?ID=12643 ? Read the comment :-)

Offline

#14 2010-09-29 00:53:24

Never
Member
Registered: 2008-07-01
Posts: 103

Re: Trying to install oracle-xe-10.2.0.1-1.0.i386.rpm or any .rpm [SOLVED]

Ok, when I try to enter PKGBUILD with nano, I end up with a blank and a putty session I need to restart. When I vi the PKGBUILD I get to see what is there, vi is harder to use. Would you  happen to know why nano won't display what is in there and freezes my putty session or any other editors that are more beginner friendly than vi, but able to access more than nano? And it is finished, thanks for all your help.

Offline

#15 2010-09-29 01:25:51

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Trying to install oracle-xe-10.2.0.1-1.0.i386.rpm or any .rpm [SOLVED]

Sorry, I've never used nano, I can't help you with that.

Two things:
- please, use https://bbs.archlinux.org/help.php#bbcode [code ] tags when pasting code, not [quote ] tags - it makes quite a difference with longer listings
- please remember to edit the first post and prefix the subject line with [SOLVED]

Offline

#16 2010-09-29 01:45:35

Never
Member
Registered: 2008-07-01
Posts: 103

Re: Trying to install oracle-xe-10.2.0.1-1.0.i386.rpm or any .rpm [SOLVED]

Mmk

Offline

Board footer

Powered by FluxBB