[Solved] Trick pacman into thinking I have installed a package

First, I would like to say that if there's another thread on this, I haven't found it. I did find one similar thread that was solved, but the person that solved it just gave a PKGBUILD and told the user to install it. I'd at least like to know what he/she did so I can do it on my own. The package I self-compiled was different from his, so I cannot use his solution, plus I just like to know how to do these things should the problem ever show itself again or I need to do this to another package or for another person. Give someone a fish/teach someone to fish...
That aside, one of the first things I did with my arch box was compile JACK myself. I always like to tweak it's options and make it just right for what I want to use it for, and I use an irregular version, so it made sense to compile it from source. One configure, make, make install later, I had JACK in my system! Unfortunately when compiling like that, pacman's database isn't updated so it was convinced that I did not, in fact, have jack. Since then I have lived with editing jack out of the PKGBUILDs of any jack-requiring package I wanted to install.
There has to be a better way! So, I call upon you, those who are archier than I, to assist me in solving my problem! I've been using linux for years, so you don't have to explain it to a three year old, but I have only been using arch for a couple months (and so far, it's AWESOME!). Thanks in advance, and have a great day!
Last edited by nullh (2010-08-10 15:19:06)

My apologies, I've never made a pkgbuild before. I don't make packages, I just use them.
I did make a PKGBUILD just now, though, and it does appear to work. Thanks for the words of encouragement.
For anyone else that needs this, I'll copy and paste what I have in the PKGBUILD file. If it's wrong, you can slap me on the wrist, but it seemed to do the job!
pkgname=('jack-fake')
pkgver=('1.9.5')
pkgrel=('1')
arch=('x86_64')
provides=('jack')
Last edited by nullh (2010-08-10 02:34:50)

Similar Messages

  • Why pacman do not prompt I have installed that package???

    I found that pacman do not prompt installed packages. It leads to reinstalling packages.
    It's a bad situation...

    The times I miss "--needed" as default option, is when I install groups where I already have installed some packages of this group. Every time I see myself starting pacman twice. First without and then with "--needed".
    I mean whenever I explicit say "pacman install foo" and I already have foo, I expect pacman to just install foo, as I know what I'm doing. Or maybe it should say "You already have foo, do you really want (Y/N)?". But when I install a group and there are single packages already installed, then I want pacman to just install the rest of the group, not the packages that I already have.
    I see that this is a break in consistency, but maybe its more that what the user wants. At least its more what I want
    Maybe it could just be solved with the silly question "foo, bar and something other are already installed, do you want do install them again (Y/N)?"

  • Tricking iTunes into thinking an external hard drive is an iPod?  Possible?

    Hi
    There is a lot of info out there about using your iPod as a hard drive, but I am wanting to the opposite, namely use my external portable hard drive as an iPod (this says something of my contrary nature).
    The reason being that my iTunes library is made up of Apple Lossless files, and I would like to take advantage of the "convert higher bit rate songs to 128kbps" feature in iTunes, but by syncing to a portable external hard drive rather than an iPod.
    I am aware that there are various methods of converting all my Apple Lossless files for use on an external hard drive, but none of these (as far as I am aware) synchronize with iTunes (i.e. update tags/ratings in the converted files if changes are made in iTunes). Because I would need this feature, I am wondering if there is a way of tricking iTunes into thinking that my external hard drive is an iPod (here my devious nature comes to the fore), or some other method of achieving what I am looking for?
    Thanks for reading
    Nick

    I just need my 128kbps tracks to be updated if changes are made in iTunes, such as tag changes, rating changes, tracks being deleted, new tracks being added.
    When you play the ALAC songs or change ratings and such, you want to sync that info to the 128 songs on the external?
    And wen you add/remove anything from the internal, you want those to be converted/added to the external?
    Absolutely no idea how this could be accomplished.

  • How do I trick iTunes into thinking imported songs are purchased?

    MOST of my library is imported, and I really bugs me when when I can't listen to it in the store, only in my library. So I was wondering if there was any way to trick iTunes into think it is.
    I am running ios 7.1.1 on an iPod 5 16gb.

    Subscribe to iTunes Match.  Every song in your library will be either matched or uploaded.  Then you will be able to listen to all your music from the Cloud.
    For more information:  http://support.apple.com/kb/HT4914

  • I have installed Adobe packages and cannot find the Acrobat extension folder please advise how can I get these applications to load onto my computer?

    I have installed Adobe Creative Cloud for teams CC Packages which says that Acrobat XI Pro is installed. Your support page says it does not install Acrobat and I have to look in the Extensions folder for an MSI file.  I have run a number of searches and  cannot find the Acrobat extension folder please advise how can I get these applications to load onto my computer?
    Also I now administer the teams and have accepted the invitation to I received to be a team member and download the apps.  The admin page shows that I have been sent an invitation but does not show my account as "ACtive" unlike my other team members.  I tried to use the link in the invite to accept it become active but the link displayed an error saying I had already accepted the invite... why is no account not active?
    Finally what other product downloads in Creative Cloud do not actually download as part of the Creative cloud Packager for downloading the apps? e.g. acrobat and what else?

    My apologies Eadeszoo I believe our support agents are unavailable on January 1.
    Are you able to copy the contents of the DVD to your computer?  Are you receiving any particular error messages when you are trying to install?  Finally which operating system are you using?

  • Having Adobe try scam me into thinking i have virus

    Called on to have tech help me install Adobe photoshop CS5 but they remotely logged into my computer and told me would not be able to install because having virus then they wanted to know if I wanted them to remove it for a cost. I said no went to Apple Store and they told me had issues on my lap top

    We can't help you with virus problems on your laptop. If you need help, I highly recommend www.bleepingcomputer.com
    Go to the Forums, and look for the "Am I Infected" forum.
    A volunteer will be glad to assist you at no cost, provided you follow instructions and don't walk out until the troubleshooting is completed.
    Let us know how it goes.

  • Tricking iTunes into Thinking a Random Audio File is a Podcast

    I have some older audio files that I want to store with my Podcasts. Basically, I am looking for a way to change file codes or creator codes (or somesuch) so that when I drag the file into iTunes, it gets stored with a group of previously existing Podcasts to which I subscribe.
    I know that (usually) if I take a Podcast audio file out of iTunes and copy it to my desktop and then delete the original track inside iTunes, I can restore the file to its rightful place in the list of Podcasts simply by dragging the copy that I made back into iTunes.
    I am looking to do something similar here, but the files I want to add weren't delivered to me by my Podcast subscription. I got them somewhere else and I just want to add them to the corresponding set of Podcasts in my iTunes.

    Try this -> Re-Add Selected Tracks as Podcast v1.2
    "This script will re-add the files of the selected tracks to iTunes as if they were a Podcast subscription. The files will then appear in the Podcasts playlist and "behave" as though they are a group of Podcast episodes."

  • How to trick nano into thinking like a shuffle?

    I am tired of the 300+ songs in various smart playlists I created on my nano. How do I get rid of these and randomly select, say, 100 other blues songs from my library? Is there an easy way to do something like an "autofill" on the nano, or set different parameters on the smart playlists to select completely different songs?

    Here is the joy of smart playlists: You create one big playlist. Then you create smart playlists that pull songs out of the one big playlist, but add a new condition.
    Say you create a big playlist called Rotate. Now you can create a new smart playlist with the conditions Playlist is Rotate AND Genre is Blues. Same songs, but you're pulling out just the one genre. And this playlist takes up no space on your nano, as the songs are already there.
    Another technique is to enable the Genre menu on your nano. Then you don't have to create new playlists to break out different genres.
    Doc

  • [SOLVED] Would "pacman -S foo" fail if system's package list is old?

    I'm new to Arch and want to understand my system as much as possible.
    In several places in the wiki it is recommended to install a single package with "pacman -S foo" instead of "pacman -Sy foo" unless I'm doing a system upgrade at the same time, so that versions of foo and its dependencies are in sync with all the other packages on my system. This seems to be good advice and I follow it.
    However, I recently read that the Arch repos only have the latest version of any given package. Now I'm confused. So what happens if the versions of foo and its dependencies on my package masterlist are outdated? Would "pacman -S foo" fail? If not, how can it possibly work if pacman is trying to install package versions that are no longer in the repository?
    Last edited by bdantas (2014-06-18 12:34:01)

    To be safest, always use `pacman -Syu <newpackage>`.
    I generally use `pacman -S <newpackage>` which is a bit quicker - and this is fine if you update frequently.  I do a `-Syu` at least once a day.
    Never ever do a `pacman -Sy <newpackage>`.  This can lead to severe breakage and potentially a completely unbootable system.  In fact never do `pacman -Sy` in any way unless there is also a 'u' there (i.e. "-Syu").  I think a feature request for pacman could be made to have a prompt when such a command is entered "Are you an idiot?[Y/n]  Do you want pacman to destroy your system? [Y/n]".
    In contrast, `pacman -S <newpackage>` should never do any damage.  If your package database is still current, it will work fine.  If you package database is too old, it will exit with an error message without making any changes to your system.  The error message is along the lines of the package/file not being found in the repos or on the server(s).
    EDIT: as this is already well covered in the wiki this may be best suited to the NC.

  • [SOLVED] can pacman hold an old version of a package?

    Title pretty much says all.  I have a few things to do before I upgrade to Firefox 3, but I'd like for the rest of my system to be up-to-date.
    Last edited by Xiong Chiamiov (2008-06-26 02:46:29)

    Add this to /etc/pacman.conf
    IgnorePkg = firefox
    Your current version will be retained

  • [SOLVED]Make Pacman think that I have libgl (NVIDIA driver)

    Hi,
    I've installed my Nvidia driver manualy because my card (NVS 310) do not work with the packages provides by pacman (even in AUR).
    Now I have a problem because pacman think I do not have
    libgl
    and do not allows me to install any graphical tools like libreoffice even if I ignore libgl:
    pacman -S libreoffice-fresh --ignore libgl
    resolving dependencies...
    :: There are 4 providers available for libgl:
    :: Repository extra
    1) mesa-libgl 2) nvidia-304xx-libgl 3) nvidia-340xx-libgl 4) nvidia-libgl
    Enter a number (default=1):
    I cannot install one of these package because then conflict with my manual install:
    pacman -S libgl
    :: There are 4 providers available for libgl:
    :: Repository extra
    1) mesa-libgl 2) nvidia-304xx-libgl 3) nvidia-340xx-libgl 4) nvidia-libgl
    Enter a number (default=1): 4
    resolving dependencies...
    looking for conflicting packages...
    warning: dependency cycle detected:
    warning: nvidia-utils will be installed before its nvidia-libgl dependency
    Packages (2) nvidia-utils-352.09-1 nvidia-libgl-352.09-1
    Total Installed Size: 125.31 MiB
    :: Proceed with installation? [Y/n]
    (2/2) checking keys in keyring [######################################] 100%
    (2/2) checking package integrity [######################################] 100%
    (2/2) loading package files [######################################] 100%
    (2/2) checking for file conflicts [######################################] 100%
    error: failed to commit transaction (conflicting files)
    nvidia-utils: /usr/bin/nvidia-bug-report.sh exists in filesystem
    nvidia-utils: /usr/bin/nvidia-cuda-mps-control exists in filesystem
    Errors occurred, no packages were upgraded.
    So my question is: Is there a way to make pacman understand that I have installed libgl manualy so it do not ask me to install it?
    Thanks
    The possible workaround is to remove my driver manually install any libgl than re-install manualy the driver and ignore libgl in the pacman configuration. But this is REALLY ugly...
    Last edited by mickours (2015-06-13 19:09:41)

    Thanks for your reply, that was fast!
    Make my own package is definitly the right way to do this and I will when I have some time.
    For now I tried the workaround I mentioned before:
    mickours wrote:The possible workaround is to remove my driver manually install any libgl than re-install manualy the driver and ignore libgl in the pacman configuration. But this is REALLY ugly...
    And it works!
    Thanks again

  • [SOLVED] Cannot install any package thru pacman

    I cannot install any package thru pacman
    when i try to install the package with pacman -S,
    I started getting error when my sytem crashed and i have to forcefully switch off my laptop through power button
    after that when i install anything from pacman i got following error:
    [tan@ARCH ~]$ sudo pacman -S shotwell
    Password:
    warning: shotwell-0.9.3-1 is up to date -- reinstalling
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): shotwell-0.9.3-1
    Total Download Size: 0.00 MB
    Total Installed Size: 9.12 MB
    Proceed with installation? [Y/n] y
    (1/1) checking package integrity [##########] 100%
    (1/1) checking for file conflicts [##########] 100%
    (1/1) upgrading shotwell [##########] 100%
    ldconfig: File /usr/lib/libgexiv2.so.0.0.0 is empty, not checked.
    ldconfig: File /usr/lib/libgexiv2.so.0 is empty, not checked.
    ldconfig: File /usr/lib/libgexiv2.so is empty, not checked.
    ldconfig: File /usr/lib/libraw.so is empty, not checked.
    ldconfig: File /usr/lib/libraw.so.2 is empty, not checked.
    ldconfig: File /usr/lib/libraw_r.so.2 is empty, not checked.
    ldconfig: File /usr/lib/libraw.so.2.0.1 is empty, not checked.
    ldconfig: File /usr/lib/libraw_r.so is empty, not checked.
    ldconfig: File /usr/lib/libraw_r.so.2.0.1 is empty, not checked.
    Thanks in advance
    Last edited by tan (2011-05-29 05:45:28)

    Thank God, everything is fixed now:
    First, I deleted all these files, then i follows the following procedure
    1. For libgexiv2 file i upgraded 'xorg-server, xorg-xinit, xorg-utils, xorg-server-utils' from pacman
    # pacman -S xorg-server xorg-xinit xorg-utils xorg-server-utils
    2. For libraw file i upgraded 'libraw' from pacman
    # pacman -S libraw
    There will be some conflicting files
    After deleting some conflicting files it solves the problem and restore all the 'lib' file.

  • Not able to see make in /usr/local/bin even after installing the package

    Hi,
    I have installed the package make-3.8 for solaris 9 on my machine with sun os 5.9. But still I can not see 'make' in /usr/local/bin .
    Does anyone have an idea why?
    I installed the same as root using the command:
    pkdadd -d <packagename>
    But it gives me quite many warnings like :
    WARNING : /usr/local/bin/make <not present on Read only file system>
    WARNING : /usr/local/bin/doc/make/ABOUT-NLS <not present on Read only file system>
    At the end it says Installation of SMCmake was successful
    Still I can't see make in /usr/local/bin.
    Regards
    Manmeet

    Seems like /usr/local is mounted read-only? Run
    mount | grep local
    or
    touch /usr/local/test
    and see if you can write files in the directory.
    /M.

  • [solved] Pacman seems to think i have nothing installed

    ok im quite new to arch linux and ive been attempting to get to grips with it quickly so i may have done something stupid here...
    i installed arch with kde and have switched recently to the ice kernel, due to tryingto get compiz running and needing to update my graphics driver....
    having done this however pacman seems to have lost the fact that  it has ever installed anything...
    is there a way to remedy this...
    64bit btw...
    thanks in advance for any input and let me know if i need to give any extra info...
    Navillus
    Last edited by Navillus (2008-05-08 20:46:25)

    Well, pacman stores everything it knows about your system's packages in /var/lib/pacman/local -- if that dir is empty, then you're in trouble.  There's a script floating around somewhere that takes your pacman.log from /var/log and tries to re-install every package that should be on your system in an attempt to recreate /var/lib/pacman/local - I can never remember where that script is though; you'll have to do a search.

  • I think I have the latest Firefox version, but keep getting messages about updating it. 1 says something is preventing Firefox from updating securely; another says something is trying to trick Firefox into accepting an unsecure update. What's going on?

    The 1st message goes on to say, "Please make sure that you have the latest version of Firefox from http://www.firefox.com." Assuming 4.0.1 is the latest version, it seems this is a bogus message and I haven't clicked on the link.
    The 2nd message goes on to say something like, "if this continues [the attempt to trick Firefox into accepting an unsecure update], contact your network administrator."
    I started getting the messages on all 4 of our PC's (2 desktops running Windows 7 Home Premium 64-bit, 1 running XP 32-bit, & a laptop running Vista Home Basic 64-bit) after updating to Firefox 4.0 on them. I manually updated to 4.0.1 on all thinking that would stop the messages, but it hasn't.
    I loaded & ran free versions of McAfee Stinger, Malwarebytes Anti-Malware, and Super Anti-Spyware programs on all our PCs; each program found & repaired some infected files on each computer, but the messages continue on all.
    Thanks for any help you can give.

    Apparently this occurs when Firefox has problems with security certificates. There have been a few questions about this. I will try to get advice about this.
    Apparently you are using Internet Explorer 9 (From your system details). Do you have Google Updater plugin installed on Firefox ?
    (That been implicated in this sort of problem by one poster, and some users with the problem do have Google Updater, but some do not)

Maybe you are looking for

  • How to set field checkbox values based on another field

    I'm trying to provide the user with the ability to check one box "Check All" which would then set the check boxes for a section to the same value as shown in the example.  Anyone know how I can accomplish this? Thank you. Example General Category A  

  • External harddrive not recognised preferences are set up good

    HI can someone please help me ?? I have an MAcbook pro: Processor  2,6 GHz Intel Core i7 Memory  8 GB 1600 MHz DDR3 Graphics  Intel HD Graphics 4000 Software  OS X 10.9.3 (13D65) I have an external hardrive and I could always move, change files too i

  • Videos not showing Thumbnails

    Hi all, I am using Z10, today I was moving some of my media files from device memm to SD card & after that I deceided to move them back to device memm. And i accidently deleted some files from the SD card.  Now when i open the VIDEO option in my phon

  • Using BAPI_COPAPLANNING_POSTDATA

    Hi All.   I am using following BAPI function to upload COP Planing data,but i don't have idea to how to pass the data to bapi function,any can help me how can i pass data to bapi function  to get the out put. BAPI_COPAPLANNING_POSTDATA Thanks knishka

  • Raw photos no longer importing into iphoto

    New sony A7II and iphoto will not recognise the raw files?