uninstalling source package

uninstalling source package

am 01.09.2004 17:49:36 von Andrew

Hi,
Silly me went and installed a source package on the wrong machine. The
package in question is Mail-SpamAssassin-2.64.tar.bz2 and the system is
Mdk-10. When I do 'make uninstall' I get:

Uninstall is unsafe and deprecated, the uninstallation was not
performed.
We will show what would have been done.

no packlist file found: at /usr/lib/perl5/5.8.3/ExtUtils/Install.pm
line 332.
make: *** [uninstall_from_sitedirs] Error 2

So how do I uninstall it?

TIA,
Andrew

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Re: uninstalling source package

am 01.09.2004 21:20:05 von Ken Moffat

On Wed, 1 Sep 2004, Andrew wrote:

> Hi,
> Silly me went and installed a source package on the wrong machine. Th=
e
> package in question is Mail-SpamAssassin-2.64.tar.bz2 and the system =
is
> Mdk-10. When I do 'make uninstall' I get:
>
> Uninstall is unsafe and deprecated, the uninstallation was not
> performed.
> We will show what would have been done.
>
> no packlist file found: at /usr/lib/perl5/5.8.3/ExtUtils/Install.pm
> line 332.
> make: *** [uninstall_from_sitedirs] Error 2
>
> So how do I uninstall it?
>
> TIA,
> Andrew
>
Terse answer: use `rm'

A slightly more detailed answer: identify what was installed by lookin=
g
for a known file from the package, then remove everything installed at
the same time.

If you logged the output of 'make install', that will tell you what wa=
s
installed. If you didn't, the first file installed was probably
/usr/lib/perl5/site_perl/{$PERL_VERSION}/Mail/SpamAssassin.p m - you can
use `ls -l' to see when you installed that, then remove anything
installed in the next few seconds (depending on your machine's speed).

Pointers, based on my ancient install of 2.55:

/usr/lib/perl5/site_perl/{$PERL_VERSION}/Mail/SpamAssassin/
/usr/man/man1/ # {sa-learn,spamassassin,spamd,spamc}.1
/usr/man/man3/ # {Mail::SpamAssassin*}
/usr/bin/ # programs as listed for man1

My 2.55 install also updated /usr/lib/.../SpamAssassin/.packlist ,
/usr/lib/.../perllocal.pod , /etc/mail/spamassassin , and
/usr/share/spamassassin. I'd normally refrain from editing
perllocal.pod on the grounds that superfluous entries pointing to a
no-longer existent spamassassin are unlikely to hurt you. The rest can
probably just be removed.

Of course, if you're going to install it on a different box, that is a=
n
opportunity to log what it installs, and even to take a 'before' copy o=
f
perllocal.pod so you can see what gets changed (then, if the perl
versions are equal and other perl packages are similar, you could diff
before and after and reverse the diff against the machine where you are
uninstalling).

But, at the end of the day I don't think it's a massive package and if
you haven't used it on the 'wrong' machine you'll only get back three o=
r
four MB of space so it probably isn't worth the bother. If you did use
it there, clear out the ~/.spamassassin directory.

Alternative answer: recover to the backups from before
you installed it ;-)

HTH

Ken
--=20
das eine Mal als Tragödie, das andere Mal als Farce

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie"=
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Ghostview: How to print one page

am 02.09.2004 15:39:47 von chuck gelm net

Howdy, Y'all:

How do I print one page of a '.pdf' file?
(or where can I go for help other than linux-newbie?)

I am using Slackware v9.1, kernel 2.4.22, Ghostview 2.4.0.1,
Gnome-2.4.0.
Ghostview's 'File-Print' option includes 'Print marked pages',
but I do not know how to mark pages. The 'Help' indicates:
Action Button
Mark all of the pages in a file  
Mark ...  
(et cetera)

No option indicates mark only one or 'this' page.
What the heck is ' '?

Regards, Chuck

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Re: Ghostview: How to print one page

am 02.09.2004 21:12:25 von Hal MacArgle

On 09-02, chuck gelm wrote:
> Howdy, Y'all:
>
> How do I print one page of a '.pdf' file?
> (or where can I go for help other than linux-newbie?)
>
> I am using Slackware v9.1, kernel 2.4.22, Ghostview 2.4.0.1,

Greetings OM:

I use xpdf, selecting the page or group of pages, then print to file
that is default .gs...

Has worked for me 2.4.20 and 2.4.22..

Hal - in Terra Alta, WV - Slackware GNU/Linux 9.0 (2.4.20-1)
..
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Re: Ghostview: How to print one page

am 02.09.2004 23:53:39 von Szonyi Sebastian Calin

On Thu, 2 Sep 2004, chuck gelm wrote:

> Howdy, Y'all:
>
> How do I print one page of a '.pdf' file?
> (or where can I go for help other than linux-newbie?)
>

reading the manual page

> I am using Slackware v9.1, kernel 2.4.22, Ghostview 2.4.0.1,
> Gnome-2.4.0.
> Ghostview's 'File-Print' option includes 'Print marked pages',
> but I do not know how to mark pages. The 'Help' indicates:
> Action Button
> Mark all of the pages in a file  
> Mark ...  
> (et cetera)
>

pages should be marked with right click on the page number panel

> No option indicates mark only one or 'this' page.
> What the heck is ' '?
>

  is a nonbreakable space in html

> Regards, Chuck
>

--
"A mouse is a device used to point at
the xterm you want to type in".
Kim Alm on a.s.r.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs