VectorLinux
November 28, 2014, 01:29:18 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: slapt-get and make  (Read 755 times)
ronsking
Member
*
Posts: 11


« on: November 10, 2012, 08:35:54 am »

Hi,

I used make to install an application not listed in the repositories for VL 7.0. I later discovered a newer version of it WAS available in the VL Testing repository which I had not added <doh>.
I tried slapt-get --uninstall to remove it but it does not find the application I installed. I'd rather not fool around trying to manually uninstall all the bits and pieces or have 2 sets of the same app floating around.


Is there some way to force slapt-get to find it so I can cleanly uninstall it?

ThanksI
Logged

Ron
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #1 on: November 10, 2012, 09:29:10 am »

@ronsking

First of all, let me know if the package in testing works for you and I'll move it to regular extra repo.

For your question...

Use removepkg

If your package had a number of bits and pieces as dependencies you would only want to remove the ones that you had to install to get the package to work, and not what was installed already.

For each item you want removed do this.
removepkg PKGNAME   (at the command-line as root)

You may need to reinstall the gslapt version after you are done.

Tip

You can see a history of what you installed in a text file at ... /var/log/pkgtools
If it's recent it will be at the bottom.

You could also search it out with grep and have grep display the 5 lines before it with this.
grep -B 5 PKGNAME /var/log/pkgtools

Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
ronsking
Member
*
Posts: 11


« Reply #2 on: November 10, 2012, 03:32:21 pm »

Thanks,

To install it I followed the slackbuild instructions and at the end typed "make install". Seems like doing that installed it and left no trace in any logs:

"root:# removepkg -w digikam

Only warning... not actually removing any files. Here's what would
be removed (and left behind) if you removed the package(s):
No such package: /var/log/packages/digikam. Can't remove."

Nothing in /var/log/pkgtools, either.  Luckily I kept the package that was made from the slackbuild so tried a "reinstall" and the dialog said it could not find a previous installation. Next I just clicked on "Install" and it seems that did the trick; it showed up in gslapt.




Logged

Ron
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #3 on: November 10, 2012, 07:32:38 pm »

Right. Was not reading your first post fully or just not thinking, but if you installed with make install what I described above will not work.
"make install" will just take the compiled bits done by make an dput them were they belong. There is no easy undo.
That is unless in the same directory you ran make from you can find a script called uninstall, or something like it.

From the last post it seems you found a solution or at least a compromise.
Happy Vectoring
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!