Koozali.org: home of the SME Server

rpm manager

tanyu

rpm manager
« on: March 05, 2003, 12:40:21 PM »
Does anyone knows of a true rpm-manager (like those used with gnome or kdp) in text version usable on sme server 5.5 ???
this would be a great help to me as i wish to uninstall some rpms and rpm -e tells me 'this rpm in not installed' although it really is installed...
any help would be appreciated.

tnx in advance.

Phil.

Ray Mitchell

Re: rpm manager
« Reply #1 on: March 05, 2003, 12:51:50 PM »
Phil
What command are you exactly entering to uninstall ?
You should only enter
rpm -e rpmname (without the numbers or suffix)

eg to uninstall dmc-mitel-backup2ws-0.0.1-14.noarch.rpm

you would do
rpm -e dmc-mitel-backup2ws

Apart from that there is an add on for server manager to manage rpms, find it at
http://www.dungog.net/sme/howto/install.php

Regards
Ray Mitchell

tanyu

Re: rpm manager
« Reply #2 on: March 05, 2003, 01:09:50 PM »
You're right... I finally suceeded in uninstalling some by doing a :

rpm -q -a

copying the line of result that interested me,

then pasing it to obtain

rpm -e [pasted result]

It works this way...

But it's way less practical than with a real manager ;-)))

tnx anyway for your help.

--
Phil.

Ray Mitchell

Re: rpm manager
« Reply #3 on: March 05, 2003, 01:24:54 PM »
If you don't like the command line then have a look at

http://www.dungog.net/sme/howto/install.php

which adds an extra panel to the server manger to allow you to select the rpms you wish to install or uninstall. Access the server manager using
http://yourservername/server-manager

Of course you will have to instal this rpm using the command line
rpm -Uvh devinfo-mitel-update-system-0.0.1-12.noarch.rpm

and also run the command to enable uninstalling

Regards
Ray Mitchell

Cyrus Bharda

Re: rpm manager
« Reply #4 on: March 06, 2003, 01:27:41 AM »
> and also run the command to enable uninstalling

What command is that?

Cyrus Bharda

Ray Mitchell

Re: rpm manager
« Reply #5 on: March 06, 2003, 02:55:07 AM »
Cyrus
If you have a look at the page at
http://www.dungog.net/sme/howto/install.php
it explains it all. Down the bottom are the details, excerpt below:

The advanced page lets you set the --force or --nodeps options. Rpms can be uninstalled from the advanced page. This is potentially dangerous to your server if you select the wrong one. This option is only available after enabling it with the following command;

/sbin/e-smith/db configuration setprop updatesystem RemoveRpm enabled

Regards
Ray Mitchell

Cyrus Bharda

Re: rpm manager
« Reply #6 on: March 06, 2003, 06:21:53 AM »
Cool Thanks Ray!!!!

Cyrus Bharda

Mike

Re: rpm manager
« Reply #7 on: March 08, 2003, 03:43:55 PM »
Hi you all

I am using 5.6 and wanted to install the devinfo-mitel-update-system-0.0.1-12.noarch.rpm too but I got the following message:
-------------------------
Mitel Networks SME Server
-------------------------

Standard user login services have been disabled.

Type "end" and press ENTER to terminate this connection:

The installation procedures on http://www.dungog.net/sme/howto/install.php seemed so simple.
Did something change in 5.6?
How do I enable standard user login services or can I also install it using the root user and where do I copy the rpm to then.

Ray Mitchell

Re: rpm manager
« Reply #8 on: March 08, 2003, 04:36:47 PM »
Mike
The instructions say to copy to your home folder, but any folder is OK
/home/e-smith/files/users/yourname/home

If you type
mc
at the command prompt you can move around using midnight commander also.

You should ssh and login as user = root initially, and install that way.

If you wish to enable login for user accounts search these forums for the answer, it has been answered before, I think there is a contrib howto at e-smith.org contribs or some other sites, see www.e-smith.org for links.

Regards
Ray Mitchell

Instructions
Summary:Installing modules or rpms using the browser based server manager.
Installing 'update-system' rpm
Download and install devinfo-mitel-update-system, if you are unsure of how to do this follow the following steps

download and save the above rpm to your server in your home directory
ssh into your server and change directories to your home directory, eg cd /home/e-smith/files/users/bruce/home/
type, rpm -Uvh devinfo-mitel-update-system-0.1-1?.noarch.rpm
Congratulations, ALL rpms can now be installed via a browser.

Mike

Re: rpm manager
« Reply #9 on: March 09, 2003, 12:27:21 PM »
Thanks Ray

I solved the problem by installing the RPM as root.
You always talk about SSH but nobody says that you can also just take place behind your SME and just do it directly.
I am pro for keeping it simple but it si good to know ofcause that it is possible....
Thanks again.

Brian

Re: rpm manager
« Reply #10 on: March 09, 2003, 01:20:03 PM »
hi all !

I've installede the update rpm aswell - and can with no problem update and get an overview of all the rpms on my sme server 5.6

BUT..I cant uninstall ....my advanced options doesn't have that options ??

Thanks

Ray Mitchell

Re: rpm manager
« Reply #11 on: March 09, 2003, 04:47:26 PM »
Brian
If you take the time to read the instructions carefully it says:

Rpms can be uninstalled from the advanced page. This is potentially dangerous to your server if you select the wrong one. This option is only available after enabling it with the following command;

/sbin/e-smith/db configuration setprop updatesystem RemoveRpm enabled

Try that
Regards
Ray

Brian

Re: rpm manager
« Reply #12 on: March 09, 2003, 06:37:52 PM »
Yep it did work.

Sorry I guess I need glassed ;)

Thanks