You are not logged in.

#1 2019-10-19 17:32:55

insciwetrust
Member
Registered: 2019-10-19
Posts: 88

[SOLVED] Package not found

So I installed a package with its 2 dependencies via makepkg command without problems. I then deleted the folders pkgbuild files were in. Now I want to remove the packages but the terminal doesn't recognise them. I am 100% sure I am typing their correct names. Should I have not deleted the folders?

Last edited by insciwetrust (2019-10-20 11:50:14)


No gods, no masters!

Offline

#2 2019-10-19 17:39:43

loqs
Member
Registered: 2014-03-06
Posts: 19,100

Re: [SOLVED] Package not found

What command did you use to build the package?  What was the output of that command?
What command are you using to remove the package and what is that command's output?
https://bbs.archlinux.org/viewtopic.php?id=57855

Last edited by loqs (2019-10-19 17:40:06)

Offline

#3 2019-10-19 17:42:21

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,708

Re: [SOLVED] Package not found

You have certainly jumped in with both feet smile

Let us clarify a few things.  One does not install packages with makepkg.  That tool builds a package based on instructions from a PKGBUILD file.  That activity creates (generally) a pkg directory and a src directory, and a compressed package file.  Yes, one might be able to run programs from the pkg directory; but that is *not* how it is intended to be used.

What you are supposed to do is install the package with pacman -U <packagefile>.  After that, go ahead and delete the folder.  I, for one, keep them all in a build directory.     

Later, if you want to remove the packages from your system, you are going to use pacman -Rs <packagename>

Edit:  https://wiki.archlinux.org/index.php/Makepkg

Last edited by ewaller (2019-10-19 17:48:38)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2019-10-19 17:50:43

insciwetrust
Member
Registered: 2019-10-19
Posts: 88

Re: [SOLVED] Package not found

ewaller wrote:

You have certainly jumped in with both feet smile

Let us clarify a few things.  One does not install packages with makepkg.  That tool builds a package based on instructions from a PKGBUILD file.  That activity creates (generally) a pkg directory and a src directory, and a compressed package file.  Yes, one might be able to run programs from the pkg directory; but that is *not* how it is intended to be used.

What you are supposed to do is install the package with pacman -U <packagefile>.  After that, go ahead and delete the folder.  I, for one, keep them all in a build directory.     

Later, if you want to remove the packages from your system, you are going to use pacman -Rs <packagename>

Edit:  https://wiki.archlinux.org/index.php/Makepkg

Oh, I see, then I have not even installed them in the first place, lol. Thank you!


No gods, no masters!

Offline

Board footer

Powered by FluxBB