[SOLVED] Empty Package from PKGBUILD

I'm writing my first PKGBUILD for an app I wrote. In the PKGBUILD my build and package functions look like this :
build() {
cd "$srcdir/$pkgname-${pkgver//_/-}"
qmake
make PREFIX=/usr
package() {
cd "$srcdir/$pkgname-${pkgver//_/-}"
make DESTDIR="$pkgdir/" install
but makepkg builds an empty package without the binary. What am I doing wrong?
Last edited by yungtrizzle (2014-02-01 14:40:20)

graysky wrote:Doesn't sound like your Makefile is using $(DESTDIR) then... modify it to do so.  Use this as an example if you need one: https://github.com/graysky2/profile-syn … r/Makefile
That won't work in my case, the makefile is generated from qmake, anything I change will be overwritten.
@Spider.007 add DESTDIR doesn't make any changes
Last edited by yungtrizzle (2014-02-01 12:36:35)

Similar Messages

  • [solved] remove packages from a txt file list

    as the subject header says, I want to run "pacman -R" and have it read a list of packages from a text file.
    Is this possible????
    text file is formatted as such....
    file1
    file2
    file3
    Last edited by orphius (2013-07-09 08:11:53)

    Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.

  • [SOLVED] install package from aur via yaourt

    Hi,
    i installed yaourt and tried to install from the aur.
    it keeps asking me to continue bulding and then restart building. it just wont install any packages.
    for none-aur packages it works fine btw.
    any help?
    alex
    Last edited by alext (2011-10-11 23:13:53)

    me too and it didnt.
    [xxx@xxx pcmanfm-mod]$ yaourt ntfs-config
    1 aur/ntfs-config 1.0.1-7 (200)
    Enable/disable NTFS write support with a simple click
    ==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
    ==> -------------------------------------------------------
    ==> 1
    ==> Downloading ntfs-config PKGBUILD from AUR...
    x PKGBUILD
    x python-2.7.patch
    Comment by: loleg on Sat, 25 Jun 2011 10:07:14 +0000
    Compiles installs OK using yaourt, however does not work on my up-to-date system with the issue discussed here: http://ubuntuforums.org/archive/index.php/t-1497399.html
    Comment by: jlcordeiro on Mon, 27 Jun 2011 08:56:12 +0000
    Can you check if:
    sudo mkdir /etc/hal/fdi
    sudo touch /etc/hal/fdi/policy
    solves the problem?
    Comment by: mr430 on Tue, 04 Oct 2011 15:56:44 +0000
    jlcordeiro, same problem and making /etc/hal/fdi directory solve it, thanks
    Comment by: jlcordeiro on Sat, 08 Oct 2011 08:17:08 +0000
    Updated with the solution to the mentioned problem.
    Comment by: archdria on Tue, 11 Oct 2011 12:04:43 +0000
    Please, add perl-xml-parser as makedep :)
    Comment by: jlcordeiro on Tue, 11 Oct 2011 21:36:05 +0000
    Done. Thank you :)
    First Submitted: Fri, 19 Jan 2007 21:10:44 +0000
    ntfs-config 1.0.1-7
    ( Unsupported package: Potentially dangerous ! )
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    ==> ntfs-config dependencies:
    - python2 (already installed)
    - pygtk (already installed)
    - udev (already installed)
    - ntfs-3g (already installed)
    - perl-xml-parser (already installed)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'testing' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'core' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'extra' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'community-testing' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'community' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'multilib' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    ==> Continue building ntfs-config ? [Y/n]
    ==> -------------------------------------
    ==>
    ==> Building and installing package
    ==> Install or build missing dependencies for ntfs-config:
    Password:
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'testing' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'core' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'extra' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'community-testing' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'community' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'multilib' not recognized.
    error: target not found: recognized.
    ==> Restart building ntfs-config ? [y/N]
    ==> ------------------------------------
    ==>
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    ==> ntfs-config dependencies:
    - python2 (already installed)
    - pygtk (already installed)
    - udev (already installed)
    - ntfs-3g (already installed)
    - perl-xml-parser (already installed)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'testing' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'core' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'extra' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'community-testing' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'community' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'multilib' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    ==> Continue building ntfs-config ? [Y/n]
    ==> -------------------------------------
    ==>
    ==> Building and installing package
    ==> Install or build missing dependencies for ntfs-config:
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'testing' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'core' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'extra' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'community-testing' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'community' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'multilib' not recognized.
    error: target not found: recognized.
    ==> Restart building ntfs-config ? [y/N]
    ==> ------------------------------------
    ==>
    ==> WARNING: Following packages have not been installed:
    ntfs-config
    Edit: now ive just seen that i forgot about the warnings. i am not sure about what they mean and how to fix it.
    Last edited by alext (2011-10-11 22:16:58)

  • [SOLVED]Recreating packages from installed files?

    Just a simple question. Suppose I do this:
    pacman -U pkg-foo.tar.xz
    # it installs successfully
    rm pkg-foo.tar.xz
    Is there a way to recreate the package file from the installed files and metadata on the system?
    Sorry if this is obvious, but I can't find anything on it.
    Last edited by nixscripter (2011-06-08 19:03:36)

    Just what I was looking for. Thanks!

  • [SOLVED] Copy packages from current Arch install to new Arch install

    Hello!
    I'm new to Arch, so that's why I'm posting in the newbie corner. I've been looking everywhere for an answer to this: I want to do a fresh install of my system, but my internet connection is sort of messed up right now (unusually slow). I noticed that every package I have installed on my current Arch are saved in /var/cache/pacman/pkg. Could I make a backup of that directory onto another partition on my hard drive, reinstall Arch, and restore the backup to that same directory in the new install? Would pacman "think" it's already downloaded and skip the download step alltogether?
    Thanks.
    Last edited by magyckleo (2011-01-31 21:28:44)

    karol wrote:
    From the repo-add manpage: 'repo-add [-q] <path-to-db> <package1> [<package2>...]'
    This should create the dbs you need.
    Honestly, *I* think, that the manpage is enough and you don't need the wiki (in this case at least).
    You know what, do a test, pick a couple packages, copy them somewhere and create a tiny local repo.
    Awesome! I managed to make pacman read the package db I created using add-repo.
    I added the repo to the pacman.conf. Had to do a little trial & error to figure out I had to put it like this:
    [name of db file]
    Server = file:///path/to/folder_of_db partition
    I was trying to put the file.db.tar.gz complete rute. Of course, pacman let me know with an error that wasn't right.
    I tried installing something simple, like wine. First, I did a sudo pacman -Scc to clear the cache. Then I did sudo pacman -S wine. It installed successfully! I'm gonna try with a fresh install this afternoon. I'll let you know of the result.
    Thanks everyone!
    Last edited by magyckleo (2010-09-27 15:46:05)

  • (Solved)Install packages from Usb/Flashdrive or Dvd-see last post

    Hi,i just started using linux and have what's problay going to sound like a dumb question.can i download packages and put them on a Usb/Flashdrive or dvd and install them with pacman.I have a rocket stick usb modem and cant get it to connet to the net because im missing a package (wvdial).Any help with this will be appreciated.Thx
    BTW i burned this package to a dvd (wvdial) and went to my dvddrive and it wasent there:)
    http://bbs.archlinux.org/viewtopic.php?id=83206
    Last edited by unilx (2009-10-26 15:51:30)

    you can surely put those packages onto a removable media & to install those packs with pacman you need to copy those to /var/cache/pacman/pkg directory.
    then just do
    pacman -S package
    BTW i burned this package to a dvd (wvdial) and went to my dvddrive and it wasent there:)
    can't understand this. might be u r saying that u burned wvdial to a dvd & it wasn't there, so there are chances that that dvd is corrupt or burning didn't happen properly
    Last edited by vik_k (2009-10-23 05:42:52)

  • [SOLVED] Building VCS packages from AUR fails

    Hello,
    Whenever I try to build a git or svn package from AUR, build fails with the error in a clean chroot enviroment:
    ==> ERROR: Unknown download protocol: svn
    Aborting...
    When the build starts, makepkg actually downloads source files properly. Any clues?
    Last edited by yuan_modu (2015-04-02 16:31:03)

    Trilby wrote:How many packages has this happened with?  Can you give an example of one that produces this error?  If the download proceeds when the build starts, it sounds like the PKGBUILD is outdated and is manually grabbing the source in the build function (in pacman<4.0 style).
    I was building https://aur.archlinux.org/packages/uefi-shell-svn: a popular and up-to-date PKGBUILD.
    Indeed I didn't merge the conf files of  clean chroot. There was a makepkg.conf.pacnew, the lacking part in my old makepkg.conf was:
    VCSCLIENTS=('bzr::bzr'
    'git::git'
    'hg::mercurial'
    'svn::subversion')
    and some small changes. Everything works fine now. Was my bad. Sorry for incovenience and thanks for your help.
    Last edited by yuan_modu (2015-04-02 13:08:21)

  • [Solved] Install package python-evdev from AUR

    I belive this is the correct section to post this but I have a problem installing the package python-evdev where I get the error ( Unsupported package: Potentially dangerous ! )
    after trying to install with yaourt and pip install python-evdev results in bash: pip: command not found even after checking that extra/python-setuptools 1:5.2-1 is installed
    and extra/python2-setuptools 1:5.2-1 is installed.
    I realize there are other modules for hooking x server events but this one I have already written 200 lines of code for and is key to my application working.  I was able to install
    and utilize this module in ubuntu but cannot seem to get it installed in archlinux.  Any guidance would be apreciated.
    Last edited by meschael (2014-06-25 00:34:58)

    I asumed pip came with setup tools, so following ids1024's lead I did a pacman -S python-pip which solved the command not found issue.  I downloaded and untar'ed the package from AUR and issued a makepkg -s from within the extracted folder.  There seems to be an issue with the licence which I can now see has to do with the person who make the package
    I did not realize the dynamics of how AUR works because I am new to arch, so I appologize if I bothered anyone.
    [Update] I have abondoned the idea of getting pythons evdev module installed as I have located a python3-xlib module which seems to have installed correctly, incidently I was unable to locate a xlib ported to python3 in my other distro, but found it in AUR here so this should work, will have to adapt my code but not the end of the world.  Else if (Xlib != WORKING): work directly with /dev/input/eventn using root
    Last edited by meschael (2014-06-25 00:34:03)

  • Failed to retrieve git package from all mirrors [Solved]

    Hi there. I'm having trouble installing git. Everything else I've installed has been fine (and I have installed other things while this problem persists)
    $ sudo pacman -S git
    resolving dependencies...
    looking for inter-conflicts...
    Targets (2): perl-error-0.17018-1 git-1.7.12-1
    Total Download Size: 2.66 MiB
    Total Installed Size: 17.00 MiB
    Proceed with installation? [Y/n]
    :: Retrieving packages from extra...
    error: failed retrieving file 'git-1.7.12-1-x86_64.pkg.tar.xz' from mirror.aarnet.edu.au : The requested URL returned error: 404 Not Found
    I leave pacman running through all the other mirrors, and it just cannot find the file on any of them.
    When I look at http://mirror.aarnet.edu.au/pub/archlin … os/x86_64/ I see that there is git-1.7.12.1-1-x86_64.pkg.tar.xz which is named differently to the target pacman is looking for (git-1.7.12-1-x86_64.pkg.tar.xz)
    I'm new to arch and pacman. Where could this inconsistency be coming from, and how would I go about resolving it?
    EDIT: Just found the -y option in the pacman man page. Solved!
    Last edited by oadams (2012-09-23 07:26:37)

    I used the following process to clean up these warnings on my DPs:
    Setup content validation checks for each of my affected DPs to run every morning (previously only set to weekends). I did this so when I made a change I could validate whether or not it worked the following day. It would be great if there was a way to force
    these checks manually but I haven't found a method yet.
    After the content validation check completed I filtered through the smsdpmon.log on each affected DP. This revealed the package ID that was causing the issue.
    In my environment the package in question was not needed so I deleted it. If it is required I suspect re-distributing it would work as well.
    At this stage the problem was still not fully resolved for me. Even though I had deleted the package WMI was still inaccurate. I used this script to scrub WMI on all affected DPs and it picked up the problematic package ID:
    http://gallery.technet.microsoft.com/Powershell-script-to-fix-81dc4e69
    My content validation checks are now passing and the warnings are being cleared. YEAH!
    As a final note - After running the PS script Nickolaj posted I ran started seeing dozens of error checks on my packages (Distribution Manager failed to process package "Laptop Drivers" (package ID = XYZ00123).) After doing some research
    I found I was prone to this issue:
    Failed to start DP health monitoring task. In my case the suspect file was called "Microsoft". I moved it to another location and the errors cleared immediately.
    Hope this info is helpful to others!

  • [SOLVED] Script to clear all but the current packages from cache?

    Has anyone written, found such a script, or like to write one?
    It just has to delete all older duplicate packages in /var/cache/pacman/pkg/ .  After which keeping a superseded copy of packages just comes down to when you use the script.
    It would keep the /var/cache/pacman/pkg/ directory slimmer, (though it would still have more than is required in it I know) & ensure a quick recovery through downgrading to a known good package when required.
    It would be so easy to run the script before an -Syu --aur  so that if you have any problems you still have the superseded version of whatever, that you can downgrade to until the problem is solved
    Last edited by handy (2008-12-18 07:37:10)

    man pacman wrote:
    SYNC OPTIONS
           -c, --clean
               Remove packages that are no longer installed from the cache as well
               as currently unused sync databases to free up disk space. When
               pacman downloads packages, it saves them in a cache directory. In
               addition, databases are saved for every sync DB you download from,
               and are not deleted even if they are removed from the configuration
               file pacman.conf(5). Use one --clean switch to only remove packages
               that are no longer installed; use two to remove all packages from
               the cache. In both cases, you will have a yes or no option to
               remove packages and/or unused downloaded databases.
               If you use a network shared cache, see the CleanMethod option in
               pacman.conf(5).
    Does "pacman -Sc" not do what you are suggesting?

  • [SOLVED] yaourt. packages taken from aur that are from core or extra

    Hi! i have a couple of days ago strange yaourt-pacman behaviour, i mean, when i do -Syu --aur, i get strange
    [aleyscha@aleyscha ~]$ yaourt -S screen
    warning: screen-4.0.3-5 is up to date -- reinstalling
    resolving dependencies...
    looking for inter-conflicts...
    Targets: screen-4.0.3-5
    Total Download Size: 0.45 MB
    Proceed with installation? [Y/n]
    :: Retrieving packages from extra...
    error: failed retrieving file 'screen-4.0.3-5-i686.pkg.tar.gz' from ftp.archlinux.org : Connection timed out
    warning: failed to retrieve some files from extra
    error: failed to commit transaction (unexpected error)
    and in yaourt -Syu --aur for example, i get a lot of packages newer in local than in aur, and some packages i know not even are in aur... for example unshield alsa-plugins and tuxcmd
    ==> Searching for new version on AUR
    alsa-plugins: (local=1.0.15-1 aur=1.0.11-1)
    amidi-plug: (local=0.7-3 aur=0.5-1)
    amule-cvs: up to date
    any2dvd: (local=0.34-3 aur=0.30-2)
    archlinux-xdg-menu: not found on AUR
    archmage: up to date
    aria: (local=1.0.0-4 aur=1.0.0_1.fc8-1)
    astromenace: up to date
    audio-convert: (local=0.3.1.1-2 aur=0.3.1.1-1)
    aumix-gtk: (local=2.8-2 aur=2.8-1)
    aurvote: up to date
    avifile: not found on AUR
    bashburn: (local=2.1.2-3 aur=2.1.2-1)
    bfcommander: up to date
    bin2iso: up to date
    bitefusion: up to date
    bkhive2: up to date
    briquolo: up to date
    tuxcmd: not found on AUR
    tuxcube: up to date
    uif2iso: up to date
    unace: (local=2.5-5 aur=2.5-4)
    units: (local=1.87-1 aur=1.85-1)
    unshield: not found on AUR
    uqm: (local=0.6.2-2 aur=0.5.0-1)
    my /etc/pacman.d/core for example:
    # core: Arch Linux core repository
    # United States
    Server = ftp://ftp.archlinux.org/core/os/i686
    Server = ftp://ftp.nethat.com/pub/linux/archlinux/core/os/i686
    Server = ftp://locke.suu.edu/linux/dist/archlinux/core/os/i686
    Server = ftp://mirrors.unixheads.org/archlinux/core/os/i686
    Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/core/o$
    Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/core/os/i686
    Server = http://mirrors.easynews.com/linux/archlinux/core/os/i686
    Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/core/os/i686
    # South America
    # - Brazil
    Server = http://archlinux.c3sl.ufpr.br/core/os/i686
    Last edited by leo2501 (2008-03-09 11:16:17)

    What are the versions of your pacman and yaourt?
    There are some updates to all the pacman, yaourt and AUR web pages,
    so can you try this:
    1. upgrade pacman itself first
    2. upgrade yaourt itself, then
    3. and last, try full system upgrade.
    These errors seem familiar, but I have no idea how it disappeared.

  • Need package from testing, How can I install?[solved]

    Hi
    I must install the i81 Driver from testing, but what must I edit in the pacman.conf?
    I have try it with
    Incoming = /etc/packman.d/testing
    this don't work.

    Remove that line from pacman.conf - it's completely incorrect. "Incoming=" means nothing to pacman, and if you look in /etc/pacman.d, there is no file called testing.
    Here's the right way. Uncomment these two lines in pacman.conf:
    #[testing]
    #Server = ftp://ftp.archlinux.org/testing/os/i686
    Then do
    pacman -Sy testing/xf86-video-i810
    If you don't need any other packages from testing, re-comment the lines in pacman.conf - if you want to be able to get selected packages from testing, move the lines to the end of pacman.conf, after all other repos.

  • [SOLVED] Exclude a package from pacman database without uninstalling

    Hi all,
    I have heroes of newerth installed from AUR and I would like to detach this package from the database so it doesnt get updated when I use packer, the reason is because when an update occurs, I have to download the whole game again, and if I dont update the game prompts me to update when I login and I get only the patch (which results in a 2 minutes download instead of an hour download)
    So what I want to do Is tell pacman or packer that this package should be tracked an updated anymore, how can I do that?
    cheers and thanks for the help
    Last edited by 655321 (2011-08-26 22:02:51)

    mcmillan wrote:
    From man pacman
    TRANSACTION OPTIONS (APPLY TO -S, -R AND -U)
    -k, --dbonly
    Adds/Removes the database entry only, leaves all files in place.
    This would probably be a more proper way than just deleting the files from /var/lib/pacman/local. Though it may be best to reinstall it outside of pacman like Karol suggested just to be sure nothing is inconsistant.
    I didn't say it, Stebalien did ;P but I too think it would be the best choice.

  • Error when execute a package from SQL Server Agent

    We have the next problem:
    When we execute a package from a Job of SQL Server agent, it shows the success messege, but reviewing the results, the package didnt do all the tasks.
    When we run it mannually by MSIS the package, it shows the success message and it works fine.
    The workflow of the package is :
    1) Shrink the databases (executing a sql file)
    2) Backup the databases (Back up Database task of MSIS)
    3) Rename the files to .BAK extension (by the Foreach loop container and fyle system task)
    4) Execute command to compress the it (by a .bat)
    5) Move the compress file to another location  (by another Foreach loop)
    Manually run correct, but when is a a SQL AGent Job that execute the package it does only the first 2 steps.
    we are ussing Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64) Jun 17 2011 00:54:03 Copyright (coffee) Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) 
    We are using a user with administrator privilegies
    Cheers 

    Can you check if account running package has proper access. You may need to define a proxy account for that.
    See
    http://www.databasejournal.com/features/mssql/article.php/3789881/Proxy-Accounts-in-SQL-Server.htm
    http://gqbi.wordpress.com/2014/01/30/setting-up-a-proxy-account-to-run-sql-server-integration-services-ssis-2012-packages/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Unable to delete some files or empty them from Trash

    Hi, I receive the following message when trying to empty files from the Trash:
    "The Finder cannot complete the operation because some data in "lg550-1.gif" could not be read or written.
    (error code -36)"
    There are hundreds of these .gif files in an images folder which I would like to delete by emptying the trash. Finder is asking whether I would like to continue or stop emptying the trash...I'm wondering if there is a way to eliminate this images folder manually from the command line?
    (I just don't have the time to constantly click upon "continue" and I think these files will still be in the Trash in any case, with the basic problem unsolved so long as they are not permanently deleted.)
    Thanks

    Reading
    [You can't empty the Trash or move a file to the Trash in Mac OS X|http://docs.info.apple.com/article.html?artnum=106272]
    [Solving Trash Problems|http://www.thexlab.com/faqs/trash.html]
    [How To Fix Stubborn Trash and Why it Won't Delete|http://www.osxfaq.com/Tutorials/LearningCenter/HowTo/Trash/index.ws]
    *Utilities for emptying trash problems*
    [Trash It! v3.6.1|http://www.nonamescriptware.com/?page_id=5]
    [DropNuke|http://www.versiontracker.com/dyn/moreinfo/macosx/12664]
    [Super Empty Trash 2.3|http://www.macupdate.com/info.php/id/16727] - Simple AppleScript applet that will empty the Trash with administrator privileges
    [What's Keeping Me|http://www.hamsoftengineering.com/products/wkm/wkm.html] - lists files open and applications that are using them

Maybe you are looking for