how to install packages from RTP ISO CD?

Newbie (to QNX) question: How do I use the Package Installer to install
selected packages from the QNX RTP 6.1.0 CD which I burned from an ISO
image? I can browse the CD using File Manager and see the packages. When I
start the Package Installer, there is a link in the upper right corner
labeled “QNX CD-ROM Repository” with a link to the CD. I click this and it
opens a Voyager window with a list of packages… but I can’t figure out HOW
to install them. Do I need to copy them to the HD first, or what?

I also tried selecting the “QNX CD-ROM Repository” in the main repository
list, but I get an error: This location does not contain a repository. (and,
yes, the path is correct). I also tried to add a repository using the full
path (file:///fs/cd0/repository), but that gives the same error message.

I’m very familiar with installing packages under Linux (Red Hat RPMs via
GnoRPM), but I can’t seem to find any information on using the package
manager in QNX, even in the online docs and the QNX website.

???

Chris

“Chris Bope” <chris.bope@soredex.com> writes:

I’m very familiar with installing packages under Linux (Red Hat RPMs via
GnoRPM), but I can’t seem to find any information on using the package
manager in QNX, even in the online docs and the QNX website.

If you’re happy with the command line, you can at least install a
package by locating the .qpr file (not .qpm or .qpg). You install
this file simply by typing

pkg-installer -u PACKAGE.qpr

It can reside on the CD or on your hard disk.


Andrew Thomas, President, Cogent Real-Time Systems Inc.
2430 Meadowpine Boulevard, Suite 105, Mississauga, Ontario, Canada L5N 6S2
Email: andrew@cogent.ca WWW: http://www.cogent.ca

Andrew Thomas <andrew@cogent.ca> wrote in article <x7k7z72lhv.fsf@cogent.ca>…

“Chris Bope” <> chris.bope@soredex.com> > writes:
I’m very familiar with installing packages under Linux (Red Hat RPMs via
GnoRPM), but I can’t seem to find any information on using the package
manager in QNX, even in the online docs and the QNX website.

If you’re happy with the command line, you can at least install a
package by locating the .qpr file (not .qpm or .qpg). You install
this file simply by typing

pkg-installer -u PACKAGE.qpr

It can reside on the CD or on your hard disk.

For view all supported switches

use pkg-installer

I don’t remember exactly, but there is switch to point installer to /fs/cd0/repository directory. I
may be wrong, I don’t understand your problem ;-(


Andrew Thomas, President, Cogent Real-Time Systems Inc.
2430 Meadowpine Boulevard, Suite 105, Mississauga, Ontario, Canada L5N 6S2
Email: > andrew@cogent.ca > WWW: > http://www.cogent.ca

My problem in simple terms:

How do I install packages using the Package Installer?

More detailed version:

I’ve tried using the Package Installer to install packages from the QNX CD
(the FULL ISO image downloaded and burned; used to install QNX) and via the
WWW site (via LAN). I do not see any .qpr files on the CD, only .qpm and
…qpk files. Using Package Installer to try to read the repository from the
CD (file:///fs/cd0/repository) gives an error message that this location
does not contain a repository. BUT, if I browse the CD using the file
manager, I can see lots of packages, files with .qpm and .qpk extension, but
none with .qpr (which may be what it is looking for???). Why does the
installer say this is NOT a repository, when it clearly is??? There are
approx. 371MB of files in the repository directory. I get the same error
whether I launch Package Installer from the photon gui, or from the command
line (pkg-installer -u file:///fs/cd0/repository).

I’m sorry to say the “user” documentation of QNX is quite lacking on package
installation, as it tells little of the actual procedure to install
packages. It says to simply use the Package Installer and defines the
command line options. For such simple instructions, I would expect that the
installer would be logical and intuitive. Well, I’m no idiot, I know
Windows (every version since 2.0), *nix/Linux (since the early days), DOS
(all), NetWare, BeOS, AmigaOS and a few others as well. It seems to me that
either the Package Installer is broken in 6.1.0, or maybe the installation
of QNX on my laptop is not working properly, although there is no other
indication of that.

Usually, given the documentation, I am able to figure out on my own how to
use an OS within a few days or weeks. But I’m struggling with QNX at this
point.

Somebody please give me some tips, or tell me what I’m doing wrong.

Chris

“Chris Bope” <chris.bope@soredex.com> wrote in message
news:9ni3d5$qig$1@inn.qnx.com

Newbie (to QNX) question: How do I use the Package Installer to install
selected packages from the QNX RTP 6.1.0 CD which I burned from an ISO
image? I can browse the CD using File Manager and see the packages. When I
start the Package Installer, there is a link in the upper right corner
labeled “QNX CD-ROM Repository” with a link to the CD. I click this and it
opens a Voyager window with a list of packages… but I can’t figure out
HOW
to install them. Do I need to copy them to the HD first, or what?

I also tried selecting the “QNX CD-ROM Repository” in the main repository
list, but I get an error: This location does not contain a repository.
(and,
yes, the path is correct). I also tried to add a repository using the full
path (file:///fs/cd0/repository), but that gives the same error message.

I’m very familiar with installing packages under Linux (Red Hat RPMs via
GnoRPM), but I can’t seem to find any information on using the package
manager in QNX, even in the online docs and the QNX website.

???

Chris

Chris Bope <chris.bope@soredex.com> wrote in article <9nsjrb$kr6$1@inn.qnx.com>…

My problem in simple terms:

How do I install packages using the Package Installer?

More detailed version:

I’ve tried using the Package Installer to install packages from the QNX CD
(the FULL ISO image downloaded and burned; used to install QNX) and via the
WWW site (via LAN). I do not see any .qpr files on the CD, only .qpm and
.qpk files.
It is OK. .qpm - QNX package manifest, .qpk - the package. .qpr - consist of .qpm, .qpk and license

information (simple they are tarred&gzipped).

Using Package Installer to try to read the repository from the
CD (file:///fs/cd0/repository) gives an error message that this location
does not contain a repository. BUT, if I browse the CD using the file
manager, I can see lots of packages, files with .qpm and .qpk extension, but
none with .qpr (which may be what it is looking for???).
Installer looks for .qpm and .qpk files. There is only way “pkg-installer -u *.qrp” for .qpr

packages.

Why does the
installer say this is NOT a repository, when it clearly is??? There are
approx. 371MB of files in the repository directory. I get the same error
whether I launch Package Installer from the photon gui, or from the command
line (pkg-installer -u file:///fs/cd0/repository).

Beat me, I don’t know. Wait for somebody from QSSL.



I’m sorry to say the “user” documentation of QNX is quite lacking on package
installation, as it tells little of the actual procedure to install
packages. It says to simply use the Package Installer and defines the
command line options. For such simple instructions, I would expect that the
installer would be logical and intuitive.
Installer really is logical and intuitive. There are some bugs in it, but you have unknowen bug, I

guess…

Well, I’m no idiot, I know
Windows (every version since 2.0), *nix/Linux (since the early days), DOS
(all), NetWare, BeOS, AmigaOS and a few others as well. It seems to me that
either the Package Installer is broken in 6.1.0, or maybe the installation
of QNX on my laptop is not working properly, although there is no other
indication of that.

You are quite man. I’m sure, but I’ve not even heard about that problem. I can not see anyting

wrong. You are aside of luck, but I’m sure you will win out.

Usually, given the documentation, I am able to figure out on my own how to
use an OS within a few days or weeks. But I’m struggling with QNX at this
point.

Somebody please give me some tips, or tell me what I’m doing wrong.

Chris

The CD Repository entry is by default after installation. Usualy you need select this repository

and click “View repository” button. I’m very sorry I can not really help you. No reason to get
excited :slight_smile:

Cheers,
Eduard.

“Chris Bope” <> chris.bope@soredex.com> > wrote in message
news:9ni3d5$qig$> 1@inn.qnx.com> …
Newbie (to QNX) question: How do I use the Package Installer to install
selected packages from the QNX RTP 6.1.0 CD which I burned from an ISO
image? I can browse the CD using File Manager and see the packages. When I
start the Package Installer, there is a link in the upper right corner
labeled “QNX CD-ROM Repository” with a link to the CD. I click this and it
opens a Voyager window with a list of packages… but I can’t figure out
HOW
to install them. Do I need to copy them to the HD first, or what?

I also tried selecting the “QNX CD-ROM Repository” in the main repository
list, but I get an error: This location does not contain a repository.
(and,
yes, the path is correct). I also tried to add a repository using the full
path (file:///fs/cd0/repository), but that gives the same error message.

I’m very familiar with installing packages under Linux (Red Hat RPMs via
GnoRPM), but I can’t seem to find any information on using the package
manager in QNX, even in the online docs and the QNX website.

???

Chris

\

Hi Chris,
It’s me again. I recall one thing. I installed QNX RTP on system with Giga-Byte GA-600 Permedia 2
video card. I have got 640x480 resolution after installation. Sadly, installer require 800x600
resolution as a minimum. I was unable to see full installer’s window. I could not install software.
Is it applicable for you?

Best regards,
Eduard.

Eduard

Thanks for the info, by the way… I’ll try your suggestions shortly.

No, I don’t think that’s what is affecting my install. My laptop uses the
ATI Rage Mobility M1 which is supported by the rage driver and is running
fine at 1024x768x32 bit.

If I find a workaround for my install problem, I’ll post here.

Thanks again!

Chris

“ed1k” <ed1k@yahoo.com> wrote in message
news:01c13d10$196b0660$396fa8c0@ED1K…

Hi Chris,
It’s me again. I recall one thing. I installed QNX RTP on system with
Giga-Byte GA-600 Permedia 2
video card. I have got 640x480 resolution after installation. Sadly,
installer require 800x600
resolution as a minimum. I was unable to see full installer’s window. I
could not install software.
Is it applicable for you?

Best regards,
Eduard.

Eduard

Still no luck…

Before I tried this, I searched for any .qpr files on the CD, there were
none.

I tried to force the installer using the following command lines:

pkg-installer -u /fs/cd0/repository *.qpk
pkg-installer -u /fs/cd0/repository *.qpm

Neither worked, same error message; the location does not contain a
repository. Guess I’ll have to see if there is a response from QSSL… :frowning:

Chris

“ed1k” <ed1k@yahoo.com> wrote in message
news:01c13d0c$41154760$396fa8c0@ED1K…

Chris Bope <> chris.bope@soredex.com> > wrote in article
9nsjrb$kr6$> 1@inn.qnx.com> >…
My problem in simple terms:

How do I install packages using the Package Installer?

More detailed version:

I’ve tried using the Package Installer to install packages from the QNX
CD
(the FULL ISO image downloaded and burned; used to install QNX) and via
the
WWW site (via LAN). I do not see any .qpr files on the CD, only .qpm and
.qpk files.
It is OK. .qpm - QNX package manifest, .qpk - the package. .qpr - consist
of .qpm, .qpk and license
information (simple they are tarred&gzipped).

Using Package Installer to try to read the repository from the
CD (file:///fs/cd0/repository) gives an error message that this location
does not contain a repository. BUT, if I browse the CD using the file
manager, I can see lots of packages, files with .qpm and .qpk extension,
but
none with .qpr (which may be what it is looking for???).
Installer looks for .qpm and .qpk files. There is only way
“pkg-installer -u *.qrp” for .qpr
packages.

Why does the
installer say this is NOT a repository, when it clearly is??? There are
approx. 371MB of files in the repository directory. I get the same error
whether I launch Package Installer from the photon gui, or from the
command
line (pkg-installer -u file:///fs/cd0/repository).

Beat me, I don’t know. Wait for somebody from QSSL.

I’m sorry to say the “user” documentation of QNX is quite lacking on
package
installation, as it tells little of the actual procedure to install
packages. It says to simply use the Package Installer and defines the
command line options. For such simple instructions, I would expect that
the
installer would be logical and intuitive.
Installer really is logical and intuitive. There are some bugs in it, but
you have unknowen bug, I
guess…

Well, I’m no idiot, I know
Windows (every version since 2.0), *nix/Linux (since the early days),
DOS
(all), NetWare, BeOS, AmigaOS and a few others as well. It seems to me
that
either the Package Installer is broken in 6.1.0, or maybe the
installation
of QNX on my laptop is not working properly, although there is no other
indication of that.

You are quite man. I’m sure, but I’ve not even heard about that problem. I
can not see anyting
wrong. You are aside of luck, but I’m sure you will win out.

Usually, given the documentation, I am able to figure out on my own how
to
use an OS within a few days or weeks. But I’m struggling with QNX at
this
point.

Somebody please give me some tips, or tell me what I’m doing wrong.

Chris

The CD Repository entry is by default after installation. Usualy you need
select this repository
and click “View repository” button. I’m very sorry I can not really help
you. No reason to get
excited > :slight_smile:

Cheers,
Eduard.

“Chris Bope” <> chris.bope@soredex.com> > wrote in message
news:9ni3d5$qig$> 1@inn.qnx.com> …
Newbie (to QNX) question: How do I use the Package Installer to
install
selected packages from the QNX RTP 6.1.0 CD which I burned from an ISO
image? I can browse the CD using File Manager and see the packages.
When I
start the Package Installer, there is a link in the upper right corner
labeled “QNX CD-ROM Repository” with a link to the CD. I click this
and it
opens a Voyager window with a list of packages… but I can’t figure
out
HOW
to install them. Do I need to copy them to the HD first, or what?

I also tried selecting the “QNX CD-ROM Repository” in the main
repository
list, but I get an error: This location does not contain a repository.
(and,
yes, the path is correct). I also tried to add a repository using the
full
path (file:///fs/cd0/repository), but that gives the same error
message.

I’m very familiar with installing packages under Linux (Red Hat RPMs
via
GnoRPM), but I can’t seem to find any information on using the package
manager in QNX, even in the online docs and the QNX website.

???

Chris

\

Chris,
Try “Add repository” button from installer, enter the URL - “file:///fs/cd0/repository”. Then try
to view this repository. Be careful, maybe you see uppercase names in pfm? Enter path exactly as
you see in pfm.

Eduard

Eduard

Actually, that was one of the first things I tried…

There is also a sym link on the CD called \repository2, which points to the
\repository directory, I tried that also… same message.

Do you have the QNX RTP 6.1.0 CD, which you can try to read the repository
on your own machine? I’m wondering if I have somehow lost my mind…

I may just try re-installing RTP at this point.

???

Chris

“ed1k” <ed1k@yahoo.com> wrote in message
news:01c13d20$059ce260$396fa8c0@ED1K…

Chris,
Try “Add repository” button from installer, enter the URL -
“file:///fs/cd0/repository”. Then try
to view this repository. Be careful, maybe you see uppercase names in pfm?
Enter path exactly as
you see in pfm.

Eduard

Hi Chris,

Chris Bope <chris.bope@soredex.com> wrote in article <9nv6tu$86g$1@inn.qnx.com>…

Eduard

Actually, that was one of the first things I tried…

There is also a sym link on the CD called \repository2, which points to the
\repository directory, I tried that also… same message.

There was CD repository under /repository2 in QNX RTP 6.0. I think that’s why there is this link on
the CD.

BTW, no “” in pathes in QNX. Use only “/”. It can be reason of your trouble.

Do you have the QNX RTP 6.1.0 CD, which you can try to read the repository
on your own machine? I’m wondering if I have somehow lost my mind…

Unfortunately, I have no QNX RTP 6.1.0 CD. I have 6.0 release CD, but I’ve upgraded my system to
6.1 release by upgrade package. I’m sure I have new release of Package Installer and it works. I’m
sorry for some inaccuraties in my previous post. So, I meant “Add…” when I’ve written “Add
repository”. I have only one idea, maybe the word “file://” was missing? (it’s not required in my
system, but I have no any net)

I may just try re-installing RTP at this point.

I tried Installer at my system last week-end. So, Installer should work if

You must be root

1/ Click on the “QNX CD-ROM Repository” in the list (left half of window), then click “View
repository” button. Make sure you have selected “View: New software” and platforms (x86) at top of
window.

2/ From command line you type the next:
#pkg-installer -ufile:///fs/cd0/repository


Cheers,
Eduard.


???

Chris

“ed1k” <> ed1k@yahoo.com> > wrote in message
news:01c13d20$059ce260$396fa8c0@ED1K…
Chris,
Try “Add repository” button from installer, enter the URL -
“file:///fs/cd0/repository”. Then try
to view this repository. Be careful, maybe you see uppercase names in pfm?
Enter path exactly as
you see in pfm.

Eduard
\

Eduard


There was CD repository under /repository2 in QNX RTP 6.0. I think that’s
why there is this link on
the CD.

BTW, no “” in pathes in QNX. Use only “/”. It can be reason of your
trouble.

Yes… my mistake. I meant to type /repository2, not \repository2.



Unfortunately, I have no QNX RTP 6.1.0 CD. I have 6.0 release CD, but I’ve
upgraded my system to
6.1 release by upgrade package. I’m sure I have new release of Package
Installer and it works. I’m
sorry for some inaccuraties in my previous post. So, I meant “Add…” when
I’ve written “Add
repository”. I have only one idea, maybe the word “file://” was missing?
(it’s not required in my
system, but I have no any net)

I read in the documentation that the path for the pkg-installer pre-pends
the file:// if it has been omitted. So the path passed to the pkg-installer
assumes it is a local file unless you pre-pend the path with either http://
or ftp://.

I tried Installer at my system last week-end. So, Installer should work if

You must be root

1/ Click on the “QNX CD-ROM Repository” in the list (left half of window),
then click “View
repository” button. Make sure you have selected “View: New software” and
platforms (x86) at top of
window.

2/ From command line you type the next:
#pkg-installer -ufile:///fs/cd0/repository

Tried this as well, same error message, no repository found. Haven’t had the
time to re-install, I doubt I’ll attempt anything else until I try that.

Chris

Chris,

Installer tries to open and read all qpm files in repository in order to creat repository tree for
you. Maybe it fails to read some file and you have got that message. So at last, you could try to
copy all files under /fs/cd0/repository to directory on HDD and point the repository on hard drive
for installer. BTW, you will see if reading problem takes place. If you have dual (or more) boot
system you can copy repository to FAT or EXT2 partition under alternative OS. Maybe problem is with
CD-ROM (drive or disk) under RTP?

Cheers,
Eduard.

Eduard

That sounds like something worth trying. I doubt the problem is with a
certain file though, as the error message comes up immediately upon trying
to read the repository. I would guess if it were a file problem, it would at
least read for a short period before throwing up the message. To my
estimate, the error is popping up too fast for that to be the case.

Anyhow… it’s worth a shot before I re-install… :slight_smile:

Chris

“ed1k” <ed1k@yahoo.com> wrote in message
news:01c13f5c$deed0160$396fa8c0@ED1K…

Chris,

Installer tries to open and read all qpm files in repository in order to
creat repository tree for
you. Maybe it fails to read some file and you have got that message. So at
last, you could try to
copy all files under /fs/cd0/repository to directory on HDD and point the
repository on hard drive
for installer. BTW, you will see if reading problem takes place. If you
have dual (or more) boot
system you can copy repository to FAT or EXT2 partition under alternative
OS. Maybe problem is with
CD-ROM (drive or disk) under RTP?

Cheers,
Eduard.

Chris,
I have that error message if I really pointed installer to a wrong place. Never for other case.
Maybe installer receives “drive not ready” or something else in your case. Maybe the first tried
file can not be read. I’ve forgotten to say the files in subdirectories is required also. There is
license information in them. So, try to copy all files and subdirectories to hdd in order to
install packages from hdd. But you will see the repository tree, I hope :wink:, without them.

If you tried “pkg-installer -ufile:///fs/cd0/repository” I can not imagine something else at the
moment.

Eduard.

Hmmm…

I have the exact same problem. I didn’t report it, because my CD-drive is
very unstable - so I thought that was it.
A workaround is to copy the entire repository from the CD to the HD and
configure the installer to use this.
My stupid CD-drive stopped working after i copied 2/3 of the files - but at
least some of the programs could be installed without problems, so with a
working CD-drive you should be able to do it.

BTW… now i have 2/3 of the files copied (thats something like 800 files)
is there any way of comparing the two directories and only try to copy the
missing files?

Jonas

Hi Jonas,

Jonas Ørting <jno@mailme.dk> wrote in article <9p1u4e$4sa$1@inn.qnx.com>…

BTW… now i have 2/3 of the files copied (thats something like 800 files)
is there any way of comparing the two directories and only try to copy the
missing files?

I’m using Midnight Commander, it’s very similar to Norton Commander. It has menu, so you can easy
to select action for existing files (Overwrite: All, Update, None, if size differs). Anyway, cp
command has the same options. I believe “cp -u” or “cp --update” is that you need. Type “use cp”
for detailed help. By the way, photon’s File Manager should have the same menu, just right-click on
/fs/cd0/repository and choose in menu “copy to” destination, I believe you’ll get the request on
action with an existing files.

Best regards,
Eduard.