Pacman throws "unrecognized archive format" error for .xz packages

Hi,
I am recently getting the following error while installing packages which are in .xz format only.
for e.g.
sudo pacman -S pacman  //works fine. as it is packaged in a .gz format
sudo pacman -S xterm     // error while reading pakage /var/cache/pacman/pkg/xterm-261-1-i686.pkg.tar.xz  -- unrecognized archive format: Invalid or incomplete multibyte or wide character.
I tried using the -U switch to install it -- I got the following little different message:
$ sudo pacman -U /var/cache/pacman/pkg/xterm-261-1-i686.pkg.tar.xz
error: error while reading pakage /var/cache/pacman/pkg/xterm-261-1-i686.pkg.tar.xz: unrecognized archive format: Invalid or incomplete multibyte or wide character.
error: '/var/cache/pacman/pkg/xterm-261-1-i686.pkg.tar.xz': libarchive error
I have libarchive-2.8.4-1 on my system ( I have reinstalled it. )
[more info]
I used ltrace to see what is happening, here is the trace around the point where I am getting the error:
alpm_trans_commit(,,, <unfinished ...>
    printf("checking package integrity...\n")
    fflush(...)
    dcgettext(0, 0x805x690, 5, ...) = 0x8058690  ---- AFAIK, this one gets local specific string
    fprintf(..., "error: ")
    vfprintf(..., "error while reading package %s:"...)
<... alpm_trans_commit(,,,) resumed> )
alpm_strerrorlast(...)
dcgettext()
dcgettext()
fprintf(... "error")
Last edited by prasadr (2010-09-22 18:40:31)

t@n6re ~]# ldd /usr/bin/pacman
        linux-vdso.so.1 =>  (0x00007fffc9bff000)
        libalpm.so.5 => /usr/lib/libalpm.so.5 (0x00007f4c44445000)
        libc.so.6 => /lib/libc.so.6 (0x00007f4c440e9000)
        libfetch.so => /usr/lib/libfetch.so (0x00007f4c43ed9000)
        libarchive.so.2 => /usr/lib/libarchive.so.2 (0x00007f4c43c96000)
        /lib/ld-linux-x86-64.so.2 (0x00007f4c44668000)
        libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0x00007f4c43a3a000)
        libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0x00007f4c4367e000)
        libacl.so.1 => /lib/libacl.so.1 (0x00007f4c43477000)
        libattr.so.1 => /lib/libattr.so.1 (0x00007f4c43273000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f4c4304b000)
        liblzma.so.0 => /usr/lib/liblzma.so.0 (0x00007f4c42e29000)
        libbz2.so.1.0 => /lib/libbz2.so.1.0 (0x00007f4c42c19000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007f4c42a01000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007f4c427fd000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007f4c425e0000)
[root@n6re ~]#

