[solved] basic pacman information
hi,
i was just wondering if pacman had a way to update the "upgradable packages" list, and is there a way to see the upgradable packages.
the only thing i found about pacman in the archwiki was -Syu but that seams to upgrade the packages when all i want is to know which packages can be upgraded
i come from debian where i used the aptitude package manager
aptitude update would update the packages list, aptitude search "~U" would list the packages that can be upgraded and dist-upgrade upgraded the packages (Sort of like -Syu)
so, is there any way to get similar outputs using pacman?
Last edited by red-guy (2011-03-21 07:40:16)
The link I posted was to the Query flag: pacman -Qu will give you:
man pacman wrote:-u, --upgrades
Restrict or filter output to packages that are out of date on the local system. (Only package versions are used to find outdated packages, replacements are not checked here.) This option works best if the sync database is refreshed using -Sy.
S is the sync flag. -Sy syncs the database and Syu syncs & updates...
Similar Messages
-
What should I do when see Blue - Basic identity information?
when I want see the certain web site ,i see Blue-basic identity information,and can't open it,but it can open in IE!
so help me to see this web site,pleasThat site seems to require IE:
<blockquote>Golestan system does not work properly on your browser.<br />
Please use Microsoft Internet Explorer version 6 or upper.
</blockquote>
Use an extension like IE Tab or IE View to use the IE rendering engine in Firefox.
* IE Tab 2 (FF 3.6+): https://addons.mozilla.org/firefox/addon/92382
* IE Tab Plus (FF 3.6+): https://addons.mozilla.org/firefox/addon/10909/
* IE View: https://addons.mozilla.org/firefox/addon/35
* IE View Lite: https://addons.mozilla.org/firefox/addon/1429
Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
*Shockwave Flash 10.0 r42
Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
*http://www.adobe.com/software/flash/about/ -
HT1689 solve message "payment information requiure" in itune for ipod touch
solve message "payment information requiure" in itune for ipod touch
Edit your iTunes account to add a valid payment method. A valid payment method is required even for free apps unless you initially set up the account without a payment method
iTunes Store: Changing Account Information -
[SOLVED] After pacman glibc update, cannot find command bash?
A few days ago I ran into a problem after running pacman -Syu that ended up with an unbootable system. I found this topic that ultimately solved the kernel panic-
https://bbs.archlinux.org/viewtopic.php … 1#p1127251
All that was needed was a symlink "/lib" to point to "/usr/lib"
My system now almost boots but luckily I can now get a to a shell (zsh). The problem is that I can not run bash, and various other tools- including my desktop environment and pacman.
I have checked my $path, and have verified that I have the binary file "/usr/bin/bash" and a symlink in /bin/bash to point to that binary file, which does exist...
% ls -l /bin/bash
lrwxrwxrwx 1 root root 13 May 24 23:43 /bin/bash -> /usr/bin/bash
% ls -l /usr/bin/bash
-rwxr-xr-x 1 root root 738008 Mar 13 00:47 /usr/bin/bash
But when I try to start a bash shell or run a script
% bash
zsh: command not found: bash
% pacman
zsh: command not found: pacman
% /usr/bin/bash
zsh: no such file or directory /usr/bin/bash
% cat test.sh
#!/bin/bash
echo "Hello World"
% ./test.sh
zsh: ./test.sh: bad interpreter: /bin/bash: no such file or directory
I hope i was thorough enough in providing information about my system, but please let me know if there's anything else I left out that may be able to help.
Thanks so much!
[SOLVED]- Ended up mounting my system from a live install cd, and copying over each bash binary in my system with the live media's binary.
Last edited by OrangeCrush (2013-05-25 06:38:43)If it has only been a few months, that thread should have nothing to do with what you are experiencing. That problem stemmed from when the filesystem was actually changed from having /lib as an actual directory to /lib as a symlink to /usr/lib. Oh the problems that caused. For me it went perfectly smooth... well I did have to search for and rid /lib of extraneous unowned files, but it was smooth after that.
You say though that you did not have a /lib symlink when you checked, and then you created it? This is odd, as that is part of the filesystem package and therefore a tracked file. Maybe you should start by reinstalling the filesystem package just to make sure that the necessary components of the filesystem are all in order before proceeeding.
BTW, you should really update more often than every "few months" as that is what using a rolling release is all about. Also if you don't update very often still, never update the database (-Sy) without also updating the system (-Syu) as this will lead to partial upgrades, which can severly break your system. So never do "pacman -Sy <package>" as that is the equivalent of doing just a "pacman -Sy" and then continuing on your merry way. Big changes are in the air right now around these parts, so keeping your system up to date is probably going to be crucial in making subsequent updates as pain free as possible (we are heading towards the final /bin -> /usr/bin move!). -
[SOLVED] After pacman update, system no longer boots
Updated pacman packages, and half-way through the upgrade proces fails (it mentions not being able to find package-control). Upon investigating, I notice no programs are working. I ls /usr/bin and it is empty! In a panic, I restart the machine, and it no longer boots up.
My boot is on sda3 and /root is sda5.
When bash starts up, it loads the kernel fine, and then after a second it panics and exclaims: "No init found. Try passing init=bootarg".
I load up my trusty Arch livecd and fsck the partitions. Fsck claims both partitions are clean. I am able to mount them and examine the file structure: all files look like they are there. I then try to chroot the mounted partition (sda5, my /root), and get the error that "/bin/bash" is not found, even though it is there in the correct directory. Not sure what to do now.
My grub entry, which has always worked fine prior to this:
legacy_kernel '/linux344-ck' 'acpi_osi=Linux' 'root=/dev/sda5' 'rootfstype=ext4' 'init=/sbin/init' 'pcie_aspm=force' 'acpi_backlight=vendor' 'i915.i915_enable_rc6=1' 'i915.i915_enable_fbc=1' 'i915.lvds_downclock=1' 'ipv6.disable=1' 'i915.semaphores=1' 'modprobe.blacklist=bluetooth,uvcvideo' 'ro'
legacy_initrd '/initramfs-linux-fallback.img' '/initramfs-linux-fallback.img'
UPDATE: solved issue. I didn't read the news. Upgrading via pacman broke my system because of this. Now I know! System is running smooth again.
Last edited by corruptz0r (2012-07-15 20:26:53)Huh. I guess the problem was a couple of stale and crusty {,f}getty .service files, and an obsolete slim.service file I created a while back.
Removing them fixed my problem, although tty1 still shows boot messages (not a problem, and may not even be "new" behaviour)
Cheers Tomegun. -
[SOLVED] check pacman source sign failed on sh4 CPU
I've build 'base' packages on sh4 CPU. (Some base library still use the original linux distributions. eg. gcc,glibc,...)
I followed Pacman-key to setup key rings.
pacman-key --init
pacman-key --populate archlinux
pacman-key --refresh-keys
I run previous commands through ssh. I tried to build haveged, but it occurs following messages, I guess it is caused by old kernel and my hardware haven't realtime clock. So I forgive it.
gcc -Wall -I.. -O2 -pipe -o haveged haveged.o havege.o havegetune.o havegecollect.o havegetest.o
havegecollect.o: In function `havege_gather':
havegecollect.c:(.text+0x264): undefined reference to `HARDCLOCK'
havegecollect.c:(.text+0x6a0): undefined reference to `HARDCLOCK'
havegecollect.c:(.text+0x9d0): undefined reference to `HARDCLOCK'
havegecollect.c:(.text+0xd8c): undefined reference to `HARDCLOCK'
havegecollect.c:(.text+0x1208): undefined reference to `HARDCLOCK'
havegecollect.o:havegecollect.c:(.text+0x1684): more undefined references to `HARDCLOCK' follow
collect2: ld returned 1 exit status
And rerun makepkg on pacman.
==> Validating source files with md5sums...
pacman-4.0.3.tar.gz ... Passed
pacman-4.0.3.tar.gz.sig ... Passed
0001-Add-conflict-for-replacing-owned-empty-directory.patch ... Passed
0002-Check-empty-subdirectory-ownership.patch ... Passed
0003-Ensure-pre_upgrade-scriptlet-gets-old-package-version.patch ... Passed
pacman.conf ... Passed
pacman.conf.x86_64 ... Passed
pacman.conf.sh4 ... Passed
makepkg.conf ... Passed
==> Verifying source file signatures with gpg...
pacman-4.0.3.tar.gz ... FAILED (unknown public key 5C2E46A0F53A76ED)
==> WARNING: Warnings have occurred while verifying the signatures.
Please make sure you really trust them.
Even I manual add the key on message, it is still failed.
$ sudo pacman-key -r 5C2E46A0F53A76ED
gpg: requesting key F53A76ED from hkp server pool.sks-keyservers.net
gpg: key F53A76ED: "Dan McGee <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
==> Updating trust database...
gpg: next trustdb check due at 2014-01-22
$ makepkg
==> Verifying source file signatures with gpg...
pacman-4.0.3.tar.gz ... FAILED (unknown public key 5C2E46A0F53A76ED)
BTW, in the process of building gpgme, I can not build pinentry successful, so I pass and use fedora's.
fedora9 pinentry 0.7.4-5.fc9.sh4
Solved, I guess wrong direction, that's cause I forgot to read Makepkg again.
gpg --list-keys
echo 'keyring /etc/pacman.d/gnupg/pubring.gpg' >> ~/.gnupg/gpg.conf
Last edited by dlin (2013-02-07 01:42:56)I've build 'base' packages on sh4 CPU. (Some base library still use the original linux distributions. eg. gcc,glibc,...)
I followed Pacman-key to setup key rings.
pacman-key --init
pacman-key --populate archlinux
pacman-key --refresh-keys
I run previous commands through ssh. I tried to build haveged, but it occurs following messages, I guess it is caused by old kernel and my hardware haven't realtime clock. So I forgive it.
gcc -Wall -I.. -O2 -pipe -o haveged haveged.o havege.o havegetune.o havegecollect.o havegetest.o
havegecollect.o: In function `havege_gather':
havegecollect.c:(.text+0x264): undefined reference to `HARDCLOCK'
havegecollect.c:(.text+0x6a0): undefined reference to `HARDCLOCK'
havegecollect.c:(.text+0x9d0): undefined reference to `HARDCLOCK'
havegecollect.c:(.text+0xd8c): undefined reference to `HARDCLOCK'
havegecollect.c:(.text+0x1208): undefined reference to `HARDCLOCK'
havegecollect.o:havegecollect.c:(.text+0x1684): more undefined references to `HARDCLOCK' follow
collect2: ld returned 1 exit status
And rerun makepkg on pacman.
==> Validating source files with md5sums...
pacman-4.0.3.tar.gz ... Passed
pacman-4.0.3.tar.gz.sig ... Passed
0001-Add-conflict-for-replacing-owned-empty-directory.patch ... Passed
0002-Check-empty-subdirectory-ownership.patch ... Passed
0003-Ensure-pre_upgrade-scriptlet-gets-old-package-version.patch ... Passed
pacman.conf ... Passed
pacman.conf.x86_64 ... Passed
pacman.conf.sh4 ... Passed
makepkg.conf ... Passed
==> Verifying source file signatures with gpg...
pacman-4.0.3.tar.gz ... FAILED (unknown public key 5C2E46A0F53A76ED)
==> WARNING: Warnings have occurred while verifying the signatures.
Please make sure you really trust them.
Even I manual add the key on message, it is still failed.
$ sudo pacman-key -r 5C2E46A0F53A76ED
gpg: requesting key F53A76ED from hkp server pool.sks-keyservers.net
gpg: key F53A76ED: "Dan McGee <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
==> Updating trust database...
gpg: next trustdb check due at 2014-01-22
$ makepkg
==> Verifying source file signatures with gpg...
pacman-4.0.3.tar.gz ... FAILED (unknown public key 5C2E46A0F53A76ED)
BTW, in the process of building gpgme, I can not build pinentry successful, so I pass and use fedora's.
fedora9 pinentry 0.7.4-5.fc9.sh4
Solved, I guess wrong direction, that's cause I forgot to read Makepkg again.
gpg --list-keys
echo 'keyring /etc/pacman.d/gnupg/pubring.gpg' >> ~/.gnupg/gpg.conf
Last edited by dlin (2013-02-07 01:42:56) -
[SOLVED] Weird pacman issue with wine
Good Morning Community,
I'm on X86_64. I've just brought a system out of the ground from a differnt distro. Arch is up and running well.
Then when I went to install wine .....pacman is giving me a strange error. Here is a cut n paste from the terminal
//-----------------Begin cut n pasted text
[dcbdbis@Curly-Sr ~]$ sudo pacman -S wine
error: 'wine': could not find or read package
[dcbdbis@Curly-Sr ~]$
//----------------- End cut n pasted text
I am using one mirror in the pacman.d/mirrorlist:
//----------------Begin cut n pasted text
Server = http://ftp.osuosl.org/pub/archlinux/$repo/os/$arch
//---------------- End cut n pasted text
And in using pacman to list packages, here is what I get
//----------------Begin cut n pasted text
[dcbdbis@Curly-Sr ~]$ sudo pacman -Sl|grep wine
community winefish 1.3.3-9
community winegame 0.2.0-1
community winestuff 0.2.0-1
community winetricks 20101222-1
[dcbdbis@Curly-Sr ~]$
//---------------- End cut n pasted text
Google returns nothing. And I've not found it in the forums, at least the ones I've been able to read in the last three hours.
Does anyone have any idea what's happening?
Ideas on what I can do to find out what's happening?
Help will be greatly appreciated!
Sincerely and respectfully,
Dave...........
Last edited by dcbdbis (2011-01-03 22:47:51)Leonid.I wrote:
Allan wrote:You need multlib : http://www.archlinux.org/news/true-mult … ux-x86_64/
I would rather do a virtual machine...
Which can't do all the things wine can, due to the considerable additional overhead. Regardless, how's that comment supposed to contribute to the topic at all, especially with no justification.
To the OP, please mark the thread [solved] by editing your first post title. -
[SOLVED] Make Pacman cache packages installed with -U
When installing a package with -U, pacman doesn't cache packages as it does when installing with -S. Is there a way to change this behavior?
I read somewhere that specifying the package's full path and prepending "file://", as in "pacman -U file://path/to/package.pkg.tar.xz", but this often complains of an "invalid or corrupted package (PGP signature)".
How can I make pacman always copy installed packages to the cache?
MOD EDIT: change 'closed' to 'solved' in title to avoid confusion
Last edited by fukawi2 (2013-07-06 13:09:21)You can't. This has been discussed on the bugtracker several times.
https://bugs.archlinux.org/task/35699
https://bugs.archlinux.org/task/31243
https://bugs.archlinux.org/task/15143
https://bugs.archlinux.org/task/18012
If you're building the packages yourself with makepkg, you can set PKGDEST to your cache in makepkg.conf. Otherwise you could write a small pacman wrapper that copies the package after installing it. -
[SOLVED] Did pacman -Syu and now gdm, gnome, and pacman won't work
Hi everyone, I did a search for my problem, but cannot find the solution. Basically, I updated my computer this morning and as soon as the packages got installed my computer crashed. I am using another computer right now. These were the packages that were upgraded: dbus-core, bluez, dbus, gsfonts, libcups, libgdiplus, mono, openssl.
So after I installed the packages, my screen went black with some error message (don't remember what it is now. I believe it was something about GDM not working.) So I rebooted and "rpcbind" and "File Alteration Monitor" failed. Then I got a bunch of Gdm error messages with "gdm-binary[46081]: WARNING: GdmLocalDisplayFactory: maximum number of X display failures reached: check X server log for errors" as the last message. I don't know how to check the X server log for errors so I logged in and tried pacman -Syu again. I got this error "pacman: error while loading shared libraries: /usr/lib/libssl.so.0.9.8: invalid ELF header." I also tried startx and gnome-session , but they both failed to work as well. It seems like I'm having a graphics error. I don't know what to do now. Any help would be appreciated.
Last edited by Eivuwan (2010-04-01 06:24:17)Eivuwan wrote:Hi everyone. After some thinking, I realized that as attached as I am to Arch, I do not have as much free time as I did in the past to tinker with it. So I manually mounted my IPod and copied everything in my home folder to it. Then I installed Ubuntu. Maybe I'll come back to Arch one day, but for now, farewell. Thanks for all your help.
Wise decision -- Ubuntu is very stable (we used it extensively in my last place of business; I'm now retired). I've gone a different route, since I prefer to start small, build the environment I want and nothing more (which was my reason for choosing Arch). My preferred environment is pretty minimal -- no desktop system (no Gnome or KDE), just a window manager (dwm) and the apps I need. I did a test install in the last day or so and learned enough about Slackware (I first used it in the early 90s when it was pretty much the only Linux distribution) to convince myself that it will work for me. It's more of a pain to get the apps installed than Arch, certainly, but once you know how to do it and where to find them, it's not really a problem. But my objective is the same as yours -- get away from Arch's rolling releases. Again, as an old hand at both individual development and managing large software projects, what Arch is trying to do is difficult. Because the various components of the system are updated more or less continuously, it's impossible to thoroughly test the whole thing every time it changes. So on any particular day, you are likely to see problems, as happened to you, me, and other folks who have started threads in this category. And sometimes the problems are so severe you end up with a non-functioning system, as happened to both of us.
I would hope that, in the future, the powers-that-be at Arch would consider periodic, thoroughly tested releases, say every 6 months like Ubuntu and OpenBSD. The fundamental machinery of Arch is excellent (pacman, etc.), installation is easy, the documentation is adequate (I'm not as impressed by the wiki as others seem to be -- see the OpenBSD or FreeBSD documentation; what's available for Slackware is also very good). But I think there are tremendous quality hazards in the rolling release methodology, and forcing it on Arch's users is a bad idea, I think. It can be optional, for the adventurous. This is exactly how the OpenBSD people operate. There's a release every 6 months that is invariably rock solid. If they find problems after the release, they will make changes on a STABLE cvs branch. But you can also, if you choose, run what is on the cvs trunk, which they designate CURRENT, if you are so inclined and willing to take the chance on less thoroughly tested code. This is more or less equivalent to Arch now. I'm suggesting that Arch consider adding a STABLE version. -
hi gurus
i need some information about basic abap programming like archieving,periodical job,batch job , user exist,varients
any info about batch job management?? (abap)
help ful answers reward points
[email protected]
kishoreHi
Follow this detail PDF File
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
Regards
Rehman
Reward Points If Useful -
[SOLVED] Can Pacman Manage My Custom Packages
I am going to make a custom build of MPlayer because I want it patched to take advantage of the Compiz Video plugin. I think I might enable a couple other options that are disabled as well. The thing I'm not sure of is how pacman will react to my package. I know I can install it with pacman, but when a new official MPlayer package is released in the repos, will it update it and override my custom package? If so, I thought it might help if I changed the package name, but then I thought that might mess up dependency tracking. For instance, if I make a custom package of which other packages rely on, will those other packages be able to see mine and list the dependency as fulfilled?
Basically I want a way for my system to see my custom package as something that can fulfill dependencies for other official packages that might rely on that particular program. But at the same time I don't want it overridden when a new official package comes out since it likely won't contain the options I want enabled. If it would give a message indicating a new version is available but not install it, that would really help. Is this possible, and what would be the best way to handle this?
Last edited by nLEyETn (2008-10-06 06:44:47)Thanks, that seems to be just what I was looking for
Last edited by nLEyETn (2008-10-06 06:45:11) -
[SOLVED]LXDE pacman errors
Hi,
Sorry new to arch linux / these forums, cant find anyting about the errors I am having.
I'm getting some errors in pacman whilst trying to install LXDE. I'm installing it in a fresh arch linux install in VirtualBox, it is fully up to date.
It can not retrieve two gtk packages files, in particular, gtk2-2.24.8-1x86-64.pkg.tar.xz, gtk-update-icon-cache-2.24.8-1x86-64.pkg.tar.xz
And the pacman exits as it has not for all the packages.
My mirrors are:
* mirror.lividpenguin.com
* archlinux.positive-internet.com
My pacman.conf has [core] [extra] [community] enabled.
A little bit stuck, anyone else having / have these issues or can anyone point me in the right direction to solve?
Thanks,
Jon
Last edited by jon.mithe (2011-11-17 15:33:15)ftp://mirror.lividpenguin.com/pub/archl … os/x86_64/
Those packages arrived 23: 14 on 16th, when did you last try a pacman -Suy? You could download them manually then "pacman -U" the package.
Last edited by vacant (2011-11-17 15:19:48) -
[SOLVED] lost pacman sync db of installd pakages
hi.
as I said, I lost pacman database off installd pakages.
─(simke@philander:pts/0)─────────────────────────────────────────────────(~)─┐
└─(21:33:%)── pacman -Q ──(Mon,May18)─┘
┌─(simke@philander:pts/0)─────────────────────────────────────────────────(~)─┐
└─(21:34:%)── ──(Mon,May18)─┘
I installd pacman-cage and ih faild tu, what eve hi nead to do, end I now nead install all dependencies agein.
┌─(simke@philander:pts/0)─────────────────────────────────────────────────(~)─┐
└─(21:34:%)── pS openbox ──(Mon,May18)─┘
resolving dependencies...
looking for inter-conflicts...
Targets (46): xcb-proto-1.4-1 xproto-7.0.15-1 kernel-headers-2.6.29.1-1
tzdata-2009g-1 glibc-2.9-7 libxdmcp-1.0.2-2 libxau-1.0.4-1
libxcb-1.2-1 kbproto-1.0.3-2 libx11-1.2.1-1 libice-1.0.5-1
ncurses-5.7-2 readline-5.2.013-2 bash-3.2.048-3
e2fsprogs-1.41.5-2 libsm-1.1.0-1 xcb-util-0.3.4-2
startup-notification-0.10-1 zlib-1.2.3.3-3 libxml2-2.7.3-1
inputproto-1.5.0-1 xextproto-7.0.5-1 libxext-1.0.5-2
xineramaproto-1.1.2-2 libxinerama-1.0.3-2 renderproto-0.9.3-2
libxrender-0.9.4-2 randrproto-1.3.0-1 libxrandr-1.3.0-1
fixesproto-4.0-3 libxfixes-4.0.3-2 libxcursor-1.1.9-2
gcc-libs-4.4.0-1 pcre-7.9-1 glib2-2.20.1-1 libpng-1.2.36-1
freetype2-2.3.9-2 expat-2.0.1-2 fontconfig-2.6.0-2
pixman-0.14.0-2 cairo-1.8.6-1 libxft-2.1.13-1
libdatrie-0.2.2-1 libthai-0.1.11-1 pango-1.24.2-1
openbox-3.4.7.2-2
Total Download Size: 30.50 MB
Total Installed Size: 115.61 MB
Proceed with installation? [Y/n]
and, I think, that I wiil not get an updates.
I have installd pacamn-cage, end hi did not finish, what ever hi nead tu.
pleas help.
sorry for bed eanglish, I am from croatia.
Last edited by simke (2009-05-18 20:20:05)I find it, it is in
/var/lib/pacman/pacman.bak/pacman.bak/local
but there are folders whit name of all installd pakages.
how can I now retrive my db. can I do that vhit this information. and how.
could I yust c/p those folders tu, where they nead to bee.
Last edited by simke (2009-05-18 20:10:36) -
I'm in the process of learning how to create custom business objects within the ISA framework. I have been able to create a customer business object manager and a custom business object.
I'm attempting to call the BAPI_CURRENCY_GETLIST function module and return a list of all currencies that SAP supports. I'm able to execute the function, but I'm confused what I need to do next. From what I understand the getExportParameterList() call on a JCoFunction will allow me to access objects that the bapi call returns.
Again, the objective is very simple. I'm trying to do is use the JCO object to return a list of currencies.
Also, I'm rather confused when I should be using a Structure and when I should be using a Table. I don't understand the differences between these two objects.
I appreciate the guidance, and thank you for being patient with me!Hi Brian,
In simple word the difference between JCO.Table and JCO.Structure is as follow.
A structure is basically a special case of a table that has exactly one row.
So in simple word when you know that your BAPI or RFC is going to return only one row or nothing then you can use JCO.Structur but if your BAPI/BADI or RFC will return more then 1 row then you have to use Table.
You can not handle more then 1 row with JCO.Structure.
So when there is a possiblilty that you can have more then one row use JCO.Table. If you are sure that BAPI/BADI or RFC will return only one row or nothing then use JCO.Structure.
I hope this information will clear your confusion about JCO.Table and JCO.Structure.
Regards.
eCommerce Developer. -
[solved] Which Pacman commands can be passed to makepkg
Hi all! I'm a very big fan of Alan's work and his blog has kept me entertained for quite some time now. Regarding package management, specifically how to "try-before-you-buy" packages from AUR or ABS, he wrote:
One way I have found to keep track of packages you want to temporarily install is to have a sort of secondary
package management system within the main pacman database. This is achieved through abuse of the dependency
tracking features of pacman. Any package that is to be installed for a temporary period get installed with the --
asdep flag. This tells pacman that the package is a dependency. Given no other package depends on it, it is what is
commonly referred to as an "orphan" package and can be listed using pacman -Qtd. Currently on my system I have:
$ pacman -Qtd
gimp 2.6.11-6
vlc 1.1.10-6
When I no longer want these packages on my system, they will be uninstalled in the standard way (pacman -Rs pkg).
If I decide to keep the package, I can change the pacman database entry using the little known -D/--database flag.
E.g. pacman -D --asexplicit vlc will change the install reason for the vlc package from being "Installed as a
dependency for another package" to "Explicitly installed". It will no longer be listed as an orphan, effectively
taking it out of this secondary pacman management system inserting it into the main one.
I began to use this method of package management after I read this on his blog. It makes sense and it works well. However, I want to know if the only flags I can pass to Pacman while building apps are:
--asdeps
--noconfirm
--needed
The wiki, though, doesn't say anything about the useage of other pacman flags.
My question is: can I pass arbitrary flags to Pacman while building an app using a PKGBUILD? E.G. can I pass makepkg the "--asexplicit" flag if I want to do the opposite of Alan's idea and install something as an explicit package? Are apps compiled through "makepkg" installed and flagged by Pacman by default "--asexplicit?"
[edit]: Marked solved and gave a better subject line for future searchers.
Last edited by MoonSwan (2014-07-22 21:26:03)I think you really need to clarify your question. You can't pass pacman any flags while building 'apps' - pacman doesn't build packages, makepkg does.
If you want to know what flags you can pass to pacman when installing a package, read the man page.
The makepkg man page will also tell you which flags can be passed to pacman when using the -i flag.
Maybe you are looking for
-
790FX-GD70 not Booting, FF code
Hello, new to the forum... I signed up on here because I am having a rather difficult time with my MSI motherboard; I haven't been able to find any help elsewhere. I put together a machine using the MSI 790FX-GD70 socket AM3 board (not winki ed.) and
-
Hi All I have a report(10g), there are some columns having arabic data. it is showing me arabic characters in report builder but when i am calling the same report from application server its giving machine code. even a hard coded arabic text is not d
-
My ipod touch does not show up in my itunes source list, and shows up as a digital camera in "My Computer". Any ideas?
-
Iphone slow to type numbers and letters since downloading ios7
iphone slow to type numbers and letters since downloading ios7
-
HT201229 Number blocking in iO7: Wild card?
I like the new number blocking, but I would like to be able to block known sources of spam calls without waiting to get called by every one. I have no reason to want calls from Pacific Telecom, for instance, so I'd like to block entire ranges like "(