You are not logged in.
Pages: 1
I'm trying to install Mailpile (https://aur.archlinux.org/packages/mailpile/)
these are showing as missing dependencies when I "makepkg -s"
python2-pgpdump
spambayes>=1.1a6
I got the above two from AUR and "makepkg -s" successfully and then stuck them in /usr/local/bin but it didn't solve the dependencies. I'm not sure I know what I'm doing. Anybody know how to get Mailpile installed?
Last edited by bzpnbx (2014-10-14 15:48:51)
Offline
Install them with pacman -U --asdep <file>
Offline
What do you mean you put them into /usr/local/bin..? makepkg makes packages. Install them with pacman -U /path/to/package.tar.xz (Scimmia's suggestion of passing the --asdeps flag is a good one, since you're installing these packages as dependencies for another package).
Read up on what the AUR is, and how you should use it. It will answer a lot of questions for you.
Last edited by WorMzy (2014-10-14 16:03:22)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Thx guys. When I try the pacman -U --asdeps i sitll get errors. I assume that I was to run --asdeps on the extracted tarfile and then try makepkg -s again?
It says the python2-pgpdump is missing metadata?
Offline
I don't think you even need --asdeps. It just installs them as any other package. Then when they install, makepkg -s the main package.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
You did run it on the built package, right? Not on the AUR tarball?
Like Wormzy said, you really need to read the AUR Wiki page.
I don't think you even need --asdeps. It just installs them as any other package. Then when they install, makepkg -s the main package.
These packages are being installed because they are dependencies of another package. For pacman to function correctly, --asdeps is needed. If you omit it, pacman thinks they're explicitly installed and will not remove them when the main package is removed nor list them in -Qdt.
Last edited by Scimmia (2014-10-14 16:50:36)
Offline
I'm probably doing something dirty, but I usually issue a "makepkg -si" command. It builds and installs in one swift motion, faster than the eye can gaze.
Offline
[gary@arch Desktop]$ ls
spambayes.tar.gz
[gary@arch Desktop]$ mkdir spambayes-folder
[gary@arch Desktop]$ ls
spambayes-folder spambayes.tar.gz
[gary@arch Desktop]$ tar -xzvf spambayes.tar.gz -C spambayes-folder/
spambayes/
spambayes/PKGBUILD
[gary@arch Desktop]$ sudo pacman -U --asdeps ~/Desktop/spambayes-folder/spambayes/PKGBUILD
[sudo] password for gary:
loading packages...
error: could not open file /home/gary/Desktop/spambayes-folder/spambayes/PKGBUILD: Unrecognized archive format
error: '/home/gary/Desktop/spambayes-folder/spambayes/PKGBUILD': cannot open package file
[gary@arch Desktop]$
thx guys. not sure what I'm goofing up here.
Offline
The PKGBUILD is not a package. For the last time READ THE WIKI PAGE!!!
Offline
Please read the AUR page on the wiki. You need to build the package. A PKGBUILD is merely a set of instructions on how to download the source code and build the package, you need to use makepkg to actually do that.
You seem to be using makepkg for the final package you want installed (indicated in the first post) - if the dependencies are also in the AUR, they also need to be built with makepkg.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Sorry. this is how I understood it orriginally, and I thought with the --asdeps I had to do that before makepkg. I apologize guys.
Last edited by bzpnbx (2014-10-14 17:35:08)
Offline
You're right bzpnbx, I see how that could add a bit of confusion. The "--asdeps" was just a suggested modification to the 'pacman -U <pkg>' step which is after building with makepkg.
But makepkg itself can use the --asdeps flag, so this would likely be simpler: for any AUR dependency of the package of interest, download the tarbal and use `makepkg -si --asdeps` then for the package of interest `makepkg -si`.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Pages: 1