Similar Messages

  • [SOLVED] xorg112.db: Unrecognized archive format

    Since today I cannot upgrade my system as I get the following errors:
    error: could not open file /var/lib/pacman/sync/xorg112.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/catalyst-hd234k.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/catalyst-hd234k.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/xorg112.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/xorg112.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/catalyst-hd234k.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/catalyst-hd234k.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/xorg112.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/catalyst-hd234k.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/xorg112.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/catalyst-hd234k.db: Unrecognized archive format
    I already searched the forum and found https://bbs.archlinux.org/viewtopic.php?id=135310 but the suggestions there do not solve the problem
    > sudo rm -R /var/lib/pacman/sync/
    > pacman -Syuf
    The relevant stuff in the pacman.conf file looks as follows:
    [xorg112]
    Server = http://catalyst.apocalypsus.net/repo/xorg112/$arch
    [catalyst-hd234k]
    Server = http://catalyst.apocalypsus.net/repo/catalyst-hd234k/$arch
    Why I get the "Unrecognized archive format" error and what I can do to avoid/fix this?
    Last edited by lasombra (2013-03-04 19:22:25)

    The server has changed so all you need to do is replacing "catalyst.apocalypsus.net" with "catalyst.wirephire.com".

  • Openssh unrecognized archive format

    Me again...
    Does anyone know why makepkg complains about unknown an archive format for the openssh tarball:
    fukawi2@kangaroo ~/abs/openssh $ makepkg
    ==> Making package: openssh 5.2p1-1 i686 (Sat Jun 13 17:02:37 EST 2009)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    -> Found openssh-5.2p1.tar.gz in build dir
    -> Found sshd in build dir
    -> Found sshd.confd in build dir
    -> Found sshd.pam in build dir
    ==> Validating source files with md5sums...
    openssh-5.2p1.tar.gz ... Passed
    sshd ... Passed
    sshd.confd ... Passed
    sshd.pam ... Passed
    ==> Extracting Sources...
    -> bsdtar -x -f openssh-5.2p1.tar.gz
    bsdtar: Unrecognized archive format
    bsdtar: Error exit delayed from previous errors.
    ==> ERROR: Failed to extract openssh-5.2p1.tar.gz
    Aborting...
    And yet I can use tar to extract it fine?
    fukawi2@kangaroo ~/abs/openssh $ tar xvzf openssh-5.2p1.tar.gz | head
    drwxr-xr-x djm/djm 0 2009-02-23 11:18 openssh-5.2p1
    -rw-r--r-- djm/djm 37622 2009-02-23 11:18 openssh-5.2p1/config.h.in
    -rw-r--r-- djm/djm 5545 2006-08-31 03:24 openssh-5.2p1/CREDITS
    -rw-r--r-- djm/djm 60889 2009-02-23 11:12 openssh-5.2p1/ChangeLog
    -rw-r--r-- djm/djm 9417 2007-08-17 22:52 openssh-5.2p1/INSTALL
    -rw-r--r-- djm/djm 16000 2007-03-13 07:37 openssh-5.2p1/LICENCE
    -rw-r--r-- djm/djm 17427 2008-11-05 16:20 openssh-5.2p1/Makefile.in
    -rw-r--r-- djm/djm 6718 2006-08-05 12:39 openssh-5.2p1/OVERVIEW
    -rw-r--r-- djm/djm 9504 2009-02-14 18:00 openssh-5.2p1/PROTOCOL
    -rw-r--r-- djm/djm 16760 2008-07-02 22:35 openssh-5.2p1/PROTOCOL.agent

    gzip -d openssh-5.2p1.tar.gz
    gzip openssh-5.2p1.tar
    Fixes the 'problem', but the MD5 changes so something must be screwy with the compression that the OpenSSH devs do to the package :s

  • Unrecognized database format error when trying to access addin to Acrobat reader?

    I get an "Unrecognized database format" error when trying to access addin to Acrobat reader so I can use Pro to edit a pdf document?  What do I do so that teh ACCESS program aI am generating PDF's from uses Pro and not Reader?
    Thanks,
    Dan

    Adobe Reader and Acrobat Professional are 2 different products. Reader is for free and limited as to what it can do an support.
    Add-ins can only use features supported by Reader.
    You need Acrobat to edit PDF forms. Acrobat no longer supports access to SQL databases through Acrobat JavaScript.
    If you have an add-in and Acrobat can use it for filling a PDF form from Access, you need to talk to the developer to see if it can work with Reader.

  • File format error for xml file

    Hi!
    We are trying to upgrade our SAP 4.6C to EHP4.
    While "configuration roadmapstep", system asks us the XML file we have
    produced via solman. When we enter the path of the file system gives theerror below:
    The selected configuration file
    ("E:\downloadupg\SMSDXML_FKQ_20100917142727.656.xml") is not useable.
    Reason: "File format error"
    We have tried the txt file instead of xml file. The result was same.
    You can find the details of our system.
    4.6D EX2 32 bit kernel
    windows 2003 64 bit OS
    sql 2005 64 bit database software
    We have to upgrade our system until that monday.
    Please help us as soon as possible.
    Best regards
    Noyan Durna

    Hello Noyan,
    first, the official information: please refer to note #1022704 - for source release 4.6, the TXT file has to be used instead of the XML file. Otherwise, 'File format error' will occur as in your case.
    But since you tried this option, you should turn your attention to the XML itself, which must contains entries that are not handled by function module OCS_GET_UPG_STACK_INFO in the 4.XX source systems. The function module only expects the entries [SPAM_CVERS], [PRDVERS] and [SWFEATURE].  Any other entries present on the file can cause an error. 
    Please check your file for other entries like [APP_SYSTEM], [SWFEATUREINC], [TECHUSAGES], [INITIAL_CVERS], [EXPORT_CVERS], and [DVD_SET]; this might be the cause of the error. 
    In order to workaround this, you can either edit the file and remove the invalid entries or recreate it (w/o this entries also).
    Best regards,
    Tomas Black

  • How I fixed the "unsupported image format" error for RAW files

    After deleting the .plist file stopped working, I decided to go ahead & reinstall Aperture and...voila--problem fixed. RAW files are again displaying without any trouble (just like they used to!)
    G5 2.3DP   Mac OS X (10.4)  

    Just an update. Restarted computer and attempted rebuilds of iPhoto library a couple more times and finally files and photos mostly recovered, except for those I had tried to open. Aperture seems to have a problem, or a host of them, dealing with RAW files, and there is no update yet for the Sony RX1R for Aperture or iPhoto. Lightroom 5, on the other hand, seems to work great with these files directly, so that will be where all photos go for now. Will iPhoto and Aperture just become old archives? It is so infuriating that Apple does not allow for simple importing and exporting compatibility with such an excellent program as Lightroom 5 just to protect their somewhat poorly supported Aperture. I've been a staunch Apple supporter and user since the 80's, but having more doubts about the direction this company is taking.

  • Invalid data format error for CLOB

    I am trying to migrate a piece of code from WLS 8.1.2 to WLS 8.1.5.
    WLS 8.1.2 has ojdbc14.jar with version "Oracle JDBC Driver version - 9.0.2.0.0"
    WLS 8.1.5 has ojdbc14.jar with version "Oracle JDBC Driver version - 10.1.0.4.0"
    In the older version, I am storing an encrypted string value in a clob and saving in the db.
    When I try the same in the new code, it displays an error that the data is not of the proper format.
    If I read any data entered using the older application, in the new one, it is still valid.
    But, if I enter a new value using WLS 8.1.5, only those are invalid.
    I even tried deploying the application with the old and new ojdbc14.jar files with it. In either case, it still gives an error. If I use the later version of ojdbc14.jar, the method getAsciiStream() is deprecated.
    How can I make my code independent of the version of ojdbc14.jar and store and read the clob?

    Rohit B wrote:
    I am trying to migrate a piece of code from WLS 8.1.2 to WLS 8.1.5.
    WLS 8.1.2 has ojdbc14.jar with version "Oracle JDBC Driver version - 9.0.2.0.0"
    WLS 8.1.5 has ojdbc14.jar with version "Oracle JDBC Driver version - 10.1.0.4.0"
    In the older version, I am storing an encrypted string value in a clob and saving in the db.
    When I try the same in the new code, it displays an error that the data is not of the proper format.
    If I read any data entered using the older application, in the new one, it is still valid.
    But, if I enter a new value using WLS 8.1.5, only those are invalid.
    I even tried deploying the application with the old and new ojdbc14.jar files with it. In either case, it still gives an error. If I use the later version of ojdbc14.jar, the method getAsciiStream() is deprecated.
    How can I make my code independent of the version of ojdbc14.jar and store and read the clob?Hi. You are suffering with the evolution of Oracle's driver. If you can make a standalone
    program that contains some data, inserts it and extracts it an compares it and proves
    the bug, we can open a case with Oracle. In general you want to use their latest driver,
    but if you can't keep up with their bugs/fixes, you can always keep using the same version
    of the driver everywhere. The way to do that is not to put the driver in you packages,
    but simply to keep the version you want in the weblogic installation's server\lib
    directory (ojdbc14.jar)
    Joe

  • [Solved]pacman doesn't like ' =' in depends for pure package

    Trying to install the pure programming language package available here.
    $ makepkg -s
    ==> Making package: pure 0.60-1 (Tue Aug 12 19:22:57 EDT 2014)
    ==> Checking runtime dependencies...
    ==> Installing missing dependencies...
    error: target not found: llvm<=3.4
    ==> ERROR: 'pacman' failed to install missing dependencies.
    PKGBUILD file:
    # -*- shell-script -*-
    # Contributor: Mikko Sysikaski mikko.sysikaski at gmail dot com
    # Updated by Stephen Diehl - [email protected]
    # Maintainer: Alastair Pharo asppsa at gmail dot com
    # Maintainer: Albert Graef <[email protected]>
    pkgname=pure
    pkgver=0.60
    pkgrel=1
    pkgdesc="Pure is a modern-style functional programming language based on term rewriting."
    arch=("i686" "x86_64")
    license=('GPL3')
    url="http://purelang.bitbucket.org/"
    depends=('llvm<=3.4' 'gmp' 'mpfr' 'readline')
    makedepends=('make' 'gcc')
    optdepends=("pure-docs: online documentation"
    "w3m: access to help in interactive mode"
    "emacs-pure-mode: editing Pure files from Emacs"
    "texmacs-pure: embedding Pure sessions in TeXmacs")
    groups=(pure-complete pure-base)
    source=("https://bitbucket.org/purelang/pure-lang/downloads/$pkgname-$pkgver.tar.gz"
    "https://bitbucket.org/purelang/pure-lang/downloads/llvm-3.3-tools.tar.bz2")
    md5sums=('4bbd7cf05ce913814f02675c58aeaa23'
    '0a3c4154e7d20f1d078d994ec47be1b7')
    build() {
    cd $srcdir/$pkgname-$pkgver
    ./configure --prefix=/usr --without-elisp --without-texmacs --enable-release
    make || return 1
    # check that the interpreter is working
    make check || return 1
    package() {
    cd $srcdir/$pkgname-$pkgver
    make DESTDIR=$pkgdir install || return 1
    # llc in LLVM 3.4 is broken; these will work with both LLVM 3.3 and 3.4
    cd $srcdir/llvm-3.3-tools/$CARCH
    cp llc opt $pkgdir/usr/lib/pure || return 1
    I have installed for now by simply removing the
    <=3.4
    requirement but only out of frustration. I'm at a loss as to why pacman would be complaining, I see the bit about 'LLVM 3.4 is broken' but for one, 3.4 is already installed from [extra] and for two, 3.3 ought to meet the criteria. All help/explanation appreciated.
    Last edited by luisrayas3 (2014-08-18 20:06:03)

    luisrayas3 wrote:
    isn't it?? I would consider 3.4.2 == 3.4 from a versioning perspective and therefore also 3.4.2 <= 3.4
    edit: also worth noting that it does work anyhow with 3.4.2
    Nope, doesn't work that way. Try it yourself.
    % vercmp -h
    usage: vercmp <ver1> <ver2>
    output values:
    < 0 : if ver1 < ver2
    0 : if ver1 == ver2
    > 0 : if ver1 > ver2
    % vercmp 3.4.2 3.4
    1

  • "javadoc not found" error for javax package in netbeans.

    I am using jmf api on windows under netbeans. But problem is that netbeans do not display documentation for jmf methods . Instead it shows "javadoc not found"
    error. Can someone plz help me how to configure the javadoc for jmf.

    I am using jmf api on windows under netbeans. But problem is that netbeans do not display documentation for jmf methods . Instead it shows "javadoc not found"
    error. Can someone plz help me how to configure the javadoc for jmf.Download api docs from [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/specdownload.html] ....
    Then in NetBeans:
    Tools > Java Platforms > "JDK 1.x (Default)" > "Javadoc" tab > "Add zip/folder" button.....
    Add the path of the jmf javadoc zip (or you may have to extract the zip)
    You may not see the changes immediately, try restarting NetBeans....
    Thanks!

  • Expired certificate error for language packages

    I wish to inform the nokia authority,that the language package(UK english Martin) provided for Message Reader app (symbian belle) is showing 'CERTIFICATE EXPIRED' error ,whenever I tried to install the language pack.
    I request the authority to kindly extend the certificate period more so that all user can use those packages.
    I downloaded the language pack from:
    http://www.nokia.com/global/support/text-to-speech​/
    Handset model : NOKIA 701

    Same problem with US english language packs, expired certificate despite the fact that I just downloaded it from Nokia a few days ago. So please Nokia renew the certificate for the Nokia super 701 Text To Speech Language packs.
    Handset Model: Nokia super 701 FP2

  • I am getting an unsupported format error when trying to import the.aaf file.

    When I select File > Import > File, and then select my .aaf file, nothing happens.
    When I select File > Import > Pro After Effects and then select my .aaf file, it imports the files, then I get an unsupported format error for .mov files.
    Help!

    Kbuggle,
    Which video in the tutorial does this step apply to (i.e. importing the AAF file)? Are you importing from the sample files that accompany the tutorial? Finally, can you post a screen shot of the error message you're getting?
    Also, please confirm which version of After Effects you're running, as well as the operating system.
    Thanks!
    Stefan

  • Hmm - reason for installing package...

    All,
    I'm not sure if this issue has been brought up before, but I want to get some feedback about a pacman idea that I had.
    pacman -Qi lets you see dependencies for installed packages.  It helps you see why you installed a package.  Super helpful.  But it doesn't show everything.
    Sometimes you've installed a package because there was an install-time recommendation for another package.  Or perhaps I was writing a python program and tried out a library, but then later used a different library and so the library is still installed, but not being used.  In cases like these, there may be no clean way to hook up an installed package with the "reason" it was installed.
    My idea is to have some type of flag on pacman where I can record the reason I'm installing a package (or group of package).  Then that reason will be stored for when I run pacman -Qi later on.  It can just be a one-line piece of text.  No need for anything fancy.
    pacman -S python-sqlobject --reason "trying this for project blah"
    It might also be helpful to have a flag where you can set the "reason" on a package after it's already been installed.
    pacman -Q python-sqlobject --reason "trying this for project blah"
    Then, later:
    > pacman -Qi python-sqlobject
    Repository : extra
    Name : python-sqlobject
    Version : 0.10.1-1
    URL : http://sqlobject.org/
    Licenses : LGPL
    Groups : None
    Provides : None
    Depends On : python>=2.5 setuptools>=0.6c8 python-formencode>=0.7
    Optional Deps : None
    Conflicts With : None
    Replaces : None
    Download Size : 278.70 K
    Installed Size : 1108.91 K
    Packager : Eric Belanger <[email protected]>
    Architecture : i686
    Build Date : Tue 27 May 2008 06:21:26 PM PDT
    MD5 Sum : c3898c5caa7df3f63f04d7afa71fa6d8
    Description : A popular Object Relational Manager for providing an object
    interface to your database, with tables as classes, rows as
    instances, and columns as attributes
    Reason : trying this for project blah
    I envision this being extremely helpful when cleaning up and administering packages on my system (for me personally).
    Can anyone see the benefit of this?  Has this already been brought up?  Are there simpler solutions people are already using? ...

    I actually think this is a pretty good idea, but I'm not sure how many would use it.  I often run across packages on my system and don't remember installing them even though pacman says I did it explicitly

  • Format Error : mkfs.ocfs2 1.2.7 file system too small for a journal

    Hi All,
    I am trying to implement Oracle 10g RAC on my laptop using vmware and openfiler software . But while executing the command
    #mkfs.ocfs2 -b 4K -C 32K -N 4 -L oracrsfiles /dev/iscsi/crs11/part1
    I am getting the error
    Format Error : mkfs.ocfs2 1.2.7 file system too small for a journal
    Please anybody can help me to resolve this problem.
    Thanks in Advance.

    How large is the device that you are formatting?
    The default journal size depends on the type specified. If none specified,
    then it assumes "mail" which sets the default journal per slot to 256M.
    If database type, default is 64M.
    Use "-T database" to specify database type, etc.
    BTW, one can always override the defaults. Say "-J size=16M" to make
    a smaller journal.
    man mkfs.ocfs2 and the user's guide has more.

  • Endeca : multi invoice pay throwing correct error for internal user but it is failing to throw the same error for external user

    Hi,
    1) Internal User expected exception:
    Exception: Payments,apply credits,disputes and print are not supported when multiple customer/currency transactions are selected
    2) External User is throwing below error instead of throwing above exception.
    Error
      You are trying to access a page that is no longer active.
      The referring page may have come from a previous session. Please select Home
       to proceed.
    found this MACCHECK from fnd logs of external user payment.
    MACCHECK: . Parameter failing validation is :mode. The parameter mode with value MultiPay could not be recognized as part of Server's response on the previous request.  Incoming URL is : /OA_HTML/OA.jsp?page=/oracle/apps/ar/irec/endeca/webui/EndecaDummyPG . Current URL is : /OA_HTML/OA.jsp?page=/oracle/apps/ar/irec/endeca/webui/OIREndecaCustHomePG&akRegionApplicationId=222&_ti=1125493452&oapc=10&retainAM=Y&addBreadCrumb=N&oas=6-LL4ndIUFLX-2zjQAQD6A.. . Referer URL is : https://<hostname>:4443/endeca/web/ar/customer?doAsUserLanguageId=en_US&languageId=en_US . HTTP Request Method is : POST
    can someone please help.
    Thanks,
    RRS

    Well, I compared my classpath between my windows batch file and the
    makefile (that comes with the samples installation) on Solaris and realized
    that I am using different sets of jars.
    So, I removed the extra jars from the makefile to narrow down the
    problem. If I remove the /opt/SUNWam/lib/servlet.jar from the makefile,
    I can reproduce this problem on the Solaris box as well.
    When I include this servlet.jar on my windows machine the program works!
    Only jars I have in my classpath are amclientsdk.jar and servlet.jar which
    I have copied from my installation (/opt/SUNWam/lib) on the Solaris box.
    Just the same way, by copying the am_services.jar, saaj-api.jar, and jaxm-api.jar,
    from the Solarix box to the windows machine,
    I am also able to pull the assertions from the Access Manager.
    I installed Sun Java Enterprise System 2005Q1 on a Solaris 10 machine.
    During the installation, I configured to install the Access Manager
    in Sun Application Server.
    Why do I need to have different set of jars on the windows machine
    for the Access Manager client SDK ?
    Could you please point me to a download link where I could download
    the correct Windows Access Manager Client SDK for
    Sun Java System Access Manager 6.0 (Sun JES 2005Q1)?
    Thanks.

  • Message 614: Format error by recording for BDC

    Hi PP Gurus,
    I would be appreciable if anybody face the same problem and resole my issue.
    When we are trying to create a program from within the transaction recorder, Transaction SHDB, using the function 'Create program'. Then a
    termination occurs with the following message:MS614 Format error by recording: Field PLPOD-CKSELKZ not avaliable on screen.
    Thanks & Regards,
    Abu Arbab

    Hi R. Brahmankar,
    I've a doubt on your comment is once recording is done for some material's Say 'A' Rate Routing with internally generated Group (say 5000005), Counter-1 and all the things relevant to BDC finished. Now suppose we are uploading Rate routings for other materials. Can we upload Rate Routings for a material in the same Group but with many counters say 2,3,4,5.....?
    Do we need to do some special settings either in BDC program or that also be recorded in same recording? Or different recording has to be created?
    Thanks & Regards,
    Abu Arbab
    Edited by: abu arbaba on Oct 15, 2008 5:02 PM
    Edited by: abu arbaba on Oct 24, 2008 8:18 AM

Maybe you are looking for