Skip to contentSkip to conversation

uninstalling source package

DISCUSSION Andrew 5 participants 5 messages Sep 1, 2004 – Sep 2, 2004

lore
Share & tools
lore

Andrew

author
#0 lore raw

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#1 lore raw
Quoted 9 lines · 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.

Quoted 9 lines

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 looking
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 was
installed. If you didn't, the first file installed was probably /usr/lib/perl5/site_perl/{$PERL_VERSION}/Mail/SpamAssassin.pm - 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 an
opportunity to log what it installs, and even to take a 'before' copy of 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 or 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

Signature · 7 lines
 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#2 lore raw

Ghostview: How to print one page

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 &nbsp
Mark ... &nbsp
(et cetera)

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

Regards, Chuck

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

#3 lore raw

Re: Ghostview: How to print one page

Quoted 6 lines · chuck gelm

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#4 lore raw

Re: Ghostview: How to print one page

In reply to chuck gelm
Quoted 5 lines · chuck gelm

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

Quoted 9 lines

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 &nbsp
Mark ... &nbsp
(et cetera)

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

Quoted 3 lines

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

&nbsp is a nonbreakable space in html

Quoted 2 lines

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs