[SOLVED] iso verification

So, I downloaded the latest iso and the pgp signature but 'pacman-key -v archlinux-2012.08.04-dual.iso.sig' failed with this output:
gpg: Signature made Sat 04 Aug 2012 03:25:33 AM EEST using RSA key ID 9741E8AC
gpg: NOTE: trustdb not writable
gpg: checking the trustdb
gpg: trustdb rec 30: write failed (n=-1): Bad file descriptor
gpg: trustdb: sync failed: Bad file descriptor
==> ERROR: The signature identified by archlinux-2012.08.04-dual.iso.sig could not be verified.
Downloaded the iso again, same output. Any idea what's going on?
Last edited by mikkie (2012-08-11 11:38:44)

No problems here:
$ pacman-key -v archlinux-2012.08.04-dual.iso.sig
gpg: Signature made Fri 03 Aug 2012 08:25:33 PM EDT using RSA key ID 9741E8AC
gpg: NOTE: trustdb not writable
gpg: Good signature from "Pierre Schmitz <[email protected]>"

Similar Messages

  • [SOLVED] ISO C++ forbids declaration of 'linkedStackType' with no type

    I got an error when building my program. The program was working fine for a while before showing this error:
        In file included from truck.cpp:1:
        truck.h:62: error: ISO C++ forbids declaration of ‘linkedStackType’ with no type
        truck.h:62: error: expected ‘;’ before ‘<’ token
        truck.h:63: error: ISO C++ forbids declaration of ‘linkedStackType’ with no type
        truck.h:63: error: expected ‘;’ before ‘<’ token
    #include "orderedLinkedList.h"
    #include <string>
    #include <iostream>
    using namespace std;
    #ifndef TRUCK_H
    #define TRUCK_H
    class truck {
    public:
    truck();
    // default constructor; number and price are are set to -1 and sold is set
    // to false
    truck(int truckNumber, string typeOfLoading);
    // constructor
    truck(truck &s);
    // copy constructor
    ~truck();
    // destructor
    bool hasCargo ();
    void addItems (string items);
    void unload ();
    void load ();
    int getTruckNumber();
    string getTypeOfLoading();
    bool operator==(const truck &s) const;
    bool operator!=(const truck &s) const;
    const truck & operator=(const truck &s);
    friend istream & operator>>(istream &in, truck &s);
    friend ostream & operator<<(ostream &out, truck &s);
    linkedStackType<string> pickupCargo;
    linkedStackType<string> deliveryCargo;
    private:
    int truckNumber;
    string typeOfLoading;
    orderedLinkedList<string> cargoItems;
    linkedListIterator<string> *cargoIterator;
    #endif /* TRUCK_H */
    Moderator:  [ewaller] I fixed your code tags for you
    Last edited by sackocool (2011-04-26 03:58:43)

    sackocool wrote:Thank you so much. I had so many reciprocal including I thought it was included by linkedList which is included by orderedLinkedList.h. Thanks again.
    Don't depend on that type of including.  If your source file depends on a definition, include the header that contains that definition; don't expect some other header to include it for you.   
    Related: ensure all your headers are multi-include-safe (with a nice big #ifndef at the top) - I see you doing this in the file you pasted, so good stuff

  • [solved] package verification, some packages unverified

    Some of my packages seem to not be validated, they say
    Validated By : Unknown
    but after reinstall
    Validated By : Signature
    Some also say validated by md5 and sha, any idea about this inconsistency?
    sudo pacman -Qi zsh
    Name : zsh
    Version : 5.0.2-1
    Description : A very advanced and programmable command interpreter (shell) for UNIX
    Architecture : x86_64
    URL : http://www.zsh.org/
    Licenses : custom
    Groups : None
    Provides : None
    Depends On : pcre libcap gdbm
    Optional Deps : None
    Required By : None
    Optional For : None
    Conflicts With : None
    Replaces : None
    Installed Size : 7216.00 KiB
    Packager : Pierre Schmitz <[email protected]>
    Build Date : Sat 22 Dec 2012 01:19:52 SAST
    Install Date : Tue 25 Dec 2012 11:40:48 SAST
    Install Reason : Explicitly installed
    Install Script : Yes
    Validated By : Unknown
    I then ran,
    sudo pacman -S zsh
    so:
    sudo pacman -Qi zsh
    Name : zsh
    Version : 5.0.2-1
    Description : A very advanced and programmable command interpreter (shell) for UNIX
    Architecture : x86_64
    URL : http://www.zsh.org/
    Licenses : custom
    Groups : None
    Provides : None
    Depends On : pcre libcap gdbm
    Optional Deps : None
    Required By : None
    Optional For : None
    Conflicts With : None
    Replaces : None
    Installed Size : 7216.00 KiB
    Packager : Pierre Schmitz <[email protected]>
    Build Date : Sat 22 Dec 2012 01:19:52 SAST
    Install Date : Thu 30 May 2013 12:32:08 SAST
    Install Reason : Explicitly installed
    Install Script : Yes
    Validated By : Signature
    Is this because of the pacman upgrade to 4.1 earlier?
    pacman.conf:
    admin@russell-server ~ % cat /etc/pacman.conf
    # /etc/pacman.conf
    # See the pacman.conf(5) manpage for option and repository directives
    # GENERAL OPTIONS
    [options]
    # The following paths are commented out with their default values listed.
    # If you wish to use different paths, uncomment and update the paths.
    #RootDir = /
    #DBPath = /var/lib/pacman/
    #CacheDir = /var/cache/pacman/pkg/
    #LogFile = /var/log/pacman.log
    #GPGDir = /etc/pacman.d/gnupg/
    HoldPkg = pacman glibc
    #XferCommand = /usr/bin/curl -C - -f %u > %o
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #CleanMethod = KeepInstalled
    #UseDelta = 0.7
    Architecture = auto
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options
    #UseSyslog
    Color
    #TotalDownload
    CheckSpace
    #VerbosePkgLists
    # By default, pacman accepts packages signed by keys that its local keyring
    # trusts (see pacman-key and its man page), as well as unsigned packages.
    SigLevel = Required DatabaseOptional
    LocalFileSigLevel = Optional
    #RemoteFileSigLevel = Required
    # NOTE: You must run `pacman-key --init` before first using pacman; the local
    # keyring can then be populated with the keys of all official Arch Linux
    # packagers with `pacman-key --populate archlinux`.
    # REPOSITORIES
    # - can be defined here or included from another file
    # - pacman will search repositories in the order defined here
    # - local/custom mirrors can be added here or in separate files
    # - repositories listed first will take precedence when packages
    # have identical names, regardless of version number
    # - URLs will have $repo replaced by the name of the current repo
    # - URLs will have $arch replaced by the name of the architecture
    # Repository entries are of the format:
    # [repo-name]
    # Server = ServerName
    # Include = IncludePath
    # The header [repo-name] is crucial - it must be present and
    # uncommented to enable the repo.
    # The testing repositories are disabled by default. To enable, uncomment the
    # repo name header and Include lines. You can add preferred servers immediately
    # after the header, and they will be used before the default mirrors.
    #[testing]
    #Include = /etc/pacman.d/mirrorlist
    [core]
    Include = /etc/pacman.d/mirrorlist
    [extra]
    Include = /etc/pacman.d/mirrorlist
    #[community-testing]
    #Include = /etc/pacman.d/mirrorlist
    [community]
    Include = /etc/pacman.d/mirrorlist
    # If you want to run 32 bit applications on your x86_64 system,
    # enable the multilib repositories as required here.
    #[multilib-testing]
    #Include = /etc/pacman.d/mirrorlist
    [multilib]
    Include = /etc/pacman.d/mirrorlist
    # An example of a custom package repository. See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #SigLevel = Optional TrustAll
    #Server = file:///home/custompkgs
    *Edit, sorry
    "validated by md5 and sha" as I said above came from running
    pacman -Si package
    as apposed to -Qi
    I got confused
    Last edited by jrussell (2013-05-30 10:43:17)

    Allan wrote:Packages installed with pacman-4.0 or earlier will not have their method of verification recorded.   That was added in pacman-4.1.   So "Unknown" means just that.  "None" is installation without checking signature or checksum.
    Cool, thank you!
    I got around this with
    comm -23 <(pacman -Qeq|sort) <(pacman -Qmq|sort) | pacman -S -
    from https://wiki.archlinux.org/index.php/Pa … d_packages
    Last edited by jrussell (2013-05-30 10:46:11)

  • Problems with Burning Dual layer discs

    I now have a pile of DL +R disc coasters as a consequence of failed burns....
    I've put a new DL+R disc in th drive and system profiler says;
    HL-DT-ST DVDRW GWA4080MA:
    Firmware Revision: AE39
    Interconnect: ATAPI
    Burn Support: Yes (Apple Shipping Drive)
    Cache: 2048 KB
    Reads DVD: Yes
    CD-Write: -R, -RW
    DVD-Write: -R, -RW, +R, +R DL, +RW
    Write Strategies: CD-TAO, CD-SAO, CD-Raw, DVD-DAO
    Media:
    Type: DVD+R DL
    ID: MKM 001
    Blank: Yes
    Erasable: No
    Overwritable: Yes
    Appendable: Yes
    Write Speeds: 2.4x
    which seems okay.
    Burning an ISO to the drive gives an error right at the start and the disc is unuseable. The log files show ;
    2009-03-06 21:29:46 +0000: Burning Image “10A286-UserDVD.dmg”
    2009-03-06 21:30:56 +0000: Image name: “10A286-UserDVD.dmg”
    2009-03-06 21:30:56 +0000: Burn disc in: “HL-DT-ST DVDRW GWA4080MA”
    2009-03-06 21:30:56 +0000: Erase disc before burning: No
    2009-03-06 21:30:56 +0000: Leave disc appendable: No
    2009-03-06 21:30:56 +0000: Verify burned data after burning: Yes
    2009-03-06 21:30:56 +0000: Eject disc after burning
    2009-03-06 21:30:56 +0000:
    2009-03-06 21:30:56 +0000: expected CRC32 $9769A210
    2009-03-06 21:30:56 +0000: Preparing data for burn
    2009-03-06 21:31:19 +0000: Finishing burn
    2009-03-06 21:31:28 +0000: Burn failed
    2009-03-06 21:31:28 +0000: The burn failed because of a medium write error.
    2009-03-06 21:31:28 +0000: Additional information can be found in the ~/Library/Logs/DiscRecording.log log file.
    2009-03-06 21:31:29 +0000: Unable to burn “10A286-UserDVD.dmg”. (The burn failed because of a medium write error.)
    2009-03-06 21:31:29 +0000:
    Looking at the logfile;
    Disk Utility: Burn started, Fri Mar 6 21:30:56 2009
    Disk Utility: Burning to DVD+R DL (MKM 001) media with DAO strategy in HL-DT-ST DVDRW GWA4080MA AE39 via ATAPI.
    Disk Utility: Requested burn speed was 47x, actual burn speed is 2.4x.
    Disk Utility: Burn failed, Fri Mar 6 21:31:18 2009
    Disk Utility: Burn sense: 3/0C/00 Medium Error, Write error
    Disk Utility: Burn error: 0x8002006E The burn failed because of a medium write error.
    DiskUtility has the 2.4x speed set but its grayed out - the above suggests that DiskUtility is trying to burn at 47x but as the speed setting is grayed out I cannot reduce the speed in any way.
    Anyone had this before - I have used this brand of disc before and its from the middle of a box which has been fine.

    I'm not convinced this is a hardware issue. My logs definitely point to a software-based bug.
    The clue that points to a software issue is this snippet from your log. Did anyone at the Genius bar comment on it?
    *Disk Utility: Requested burn speed was 47x, actual burn speed is 2.4x.*
    I think I've found a solution to my particular problem. Here's a repost of my success from another thread.
    This thread solved my verification problems
    http://discussions.apple.com/thread.jspa?threadID=1726622&tstart=0
    Read the second posting. It gives a fantastic argument for not doing anything on the computer after you press the "burn" button in the finder.
    It resolved this error for me:
    Finder: Verify started, Thu Mar 12 17:47:35 2009
    Finder: Discrepancy in block 300 at byte 79.
    Finder: Source data: 0000 0000 0000 0200 0000 0000 0000 0D00
    Finder: Burned data: 0000 0000 0000 0200 0000 0000 0000 0C00
    Finder: Verify failed, Thu Mar 12 17:47:37 2009
    Finder: Verify error: 0x80020063 Verification of the burn failed.
    Also be sure your computer is burning at the proper speeds. Previously I was recieving this message:
    Finder: Requested burn speed was 47x, actual burn speed is 8x.
    Which is false because I intentionally picked to burn at 4x. After updating to 10.5.6 and repairing permissions suddenly, the log was appearing correctly as this...
    Finder: Requested burn speed was 4x, actual burn speed is 4x.
    You can see logs of your dvd/cd burning by opening Console (use spotlight to search for it) and looking under "LOG Files". The file is named DiscRecording.log in the console app.

  • Suite Product Activation Needed

    Whenever I open an Acrobat Reader, I always get the message "Adobe Acrobat was installed as part of a suite. To enable Adobe Acrobat, please start another component of this suite (such as Adobe Photoshop)". I tried opening Photoshop before opening Reader, but I still got the error message. I thought perhaps for some reason some start-up things were disabled so I went to MSCONFIG. I see that I have enabled:
    Adobe Acrobat
    Adobe Version
    Adobe Version Cue CS4
    Adobe CS4 Service Manager
    Adobe Version Cue CS3
    Adobe Reader and Acrobat Manager
    AcroTray - Adobe Acrobat Distiller helper application
    I am running Windows 7 Professional.

    Thanks for your prompt reply.
    Unfortunately opening all the other programs in the CS5 Suite don't help or
    solve the Verification problem with Acrobat in the same suite.
    It may be worth mentioning that I'm still running CS3.. I don't know if that
    could be a cause. I need to share work across stations using CS3.
    Should I re-install the suite or call adobe?
    Many thanks Brett
    [private data removed]

  • [Solved] how do i build my ISO image with archiso?

    hi all
    i've been following this wiki and it's been going really well (it hasn't gone wrong...). but the wiki page just sort of stops halfway through the configuration bit
    a google search brought me to this page which suggests using the "build.sh" script located in my chroot environment's /tmp/releng/ directory.
    running this script returns the error "build.sh: line 207: syntax error near unexpected token '('
    line 207 of the file reads:
    paste -d"\n" <(sed "s|%ARCH%|i686|g" ${script_path}/aitab.${_iso_type}) \
    i don't really know much about scripts so i can't see what's wrong
    any advice?
    sorry if i've missed a wiki or something n00bish like that. also i'm aware that someone who doesn't know what they're doing shouldn't be attempting archiso but i thought it would be a fun learning experience
    here's the full build.sh in case it is helpful:
    #!/bin/bash
    set -e -u
    iso_name=archlinux
    iso_label="ARCH_$(date +%Y%m)"
    iso_version=$(date +%Y.%m.%d)
    install_dir=arch
    arch=$(uname -m)
    work_dir=work
    out_dir=out
    verbose=""
    script_path=$(readlink -f ${0%/*})
    # Base installation (root-image)
    make_basefs() {
    mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" -p "base" create
    mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" -p "memtest86+ syslinux mkinitcpio-nfs-utils nbd curl" create
    # Additional packages (root-image)
    make_packages() {
    mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" -p "$(grep -v ^# ${script_path}/packages.${arch})" create
    # Copy mkinitcpio archiso hooks (root-image)
    make_setup_mkinitcpio() {
    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
    local _hook
    for _hook in archiso archiso_shutdown archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs archiso_loop_mnt; do
    cp /lib/initcpio/hooks/${_hook} ${work_dir}/root-image/lib/initcpio/hooks
    cp /lib/initcpio/install/${_hook} ${work_dir}/root-image/lib/initcpio/install
    done
    cp /lib/initcpio/install/archiso_kms ${work_dir}/root-image/lib/initcpio/install
    cp /lib/initcpio/archiso_shutdown ${work_dir}/root-image/lib/initcpio
    cp /lib/initcpio/archiso_pxe_nbd ${work_dir}/root-image/lib/initcpio
    cp ${script_path}/mkinitcpio.conf ${work_dir}/root-image/etc/mkinitcpio-archiso.conf
    : > ${work_dir}/build.${FUNCNAME}
    fi
    # Prepare ${install_dir}/boot/
    make_boot() {
    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
    local _src=${work_dir}/root-image
    local _dst_boot=${work_dir}/iso/${install_dir}/boot
    mkdir -p ${_dst_boot}/${arch}
    mkarchroot -n -r "mkinitcpio -c /etc/mkinitcpio-archiso.conf -k /boot/vmlinuz-linux -g /boot/archiso.img" ${_src}
    mv ${_src}/boot/archiso.img ${_dst_boot}/${arch}/archiso.img
    mv ${_src}/boot/vmlinuz-linux ${_dst_boot}/${arch}/vmlinuz
    cp ${_src}/boot/memtest86+/memtest.bin ${_dst_boot}/memtest
    cp ${_src}/usr/share/licenses/common/GPL2/license.txt ${_dst_boot}/memtest.COPYING
    : > ${work_dir}/build.${FUNCNAME}
    fi
    # Prepare /${install_dir}/boot/syslinux
    make_syslinux() {
    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
    local _src_syslinux=${work_dir}/root-image/usr/lib/syslinux
    local _dst_syslinux=${work_dir}/iso/${install_dir}/boot/syslinux
    mkdir -p ${_dst_syslinux}
    for _cfg in ${script_path}/syslinux/*.cfg; do
    sed "s|%ARCHISO_LABEL%|${iso_label}|g;
    s|%INSTALL_DIR%|${install_dir}|g;
    s|%ARCH%|${arch}|g" ${_cfg} > ${_dst_syslinux}/${_cfg##*/}
    done
    cp ${script_path}/syslinux/splash.png ${_dst_syslinux}
    cp ${_src_syslinux}/*.c32 ${_dst_syslinux}
    cp ${_src_syslinux}/*.com ${_dst_syslinux}
    cp ${_src_syslinux}/*.0 ${_dst_syslinux}
    cp ${_src_syslinux}/memdisk ${_dst_syslinux}
    mkdir -p ${_dst_syslinux}/hdt
    wget -O - http://pciids.sourceforge.net/v2.2/pci.ids | gzip -9 > ${_dst_syslinux}/hdt/pciids.gz
    cat ${work_dir}/root-image/lib/modules/*-ARCH/modules.alias | gzip -9 > ${_dst_syslinux}/hdt/modalias.gz
    : > ${work_dir}/build.${FUNCNAME}
    fi
    # Prepare /isolinux
    make_isolinux() {
    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
    mkdir -p ${work_dir}/iso/isolinux
    sed "s|%INSTALL_DIR%|${install_dir}|g" ${script_path}/isolinux/isolinux.cfg > ${work_dir}/iso/isolinux/isolinux.cfg
    cp ${work_dir}/root-image/usr/lib/syslinux/isolinux.bin ${work_dir}/iso/isolinux/
    cp ${work_dir}/root-image/usr/lib/syslinux/isohdpfx.bin ${work_dir}/iso/isolinux/
    : > ${work_dir}/build.${FUNCNAME}
    fi
    # Customize installation (root-image)
    # NOTE: mkarchroot should not be executed after this function is executed, otherwise will overwrites some custom files.
    make_customize_root_image() {
    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
    cp -af ${script_path}/root-image ${work_dir}
    chmod 750 ${work_dir}/root-image/etc/sudoers.d
    chmod 440 ${work_dir}/root-image/etc/sudoers.d/g_wheel
    mkdir -p ${work_dir}/root-image/etc/pacman.d
    wget -O ${work_dir}/root-image/etc/pacman.d/mirrorlist http://www.archlinux.org/mirrorlist/all/
    sed -i "s/#Server/Server/g" ${work_dir}/root-image/etc/pacman.d/mirrorlist
    chroot ${work_dir}/root-image /usr/sbin/locale-gen
    chroot ${work_dir}/root-image /usr/sbin/useradd -m -p "" -g users -G "audio,disk,optical,wheel" arch
    : > ${work_dir}/build.${FUNCNAME}
    fi
    # Split out /lib/modules from root-image (makes more "dual-iso" friendly)
    make_lib_modules() {
    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
    mv ${work_dir}/root-image/lib/modules ${work_dir}/lib-modules
    : > ${work_dir}/build.${FUNCNAME}
    fi
    # Split out /usr/share from root-image (makes more "dual-iso" friendly)
    make_usr_share() {
    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
    mv ${work_dir}/root-image/usr/share ${work_dir}/usr-share
    : > ${work_dir}/build.${FUNCNAME}
    fi
    # Make [core] repository, keep "any" pkgs in a separate fs (makes more "dual-iso" friendly)
    make_core_repo() {
    if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
    local _url _urls _pkg_name _cached_pkg _dst _pkgs
    mkdir -p ${work_dir}/repo-core-any
    mkdir -p ${work_dir}/repo-core-${arch}
    pacman -Sy
    _pkgs=$(comm -2 -3 <(pacman -Sql core | sort | sed 's@^@core/@') \
    <(grep -v ^# ${script_path}/core.exclude.${arch} | sort | sed 's@^@core/@'))
    _urls=$(pacman -Sddp ${_pkgs})
    pacman -Swdd --noprogressbar --noconfirm ${_pkgs}
    for _url in ${_urls}; do
    _pkg_name=${_url##*/}
    _cached_pkg=/var/cache/pacman/pkg/${_pkg_name}
    _dst=${work_dir}/repo-core-${arch}/${_pkg_name}
    cp ${_cached_pkg} ${_dst}
    repo-add -q ${work_dir}/repo-core-${arch}/core.db.tar.gz ${_dst}
    if [[ ${_pkg_name} == *any.pkg.tar* ]]; then
    mv ${_dst} ${work_dir}/repo-core-any/${_pkg_name}
    ln -sf ../any/${_pkg_name} ${_dst}
    fi
    done
    : > ${work_dir}/build.${FUNCNAME}
    fi
    # Process aitab
    # args: $1 (core | netinstall)
    make_aitab() {
    local _iso_type=${1}
    if [[ ! -e ${work_dir}/build.${FUNCNAME}_${_iso_type} ]]; then
    sed "s|%ARCH%|${arch}|g" ${script_path}/aitab.${_iso_type} > ${work_dir}/iso/${install_dir}/aitab
    : > ${work_dir}/build.${FUNCNAME}_${_iso_type}
    fi
    # Build all filesystem images specified in aitab (.fs .fs.sfs .sfs)
    make_prepare() {
    mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" prepare
    # Build ISO
    # args: $1 (core | netinstall)
    make_iso() {
    local _iso_type=${1}
    mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" checksum
    mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" -L "${iso_label}" -o "${out_dir}" iso "${iso_name}-${iso_version}-${_iso_type}-${arch}.iso"
    # Build dual-iso images from ${work_dir}/i686/iso and ${work_dir}/x86_64/iso
    # args: $1 (core | netinstall)
    make_dual() {
    local _iso_type=${1}
    if [[ ! -e ${work_dir}/dual/build.${FUNCNAME}_${_iso_type} ]]; then
    if [[ ! -d ${work_dir}/i686/iso || ! -d ${work_dir}/x86_64/iso ]]; then
    echo "ERROR: i686 or x86_64 builds does not exist."
    _usage 1
    fi
    local _src_one _src_two _cfg
    if [[ ${arch} == "i686" ]]; then
    _src_one=${work_dir}/i686/iso
    _src_two=${work_dir}/x86_64/iso
    else
    _src_one=${work_dir}/x86_64/iso
    _src_two=${work_dir}/i686/iso
    fi
    mkdir -p ${work_dir}/dual/iso
    cp -a -l -f ${_src_one} ${work_dir}/dual
    cp -a -l -n ${_src_two} ${work_dir}/dual
    rm -f ${work_dir}/dual/iso/${install_dir}/aitab
    rm -f ${work_dir}/dual/iso/${install_dir}/boot/syslinux/*.cfg
    if [[ ${_iso_type} == "core" ]]; then
    if [[ ! -e ${work_dir}/dual/iso/${install_dir}/any/repo-core-any.sfs ||
    ! -e ${work_dir}/dual/iso/${install_dir}/i686/repo-core-i686.sfs ||
    ! -e ${work_dir}/dual/iso/${install_dir}/x86_64/repo-core-x86_64.sfs ]]; then
    echo "ERROR: core_iso_single build is not found."
    _usage 1
    fi
    else
    rm -f ${work_dir}/dual/iso/${install_dir}/any/repo-core-any.sfs
    rm -f ${work_dir}/dual/iso/${install_dir}/i686/repo-core-i686.sfs
    rm -f ${work_dir}/dual/iso/${install_dir}/x86_64/repo-core-x86_64.sfs
    fi
    paste -d"\n" <(sed "s|%ARCH%|i686|g" ${script_path}/aitab.${_iso_type}) \
    <(sed "s|%ARCH%|x86_64|g" ${script_path}/aitab.${_iso_type}) | uniq > ${work_dir}/dual/iso/${install_dir}/aitab
    for _cfg in ${script_path}/syslinux.dual/*.cfg; do
    sed "s|%ARCHISO_LABEL%|${iso_label}|g;
    s|%INSTALL_DIR%|${install_dir}|g" ${_cfg} > ${work_dir}/dual/iso/${install_dir}/boot/syslinux/${_cfg##*/}
    done
    mkarchiso ${verbose} -w "${work_dir}/dual" -D "${install_dir}" checksum
    mkarchiso ${verbose} -w "${work_dir}/dual" -D "${install_dir}" -L "${iso_label}" -o "${out_dir}" iso "${iso_name}-${iso_version}-${_iso_type}-dual.iso"
    : > ${work_dir}/dual/build.${FUNCNAME}_${_iso_type}
    fi
    purge_single ()
    if [[ -d ${work_dir} ]]; then
    find ${work_dir} -mindepth 1 -maxdepth 1 \
    ! -path ${work_dir}/iso -prune \
    | xargs rm -rf
    fi
    purge_dual ()
    if [[ -d ${work_dir}/dual ]]; then
    find ${work_dir}/dual -mindepth 1 -maxdepth 1 \
    ! -path ${work_dir}/dual/iso -prune \
    | xargs rm -rf
    fi
    clean_single ()
    rm -rf ${work_dir}
    rm -f ${out_dir}/${iso_name}-${iso_version}-*-${arch}.iso
    clean_dual ()
    rm -rf ${work_dir}/dual
    rm -f ${out_dir}/${iso_name}-${iso_version}-*-dual.iso
    make_common_single() {
    make_basefs
    make_packages
    make_setup_mkinitcpio
    make_boot
    make_syslinux
    make_isolinux
    make_customize_root_image
    make_lib_modules
    make_usr_share
    make_aitab $1
    make_prepare $1
    make_iso $1
    _usage ()
    echo "usage ${0} [options] command <command options>"
    echo
    echo " General options:"
    echo " -N <iso_name> Set an iso filename (prefix)"
    echo " Default: ${iso_name}"
    echo " -V <iso_version> Set an iso version (in filename)"
    echo " Default: ${iso_version}"
    echo " -L <iso_label> Set an iso label (disk label)"
    echo " Default: ${iso_label}"
    echo " -D <install_dir> Set an install_dir (directory inside iso)"
    echo " Default: ${install_dir}"
    echo " -w <work_dir> Set the working directory"
    echo " Default: ${work_dir}"
    echo " -o <out_dir> Set the output directory"
    echo " Default: ${out_dir}"
    echo " -v Enable verbose output"
    echo " -h This help message"
    echo
    echo " Commands:"
    echo " build <mode> <type>"
    echo " Build selected .iso by <mode> and <type>"
    echo " purge <mode>"
    echo " Clean working directory except iso/ directory of build <mode>"
    echo " clean <mode>"
    echo " Clean working directory and .iso file in output directory of build <mode>"
    echo
    echo " Command options:"
    echo " <mode> Valid values 'single' or 'dual'"
    echo " <type> Valid values 'netinstall', 'core' or 'all'"
    exit ${1}
    if [[ ${EUID} -ne 0 ]]; then
    echo "This script must be run as root."
    _usage 1
    fi
    while getopts 'N:V:L:D:w:o:vh' arg; do
    case "${arg}" in
    N) iso_name="${OPTARG}" ;;
    V) iso_version="${OPTARG}" ;;
    L) iso_label="${OPTARG}" ;;
    D) install_dir="${OPTARG}" ;;
    w) work_dir="${OPTARG}" ;;
    o) out_dir="${OPTARG}" ;;
    v) verbose="-v" ;;
    h|?) _usage 0 ;;
    _msg_error "Invalid argument '${arg}'" 0
    _usage 1
    esac
    done
    shift $((OPTIND - 1))
    if [[ $# -lt 1 ]]; then
    echo "No command specified"
    _usage 1
    fi
    command_name="${1}"
    if [[ $# -lt 2 ]]; then
    echo "No command mode specified"
    _usage 1
    fi
    command_mode="${2}"
    if [[ ${command_name} == "build" ]]; then
    if [[ $# -lt 3 ]]; then
    echo "No build type specified"
    _usage 1
    fi
    command_type="${3}"
    fi
    if [[ ${command_mode} == "single" ]]; then
    work_dir=${work_dir}/${arch}
    fi
    case "${command_name}" in
    build)
    case "${command_mode}" in
    single)
    case "${command_type}" in
    netinstall)
    make_common_single netinstall
    core)
    make_core_repo
    make_common_single core
    all)
    make_common_single netinstall
    make_core_repo
    make_common_single core
    echo "Invalid build type '${command_type}'"
    _usage 1
    esac
    dual)
    case "${command_type}" in
    netinstall)
    make_dual netinstall
    core)
    make_dual core
    all)
    make_dual netinstall
    make_dual core
    echo "Invalid build type '${command_type}'"
    _usage 1
    esac
    echo "Invalid build mode '${command_mode}'"
    _usage 1
    esac
    purge)
    case "${command_mode}" in
    single)
    purge_single
    dual)
    purge_dual
    echo "Invalid purge mode '${command_mode}'"
    _usage 1
    esac
    clean)
    case "${command_mode}" in
    single)
    clean_single
    dual)
    clean_dual
    echo "Invalid clean mode '${command_mode}'"
    _usage 1
    esac
    echo "Invalid command name '${command_name}'"
    _usage 1
    esac
    Last edited by gav989 (2012-02-12 10:59:11)

    thanks for that, according to this it should be run like
    /path/to/build.sh build single netinstall
    from inside the chroot
    posting this for my own reference and in case it helps others, will mark as solved
    thanks again for your help
    Last edited by gav989 (2012-02-12 10:58:04)

  • TS1702 My app store, Apple ID, safari, and most other apps do not work after upgrading to iSO 6, How do i solve this problem?

    My app store, Apple ID, safari, and most other apps do not work after upgrading to iSO 6, How do i solve this problem? Can somebody help me please?

    The App store is a problem for many and I have not seen a solution.
    What is "wrong" with your Apple ID?
    Try the following:
    - A reset. Nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup
    - Restore to factory settings/new iPod.

  • Itunes asking me my billing verification again and again on the same computer. I don't know why it behave like this. Anyone can solve my problem?

    Itunes asking me my billing verification again and again on the same computer. I don't know why it behave like this. Anyone can solve my problem?
    I already provided my 3 digit CVV number but Itunes again need to confirm the code whereas on my Office Computer I am purchasing Apps on Itunes without verifying my billing information again and again except once at the time of creation of account.
    Please help me as I am charging by my Credit Card bank by US$ 1 each time when I give verification code.
    Thanks
    Talat Khatri

    Try the following steps,
    Sign into your computer and removal of credit card information. Here are the steps:
    1) Open iTunes and sign in to the iTunes Store.
    2) Select "View My Account" from the Store menu.
    3) Enter your password and click the View Account button.
    4) Click the Edit Payment Information button.
    5) Select "None" as the payment type.
    6) Click the Done button at the bottom of the page.
    Reset your account password from the following link:
    http://iforgot.apple.com
    Phase 3:
    Download a free content on to get recognized in iTunes.
    To ensure your account is functioning, try downloading a free item from the iTunes Store. To do this, navigate to the iTunes Store main page by clicking the Home icon near the upper-left corner of the window. Scroll down and click the "FREE ON iTunes" link near the bottom of the main page, then select an item to download.
    After you are able to download the free App try updating the billing information as usual.

  • TS3274 I am trying to do a software update on my ipad third generation...even though i am connected to the internet, i get a message saying "iso 6 failed verification because you are no longer connected to the internet"

    I am trying to update my software on my ipad 3rd generation...Even though I am connected to the internet, I get and error message saying, "iso 6 failed verification because you are no longer connected to the internet"  Can anyone help?

    Connect to iTunes on the computer you usually Sync with and “ Check for Updates “...
    See the Using iTunes Section Here...
    How to update your iPhone, iPad, or iPod touch

  • Boot ISO does not detect/offer 64-bit install [SOLVED]

    The boot menu on the ISO does not allow me to install a 64-bit system. I go into the hardware options and it indicates that I don't have x86_64 support.
    I am running in a VirtualBox VM with a Ubuntu 12.04 Host (64-bit).  CPU model "AMD FX(tm)-8150 Eight-Core Processor".
    What can I try, or what other information do you need?
    Last edited by mortoray (2014-03-30 18:24:07)

    mortoray wrote:I'd love to mark it solved but I don't see any such option here...?
    We are pretty Spartan.  Go ahead and edit your first post in the thread.  There is an option to edit the thread title.  Just prepend [SOLVED]

  • Hi .. my iPad 4 with iso 7.0.3 he is restarting himself ... How can i solve this problem please help me

    Hi .. my iPad 4 with iso 7.0.3 he is restarting himself ... How can i solve this problem please help me

    Standard troubleshooting...
    1. Try a Restart by pressing the sleep/lock button until you see the slider.  Slide to power off.  Restart by pressing the sleep/lock button until you see the Apple logo.
    2. Try a Reset by pressing the home and sleep buttons until you see the Apple logo. Takes about 5-15 secs of button holding and you won't lose any data or settings.
    3. Remove apps from Recently Used list...
    - From any Home Screen, double tap the home button to bring up the Recents List
    - Swipe up on the app preview card to remove it from the list
    - Press the home button when done.
    4. If still a problem restore with your backup.
    5. If still a problem restore as new, i.e. without your backup. See how it runs with nothing synced to it.
    6. If still a problem, it's likely a hardware issue.

  • [solved] creating video dvd iso from existing folders

    I used dvdbackup with the -M option to copy a complete video dvd to my harddisk.
    How can I create a video dvd iso image from the existing folders?
    I used k3b till now (new video dvd, only create iso file)..
    Last edited by SiD (2008-07-26 18:18:13)

    SiD wrote:
    ah, ok.
    p.s.
    do you mean the "ERR:  SCR moves backwards, remultiplex input." error?
    That one can be solved by encoding to vob as opposed to mpg. I do still get the time stamp warning, but I read that they can be ignored. The problem I'm having now is this one:
    http://bbs.archlinux.org/viewtopic.php?id=52251

  • Boot from Arch ISO on USB with UEFI BIOS [SOLVED]

    After following the instructions here, I a FAT32 formated USB "ARCH_201209" with the extracted ISO on it but have no idea how to actually boot from this USB.  When entering the BIOS on my MB, I see nothing that would allow me to select the USB as a boot device.  Do I need to drop into the UEFI shell to accomplish this?
    EDIT: It seems this is a limitation of my MB which is actually perfect in every other regard including overclocking.  The board for reference is an Asus P8Z77-V Pro running BIOS v1504.  I really hope they fix this BS in a subsequent BIOS update.
    Last edited by graysky (2012-09-09 13:31:59)

    Wow, this MB pisses me off.  Turns out that I had to completely powerdown, plugin the USB, enter the BIOS and ONLY then was the USB available as a boot option.  I wanted to test that I could actually boot to the thing and do so.  Arch booted flawlessly.
    What I found after rebooting out of the live USB was that I couldn't boot my system at all.  The BIOS just kept coming up in an endless loop as I would select the 'arch_grub' option that previously worked.  The solution to this bullshit was to drop to the EFI shell and add an entry that points to  'fs0:\EFI\arch\grubx64.efi "Arch Linux MANUALLY ADDED"'
    :angry:
    ...can someone tell me why in the world we are going to UEFI boards?  I actually opened a thread that has yet to receive a reply on this very topic.  I am making this as solved.  Thank you all for the quick replies.
    Summary of links that really helped me:
    UEFI Related:
    https://wiki.archlinux.org/index.php/EF … l_Commands
    https://wiki.archlinux.org/index.php/Gr … fi_package
    Arch USB Related:
    https://wiki.archlinux.org/index.php/UEFI#Archiso
    Last edited by graysky (2012-09-09 13:33:22)

  • [solved] fstab entry for user mounting of iso files?

    fstab entry for user mounting of iso files?
    I've seen it before but I can't seem to find it again.
    Last edited by eilenbeb (2010-03-21 20:11:40)

    I did, but couldn't find what I was looking for.
    I got fuseiso to work, and that will do the trick, so I'm marking this one solved.
    (I simply had to give 'others' write access to the mount point)
    Last edited by eilenbeb (2010-03-21 20:15:09)

  • I am trying to update iso 7.0 and get the following message; iso 7.0 failed verification because you are no longer connected to the Internet . But I am???

    I am trying to update iso 7.0 and get the following message; iso 7.0 failed verification because you are no longer connected to the Internet . But I am???

    Hey NinaChall,
    Thanks for the question. I understand you are experiencing issues updating to iOS 7. It may be best to complete the update utilizing iTunes:
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    Update your device using iTunes
    1. Ensure that you're using the latest version of iTunes.
    2. Connect your device to your computer using the included USB cable.
    3. After iTunes opens, select your device when it appears in iTunes under Devices.
    4. Click "Check for Update" in the Summary pane to check for available updates.
    5. If an update is available, iTunes prompts you to download and install the update. Do not disconnect your device until the update has finished.
    Thanks,
    Matt M.

Maybe you are looking for

  • Unable to see DNG files in Photoshop CS2

    Hi: I am using Photoshop CS2 in Windows XP Pro and have *.CR2 pictures taken with Canon EOS 40D. I downloaded Camera_Raw_3.7.zip and extracted Camera Raw.8bi to C:\Program Files\Common Files\Adobe\Plug-Ins\CS2\File Formats I downloaded Adobe DNG Conv

  • Differences with iphone 4 to 4s

    i have spoken to a few people who have iphone 4s they think there is no real difference between them is this true or is there a major thing i need to know between the two, what are the real differences

  • Need solution for "HEAVY" overload.

    This is not the classic case of most of the system overload problems that I've been reading about, where a few settings might do the tricks, although if that's the case, then great! But I doubted... Here's my gear: -QUAD 6.5 GB 2 drives, 250GB + 500G

  • DROP FRAME MINIDV TAPES

    Hey guys, I've got some MiniDV tapes that a client gave me that seem to all have a glitch where the tapes won't play audio and are skipping frames continuosly. The tapes are all labelled "drop frame" and "avid output". They are not playing in the DV

  • How do I get rid of "Trojan-Gackdoor.Ciadoor.gn" from c:\programfiles\firefox\firefox.exe?

    After scanning the hard drive, Advanced System Optimizer found "Trojan-Backdoor.Ciadoor.gn" in "c:\program files\firefox\firefox.exe". When I launch Firefox, the Optimizer requests me to exclude the trojan from stopping the launch. If I agree to the