[Partially Solved] Error with bsdtar and symbolic links

I'm trying to install a package (asymptote) from AUR but am running into an odd error.  During the extract phase I get errors like
asymptote-1.70/base/asy-keywords.el: Can't update time for asymptote-1.70/base/asy-keywords.el: Function not implemented
bsdtar: Error exit delayed from previous errors.
I found a post that may help: http://bbs.archlinux.org/viewtopic.php?id=50750.  Do I really have to do this?
By the way, I too am running on a Linode (Xen virtualization).
Thanks,
Luis
Last edited by banbh (2009-05-24 00:22:13)

I have not got to the bottom of my problems with bsdtar and symlinks.  I suspect it must have something to do with either my configuration (derived from the Arch image provided by Linode) or running under virtualisation.
However, others might find my work-around useful, so I document it below.
I downloaded asymptote from AUR using wget ("wget http://aur.archlinux.org/packages/asymptote/asymptote.tar.gz"), unpacked it, then patched the PKGBUILD
$ diff -u PKGBUILD.orig PKGBUILD
--- PKGBUILD.orig 2009-05-23 17:58:47.000000000 -0400
+++ PKGBUILD 2009-05-23 18:00:49.000000000 -0400
@@ -11,9 +11,12 @@
'used if present at compile time: freeglut, gsl, fftw')
source=(http://downloads.sourceforge.net/sourceforge/asymptote/$pkgname-$pkgver.src.tgz)
md5sums=('1ded335bc63b662a6eb920a4c065706c')
+noextract=($pkgname-$pkgver.src.tgz)
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd $srcdir
+ tar xzf $pkgname-$pkgver.src.tgz
+ cd $pkgname-$pkgver
./configure --enable-gc=/usr --prefix=/usr \
--with-latex=/usr/share/texmf/tex/latex || return 1
make asy || return 1
After that I simply did a "makepkg" followed by "sudo pacman -U asymptote-1.73-1-i686.pkg.tar.gz"

Similar Messages

  • Issue with stat() and symbolic links

    Has anyone experienced the following issue with stat() ?
    #include <stdio.h>
    #include <string.h>
    #include <sys/types.h>
    #include <sys/stat.h>
    #include <unistd.h>
    int main( int argc, char **argv )
    struct stat buf;
    if( argc < 2 )
    return 0;
    char *link = strdup( argv[1] );
    if( stat( link, &buf ) == -1 ) {
    puts( "Error" );
    return 1;
    if( ( S_IFLNK & buf.st_mode ) == S_IFLNK )
    puts( "Is link" );
    else
    puts( "Not link" );
    return 0;
    If you compile and run the above code (or similar code), you would expect it to report that the given argument is a symbolic link when indeed the argument is a symbolic link; though, instead of the expected happening, the following happens as shown below:
    $ gcc -o islink islink.c
    $ ln -s /tmp link
    $ ./islink link
    Not link
    $
    Is anyone else experiencing this? My filesystem is ext4. The same error happens when using the S_ISLNK() macro.

    man 3p lstat
    DESCRIPTION
           The lstat() function shall be equivalent to stat(),  except  when  path
           refers  to  a symbolic link. In that case lstat() shall return informa‐
           tion about the link, while stat() shall return  information  about  the
           file the link references.

  • [SOLVED] errors with fdisk and cryptsetup; is my drive going bad?

    I'm having issues with re-formatting an external hard drive using dm-crypt. It was previously formatted with TrueCrypt/NTFS, which I used as a shared backup drive between Windows and Arch. At some point, it stopped being able to mount, which I attributed to allowing Windows to "fix" it after improper dismount (e.g. a hard kill).
    I decided to re-format with ext4 and only use it from Arch, but now I'm wondering if I may have a hardware issue with the drive. I've tried a lot more (like going through the full zero write after mounting the drive as a temporary dm-crypt device), but here's the condensed version to illustrate the problem.
    system info
    This is on a fresh boot. Just adding that as I've had issues with kernel modules after updating if a new kernel comes through. A fresh boot removes that potential issue.
    $ uname -a
    Linux arch_840 4.0.3-1-ARCH #1 SMP PREEMPT Wed May 13 15:38:47 CEST 2015 x86_64 GNU/Linux
    $ lsmod | grep dm_
    dm_crypt 28672 2
    dm_mod 98304 5 dm_crypt
    $ lsmod |grep xts
    xts 16384 2 serpent_sse2_x86_64,twofish_x86_64_3way
    gf128mul 16384 2 lrw,xts
    smartctl status
    Figured I should check the drive. There's a lot of old age and pre-fail warnings, but this post would seem to suggest I'm okay?
    # smartctl -A /dev/sdb
    smartctl 6.3 2014-07-26 r3976 [x86_64-linux-4.0.3-1-ARCH] (local build)
    Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
    === START OF READ SMART DATA SECTION ===
    SMART Attributes Data Structure revision number: 16
    Vendor Specific SMART Attributes with Thresholds:
    ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
    1 Raw_Read_Error_Rate 0x002f 100 100 051 Pre-fail Always - 0
    2 Throughput_Performance 0x0026 252 252 000 Old_age Always - 0
    3 Spin_Up_Time 0x0023 090 089 025 Pre-fail Always - 3330
    4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 703
    5 Reallocated_Sector_Ct 0x0033 252 252 010 Pre-fail Always - 0
    7 Seek_Error_Rate 0x002e 252 252 051 Old_age Always - 0
    8 Seek_Time_Performance 0x0024 252 252 015 Old_age Offline - 0
    9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 3707
    10 Spin_Retry_Count 0x0032 252 252 051 Old_age Always - 0
    11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 104
    12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 734
    191 G-Sense_Error_Rate 0x0022 100 100 000 Old_age Always - 17
    192 Power-Off_Retract_Count 0x0022 252 252 000 Old_age Always - 0
    194 Temperature_Celsius 0x0002 064 053 000 Old_age Always - 24 (Min/Max 16/47)
    195 Hardware_ECC_Recovered 0x003a 100 100 000 Old_age Always - 0
    196 Reallocated_Event_Count 0x0032 252 252 000 Old_age Always - 0
    197 Current_Pending_Sector 0x0032 252 252 000 Old_age Always - 0
    198 Offline_Uncorrectable 0x0030 252 252 000 Old_age Offline - 0
    199 UDMA_CRC_Error_Count 0x0036 200 200 000 Old_age Always - 0
    200 Multi_Zone_Error_Rate 0x002a 100 100 000 Old_age Always - 3
    223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 104
    225 Load_Cycle_Count 0x0032 079 079 000 Old_age Always - 214068
    Disk info, delete existing partition, new MBR, create new partition
    # fdisk /dev/sdb
    Welcome to fdisk (util-linux 2.26.1).
    Changes will remain in memory only, until you decide to write them.
    Be careful before using the write command.
    Command (m for help): p
    Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x76d37b6d
    Device Boot Start End Sectors Size Id Type
    /dev/sdb1 63 976768064 976768002 465.8G 83 Linux
    Command (m for help): d
    Selected partition 1
    Partition 1 has been deleted.
    Command (m for help): o
    Created a new DOS disklabel with disk identifier 0x2cd60f13.
    Command (m for help): n
    Partition type
    p primary (0 primary, 0 extended, 4 free)
    e extended (container for logical partitions)
    Select (default p): p
    Partition number (1-4, default 1):
    First sector (2048-976773167, default 2048):
    Last sector, +sectors or +size{K,M,G,T,P} (2048-976773167, default 976773167):
    Created a new partition 1 of type 'Linux' and of size 465.8 GiB.
    Command (m for help): w
    The partition table has been altered.
    Calling ioctl() to re-read partition table.
    Syncing disks.
    trying to format with cryptsetup
    I had a bunch of custom options, but other Arch posts suggested just trying the default, which is what I've done here. It fails with the same error as when I try to pass a cipher, key size, etc. ("Command failed with code 5: IO error while encrypting keyslot.").
    # truecrypt -v --debug luksFormat /dev/sdb1
    bash: truecrypt: command not found
    [root@arch_840 jwhendy]# cryptsetup -v --debug luksFormat /dev/sdb1
    # cryptsetup 1.6.6 processing "cryptsetup -v --debug luksFormat /dev/sdb1"
    # Running command luksFormat.
    # Locking memory.
    # Installing SIGINT/SIGTERM handler.
    # Unblocking interruption on signal.
    WARNING!
    ========
    This will overwrite data on /dev/sdb1 irrevocably.
    Are you sure? (Type uppercase yes): YES
    # Allocating crypt device /dev/sdb1 context.
    # Trying to open and read device /dev/sdb1.
    # Initialising device-mapper backend library.
    # Timeout set to 0 miliseconds.
    # Iteration time set to 1000 miliseconds.
    # Interactive passphrase entry requested.
    Enter passphrase:
    Verify passphrase:
    # Formatting device /dev/sdb1 as type LUKS1.
    # Crypto backend (gcrypt 1.6.3) initialized.
    # Detected kernel Linux 4.0.3-1-ARCH x86_64.
    # Topology: IO (512/0), offset = 0; Required alignment is 1048576 bytes.
    # Checking if cipher aes-xts-plain64 is usable.
    # Using userspace crypto wrapper to access keyslot area.
    # Generating LUKS header version 1 using hash sha1, aes, xts-plain64, MK 32 bytes
    # KDF pbkdf2, hash sha1: 996745 iterations per second.
    # Data offset 4096, UUID 181fed4d-42f2-4f0f-8b70-cb7ba459e25f, digest iterations 121625
    # Updating LUKS header of size 1024 on device /dev/sdb1
    # Key length 32, device size 976771120 sectors, header size 2050 sectors.
    # Reading LUKS header of size 1024 from device /dev/sdb1
    # Key length 32, device size 976771120 sectors, header size 2050 sectors.
    # Adding new keyslot -1 using volume key.
    # Calculating data for key slot 0
    # KDF pbkdf2, hash sha1: 1008246 iterations per second.
    # Key slot 0 use 492307 password iterations.
    # Using hash sha1 for AF in key slot 0, 4000 stripes
    # Updating key slot 0 [0x1000] area.
    # Using userspace crypto wrapper to access keyslot area.
    IO error while encrypting keyslot.
    # Releasing crypt device /dev/sdb1 context.
    # Releasing device-mapper backend.
    # Unlocking memory.
    Command failed with code 5: IO error while encrypting keyslot.
    Things also tend to hang with respect to the drive at this point. For example, fdisk -l spits out /dev/sda partitions immediately and then just hangs instead of printing out /dev/sdb info, then eventually quits (without ever writing it).
    Any suggestions on where to look/how to troubleshoot? I found some possibly related posts, but nothing that looks promising:
    - Impossible to crypt the drive using cryptsetup (fixed by rebooting)
    - cryptsetup fails to open Udev cookie 0xd4d94f5 (semid 0) waiting for z (no responses; the hang after seems similar)
    There's a couple odds and ends references to cryptsetup 1.6.6 having issues. I downloaded 1.6.4-1 and 1.6.5-1 and -2 from ARM to try, but wanted to post this in the meantime in case something stuck out.
    Last edited by jwhendy (2015-05-29 16:01:40)

    @qinohe I thought of that and the other day started formatting with mkfs.ext4; unfortunately, it was at work and I had to leave before I could let it finish. It had been chugging along a good few hours, and I was surprised it would take that long. I was able to format it with ext4 using Windows 7 (I dual boot) with the MiniTool Partition Wizard but I didn't use it like that before trying to solve the cryptsetup issue again.
    This last time around, I was getting unresponsive behavior. I think I need to reboot each time I try something with cryptsetup, as any commands related to that drive seem to hang afterwards (fdisk, umount, eject, mkfs, or trying crypsetup again). Perhaps I'll just let it cook overnight with mkfs and see if I can at least have an unencrypted, but functional drive.
    One interesting tidbit is that even though cryptsetup fails, when I've tried to issue mkfs afterward, it asks me to confirm that I want to format the disk since it has a LUKS header... so something appears to have been written. Is it possible the header is causing some issues? I don't know much about the structure of a disk (like what range the MBR resides in, what constitutes a header, etc.) but have been wondering if there's some way to start really, really clean with the disk. Like I'd just bought it -- something appears to be lingering around from previous efforts?
    @frostschutz I'll check tomorrow. That's a good question. Just checked journalctl and here are some of the errors that appear; unfortunately, I wasn't watching so I can't tell you what matches up with what command:
    May 23 09:32:22 arch_840 systemd-udevd[7784]: inotify_add_watch(7, /dev/sdb1, 10) failed: No such file or directory
    May 23 09:32:22 arch_840 kernel: usb 3-4: stat urb: status -108
    ### there's lots like this; like 10 in a row with various sector values listed
    May 23 09:32:19 arch_840 kernel: Buffer I/O error on dev sdb1, logical block 61341696, lost async page write
    May 23 09:32:19 arch_840 kernel: blk_update_request: I/O error, dev sdb, sector 490735616
    ### there's also a bunch like this, from tab #0 -> #29 (not colored red, so not sure they're errors?)
    May 23 09:32:19 arch_840 kernel: sd 2:0:0:0: [sdb] tag#0 CDB: opcode=0x2a 2a 00 1d 07 bc 10 00 04 00 00
    May 23 09:32:18 arch_840 kernel: sd 2:0:0:0: [sdb] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT
    I paged down quite a ways and those seem like the unique messages when I search the journal for "sdb". Anything stand out? I will say that the same sector numbers appeared in multiple blocks of the third error type listed, so that makes me wonder if something is genuinely wrong with the disk. I'll post the output of the full smartctl scan when I hopefully run it tomorrow.
    Thanks for chiming in!

  • [SOLVED]Error with makepkg and nspluginwrapper.

    Hi all,
    I am trying to install flash plugin for firefox.  When I run makepkg I get this error...
    ==> ERROR: install scriptlet (nspluginwrapper.install) does not exist.
    I am not sure what is wrong, am I missing something?
    Diesel1.
    Last edited by diesel1 (2007-07-26 21:09:09)

    skottish wrote:
    diesel1 wrote:do I need PKGBUILD files in each directory?
    Yes. You need to build and install nsplugwrapper before you build nspluginwrapper-flash. So, unpack nspluginwrapper, cd into that directory, and follow the instructions on the Wiki. Once successful,  do the same for nspluginwrapper-flash.
    I finally realised I was using the wrong tarball!  Now I have the correct files it works ok.
    Thanks for the help skottish.
    Diesel1.

  • [SOLVED] Problem with "su" and "login".

    Hi, I reinstalled Arch Linux today when I updated "filesystem" and reboot appeared an error with root device, but I solved with installation CD.
    I restarted laptop after solving error with root device when I went to XFCE4 and open a terminal I tried to login as root with "su" and "su -" but showed this error:
    bash: su: command not found
    So I rebooted to start in text mode.
    When loaded SLIM I press ctrl+alt+F1 to enter text mode.
    I type root to login but did'nt appear to enter the pass, appeared again to enter login. I tried type my user but did the same.
    Someone can help me?
    Thanks!
    Last edited by surrealistic (2012-10-12 08:54:58)

    Thank you falconindy. I upgrade with --force because I search in Google the problem show "filesystem" when I tried install and I read that solution is upgrade "filesystem" with --foce.
    I tried to reinstall util-linux and now works. Thank you!

  • How do i send an html file exported from muse as email blast with images and live links?

    My question it:
    How do i send an html file exported from muse as email blast with images and live links?
    I have designed a "website" in adobe muse and exported it as an html file. I am not sure how to send my .html file in an email!
    Best,
    Nicole

    Unfortunately, the answer is, you don't. The requirements for HTML displayed in an e-mail reader are very different than those for HTML displayed in a browser. The output of Muse won't work as an HTML e-mail. You could upload the Muse site as a website and provide a link to it in an e-mail, but the HTML generated by Muse is not suitable for direct display by an e-mail program.

  • I want to deployment WSUS for our company. So I need step by step guide line with screenshot and video link

    I want to deployment WSUS for our company. So I need step by step guide line with screenshot and video link.
    Thanks,
    Qamrul

    I was more interested in writing a script in PowerShell to automatically deny Itanium server updates.
    Would you happen to know a good article on this?
    I believe this topic has been discussed in this forum, so I'd start by searching the forum.
    Beyond that, your best friend in PowerShell script efforts is going to be CodePlex. There may be one posted there, already written.
    As a technical reference, you'll need to be familiar with the WSUS API, and the
    Software Development Kit is available on MSDN.
    You can definitely do this with PowerShell. (I actually do it with a feature of SolarWinds Patch Manager which does it via an API call.)
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • How to fix my converted files which come out unlegible mixed with letters and symbols?

    how to fix my converted documents which look unlegible, mixed with numbers and symbols?

    Suggest you first validate the code
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.sainttims.com%2F&charset=%28detect+auto matically%29&doctype=Inline&group=0
    The Float drop issue on the News page could also be related to invalid code
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.sainttims.com%2Fnews.php&charset=%28det ect+automatically%29&doctype=Inline&group=0
    Fix lots of similar odd code like
    <p span class="BlueType">
    which should read
    <p><span class="BlueType">\
    The code for the sidebar photos reads
    <img src="images/photos/2012DOKSpringAssembly/Bishop-Susan-Boat.jpg" align="center" width="190" height="" />
    where height="", IE seems to rendering them at a height of 0px (i.e. invisible).

  • Aborting index build. Too many errors with finding and copying files ...

    Hi dears,
    I'm using UCM 11g.
    I'm trying to start the automatic update cycle. When i start it, it gives me an error message just like :
    Indexing aborted at :<time>. Aborting index build. Too many errors with finding and copying files to the appropriate place.+
    Can anybody help me about this problem?
    Helps will be appreciated.
    Erdo
    Edited by: erdo on 28.Mar.2013 11:11

    Read this: error in Collection Rebuild Cycle
    and maybe also UCM Indexer - Collection Rebuild Cycle errorring out

  • [SOLVED- use cairo-xcb]Symbol lookup errors with cairo and awesome

    Hi  guys,
    the last few days i've been getting these errors at start:
    awesome: symbol lookup error: awesome: undefined symbol: cairo_xcb_surface_create
    on xinit. It gets started with "exec ck-launch-session awesome"
    I've narrowed the problem down to awesome itself, even with default rc.lua. Anyone else also getting these?
    http://mirror.selfnet.de/archlinux/$repo/os/x86_64 has been my first mirror. The mirror itself seems ok.
    Smells like packaging issue, right? Testing is enabled, so cairo is on 1.10.0-2 and awesome on 3.4.6-1.
    Last edited by regitator (2010-09-11 22:25:26)

    read the testing forum
    https://bbs.archlinux.org/viewtopic.php?id=104713
    Last edited by wonder (2010-09-11 22:19:49)

  • The dangers of robocopy and symbolic links

    I was backing up a laptop to a USB drive overnight, using robocopy to copy the directory structure of C:\Users on a Win 7 Pro build. The process ran all night. By the next morning, the copy had failed due to insufficient space on the drive. The data being
    backed up was only 120 GB and the drive was an empty 500 GB. According to the log, the process only made it about 20% of the way before it got caught in an endless loop of copying the C:\Users\<username>\Application Data link. I had forgot to include
    the /xjd switch in the job file it seems.
    Unfortunately, now I am unable to delete the "Application Data" folder as I get a "...filenames are too long for the destination folder..." error. Upon inspection, the folder appears to point to itself, creating a seemingly endless subdirectory
    tree. I've tried manually deleting parts of the directory structure through cut, paste and delete operations but I gave up after 2 hrs. I then tried writing a batch script using robocopy to mirror an empty folder, hoping that would remove the "Application
    Data" folder, but that too fails after a few minutes once the directory path gets too long.
    I've checked online but haven't been able to find any tool which would allow me to delete the circular link that was created by robocopy. Does anyone have suggestions on how to remove this file structure besides formatting the drive?

    From all the other threads I've read, I'm beginning to realize this just isn't an option with this O/S.
    Thanks for the help and suggestions.
    I got intrigued by this problem, then spent a couple of hours on finding a solution. You can use the batch file below to deal with your circular folder. It will deal with any folder, no matter how deep.
    @echo off
    goto Start
    This batch file will delete circular directories that are 
    created by robocopy.exe when used without the /XJ switch.
    The batch file will warn you before it deletes any folder.
    Pressing Ctrl+C will terminate it.
    Usage: rdd "Folder Name"
    22.3.2013 FNL
    :Start
    set msg=
    if [%1] EQU [] goto Error
    if [%2] NEQ [] goto Error
    goto Initial
    Initial checks:
    - Is this an elevated command prompt?
    - Does the user want to proceed?
    - Does the folder exist
    :Initial
    set r=%random%
    for /F "delims=" %%a in ('echo %1') do set Stripped='%%~a'
    set msg=You must execute this batch file under elevated privileges.
    dir \ 1> %SystemDrive%\%r%.txt 2>nul || goto Error
    del %SystemDrive%\%r%.txt
    set msg=Folder %Stripped% not found
    pushd %1 2>nul || goto Error
    set msg=Exiting
    set /p reply=About to delete the folder %1. Go ahead? (Y/N) 
    if /i not "%reply%"=="Y" goto Error
    set Level=0
    for /F %%a in ('dir /b \RDD_Folder* 2^>nul') do rd \%%a
    set Args=WScript.Arguments
    echo WScript.Echo Left(%Args%(0), InStrRev(%Args%(0), "\")-1) >"%temp%\rdd.vbs"
    goto Loop1
    Create a number of junctions to various points
    inside the circular directory tree.
    Prerequisite: mklink (exists under Windows 7)
    :Loop1
    for /F "delims=" %%a in ('dir /b /s 2^>nul') do set FullPath=%%a
    if "%FullPath:~200,4%" EQU "" (echo. & goto Loop2)
    for /F "delims=" %%a in ('cscript.exe //nologo "%temp%\rdd.vbs" "%FullPath%"') do cd "%%a"
    set msg=Unable to create junction.
    set /a Level=%Level%+1
    echo Creating junction \RDD_Folder%Level%
    mklink /d \RDD_Folder%Level% "%CD%" > nul|| (popd & goto Error)
    cd "\RDD_Folder%Level%"
    goto Loop1
    Delete the circular folders, working from
    the inside to the outside, then delete the
    symbolic links.
    :Loop2
    for /f "delims=" %%a in ('dir /b "\RDD_Folder%Level%"') do set ToDelete="\RDD_Folder%Level%\%%a"
    echo Deleting %ToDelete%
    pause
    rd /s /q %ToDelete%
    rd \RDD_Folder%Level%
    set /a Level=%Level%-1
    if %Level% NEQ 0 (
      cd \RDD_Folder%Level%
      goto Loop2
    popd
    echo Deleting %1
    pause
    rd /s /q %1
    goto :eof
    Error exit
    :Error
    echo.
    if "%msg%"=="" set msg=Usage:  rdd  "FolderName"
    echo %msg%

  • Networked Drives and Symbolic Links in Mavericks

    So I have tried this a few times on my own... and I ended up deleteing all my contect with sudo in terminal.....  I have everything restored now... but before I proceed, i thought I would get some help from those that know alot more...
    Here is the scenario..  I have a MBP Late 2013 with mavericks installed..  I have a Networked drive at smb://192.168.1.1/  that is mounted and and accessable through finder no problem, and I have it set to reconnect at login so its always there....  there is no permissions for the networked drive its accessable to everyone...  I want to take my itunes music and put it on the networked drive at smb://192.168.1.1/Music and have itunes access it from there like it was on the local drive....  so I started reading up on symbolic links
    I have had no luck with ln -s in terminal, i keep getting told the directory doesnt exist... this is the exact line i have been triying  [ln -s smb://192.168.1.1/Music ~/Music/iTunes/iTunes Media/Music]  i thought it may have been a permission issue hence my ussage of sudo... but because of my ignorance I just ended up deleting everything..... what am i missing or doing wrong...  someone please help!
    Anthony

    Just for some clarification...
    A simple saying that someone told me ages ago...   "root is God"
    When you use the sudo command you are doing the command as root.  The "rm" command means remove,  the "-r" means that you want the command to be done recursively so it will do the same command in any nested folders, and the "f' means to force the command..  even if it has any errors or is a file that root knows that you shouldnt do a command on..
    So basically you told god to remove everything in your music folder, no matter how deep its nested, even if doing so would be immoral and against gods better judgement.

  • [SOLVED]Problem with packettracer and firefox

    Hi
    I've got a problem with firefox and packettracer.
    When i click on pka file in firefox, it don't open this file in packettracer but wants to save on disk. I've got a version 5.3.1-1 packettracer and latest version firefox.
    I don't know when problem was occured but last week everything was ok. I think that's either update. Meyby it's important that when i type in console:
    update-desktop-database /usr/share/mime
    i've got such errors:
    Unknown media type in type 'all/all'
    Unknown media type in type 'all/allfiles'
    Unknown media type in type 'uri/mms'
    Unknown media type in type 'uri/mmst'
    Unknown media type in type 'uri/mmsu'
    Unknown media type in type 'uri/pnm'
    Unknown media type in type 'uri/rtspt'
    Unknown media type in type 'uri/rtspu'
    Unknown media type in type 'fonts/package'
    Unknown media type in type 'interface/x-winamp-skin'
    i have installed kde 4.5.5-1
    Do you know some solution for my problem?
    edit: update firefox solve my problem
    Last edited by ElNinijo (2013-06-08 08:35:12)

    I've had this happen now and again. You can rebind the lease yourself with:
    $ dhcpcd --rebind
    You could also try increasing the timeout by adding
    TimeoutDHCP=
    to your netctl profile/s - see netctl.profile(5) as WonderWoofy suggests. Although I haven't tried the latter.
    Last edited by youngdm (2013-09-01 22:01:05)

  • ORA-06502: PL/SQL error with dimensions and roles

    Hi everyone,
    When executing a mapping that loads a cube we are always getting that ORA-06502: PL/SQL error character string buffer too small
    The cube contains a number of dimensions, some of them with roles. We've checked that the error appears when we use two different lookup operators to fill dimension atributtes in the cube and its correspondent role. If we map dimension attributes with lookup operator, and the role attributes with constants, the mapping executes without any error. Moreover, even thought it doesnt make any sense, if we map the role dimension attributes with a lookup operator linked to a different dimension, it works too.
    We think that this could be due to attributes names, maybe they are too long, but we have tried to make them shorter and still getting the same error.
    Any ideas of what could be happening?
    Thank you so much in advance.

    The return datatype in a PLSQL function is unconstrained. Which means it does not have a size.
    The size is declared on the receiving end.
    What size variable are you trying to return your value into?
    Here is an example...
    SQL>create or replace function my_func
      2  return varchar2
      3  is
      4  begin
      5    return USER;
      6  end;
      7  /
    Function created.
    SQL>declare
      2    my_string varchar2(30);
      3  begin
      4    my_string := my_func;
      5  end;
      6  /
    PL/SQL procedure successfully completed.
    SQL>declare
      2    my_string varchar2(3);
      3  begin
      4    my_string := my_func;
      5  end;
      6  /
    declare
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at line 4

  • [solved] problem with zsh and makepkg

    I've had this problem for quite a while, but now finally it really starts pissing me off
    When I want to build a package with makepkg and the PKGBUILD has versioned dependencies, makepkg isn't able to resolve the dependencies.
    An example to demonstrate what this looks like
    PKGBUILD:
    # Maintainer: Army <[email protected]>
    pkgname=ardour3-svn
    _realname=ardour3
    pkgver=7501
    pkgrel=1
    pkgdesc="A multichannel hard disk recorder and digital audio workstation"
    arch=('i686' 'x86_64')
    url="http://www.ardour.org"
    license=('GPL')
    depends=("util-linux-ng" "liblrdf>=0.4.0" "liblo" "libgnomecanvasmm>=2.12.0" "slv2>=0.6.4" "aubio")
    makedepends=("boost>=1.39" "cppunit>=1.12.0" "soundtouch" "libvorbis>=1.1.2" "flac>=1.2.1" "python>=2.3" "jack-audio-connection-kit-svn")
    source=(${pkgname}.desktop)
    _svntrunk=http://subversion.ardour.org/svn/ardour2/branches/3.0
    _svnmod=${_realname}
    build() {
    cd ${srcdir}
    rm -rf ${_svnmod}-build
    svn co ${_svntrunk} ${_svnmod}
    cp -rf ${_svnmod} ${_svnmod}-build
    cd ${_svnmod}-build
    ./waf configure --prefix=/usr --configdir=/etc --tranzport --freesound --freedesktop --lv2 -p
    ./waf build
    DESTDIR="${pkgdir}" ./waf install
    # install some freedesktop.org compatibility
    install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${_realname}.desktop"
    md5sums=('2736c648e452ae45c703e48cf64f75e7')
    and this is the output:
    % makepkg -sir
    ==> Bestimme letzte SVN-Revision...
    -> Gefundene Version: 7501
    ==> Erstelle Paket: ardour3-svn 7501-1 (Di 27. Jul 00:44:01 CEST 2010)
    ==> Prüfe Laufzeit-Abhängigkeiten...
    ==> Prüfe Buildtime-Abhängigkeiten...
    ==> Installiere fehlende Abhängigkeiten...
    Passwort:
    zsh:1: 1.39 not found
    ==> Fehlende Abhängigkeiten:
    -> boost>=1.39
    -> cppunit>=1.12.0
    Seems like it changes
    makedepends=("boost>=1.39" "cppunit>=1.12.0" ...)
    to
    makedepends=("boost" "1.39" "cppunit" "1.12.0" ...)
    It doesn't matter if I put the dependencies into " or ' nothing, it's always the same output. I already created a new user to verify the situation, same problem there. With bash as shell all runs fine.
    I use grml-zsh-config from [extra], but that cannot be the trouble maker, I tested it with an uninstalled grml-zsh-config and a blank ~/.zshrc, still the same.
    How do you zsh users do this??
    Thanks for any idea!
    Last edited by Army (2010-07-28 08:01:19)

    Oh boy, sorry for these many posts, but without my sudo replacement package things are even worse!
    % bash -c "export SHELL=/bin/bash && makepkg -sir"
    ==> WARNING: Sudo can not be found. Will use su to acquire root privileges.
    ==> Determining latest svn revision...
    -> Version found: 7518
    ==> Making package: ardour3-svn 7518-1 (Wed Jul 28 09:36:19 CEST 2010)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Installing missing dependencies...
    Password:
    zsh:1: 1.39 not found
    ==> ERROR: 'pacman' failed to install missing dependencies.
    ==> WARNING: Failed to remove installed dependencies.
    This command works with nosudo installed ... I get the same errors when I do
    % bash --login
    $ echo $SHELL
    /bin/zsh
    $ export SHELL=/bin/bash
    $ echo $SHELL
    /bin/bash
    $ export LANG=C
    $ makepkg -sir
    ==> WARNING: Sudo can not be found. Will use su to acquire root privileges.
    ==> Determining latest svn revision...
    -> Version found: 7518
    ==> Making package: ardour3-svn 7518-1 (Wed Jul 28 09:41:51 CEST 2010)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Installing missing dependencies...
    Password:
    zsh:1: 1.39 not found
    ==> ERROR: 'pacman' failed to install missing dependencies.
    ==> WARNING: Failed to remove installed dependencies.
    Am I just still too much of a noob to see the obvious mistake I make or is makepkg really screwed up? Because in case I don't do anything wrong, I'll file a bug report asap!
    Last edited by Army (2010-07-28 07:43:05)

Maybe you are looking for

  • Provisão de Serviço

    Boa noite a todos! Não estou conseguindo configurar um cenário de provisão de serviço em MM. Configurei o esquema de cálculo de serviço inserindo numa condição de provisão que criei a chave de operação BO1. Na transação OBYC informei para a operação

  • Weird character

    Hi all I am kinda new to Java! I have an anemic class (defines no behaviour) that has a field of primitive type char. I know that fields are always initialized even if don´t do it, so I created this class to find out what character java assigns to a

  • Error in BOR Method

    Hi Experts, I need to update Infotype 2002 (Employee Attendance) in travel request approval work flow. For that I  am using set of standard BAPI 's "BAPI_EMPLOYEE_ENQUEUE" "HR_INFOTYPE_OPERATION" "BAPI_EMPLOYEE_DEQUEUE" But I am getting the error The

  • Crystal 2008 Viewer Freezes my application

    I have a .NET application that hosts a crystal viewer to show reports. I am using Crystal 2008 SP2. Once I get to this line in my C# code: this.crystalReportViewer1.ReportSource = reportd; The application just sits there until I click it to get a (No

  • AS2 noScale and pixelation issue

    We are doing a number of banners for a client in AS2 using Flash 8 Pro. The version was their specification. Now I've generated a series of PNGs in photoshop at precisely the same dimensions an imported them directly into the Flash Library.The proble