LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Pkgtool .......... uninstall --->reinstall (https://www.linuxquestions.org/questions/slackware-14/pkgtool-uninstall-reinstall-257711/)

justaguynsrq 11-21-2004 05:13 PM

Pkgtool .......... uninstall --->reinstall
 
I thought I could safely remove packages that I wouldn't need, secondary to "duplicate software", getting rid of ancillary programs that would not impact the health of my machine overall, i.e. duplicate browsers, and the like. However, my favorite text editor, Pico seems to have either been impacted or removed, maybe it was a dependency issue. (?)

I learned, afterwards, that pkgtool does not have the option of "re-installing", after reviewing pkgtool options.

I recall these packages were either listed in a file or "moved" to a directory. (Not actually REMOVING them at all ?) I want to review the damage I caused, and maybe re-install them, and take additional time to consider the impact that can cause by removing packages in the first place.

Do these packages remain on my system?
Where are those packages I removed?
Can I "re-install" them without reinventing the wheel?

TIA

justaguy

Tinkster 11-21-2004 05:21 PM

Re: Pkgtool .......... uninstall --->reinstall
 
Quote:

Originally posted by justaguynsrq
Do these packages remain on my system?
No

Quote:

Where are those packages I removed?
If you mean: where can I find them for a re-install?
On your CDs.
If you mean: where can I see what I deleted?
ls -ltr /var/log/removed_packages

Quote:

Can I "re-install" them without reinventing the wheel?
Huh?


Cheers,
Tink

justaguynsrq 11-21-2004 05:43 PM

Thanks Tink

I can always count on a bit of twisted humor when I read posts you have replied to !!! :D

justaguy

Tinkster 11-21-2004 05:47 PM

Heh - glad I entertained you :)

Did it help though, too? And what did you actually mean
by questions 2 and 3?


Cheers,
Tink

justaguynsrq 11-21-2004 08:50 PM

#2 Package was removed, but available on the system, maybe in .tgz form, maybe (?)

#3 While, if indeed it was still "available", how I would go about "re-installing"


I guess you could call it positive thinking (?), a side effect to MS hangover (?), since it was "removed" and not "deleted", it was "available somewhere" (?).

justaguynsrq 11-21-2004 08:51 PM

Smartass! :)

justaguynsrq 11-21-2004 08:58 PM

-rw-r--r-- 1 root root 22872 2004-11-09 16:27 gaim-1.0.2-i486-1
-rw-r--r-- 1 root root 15764 2004-11-09 16:32 hpijs-1.7-i486-1
-rw-r--r-- 1 root root 898 2004-11-09 16:43 nail-11.13-i486-1
-rw-r--r-- 1 root root 2328 2004-11-09 16:44 nmap-3.75-i486-1
-rw-r--r-- 1 root root 1535 2004-11-09 16:45 pine-4.61-i486-1
-rw-r--r-- 1 root root 13686 2004-11-09 16:48 sane-1.0.14-i486-3
-rw-r--r-- 1 root root 9213 2004-11-09 16:51 xsane-0.96-i486-1

These are the packages I ................... DELETED / removed.

How do I go about retrieving these from CD ?

I appreciate your input / humor ...................... and continued support.

(Still shaking my head why this affected Pico)

justaguy

gnashley 11-21-2004 09:25 PM

Pico is part of the pine pkg.
navigate to the slackware/a, /ap, /n and /xap folders on the slackware CD and reinstall by:
installpkg gaim*.tgz for example.

Tinkster 11-21-2004 10:14 PM

Quote:

Originally posted by justaguynsrq
I appreciate your input / humor ...................... and continued support.
Heh :)

Quote:

(Still shaking my head why this affected Pico)
justaguy
As gnashley already pointed out:
pico is part of pine ...
And for future reference (in case you don't know
what you're up to in deleting things) - before removing
a package have a look at
less /var/log/packages/<name-versionmumble> ...
or
fgrep bin\/ /var/log/packages/<name-versionmumble>


Cheers,Tink

ringwraith 11-21-2004 10:18 PM

At the risk of being scolded for wasting bandwidth. I often find it easier to just download the package and install it rather than finding my cd (you haven't seen my desk area) mounting it and finding the package.

Tinkster 11-21-2004 11:05 PM

lol@ringwraith :)

I (pretty much) always have my CD pouch with
Slack 8.1 DVD, 9.1 and 10.0 CDs with me ;)


Cheers,
Tink

justaguynsrq 11-22-2004 07:19 AM

When it rains it pours................................

Installpkg will not install :

root@slack:/home/justaguy# installpkg pine-4.60-i486-1.tgz
Cannot install pine-4.60-i486-1.tgz: package does not end in .tgz

Yet when I use pkgtool, I am in the clear ..... any ideas?

Tinkster 11-22-2004 11:35 AM

Installpkg has an odd habit of giving this message
when you DON'T give it the fully qualified path to
the file (or if you happen not to in in the directory
that the file is in).

If you were in /root, for example, and the file is in
/mnt/cdrom/slackware/n/pine-4.60-i486-1.tgz
you need to
a)
cd /mnt/cdrom/slackware/n
installpkg pine-4.60-i486-1.tgz
or
b)
installpkg /mnt/cdrom/slackware/n/pine-4.60-i486-1.tgz

The error-message, however, is misleading ;)



Cheers,
Tink

justaguynsrq 11-22-2004 04:59 PM

Thanks again, Tink

(You're a "Johnny-on-the-spot" sort of character!) -------> Operative word being CHARACTER, but you knew that!


justaguy


All times are GMT -5. The time now is 07:47 PM.