Hi,
is there a better way to remove GNOME2 packages from a Solaris 10
installation than the following one
/bin/yes | pkgrm -A -Y GNOME2
?
Bye, Dragan
--
Dragan Cvetkovic,
To be or not to be is true. G. Boole No it isn't. L. E. J. Brouwer
!!! Sender/From address is bogus. Use reply-to one !!!
|
|
0
|
|
|
|
Reply
|
Dragan
|
3/30/2005 2:03:21 PM |
|
"Dragan Cvetkovic" <me@privacy.net> wrote in message
news:lmy8c5ut7a.fsf@privacy.net...
> Hi,
>
> is there a better way to remove GNOME2 packages from a Solaris 10
> installation than the following one
>
> /bin/yes | pkgrm -A -Y GNOME2
>
> ?
>
> Bye, Dragan
>
> --
> Dragan Cvetkovic,
>
That would be the cleanist way to remove GNOME2.
Bog Patrick
|
|
0
|
|
|
|
Reply
|
paddy_nyr
|
3/30/2005 2:37:03 PM
|
|
On Wed, 30 Mar 2005, Dragan Cvetkovic wrote:
> is there a better way to remove GNOME2 packages from a Solaris 10
> installation than the following one
Don't install it in the first place? ;-)
--
Rich Teer, SCNA, SCSA
President,
Rite Online Inc.
Voice: +1 (250) 979-1638
URL: http://www.rite-group.com/rich
|
|
0
|
|
|
|
Reply
|
Rich
|
3/30/2005 3:37:10 PM
|
|
Rich Teer <rich.teer@rite-group.com> writes:
> On Wed, 30 Mar 2005, Dragan Cvetkovic wrote:
>
>> is there a better way to remove GNOME2 packages from a Solaris 10
>> installation than the following one
>
> Don't install it in the first place? ;-)
I wish I could. But if I choose a custom install, I have to wade throgh the
see of packages and check/uncheck them.
Easier to install it and remove immediatelly :-) Less manual work.
Dragan
--
Dragan Cvetkovic,
To be or not to be is true. G. Boole No it isn't. L. E. J. Brouwer
!!! Sender/From address is bogus. Use reply-to one !!!
|
|
0
|
|
|
|
Reply
|
Dragan
|
3/30/2005 3:47:40 PM
|
|
Dragan Cvetkovic wrote:
> Rich Teer <rich.teer@rite-group.com> writes:
>
>
>>On Wed, 30 Mar 2005, Dragan Cvetkovic wrote:
>>
>>
>>>is there a better way to remove GNOME2 packages from a Solaris 10
>>>installation than the following one
>>
>>Don't install it in the first place? ;-)
>
>
> I wish I could. But if I choose a custom install, I have to wade throgh the
> see of packages and check/uncheck them.
>
> Easier to install it and remove immediatelly :-) Less manual work.
>
> Dragan
>
And then he gets to teach us all about /bin/yes | pkgrm :) I learnt
something today -- fancy that.
--
Coy Hile
hile@cse.psu.edu
|
|
0
|
|
|
|
Reply
|
Coy
|
3/30/2005 4:01:33 PM
|
|
Coy Hile <hile@cse.psu.edu> writes:
> Dragan Cvetkovic wrote:
>> I wish I could. But if I choose a custom install, I have to wade throgh
>> the
>> see of packages and check/uncheck them. Easier to install it and remove
>> immediatelly :-) Less manual work.
>
> And then he gets to teach us all about /bin/yes | pkgrm :) I learnt
> something today -- fancy that.
Well, I had to invent that one yesterday when I got sick and tired of
answering y for more than 200 packages ...
Dragan
--
Dragan Cvetkovic,
To be or not to be is true. G. Boole No it isn't. L. E. J. Brouwer
!!! Sender/From address is bogus. Use reply-to one !!!
|
|
0
|
|
|
|
Reply
|
Dragan
|
3/30/2005 4:23:18 PM
|
|
Another way, but maybe not viable for you, is to perform that dredded
"custom" install, , but once that first custom install is completed,
just flash the box you just installed, and put it on a jump server,
then just jump all your other machines with that flash image.
I know... "sounds easy", right.
Oh yeah, I too was leant about "/bin/yes".
Thanks for the tip.
Darn, and I thought I knew everything about Solaris too! BAHHAHAHA.
LOL
ChrisS
|
|
0
|
|
|
|
Reply
|
ChrisS
|
3/30/2005 5:03:47 PM
|
|
"ChrisS" <chris.scarff@gmail.com> writes:
> Another way, but maybe not viable for you, is to perform that dredded
> "custom" install, , but once that first custom install is completed,
> just flash the box you just installed, and put it on a jump server,
> then just jump all your other machines with that flash image.
>
Just did that (created flash image, that is). Now, I only need more machine
to jump them with. Donations accepted :-)
Dragan
--
Dragan Cvetkovic,
To be or not to be is true. G. Boole No it isn't. L. E. J. Brouwer
!!! Sender/From address is bogus. Use reply-to one !!!
|
|
0
|
|
|
|
Reply
|
Dragan
|
3/30/2005 5:30:28 PM
|
|
In article <lmacolujm3.fsf@privacy.net>, Dragan Cvetkovic <me@privacy.net> wrote:
> "ChrisS" <chris.scarff@gmail.com> writes:
>
>> Another way, but maybe not viable for you, is to perform that dredded
>> "custom" install, , but once that first custom install is completed,
>> just flash the box you just installed, and put it on a jump server,
>> then just jump all your other machines with that flash image.
>
> Just did that (created flash image, that is). Now, I only need more machine
> to jump them with. Donations accepted :-)
You could probably set up Solaris x86 in VMware and set up a jumpstart
server that way using existing hardware easily available. :)
Of course, VMware costs money -- USD $199.95, so...
(I haven't tested this exact combination, but have tried Solaris 10/x86
as an installation under VMware -- works fine, and can't imagine why it
wouldn't work as a jumpstart server even from within VMware.)
-Dan
|
|
0
|
|
|
|
Reply
|
Dan
|
3/30/2005 6:04:36 PM
|
|
paddy_nyr wrote:
> "Dragan Cvetkovic" <me@privacy.net> wrote in message
> news:lmy8c5ut7a.fsf@privacy.net...
>
>> Hi,
>>
>>is there a better way to remove GNOME2 packages from a Solaris 10
>>installation than the following one
>>
>>/bin/yes | pkgrm -A -Y GNOME2
pkginfo | grep -i gnome | awk '{print $1}' | xargs pkgrm -n
iirc. I don't have a solaris machine to test at the moment.
[ Rich, don't laugh :P ]
-Bruno
|
|
0
|
|
|
|
Reply
|
Bruno
|
3/31/2005 7:07:00 AM
|
|
Bruno Saverio Delbono wrote:
> paddy_nyr wrote:
>
>> "Dragan Cvetkovic" <me@privacy.net> wrote in message
>> news:lmy8c5ut7a.fsf@privacy.net...
>>
>>> Hi,
>>>
>>> is there a better way to remove GNOME2 packages from a Solaris 10
>>> installation than the following one
>>>
>>> /bin/yes | pkgrm -A -Y GNOME2
>
>
> pkginfo | grep -i gnome | awk '{print $1}' | xargs pkgrm -n
maybe it's $2 in place of $1 (no sun machine around to even do this!
What a shame!!!)
|
|
0
|
|
|
|
Reply
|
Bruno
|
3/31/2005 7:13:24 AM
|
|
Bruno Saverio Delbono wrote:
> paddy_nyr wrote:
>
>> "Dragan Cvetkovic" <me@privacy.net> wrote in message
>> news:lmy8c5ut7a.fsf@privacy.net...
>>
>>> Hi,
>>>
>>> is there a better way to remove GNOME2 packages from a Solaris 10
>>> installation than the following one
>>>
>>> /bin/yes | pkgrm -A -Y GNOME2
>
>
> pkginfo | grep -i gnome | awk '{print $1}' | xargs pkgrm -n
maybe it's $2 in place of $1 (no sun machine around to even do this!
What a shame!!!)
|
|
0
|
|
|
|
Reply
|
Bruno
|
3/31/2005 7:13:36 AM
|
|
Dragan Cvetkovic wrote:
>>And then he gets to teach us all about /bin/yes | pkgrm :) I learnt
>>something today -- fancy that.
>
>
> Well, I had to invent that one yesterday when I got sick and tired of
> answering y for more than 200 packages ...
I'm surprised no one has mentioned using an alternate admin file for
pkgadd/pkgrm.
Put the following into a file:
mail=
instance=overwrite
partial=nocheck
runlevel=nocheck
idepend=nocheck
rdepend=nocheck
space=nocheck
setuid=nocheck
conflict=nocheck
action=nocheck
basedir=default
Then you can run 'pkgrm -n -a /path/to/above/file -Y GNOME2'
In the future, if you need to install a mass of packages, just run:
pkgadd -n -a /path/to/above/file -d <package dir> <package names>
Be careful with the "instance=overwrite" setting, though.
/dale
|
|
0
|
|
|
|
Reply
|
Dale
|
3/31/2005 7:45:37 AM
|
|
[ChrisS]:
>
> Oh yeah, I too learnt about "/bin/yes".
>
> Thanks for the tip.
amazingly, yes(1) didn't appear until Solaris 9. (it was included in
good old SunOS 4.x of course.)
yes() { while :; do echo ${1-y}; done; }
--
Kjetil T.
|
|
0
|
|
|
|
Reply
|
Kjetil
|
3/31/2005 11:24:54 AM
|
|
On Wed, 30 Mar 2005 09:03:21 -0500
Dragan Cvetkovic <me@privacy.net> wrote:
> Hi,
>
> is there a better way to remove GNOME2 packages from a Solaris 10
> installation than the following one
>
> /bin/yes | pkgrm -A -Y GNOME2
> /usr/dt/config/C
And if you want a sane looking login screen instead of that ugly green
plastered thingy, get rid of or modify to your liking:
/usr/dt/config/C/styleModern
--
Barbie - Prayers are like junkmail for Jesus
I have seen things you lusers would not believe.
I've seen Sun monitors on fire off the side of the multimedia lab.
I've seen NTU lights glitter in the dark near the Mail Gate.
All these things will be lost in time, like the root partition last
week. Time to die.
|
|
0
|
|
|
|
Reply
|
Barbie
|
3/31/2005 11:38:45 AM
|
|
prodreg will let you uninstall pkg groups, it may work
|
|
0
|
|
|
|
Reply
|
brandysimon
|
3/31/2005 12:27:54 PM
|
|
Dale Ghent <daleg+nntp@elemental.org> writes:
> Dragan Cvetkovic wrote:
>
>>>And then he gets to teach us all about /bin/yes | pkgrm :) I learnt
>>>something today -- fancy that.
>> Well, I had to invent that one yesterday when I got sick and tired of
>> answering y for more than 200 packages ...
>
> I'm surprised no one has mentioned using an alternate admin file for
> pkgadd/pkgrm.
>
> Put the following into a file:
>
> mail=
> instance=overwrite
> partial=nocheck
> runlevel=nocheck
> idepend=nocheck
> rdepend=nocheck
> space=nocheck
> setuid=nocheck
> conflict=nocheck
> action=nocheck
> basedir=default
>
> Then you can run 'pkgrm -n -a /path/to/above/file -Y GNOME2'
Actually, I did use an alternative admin file (the same as
above), but it was still asking me if I want to remove package SUNW... The
above simply doesn't prompt you for "package X depends on package Y. Do you
still want to remove it?" kind of questions.
However, I didn't try -n option as I was put off by pkgrm man page saying:
-n Non-interactive mode. If there is a need for
interaction, the command will exit.
Bye, Dragan
--
Dragan Cvetkovic,
To be or not to be is true. G. Boole No it isn't. L. E. J. Brouwer
!!! Sender/From address is bogus. Use reply-to one !!!
|
|
0
|
|
|
|
Reply
|
Dragan
|
3/31/2005 2:24:53 PM
|
|
"brandysimon@gmail.com" <brandysimon@gmail.com> writes:
> prodreg will let you uninstall pkg groups, it may work
I did try that. It was my first idea as well. However, GNOME2 is a part of
"Entire distributions" forcing you into interactive uninstall which means
it will run pkgrm for you asking you to confirm all its questions. Gave up
on it after 3 or 4 package removals...
Dragan
--
Dragan Cvetkovic,
To be or not to be is true. G. Boole No it isn't. L. E. J. Brouwer
!!! Sender/From address is bogus. Use reply-to one !!!
|
|
0
|
|
|
|
Reply
|
Dragan
|
3/31/2005 2:27:24 PM
|
|
In article <424BAAA1.4060604@elemental.org>,
Dale Ghent <daleg+nntp@elemental.org> wrote:
....
....
>action=nocheck
>basedir=default
>
>Then you can run 'pkgrm -n -a /path/to/above/file -Y GNOME2'
>
>In the future, if you need to install a mass of packages, just run:
>
>pkgadd -n -a /path/to/above/file -d <package dir> <package names>
>
>Be careful with the "instance=overwrite" setting, though.
Please say a bit more on the "be careful" bit, especially
what *you* do to ensure that you're not going to screw everything.
And if anyone else can contribute, please do!
(Sure seems useful, this scheme, but just how dangerous is it?)
Thanks!
David
|
|
0
|
|
|
|
Reply
|
dkcombs
|
4/22/2005 12:08:03 AM
|
|
In article <lmmzsj99gz.fsf@privacy.net>,
Dragan Cvetkovic <dragan_news@gmx.net> wrote:
>"brandysimon@gmail.com" <brandysimon@gmail.com> writes:
>
>> prodreg will let you uninstall pkg groups, it may work
>
>I did try that. It was my first idea as well. However, GNOME2 is a part of
>"Entire distributions" forcing you into interactive uninstall which means
>it will run pkgrm for you asking you to confirm all its questions. Gave up
>on it after 3 or 4 package removals...
>
>Dragan
PRODREG! Man, did that give me problems last time I used it!
One thing drove me crazy -- it would report directories as
existing (for .log-files, I think) that hadn't yet been
created.
That program sure could stand some improving -- something that
*every* Sun customer (or admin, anyway) is being advised
(by instructions on installing that freebie-extra-software CD
that comes with solaris media-packs)!
David
|
|
0
|
|
|
|
Reply
|
dkcombs
|
4/22/2005 12:16:33 AM
|
|
|
19 Replies
673 Views
(page loaded in 0.11 seconds)
|