Newbie Pacman question [SOLVED]

I am very new to ArchLinux (less than 24 hours exposure) and have one simple question so far...
I cannot seem to figure out why when I run:
pacman -Q apache
I get an error saying it cannot find any packages named apache, but when I do:
pacman -S apache
It magically finds apache and its required dependencies...what am I missing here? Just trying to understand this system a bit better.
Thanks in advance!
Last edited by ckeck (2009-10-05 15:36:16)

Thanks everyone -- I had read through it but I guess I missed that option. My mistake.
Loving Arch so far...any thoughts or advice if coming from mostly a Debian background? Finding a lot of little differences that are throwing me off

Similar Messages

  • Pacman Question (Solved)

    Suppose I want to install 5 packages. But I do not want to reinstall up to date packages.
    eg-- sudo pacman -S xx xy yy yu uu xu
    xy is up to date reinstalling---
    sudo pacman -Su xx xy yy yu uu xu
    xy is up to date reinstalling---
    What should be the syntax?
    sudo pacman -* xx xy yy yu uu xu
    P.S.-Do not tell me to read wiki. I read it, I am confused so I am asking
    Solution
    sudo pacman -S xx xy yy yu uu ux --needed
    Last edited by Nightmare (2011-03-03 03:44:49)

    skottish wrote:You're asking pacman to install programs that you already have installed. Stop doing that and pacman will stop reinstalling them.
    Supoose XX is installed but XY is not. What should be the syntax so that XX is not reinstalled if upto date.

  • General place for newbie datamodeler questions?

    With the production release of SQL Developer Data Modeler I'd assume that this forum will draw a bunch of new users. Is there a better place to ask some pretty simple, newbie like questions that won't bother the more seasoned members?
    For instance, I am working in a Rails environment, which has some stringent naming conventions, one of which is that all of the primary key columns are numeric and called "id", with the foreign key linked columns called <table_name>_id.  When engineering a logical model to a relational model, the added foreign key columns are all "id#".  Is there a way I can define a naming rule to keep me from having to redo the relation column names?
    Also, we have a standard set of columns (mostly Rails related) which appear in every table. Can I define a generation rule which automatically includes these tables?
    Thanks

    Thank you. I will try changing that setting.
    IS there a setting which tells the relational model to automatically create pk and fk indexes? I haven't seen one, and manually setting them up is a tedious task. --sw                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Newbie script question... consecutive numbers with update.

    complete newbie type question... this is also my first post.  ( I am using CS3)
    does anyone have a script which can make it so I can add numbers into the text consecutively.
    for example, if this is my text "the big fat dog sat on the very wide mat, but was then displaced by a unfriendly cat."
    and I wanted to place a number 1, number 2, 3, etc at points in the text so it read, "the big fat dog1 sat on the very wide mat2, but was then displaced by a unfriendly cat3." but later wanted to add another number and have later numbers update themselves, so the text then said, "the big fat dog1 sat on the very wide mat2, but was then displaced3 by a unfriendly cat.4".
    by inserting the three, the previous three became four.
    Has anyone got something which might be useful in this regard.
    Many thanks
    Steve

    i wanted to avoid footnotes as they leave a bar at the bottom of each page.
    i wanted a script to do something similar to footnotes but not much further.
    does anyone have just a simple script that can do what I asked?
    Steve

  • Newbie XSan question - authenticating a computer from XSan Admin

    Hello - I have a very newbie XSan question!
    I have 2 computers that connect to an XSan. 1 I am having no problems with. The other I am unable to connect with.
    When I look in XSan Admin the 2nd computer (the one that is not working) is not authenticated.
    So I click on it and choose Authenticate. I enter what I know is an Admin username and password for the computer I am attempting to connect. The dot next to the computers IP turns green with 3 dots in it and then it turns gray again. It just does not connect.
    What is the problem?
    Is it licensing?
    Thanks
    Taj

    You need a different license ID for each machine, plus the admin machine. Do you have that?

  • How do I unmark a question "Solved?"

    I inadvertently marked my question "Solved," choosing my own follow up post. Can this be reversed? This question has NOT been solved.
    https://discussions.apple.com/message/25726191#25726191

    Weird because I marked that my user name had solved the issue. But no points... Probably to prevent users from generating their own points. Oh well.
    Thanks for helping me with the original posts babowa. Frustrating to get it fixed only to screw it up again. What happened was I was looking at your post, I clicked on the link to check and see that my original post had indeed been relocated, and then I was distracted by something. When I got back to what I was doing, I wanted give you the solve credit, but didn't bother to look closely at which post was displaying. Since they had a similar structure, I didn't notice I wasn't looking at our thread... Oh well. Crapzilla.

  • Dumb newbie hardware question! :)

    Hi folks,
    I'm new to the world of the blackberry and am just about to take the plunge with an unlocked sim-free BB Bold to use in the UK on Vodafone. I have read about the software differences between BIS and BES and would be going for a BIS set-up. My dumb newbie question is does the hardware come in BES and BIS versions or not?
    Many thanks in advance and feel free to mock my foolishness
    Solved!
    Go to Solution.

    hello, about BIS and BES it's explained on the website but it's clear that if someone sums it up for you it will be easier...
    so BES is a type of contract between a company and Blackberry. The company IT buy computers, put Blackberry servers, and buy a fleet of Blackberry Devices for the people in the company to use them and get email through the Blackberry servers.
    BIS is a type of contract between a common person and a carrier. The consumer goes to the carrier, and buys a Blackberry device, and a BIS plan that will enable him/her to :
    phone/sms/mms
    receive emails that have been configured on the BIS site
    do data things if you subscribe to (like browse the web)
    You can buy a Blackberry from a carrier that has a deal with RIM (the company that sells Blackberries). Or you can buy a blackberry alone, and then go and contact a carrier that has a deal with RIM.
    phone/sms/mms
    receive emails that have been configured on the BIS site
    do data things if you subscribe to (like browse the web)
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Newbie: pacman GUI

    Sorry for this blatently newbie question, but I'm trying to use the pacman GUI (as mentioned onthe wiki page https://wiki.archlinux.org/index.php/Pa … Frontends), but can't figure out how to install any of them.
    I'm using KDE, so want to try KPackageKit & AppSet, but can't figure out the pacman command to load it.
    Searching the on-line package list at http://www.archlinux.org/packages/ also doesn't turn up any reference to these programs.
    I'm using the "core", "extra" and "community" repositories.
    Can someone please give me a pointer to help me?
    TIA

    Thanks for the suggestions.  I'm an old Gentoo user (migrating due to the slowly degrading quality of gentoo..  <sigh>), so I actually prefer the command line for most stuff like this.  Like you, Trilby, I think the GUI just gets in the way of true understanding whats going on under the hood.
    Actually, all I really needed was a list of packages, and the AUR list that Awebb suggested worked great.  Now that I have that, I'm not going to bother with the GUI.
    Thanks for the help!

  • This Newbie Has Questions

    Hi there. I am a newbie to Apple. I purchased the iBook last month and of course, when the MacBook (which had the features I wanted) came out, I rushed out and got one and I'm very pleased with my purchase - but I have a few "newbie" questions:
    1) Printing on a PC based Linksys seems to be a nightmare. I can't get anything printed on the shared HP 2600N and HP1012 printers. I literally have to disconnect them from the PC and plug the USB directly to my MacBook to print. It seems like there should be a better, easier and MacFriendly way of doing this - anyone have an easy solution?
    2) I'm going to purchase Windows XP so I can run my windows programs on this computer. Does anyone have any pre-installation advice?
    3) I have a blackberry device that worked fine with my iBook, but does not work with my MacBook - any suggestions or is there a software compatibility patch?
    4) I transferred everything from my old Mac to my new Mac with no problem. How can I migrate my contacts from Entourage to the Address Book?
    5) I notice that sometimes the MacBook "stalls" or doesn't work fast in some functions...is it just me - I expect the machine to jump quickly...but sometimes I get that annoying pinwheel when opening programs.
    Thanks for your help!

    1) Printing on a PC based Linksys seems to be a
    nightmare. I can't get anything printed on the
    shared HP 2600N and HP1012 printers. I literally
    have to disconnect them from the PC and plug the USB
    directly to my MacBook to print. It seems like
    there should be a better, easier and MacFriendly way
    of doing this - anyone have an easy solution?
    The problem is probably a driver issue.
    Printing to a printer on a XP PC from a Mac running 10.4.x
    http://www.ifelix.co.uk/tech/3015.html
    You may need to use a third-party driver such as the HPIJS drivers or the Gimp-Print drivers, but this is not the case with all printers.
    2) I'm going to purchase Windows XP so I can run my
    windows programs on this computer. Does anyone have
    any pre-installation advice?
    Ensure you get a full version (not an upgrade version) and it comes with XP SP2 already.
    Do not install Boot Camp on a critical machine and make regular backups of your data, this is beta software and there are bugs and issues.
    5) I notice that sometimes the MacBook "stalls" or
    doesn't work fast in some functions...is it just me -
    I expect the machine to jump quickly...but sometimes
    I get that annoying pinwheel when opening programs.
    Are these Universal or PPC only applications?
    iFelix

  • Madwifi-ng preup/predown script question [solved]

    Hi,
    I recently installed Arch 0.7.1 on my laptop.
    So far I am very impressed with the speed and the simplicity :-)
    I just have one small problem: madwifi-ng
    Currently, I have to manually create the ath0 interface with wlanconfig, which is annoying. On the Gentoo forum I have found a partial script with preup/predown functions (the thread is located here)
    preup() {
    if [ "${IFACE}" == "ath0" ]; then
    /sbin/wlanconfig ath0 create wlandev wifi0 wlanmode sta > /dev/null
    return $?
    fi
    if mii-tool ${IFACE} 2> /dev/null | grep -q 'no link'; then
    ewarn "No link on ${IFACE}, aborting configuration"
    return 1
    fi
    return 0
    predown() {
    if [ "${IFACE}" == "ath0" ]; then
    killall wpa_supplicant
    /sbin/wlanconfig ath0 destroy
    return $?
    fi
    return 0
    I am using a Netgear WG511T pcmcia card.
    I would really appreciate any suggestions on where to put this code, and how to modify it for use with Arch Linux, or if I should use something else alltogether.
    Thanks in advance!

    Another interesting problem: I recently upgraded to the latest madwifi-ng code with svn update and also started using wpa_supplicant 0.5.0 (upgraded from 0.4.7)
    The netcfg script stopped working and after a little tinkering I discovered that  the following section from start_profile() in the netcfg script was killing wpa_supplicant before it could connect:
    while ! wpa_cli status | grep "wpa_state=COMPLETED" >/dev/null 2>&1; do
    if [ $i -gt 10 ]; then
    wpa_cli terminate >/dev/null 2>&1
    ifconfig $WIFI_INTERFACE down
    stat_fail && return
    fi
    sleep 2
    let i++
    done
    fi
    I have now commented out the loop and running the command "netcfg netgear" no longer halts there and so far everything seems to be fine again. I am guessing more than a 20 second timeout is needed, so I'll try having the iterator increment to 30 or something and see if that solves it.
    [EDIT]
    Now using  [ $i -gt 30 ]; and it works. On second thought, since everything  now really just works and my main question was essentially answered, I am adding [solved] to the title.
    Thanks again!
    [/EDIT]

  • Do you need internet connection to use pacman? [solved]

    Yes you do. 
    Sorry for the dum question,
    Do I need to have internet connection to use pacman?
    Thanks
    The reason I ask is because I need madwifi for my wireless and Arch does not allow me to install this file using pacman -A ......
    Last edited by viga (2008-10-29 03:30:58)

    Any particular reason for not using the already built package in extra ?
    http://archlinux.org/packages/search/?q=madwifi
    You can get it from any mirrors, for example :
    ftp://ftp.belnet.be/packages/archlinux/ … pkg.tar.gz
    Btw, pacman has a feature which might be useful :
    pacman -Sp madwifi ~
    resolving dependencies... done.
    http://mir1.archlinuxfr.org/archlinux/extra/os/i686/madwifi-utils-0.9.3.1-1.pkg.tar.gz
    http://mir1.archlinuxfr.org/archlinux/extra/os/i686/madwifi-0.9.3.1-1.pkg.tar.gz
    madwifi depends on madwifi-utils, so you'll want to download this package too.

  • Newbie wireless question (slightly off-topic)

    I didn't want to post this here as it's not entirely an Airport-specific question. I posted this to the iBook forums, but nobody there has answered so my apologies if this is not welcome here. (Any moderators can remove it if that's the case.)
    I've been using computers extensively for over a decade, but I'm a total newbie to wifi. I just set up a wireless network in my house and would appreciate some advice/feedback.
    My main concerns are whether or not my network is reasonably secure. I know there is no such thing as perfect security, but I don't know if what I've done is good enough or not.
    I don't have an Airport base station, but I do have a D-Link Airplus G and an Airport card in my iBook. I have WEP set up on the router and I have enabled MAC filtering, listing only my desktop and my iBook, excluding all others from the network.
    I'm fairly certain that nobody in my neighborhood is going to get into my machines this way or be able to sniff my network data stream, but am I right in assuming that nobody can "piggyback" on my Internet connection too? Presumably, if everyone but my own machines are MAC-filtered and kept out, then the Internet connection is also protected. Is that how it works?

    WEP and MAC filtering are better than nothing, but you can do better. These are my suggestions:
    1. Use WPA with a pre-shared key (PSK) and TKIP encryption on your Netgear router, along with an alphanumeric passphrase of at least eight characters not found in any dictionary. The equivalent setting on your Mac is "WPA Personal". Unlike WEP security (which an expert can crack in under half an hour), WPA security is currently unhackable by any practical means as long as you use a non-dictionary passphrase. One last point - WPA security requires all your wireless Macs to be running MacOS 10.3 or newer.
    2. MAC filtering is (these days) essentially useless as a wireless security method. Using "packet sniffing" of traffic on your wireless network to find out what MAC addresses are used by computers on your network, and a PC that allows its MAC address to be cloned so that it is identical to the MAC address of one your own wireless computers (which is possible with most PC wireless network adapters) even an amateur hacker can defeat MAC address filtering in minutes.
    By the way - I don't think your posted message here is off topic. In my opinion, the Airport discussion forums are the best place to post any questions related to usage of wireless networks. Questions of this nature are virtually never specific to any Mac model.

  • Yet another "unable to find root device" problem (pacman issue) SOLVED

    During this night I've been trying to solve a problem that let me without access to my ArchLinux partition.
    Booting the kernel.
    :: Starting udevd...
    done.
    :: Running Hook [udev]
    :: Triggering uevents...done.
    Waiting 10 seconds for device /dev/by-uuid ...
    ERROR: Unable to find root device '/dev/by-uuid'.
    You are being dropped to a recovery shell
    Type 'exit' to try and continue booting
    sh: can't access tty: job control turned off
    [rootfs /]#
    The thing is that I've read about chrooting, I did chroot following the steps described on the Wiki https://wiki.archlinux.org/index.php/Change_Root but I have a problem with pacman and it's that I can't use pacman on chroot, it says: command not found. I must've done something wrong but I have no clue.
    My disk is sda1 and I don't use a special partition for /boot or /home.
    Thank you in advance.
    Last edited by ffuentes (2012-08-17 04:33:38)

    I've solved the mystery.
    Well, I realised that I had another serious issue with filesystem (that was mentioned on the Archlinux's news https://www.archlinux.org/news/filesyst … equired-1/ and https://www.archlinux.org/news/the-lib- … a-symlink/ ) so I had to figure out which packages were using /lib to remove them. Also I had to disable pacman's signature checking system because as I said before it didn't seem to work.
    After removing every package that happened to use /lib  at that time I eventually could perform the command "pacman -Syu" and later on "mkinitcpio -p linux" worked out.
    Thanks DSpider.

  • Newbie Labview Question: Array of clusters

    1: i am a student
    2: this is not homework or a graded project
    3: I'm a pretty capable programmer, but that's in text-based languages. ;-)
    I have a sensor feed which contains 4 channels. I need to leave all 4 channels active, but I want to select one of them to graph at any given time. The data from the NI driver for the hardware comes as a 1x4 array of 2-element clusters.
    Normally, I'd just index to the desired element in the 1x4 array, and feed that cluster to the appropriate graphing tool, but I'm missing something. I swiped a display element from the NI driver example VI's, but any time I insert blocks between the data feed and the graph I get "bad connection" errors.
    I've been googling and book-looking for several days now, to no avail, I'd appreciate any help in this question.
    in the image at ( http://dl.dropbox.com/u/4286123/LabviewHelp.jpg  ), what block do i need to insert into the highlighted wire to be able to select and graph only one of the 4 data channels, controlled by an integer source?
    Many thanks.
    Solved!
    Go to Solution.

    Use the Index Array funtion found in the Array palette.  Wire in the index number of the waveform you wish to display.
    - tbob
    Inventor of the WORM Global

  • Newbie saving question in Illustrator

    I know this is a newbie question. I designed a logo in Illustrator. Is there a way to save just the logo for exporting into other applications (ie Pagemaker or Photoshop) without having the white artboard?
    Thanks
    Brad

    I don't know Pagemaker but with Photoshop I simply select all, copy and then paste in Photoshop - transparency will be maintained. If you paste as a Smart Object you retain the ability to edit the Illustrator artwork in Illustrator and update the PS file.

Maybe you are looking for