I just installed, on a new hard drive, not an 'upgrade', Suse 9.3. Note: it does not come with dosemu! I downloaded the rpm, and when I attempted to install it, I got the following error: error: cannot get exclusive lock on /var/lib/rpm/Packages error: cannot open Packages index using db3 - Operation not permitted (1) error: cannot open Packages database in /var/lib/rpm Any ideas? John
On Saturday 18 June 2005 16:37, John R. Sowden wrote:
I just installed, on a new hard drive, not an 'upgrade', Suse 9.3. Note: it does not come with dosemu! I downloaded the rpm, and when I attempted to install it, I got the following error:
error: cannot get exclusive lock on /var/lib/rpm/Packages error: cannot open Packages index using db3 - Operation not permitted (1) error: cannot open Packages database in /var/lib/rpm
Looks like you tried installing the rpm as a normal user. su to root and try again
On Saturday 18 June 2005 07:48, Anders Johansson wrote:
On Saturday 18 June 2005 16:37, John R. Sowden wrote:
I just installed, on a new hard drive, not an 'upgrade', Suse 9.3. Note: it does not come with dosemu! I downloaded the rpm, and when I attempted to install it, I got the following error:
error: cannot get exclusive lock on /var/lib/rpm/Packages error: cannot open Packages index using db3 - Operation not permitted (1) error: cannot open Packages database in /var/lib/rpm
Looks like you tried installing the rpm as a normal user. su to root and try again
I am supposed to install it as a user, not root, so the files are in /opt and in my home directory. actually I did install it as root by mistake (su) so I had to use locate to find all the pieces to delete.
On Saturday 18 June 2005 16:48, John R. Sowden wrote:
On Saturday 18 June 2005 07:48, Anders Johansson wrote:
On Saturday 18 June 2005 16:37, John R. Sowden wrote:
I just installed, on a new hard drive, not an 'upgrade', Suse 9.3. Note: it does not come with dosemu! I downloaded the rpm, and when I attempted to install it, I got the following error:
error: cannot get exclusive lock on /var/lib/rpm/Packages error: cannot open Packages index using db3 - Operation not permitted (1) error: cannot open Packages database in /var/lib/rpm
Looks like you tried installing the rpm as a normal user. su to root and try again
I am supposed to install it as a user, not root,
Not with rpm you're not. Then you'll get the error message you got.
so the files are in /opt and in my home directory. actually I did install it as root by mistake (su) so I had to use locate to find all the pieces to delete.
Are we still talking about rpm? Then why not just uninstall it with "rpm -e dosemu" ? By the way, dosemu is included in 9.3
On Saturday 18 June 2005 08:02, Anders Johansson wrote:
On Saturday 18 June 2005 16:48, John R. Sowden wrote:
On Saturday 18 June 2005 07:48, Anders Johansson wrote:
On Saturday 18 June 2005 16:37, John R. Sowden wrote:
I just installed, on a new hard drive, not an 'upgrade', Suse 9.3. Note: it does not come with dosemu! I downloaded the rpm, and when I attempted to install it, I got the following error:
error: cannot get exclusive lock on /var/lib/rpm/Packages error: cannot open Packages index using db3 - Operation not permitted (1) error: cannot open Packages database in /var/lib/rpm
Looks like you tried installing the rpm as a normal user. su to root and try again
I am supposed to install it as a user, not root,
Not with rpm you're not. Then you'll get the error message you got.
so the files are in /opt and in my home directory. actually I did install it as root by mistake (su) so I had to use locate to find all the pieces to delete.
Are we still talking about rpm? Then why not just uninstall it with "rpm -e dosemu" ?
By the way, dosemu is included in 9.3
Thanks for the response. If suggesting "rpm -e dosemu" was a trick to get get me to re-read the man file for rpm, it worked, but there is no option -e to be found. there is -el if I wish to erase something, but no -e alone. I used rpm -il because that is what the man page said, but that did not work. Carlos just dropped me a note saying that rpm can only be used by root, although I do not understand why I didn't get a "command not found", possibly due to the display options in rpm. re: dosemu being in suse 9.3, I searched for 'dosemu dose dos' and dosemu did not come up during the install process, as I select files to get things like LOCATE! When I just used yast, it came up, but it had a lock in the first column. I clicked accept, it said Install more/finish I clicked on finish. at the botton corner I clicked (finish/accept?). Yast terminated and went back to the yast menu. I tried this several times, including clicking on install more and changing the padlock to a check mark, no change. As it appears that I might have to download and undo the .tgz files, could you please tell me the commands (as usaer, not root). tia, john
On Sat, 2005-06-18 at 17:40 -0700, John R. Sowden wrote:
On Saturday 18 June 2005 08:02, Anders Johansson wrote:
Thanks for the response. If suggesting "rpm -e dosemu" was a trick to get get me to re-read the man file for rpm, it worked, but there is no option -e to be found. there is -el if I wish to erase something, but no -e alone. I used rpm -il because that is what the man page said, but that did not work.
Carlos just dropped me a note saying that rpm can only be used by root, although I do not understand why I didn't get a "command not found", possibly due to the display options in rpm.
re: dosemu being in suse 9.3, I searched for 'dosemu dose dos' and dosemu did not come up during the install process, as I select files to get things like LOCATE! When I just used yast, it came up, but it had a lock in the first column. I clicked accept, it said Install more/finish I clicked on finish. at the botton corner I clicked (finish/accept?). Yast terminated and went back to the yast menu. I tried this several times, including clicking on install more and changing the padlock to a check mark, no change.
As it appears that I might have to download and undo the .tgz files, could you please tell me the commands (as usaer, not root).
tia, john
Try using (as root) pin dosemu (you may have to have the DVD/CD1 in the drive to copy a file to the hard drive) to see if the program is on your media and whether or not it is installed. Also rpm -e <package name> will work but must be run as root. And you need to supply the correct name of the package as it was installed. rpm -qa|grep -i <part_of_package_name> will give you the name of the installed package. Ex. rpm -qa|grep -i dos should find any installed package that has dos in any part of the package name. rpm can be run as a user to find out which packages are installed and to use other search functions within rpm but not to install or remove packages. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
On Sunday 19 June 2005 02:40, John R. Sowden wrote:
Thanks for the response. If suggesting "rpm -e dosemu" was a trick to get get me to re-read the man file for rpm, it worked, but there is no option -e to be found. there is -el if I wish to erase something, but no -e alone. I used rpm -il because that is what the man page said, but that did not work.
Er, no, that thing in the man page is an "or" sign, not the letter following k in the alphabet. When it says rpm -e|--erase it means "either rpm -e or rpm --erase" -e is very much a valid option to rpm. -i means to install a package, not to uninstall it. Again, the | thing means "or", not the letter following k in the alphabet
Carlos just dropped me a note saying that rpm can only be used by root, although I do not understand why I didn't get a "command not found", possibly due to the display options in rpm.
You didn't get "command not found" because - well - the command was found. You can't use rpm to install or uninstall as a regular user, but you can use it for things like checking if a package is installed, with rpm -q; checking the contents, with rpm -ql; verifying the package, with rpm -V, and so on.
re: dosemu being in suse 9.3, I searched for 'dosemu dose dos' and dosemu did not come up during the install process, as I select files to get things like LOCATE! When I just used yast, it came up, but it had a lock in the first column. I clicked accept, it said Install more/finish I clicked on finish. at the botton corner I clicked (finish/accept?). Yast terminated and went back to the yast menu. I tried this several times, including clicking on install more and changing the padlock to a check mark, no change.
You probably installed from CD. dosemu is on the 9.3 DVD, not on the CD. It is also available from the ftp site http://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/suse/i386/9.3/suse/i586/dosem...
As it appears that I might have to download and undo the .tgz files, could you please tell me the commands (as usaer, not root).
Usually it's ./configure --prefix=/home/<your username>/some_dorectory make make install but it shouldn't be necessary in this case
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Saturday 2005-06-18 at 17:40 -0700, John R. Sowden wrote:
Carlos just dropped me a note saying that rpm can only be used by root, although I do not understand why I didn't get a "command not found", possibly due to the display options in rpm.
I probably misled you a bit. A user can run rpm, of course, but only for queries and such. To install or remove packages you need to be root, simply because the rpm databases are writeable only by root, and because the destination places for installation of anything except your home dir can only be written by root. Ie, installing/unistalling is a root task.
As it appears that I might have to download and undo the .tgz files, could you please tell me the commands (as usaer, not root).
Notice that dosemu is included in the distro. You do not need that. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFCthXTtTMYHG2NR9URAo9xAJ9OaT2OSLYbMLos5i+cWazTCd8eugCfUiTE nkD2GkGUkOHdqaRJGiLmF6s= =oKP6 -----END PGP SIGNATURE-----
On Sunday 19 June 2005 18:03, Carlos E. R. wrote:
The Saturday 2005-06-18 at 17:40 -0700, John R. Sowden wrote:
Carlos just dropped me a note saying that rpm can only be used by root, although I do not understand why I didn't get a "command not found", possibly due to the display options in rpm.
I probably misled you a bit. A user can run rpm, of course, but only for queries and such. To install or remove packages you need to be root, simply because the rpm databases are writeable only by root, and because the destination places for installation of anything except your home dir can only be written by root.
Ie, installing/unistalling is a root task.
As it appears that I might have to download and undo the .tgz files, could you please tell me the commands (as usaer, not root).
Notice that dosemu is included in the distro. You do not need that.
-- Cheers, Carlos Robinson
Thanks for the response. It turns out that some programs, including dosemu, are not on the CD's, only the DVD's. It would be nice if the Yast program indicated this, as dosemu did not answer any searches during the install, but when I used Yast, it showed up in the search. When installing dosemu, the install is different for a root install vs. a user install. I wanted a user install. The solution was to download the two .tgz files and install using tar. Now I'm running into permission issues with my partitions, but I am preparing a separate msg so there is no thread confusion. Thanks, John
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2005-06-19 at 21:13 -0700, John R. Sowden wrote:
Thanks for the response. It turns out that some programs, including dosemu, are not on the CD's, only the DVD's.
Yes, that's a known "feature" :-(
It would be nice if the Yast program indicated this, as dosemu did not answer any searches during the install, but when I used Yast, it showed up in the search.
True, Yast should indicate that some program is only available in the DVD - - or by FTP.
When installing dosemu, the install is different for a root install vs. a user install. I wanted a user install. The solution was to download the two .tgz files and install using tar.
I still don't understand why you need that... why you don't install the SuSE rpm, which I think YAST can get instead by FTP from the SuSE server or a mirror.
Now I'm running into permission issues with my partitions, but I am preparing a separate msg so there is no thread confusion.
Well, that's normal with a user install... As I say, I don't understand why you insist on a user install, specially with a program like that that's going to need root privileges to access somethings. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFCtqaDtTMYHG2NR9URAvX8AJ46Mi3VWd+zhPnTFRTXujLtmR6X3QCfbzO1 6iLZULC6hNYZtM8aDix3Qr8= =JBPP -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Saturday 2005-06-18 at 07:48 -0700, John R. Sowden wrote:
Note: it does not come with dosemu!
Then you must clean your eye-glasses, because it does come with it :-p ./DVD1/suse/i586/dosemu-1.2.2-3.i586.rpm
Looks like you tried installing the rpm as a normal user. su to root and try again
I am supposed to install it as a user, not root,
Where do you get that idea from? Rpms can only be installed by root. It is tgz which "can" be installed as "user". - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFCtHpptTMYHG2NR9URAu0XAJ0WCNpND/2NgYSOcZOdgav7HgOSLgCeMJ4c V18pITgG/dRfb+d/IVYuoP0= =vH4J -----END PGP SIGNATURE-----
participants (4)
-
Anders Johansson
-
Carlos E. R.
-
John R. Sowden
-
Ken Schneider