[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

Similar Messages

  • [Solved] Installed as dependency for what package?

    I was wondering, how can I find out what package has required the installation of another package? For example:
    [~ ]$ pacman -Qi gegl
    Install Reason : Installed as a dependency for another package
    I couldn't find any option that would show me more info on this.
    Last edited by Boris Bolgradov (2010-06-20 15:03:51)

    [~ }$ pacman -Qi gegl
    Required By : gimp
    Do you have gimp installed?
    Last edited by machoo02 (2010-06-20 15:00:42)

  • SUGGEST:"Installed as a dependency for another package" -What package?

    When we run "pacman -Qi" and the name of a package, ex: xulrunner (dependency of firefox), in the end, this shows up:
    Install Reason : Installed as a dependency for another package
    My suggestion is that it should show what package was it installed as a dependency of. Let me explain better. In this specific example, in my system, xulrunner was installed as a dependency of firefox, so, according to my suggestion, it should show exactly this:
    Install Reason : Installed as a dependency for another package - firefox
    As you can see in bold, my suggestion adds firefox after showing that it was installed as a dependency.
    I hope a Pacman/Arch Linux developer sees this topic and develop that feature,

    Unlikely, tbh. Feature requests should be posted in the bugtracker.
    Also.. the same pacman -Qi output already provides a 'Required By' which tells you which apps depend on the one you're looking at. Not quite the same, I know, but almost.

  • Missing dependency for Supertux package [staging] TUR

    I did a :
    pacman -Syu
    pacman -S staging/supertux
    supertux
    Then it complains about missing libmikmod.so.2
    I rebooted and retried. No success.
    The I did a
    pacman -S libmikmod
    and it worked !
    Have other people experienced that issue ?
    When I do a
    ldd /usr/bin/supertux
    , the libmikmod is mentioned.
    However, pacman did not install it with the package...
    Did I find a missing dependency for that package or am I doing something wrong ?

    It's a bug in sdl_mixer, I noticed this with another SDL game when I wanted to package it, it complained about no sound because of a non-working SDL_Mixer. Installing libmikmod resolved the problem.
    This bug has been reported two days ago.

  • [SOLVED] Cron doesn't like me :

    Hello everyone.
    Sorry if this is a noob question. I'm not really new to linux. But this time I simply have no idea what I'm doing wrong.
    I have this router which needs a connection traffic every few minutes to keep the connection up. So I wanted to use cron to fire wget every 5 minutes. The only problem is that cron doesn't seem to work for me.
    Here is my cron file:
    # root crontab
    # DO NOT EDIT THIS FILE MANUALLY! USE crontab -e INSTEAD
    # man 1 crontab for acceptable formats:
    # <minute> <hour> <day> <month> <dow> <tags and command>
    # <@freq> <tags and command>
    # SYSTEM DAILY/WEEKLY/... FOLDERS
    @hourly ID=sys-hourly /usr/sbin/run-cron /etc/cron.hourly
    @daily ID=sys-daily /usr/sbin/run-cron /etc/cron.daily
    @weekly ID=sys-weekly /usr/sbin/run-cron /etc/cron.weekly
    @monthly ID=sys-monthly /usr/sbin/run-cron /etc/cron.monthly
    */5 * * * * wget -pc --tries=30 http://pl.wikipedia.org/images/wikimedia-button.png
    Cron daemon is obviously up and running. Any help would be appreciated :<
    Last edited by timecage (2011-01-11 19:03:32)

    Jan 1 15:30:01 localhost crond[1202]: FILE /var/spool/cron/root USER root PID 1604 job sys-hourly
    Jan 1 15:30:01 localhost crond[1202]: FILE /var/spool/cron/root USER root PID 1605 wget -pc --tries=30 http://pl.wikipedia.org/images/wikimedia-button.png
    Jan 1 15:30:01 localhost crond[1608]: mailing cron output for user root wget -pc --tries=30 http://pl.wikipedia.org/images/wikimedia-button.png
    Jan 1 15:30:01 localhost crond[1608]: unable to exec /usr/sbin/sendmail: cron output for user root wget -pc --tries=30 http://pl.wikipedia.org/images/wikimedia-button.png to /dev/null
    Jan 1 15:35:01 localhost crond[1202]: FILE /var/spool/cron/root USER root PID 1618 wget -pc --tries=30 http://pl.wikipedia.org/images/wikimedia-button.png
    Jan 1 15:35:01 localhost crond[1619]: mailing cron output for user root wget -pc --tries=30 http://pl.wikipedia.org/images/wikimedia-button.png
    Jan 1 15:35:01 localhost crond[1619]: unable to exec /usr/sbin/sendmail: cron output for user root wget -pc --tries=30 http://pl.wikipedia.org/images/wikimedia-button.png to /dev/null
    Jan 1 15:40:01 localhost crond[1202]: FILE /var/spool/cron/root USER root PID 1620 wget -pc --tries=30 http://pl.wikipedia.org/images/wikimedia-button.png
    Jan 1 15:40:01 localhost crond[1621]: mailing cron output for user root wget -pc --tries=30 http://pl.wikipedia.org/images/wikimedia-button.png
    Jan 1 15:40:01 localhost crond[1621]: unable to exec /usr/sbin/sendmail: cron output for user root wget -pc --tries=30 http://pl.wikipedia.org/images/wikimedia-button.png to /dev/null
    That's some of the last lines of crond.log.
    I know it doesn't work simply because the last modified timestamp on the file and the directory does not change \o/

  • Any tool like pkgtool2 exists for simple packaging

    I have used pkgtool2 [from Slackware]
    and know enough to get by with making TGZ out of a tree
    and some about making RPMs
    if there a tool in the works for simplfying package building ?

    galen wrote:doh, of course I know that
    pkgtool2 can be simply to use
    makepkg is not
    i dont know pkgtool2 really good (only tried once) ... but i built rpm's --- this is torture compared to makepkg (with namcap)
    makepkg takes maybe longer in the beginning ... with your first PKGBUILD created you start having a nice collection of PKGBUILD.templates and after some built packages you know how to build others fast
    and makepkg has a great advantage: once you have a textfile (PKGBUILD) you can build the package really easy ... also when the version changes or something else
    the only thing you have to have when using makepkg: have an editor you really like and you are able to work fast with ... nothing else is needed (well, an internet-connection for downloading the sources )

  • [solved] bigpkg doesn't like /var/lib/pacman/local/ALPM_DB_VERSION

    I can't use bigpkg anymore, because it expects everything in /var/lib/pacman/local/ to be a directory:
    https://aur.archlinux.org/packages/bigpkg/ -> http://allanmcrae.com/scripts/bigpkg
    Here are the important lines:
    LOCAL_DB_PATH="/var/lib/pacman/local"
    file = LOCAL_DB_PATH + "/" + dir + "/desc"
    f = open(file, "r")
    After running 'pacman-db-upgrade', /var/lib/pacman/local/ALPM_DB_VERSION was placed there
    $ pacman -Qo /var/lib/pacman/local/ALPM_DB_VERSION
    error: No package owns /var/lib/pacman/local/ALPM_DB_VERSION
    $ cat /var/lib/pacman/local/ALPM_DB_VERSION
    9
    $ bigpkg
    Traceback (most recent call last):
    File "/usr/bin/bigpkg", line 83, in <module>
    parse_package_info(pkg, dir)
    File "/usr/bin/bigpkg", line 51, in parse_package_info
    f = open(file, "r")
    NotADirectoryError: [Errno 20] Not a directory: '/var/lib/pacman/local/ALPM_DB_VERSION/desc'
    I can remove that file and make bigpkg work again, but it breaks pacman:
    error: failed to initialize alpm library
    (database is incorrect version: /var/lib/pacman/)
    error: try running pacman-db-upgrade
    Is it a bug? If not, can someone please fix bigpkg? I don't speak python, so I can't do it myself :-(
    Last edited by karol (2015-01-16 18:50:59)

    progandy wrote:
    I believe you can use bigpkg if you patch it like this:
    for dir in os.listdir(LOCAL_DB_PATH):
    try:
    pkg = dir[0:dir.rindex("-",0,dir.rindex("-"))]
    pkg_list.append(pkg)
    parse_package_info(pkg, dir)
    except ValueError:
    pass
    Can you post a diff? I have no idea where to put it.
    bigpkg complains
    $ /usr/bin/bigpkg_patched
    Traceback (most recent call last):
    File "/usr/bin/bigpkg_patched", line 53, in <module>
    pkg_list.append(pkg)
    NameError: name 'pkg_list' is not defined
    if I try to use the part you posted before the line that says
    pkg_list = []
    but I still have problems with
    file = LOCAL_DB_PATH + "/" + dir + "/desc"
    f = open(file, "r")

  • [SOLVED]Pacman doesn't update

    Hi.
    I'm having a problem with Pacman. It seems like it doesn't update the database. A few days ago I updated my system with a "pacman -Syu", and (I don't know when exactly) It just stopped.
    Trying a "pacman -Syu":
    sudo pacman -Syu
    :: Sincronizando las bases de datos de paquetes...
    core está actualizado
    extra está actualizado
    community está actualizado
    Trying a "pacman -Syy":
    sudo pacman -Syy
    :: Sincronizando las bases de datos de paquetes...
    core                      36,2K   43,8K/s 00:00:01 [################################] 100%
    extra                    454,0K   43,1K/s 00:00:11 [################################] 100%
    community                364,2K   57,4K/s 00:00:06 [################################] 100%
    Verifying gcc (wich version is 4.5.0-6):
    i686      Core      gcc      4.5.0-6      The GNU Compiler Collection      2010-06-18
    sudo pacman -S gcc
    precaución: gcc-4.5.0-4 esta al día -- re-instalando
    resolviendo dependencias...
    verificando conflictos...
    Objetivos (1): gcc-4.5.0-4 
    Tamaño total de descarga:   0,00 MB
    Tamaño total instalado:   56,58 MB
    ¿Continuar con la instalación? [S/n] n
    This is my pacman.conf:
    # /etc/pacman.conf
    # See the pacman manpage for option 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
    HoldPkg     = pacman glibc
    #IgnorePkg   = catalyst catalyst-utils virtualbox-modules virtualbox-ose
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    # 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
    # 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.
    #[chaox-stable]
    #Server = http://repo.chaox.net/stable
    #[chaox-broken]
    #Server = http://repo.chaox.net/broken
    #[archiso-live]
    #Server = http://arch-live.isawsome.net/testing/
    #Server = http://arch-live.isawsome.net/packages/
    # Testing is disabled by default.  To enable, uncomment the following
    # two 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]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    #[edgy]
    #Server = http://kapsi.fi/~ighea/arch/edgy/
    [extra]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    [community]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    [arch-games]
    Server = http://repo.archlinux-gaming.org/i686/
    # kdemod current repo
    #[kdemod-core]
    #Server = http://kdemod.ath.cx/repo/core/i686
    #[larch5]
    #Server = ftp://ftp.berlios.de/pub/larch/larch5.3/i686
    # An example of a custom package repository.  See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #Server = file:///home/custompkgs
    This is my mirrorlist:
    # Arch Linux repository mirrorlist
    # United States
    #Server = ftp://ftp.archlinux.org/$repo/os/i686
    Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/i686
    Server = ftp://mirrors.unixheads.org/archlinux/$repo/os/i686
    Server = ftp://ftp-linux.cc.gatech.edu/pub/linux … po/os/i686
    Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686
    Server = http://mirrors.easynews.com/linux/archl … po/os/i686
    Server = ftp://ftp.ibiblio.org/pub/linux/distrib … po/os/i686
    Server = http://holmes.umflint.edu/archlinux/$repo/os/i686
    Server = http://mirror.neotuli.net/arch/$repo/os/i686
    # South America
    # - Brazil
    Server = http://archlinux.c3sl.ufpr.br/$repo/os/i686
    Server = ftp://archlinux.c3sl.ufpr.br/archlinux/$repo/os/i686
    Server = ftp://ftp.las.ic.unicamp.br/pub/archlinux/$repo/os/i686
    # Europe
    # - Austria
    Server = ftp://gd.tuwien.ac.at/opsys/linux/archl … po/os/i686
    # - Belgium
    Server = ftp://ftp.belnet.be/mirror/archlinux.org/$repo/os/i686
    # - Czech Republic
    Server = ftp://ftp.sh.cvut.cz/MIRRORS/arch/$repo/os/i686
    # - Estonia
    Server = ftp://ftp.estpak.ee/pub/archlinux/$repo/os/i686
    # - France
    Server = ftp://mir1.archlinuxfr.org/archlinux/$repo/os/i686
    Server = ftp://mir2.archlinuxfr.org/archlinux/$repo/os/i686
    Server = ftp://distrib-coffee.ipsl.jussieu.fr/pu … po/os/i686
    Server = http://mir.archlinux.fr/$repo/os/i686
    Server = ftp://ftp.free.fr/mirrors/ftp.archlinux … po/os/i686
    # - Germany
    Server = ftp://ftp.hosteurope.de/mirror/ftp.arch … po/os/i686
    Server = ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/i686
    Server = ftp://ftp.uni-bayreuth.de/pub/linux/arc … po/os/i686
    Server = ftp://ftp.archlinuxppc.org/i686/$repo/os/i686
    Server = ftp://ftp.tu-chemnitz.de/pub/linux/arch … po/os/i686
    Server = http://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/i686
    # - Great Britain
    Server = http://www.mirrorservice.org/sites/ftp. … po/os/i686
    # - Greece
    Server = ftp://ftp.ntua.gr/pub/linux/archlinux/$repo/os/i686
    # - Hungary
    Server = ftp://ftp.mfa.kfki.hu/pub/mirrors/ftp.a … po/os/i686
    # - Ireland
    Server = ftp://ftp.heanet.ie/mirrors/ftp.archlin … po/os/i686
    # - Italy
    Server = ftp://mi.mirror.garr.it/mirrors/archlinux/$repo/os/i686
    # - Netherlands
    Server = ftp://ftp.nluug.nl/pub/metalab/distribu … po/os/i686
    Server = ftp://ftp.surfnet.nl/pub/os/Linux/distr … po/os/i686
    # - Poland
    Server = ftp://mirror.icis.pcz.pl/archlinux/$repo/os/i686
    Server = http://piotrkosoft.net/pub/mirrors/ftp. … po/os/i686
    Server = ftp://ftp.piotrkosoft.net/pub/mirrors/f … po/os/i686
    # - Portugal
    Server = ftp://cesium.di.uminho.pt/pub/archlinux/$repo/os/i686
    # - Romania
    Server = ftp://ftp.iasi.roedu.net/mirrors/archli … po/os/i686
    # - Russia
    Server = ftp://mirror.yandex.ru/archlinux/$repo/os/i686
    Server = http://archlinux.freeside.ru/$repo/os/i686
    # - Sweden
    Server = ftp://ftp.ds.hj.se/pub/os/linux/archlinux/$repo/os/i686
    Server = ftp://ftp.gigabit.nu/$repo/os/i686
    # - Switzerland
    Server = ftp://archlinux.puzzle.ch/$repo/os/i686
    # - Turkey
    Server = http://server.elsistech.com/archlinux/$repo/os/i686
    # - Ukraine
    Server = ftp://hell.org.ua/archlinux/$repo/os/i686
    # NOTE: ftp.linux.kiev.ua only has the i686 arch and not x86_64
    Server = ftp://ftp.linux.kiev.ua/pub/Linux/ArchL … po/os/i686
    # Asia
    # - Israel
    Server = http://mirror.isoc.org.il/pub/archlinux/$repo/os/i686
    # Australia
    Server = ftp://mirror.pacific.net.au/linux/archl … po/os/i686
    Server = ftp://mirror.aarnet.edu.au/pub/archlinux/$repo/os/i686
    Thank you, and sorry about my english and my system's language.
    Last edited by soaliar (2010-06-18 22:30:15)

    pacman would use the first server available and Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/i686
    is out of date. last update 15 june
    https://www.archlinux.de/?page=MirrorStatus
    Last edited by wonder (2010-06-18 16:25:16)

  • [Solved] IgnorePkg doesn't seem to work for me, what am I doing wrong?

    I'm trying to prevent "pacman -Syu" from installing the package "xf86-video-ati-6.12.192-1" onto my system and no matter what I try in "IgnorePkg" in pacman.conf it always installs this pkg. I've tried both "xf86-video-ati" and "xf86-video-ati-6.12.192-1" in the "IgnorePkg" but pacman always wants to install this package. If I delete it from /var/cache/pacman/pkg it will still download this pkg and install it.
    What is it that I'm doing wrong?
    Last edited by Gumper (2010-04-20 02:22:06)

    Gumper wrote:
    Doh! I feel so stupid. I just looked at my pacman.conf file once more and noticed the "#" in front of "IgnorePkg". I uncommented it and it works now.
    Thanks for the help!
    I recommend you to mark the thread as Solved, at least less people going to see how much lol you are.
    Last edited by n0dix (2010-04-19 03:27:48)

  • [SOLVED] Tmux doesn't parse the configuration for ~/.tmux.conf

    Similar to the issue found here, although since the solution posted does not work, I have nothing to go off of.  I did a trace on tmux, and it's reading the configuration file (also, even a removed ~/.tmux.conf doesn't have it read /etc/tmux.conf), but it isn't actually executing the commands I put in there.  I can source configuration manually inside tmux, so it's a minor annoyance at best.  Permissions are 644, it's in where it's supposed to read, but for some reason it just isn't parsing. 
    My tmux configuration right now:
    set-option prefix C-a
    set status-fg brightgreen
    set status-right "#[fg=brightwhite] (>^,^)><(^,^)><(^,^)><(^,^<) #[fg=brightgreen] #T #[fg=brightwhite] <(^,^<*>^,^)> #[fg=brightwhite] %F %T"
    set status-right-length 100
    set status-interval 1
    set status-bg blue
    bind C-a select-window -t !
    bind C-n select-window -t +
    bind C-p select-window -t -
    bind C-Space select-window -t +
    bind Space select-window -t +
    I've also killed the server and removed the socket and directory at /tmp/tmux-$(id -u)/ to no avail including a quick reboot.  I've also tried starting with tmux -f ~/.tmux.conf, also to no avail.  Am I missing something?
    Last edited by minozake (2012-08-25 14:55:18)

    I figured it out.  First off, I needed to use set -g in order to get the options set globally, otherwise they would be thrown away.  For all the keys I wanted to rebind, I needed to unbind them first.  All in all, I finally figured it out, but I don't remember actually needing to unbind the keys before rebinding them.

  • [solved]pacman doesn't install anything

    hi
    my pacman not work! then i say install any package it will download first and after says that the package is corrupt!!! (note that i can extract them by "tar -xvf")
    pacman output:
    pacman -S xorg
    resolving dependencies...
    looking for inter-conflicts...
    Targets (41): xf86-video-vesa-2.3.0-3 xorg-docs-1.6-1
    xorg-fonts-alias-1.0.2-1 xorg-fonts-100dpi-1.0.1-3
    xorg-fonts-75dpi-1.0.1-3 xorg-res-utils-1.0.3-3
    libpciaccess-0.12.1-1 xorg-fonts-misc-1.0.1-1
    xorg-server-common-1.9.4-1 xf86-input-evdev-2.6.0-1
    xorg-server-1.9.4-1 xorg-iceauth-1.0.4-1 xorg-sessreg-1.0.6-1
    xorg-xcmsdb-1.0.3-1 xorg-xbacklight-1.1.2-1 xorg-xgamma-1.0.4-1
    xorg-xhost-1.0.4-1 xorg-xinput-1.5.3-1 xorg-xmodmap-1.0.5-1
    xorg-xrandr-1.3.4-1 mcpp-2.7.2-2 xorg-xrdb-1.0.8-1
    xorg-xrefresh-1.0.4-1 xorg-xset-1.2.1-1 xorg-xsetroot-1.1.0-1
    xorg-server-utils-7.6-1 xorg-twm-1.0.6-1 dmxproto-2.3.1-1
    libdmx-1.1.1-1 xorg-xdpyinfo-1.2.0-1 xorg-xdriinfo-1.0.4-1
    xorg-xev-1.1.0-1 xorg-xlsatoms-1.1.0-1 xorg-xlsclients-1.1.1-1
    xorg-xvinfo-1.1.1-1 xorg-xwininfo-1.1.1-1 xorg-utils-7.6-6
    xorg-xinit-1.3.0-2 xorg-luit-1.1.0-1 xbitmaps-1.1.1-1
    xterm-267-1
    Total Download Size: 0.00 MB
    Total Installed Size: 48.76 MB
    Proceed with installation? [Y/n] y
    checking package integrity...
    error: failed to commit transaction (invalid or corrupted package)
    xf86-video-vesa-2.3.0-3-i686.pkg.tar.xz is invalid or corrupted
    xorg-docs-1.6-1-any.pkg.tar.xz is invalid or corrupted
    xorg-fonts-100dpi-1.0.1-3-any.pkg.tar.xz is invalid or corrupted
    xorg-fonts-75dpi-1.0.1-3-any.pkg.tar.xz is invalid or corrupted
    libpciaccess-0.12.1-1-i686.pkg.tar.xz is invalid or corrupted
    xorg-fonts-misc-1.0.1-1-any.pkg.tar.xz is invalid or corrupted
    xorg-server-common-1.9.4-1-i686.pkg.tar.xz is invalid or corrupted
    xf86-input-evdev-2.6.0-1-i686.pkg.tar.xz is invalid or corrupted
    xorg-server-1.9.4-1-i686.pkg.tar.xz is invalid or corrupted
    xorg-iceauth-1.0.4-1-i686.pkg.tar.xz is invalid or corrupted
    xorg-sessreg-1.0.6-1-i686.pkg.tar.xz is invalid or corrupted
    xorg-xcmsdb-1.0.3-1-i686.pkg.tar.xz is invalid or corrupted
    xorg-xbacklight-1.1.2-1-i686.pkg.tar.xz is invalid or corrupted
    xorg-xgamma-1.0.4-1-i686.pkg.tar.xz is invalid or corrupted
    xorg-xhost-1.0.4-1-i686.pkg.tar.xz is invalid or corrupted
    xorg-xinput-1.5.3-1-i686.pkg.tar.xz is invalid or corrupted
    xorg-xmodmap-1.0.5-1-i686.pkg.tar.xz is invalid or corrupted
    xorg-xrandr-1.3.4-1-i686.pkg.tar.xz is invalid or corrupted
    xorg-xrdb-1.0.8-1-i686.pkg.tar.xz is invalid or corrupted
    xorg-xrefresh-1.0.4-1-i686.pkg.tar.xz is invalid or corrupted
    xorg-xset-1.2.1-1-i686.pkg.tar.xz is invalid or corrupted
    xorg-xsetroot-1.1.0-1-i686.pkg.tar.xz is invalid or corrupted
    xorg-server-utils-7.6-1-any.pkg.tar.xz is invalid or corrupted
    xorg-twm-1.0.6-1-i686.pkg.tar.xz is invalid or corrupted
    dmxproto-2.3.1-1-any.pkg.tar.xz is invalid or corrupted
    libdmx-1.1.1-1-i686.pkg.tar.xz is invalid or corrupted
    xorg-xdpyinfo-1.2.0-1-i686.pkg.tar.xz is invalid or corrupted
    xorg-xdriinfo-1.0.4-1-i686.pkg.tar.xz is invalid or corrupted
    xorg-xev-1.1.0-1-i686.pkg.tar.xz is invalid or corrupted
    xorg-xlsatoms-1.1.0-1-i686.pkg.tar.xz is invalid or corrupted
    xorg-xlsclients-1.1.1-1-i686.pkg.tar.xz is invalid or corrupted
    xorg-xvinfo-1.1.1-1-i686.pkg.tar.xz is invalid or corrupted
    xorg-xwininfo-1.1.1-1-i686.pkg.tar.xz is invalid or corrupted
    xorg-utils-7.6-6-any.pkg.tar.xz is invalid or corrupted
    xorg-xinit-1.3.0-2-i686.pkg.tar.xz is invalid or corrupted
    xorg-luit-1.1.0-1-i686.pkg.tar.xz is invalid or corrupted
    xbitmaps-1.1.1-1-any.pkg.tar.xz is invalid or corrupted
    xterm-267-1-i686.pkg.tar.xz is invalid or corrupted
    Errors occurred, no packages were upgraded.
    how can i fix it? plz help
    Last edited by sinoohe (2011-02-10 20:25:51)

    wonder wrote:ok, let me guess. you made a symlink to liblzma.so.something because pacman was broken? if yes, pacman -S libarchive && pacman -Syu and remove the symlink that you made
    ooh thanx!! the answer is yes
    Last edited by sinoohe (2011-02-10 19:28:37)

  • 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 ~]#

  • [Solved] Pacman fails to satisfied java-runtime dependency on upgrade

    Hi. So I haven't been able to upgrade yesterday or today because of this bug. I couldn't figure out how to solve it on my own.
    This is what happens when I try to upgrade:
    jake@levi> sudo pacman -Syyu ~
    :: Synchronizing package databases...
    core 104.8 KiB 76.7K/s 00:01 [##################################################################################################] 100%
    extra 1389.5 KiB 187K/s 00:07 [##################################################################################################] 100%
    community 1549.8 KiB 191K/s 00:08 [##################################################################################################] 100%
    multilib 89.7 KiB 145K/s 00:01 [##################################################################################################] 100%
    :: Starting full system upgrade...
    resolving dependencies...
    looking for inter-conflicts...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: languagetool: requires java-runtime>=6
    :: rhino: requires java-runtime
    I have jre7-openjdk-headless already installed, which provides java-runtime 7, so I don't see why I could be running into any problems.
    [1] jake@levi> pacman -Qi jre7-openjdk-headless ~
    Name : jre7-openjdk-headless
    Version : 7.b147_2.1-1
    URL : http://icedtea.classpath.org
    Licenses : custom
    Groups : None
    Provides : java-runtime=7
    Depends On : libjpeg-turbo lcms2 nss ca-certificates-java rhino
    Optional Deps : libcups: needed for Java Mauve support - libmawt.so
    fontconfig: needed for Java Mauve support - libmawt.so
    Required By : languagetool rhino
    Conflicts With : java-runtime openjdk6
    Replaces : None
    Installed Size : 107421.00 KiB
    Packager : Andreas Radke <[email protected]>
    Architecture : x86_64
    Build Date : Wed Feb 15 06:36:20 2012
    Install Date : Thu Mar 1 14:06:19 2012
    Install Reason : Installed as a dependency for another package
    Install Script : Yes
    Description : Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - Minimal Java runtime - needed for executing non GUI Java programs
    There could be something I don't understand though. Any help is appreciated.
    Last edited by Coward (2012-03-08 00:30:57)

    mira wrote:
    Karol's advice did not worked for me, so I did this:
    pacman -Rdd jre7-openjdk-headless
    and after that this:
    pacman -S jre7-openjdk
    and then the update worked as it should. Hope that helps somebody.
    Not sure what was the issue in your case, but I did say "Try to ignore the conflicts and see if it works out." and by that I meant the '-dd' switch.
    Now I see I should have been explicit about it as my comment doesn't make it clear at all.

  • [SOLVED] Pacman's "Depends On" field

    When I query how much space firefox is going to take and what its dependencies are I get a list and a value which are very different from what I get when I actually try to install it. Can somebody please explain why is it like that?
    [lex@gaia ~]$ pacman -Si firefox
    Depends On : xulrunner=1.9.2.8 desktop-file-utils
    Optional Deps : None
    Conflicts With : None
    Replaces : None
    Download Size : 771.98 K
    Installed Size : 3628.00 K
    [lex@gaia ~]$ sudo pacman -S firefox
    Password:
    resolving dependencies...
    looking for inter-conflicts...
    Targets (4): mozilla-common-1.4-1 mime-types-1.0-3 xulrunner-1.9.2.8-1 firefox-3.6.8-1
    Total Download Size: 16.09 MB
    Total Installed Size: 83.33 MB
    Last edited by archguest (2010-08-09 14:28:55)

    karol wrote:
    archguest wrote:
    Thanks guys, I understood that. What I wonder about is what use is "depends on" line if it does not show recursive dependencies? Is there a reason to why it doesn't?
    The way it is now I can't tell how much is going to be installed and what until I try to install the package.
    There are some tools that attempt to do that, but if you're so smart, tell me, would you count xulrunner as a firefox dependency if you already have it installed as a dependency for another package? There were similar discussions on the forums and there may be some similar feature requests in the bug tracker.
    Nowadays people may have sh*tty cpus, so they prefer binary-based distro to a source-based one. They may have not that mush RAM, so they like lightweight apps, but most people have enough of harddrive space to simply install the thing, try it out and keep it if they like it - not because it's small, but because it works for them.
    With due respect but I find your language offensive. I didn't say that I am smart and I did not even challenge the way things are. I asked *why* they are the way they are.
    In answer to your question, xulrunner is a dependency because without it firefox won't run. Maybe what I am looking for is not a list of first-order dependencies for a package but a list of packages to be downloaded and installed with the package. In the context of your question, xulrunner would not be on that list as it already is installed.
    I agree with you about the disk space. The disk space is not my concern. I just wanted to know why pacman does not display what packages will be downloaded and installed before I actually run install (as a root).
    Despite I have not received an answer to my question, I now begin to think it was a design decision. I wonder if having this information displayed in addition to what pacman -Si already displays would be useful. The rationale would be that it is not reasonable to su or sudo just to find out how many packages need to be downloaded and installed to get some package working.
    Last edited by archguest (2010-08-08 14:08:05)

  • [SOLVED] Pacman "config file could not be read" error during Arch ins

    I've been attempting to get Arch setup for a while now, and after having some trouble with partitions, my wireless connecting, and setting up repos and mirrors, which the Wiki helped me solve, I've hit a bigger bump.  While updating the system using pacman as the Beginners Guide says to do, I get errors when I try to continue the update process as follows :
    btw: I'm typing this on a laptop next to my computer
    [root@McArch~]# pacman -Syu
    error: config file /etc/pacman.d/core could not be read
    error: config file /etc/pacman.d/extra could not be read
    error: config file /etc/pacman.d/community could not be read
    :: Synchronizing package databases . . .
    error: failed to updated core (unexpected error)
    error: failed to updated extra (unexpected error)
    error: failed to updated community (unexpected error)
    error: failed to synchronize any databases
    Any tips as to whats going on?  I've tried to created said files, and even insert mirrors into the file, like in the /etc/pacman.d/mirrorlist file but this doesn't seem to help
    Last edited by Windfinder (2008-09-29 20:43:29)

    Glad you got it working.
    I'm not sure what happened in your install but I just finished using an old 2007.08 iso and pacman first starts out with /etc/pacman.d/core, etc/pacman.d/extra, /etc/pacman.d/community ... etc., but I never had your problem when I did the #pacman -Syu after initial install reboot.  The pacman update removes the above mentioned repos and replaces them with a single /etc/pacman.d/mirrorlist.  You must have messed up an initial config file somehow as I couldn't get the same errors you got.  It looks like you had your /etc/pacman.conf file messed up somehow and when you pointed it to the mirrorlist it could finally work properly.  I'll just include my /etc/pacman.conf file and /etc/pacman.d/mirrorlist so you can compare.  NB*  these are from my x86_64 so for 32 bit machines i686 would replace x86_64 in the files.
    # /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
    HoldPkg = pacman glibc
    # If upgrades are available for these packages they will be asked for first
    SyncFirst = pacman
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #XferCommand = /usr/bin/curl %u > %o
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options (all disabled by default)
    #NoPassiveFtp
    #UseSyslog
    #ShowSize
    #UseDelta
    #TotalDownload
    # 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
    # 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.
    # Testing is disabled by default. To enable, uncomment the following
    # two 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]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    [extra]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    [community]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    # An example of a custom package repository. See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #Server = file:///home/custompkgs
    /etc/pacman.d/mirrorlist
    # Arch Linux repository mirrorlist
    # North America
    # - United States
    Server = http://mirror.neotuli.net/arch/$repo/os/x86_64
    Server = http://holmes.umflint.edu/archlinux/$repo/os/x86_64
    Server = http://archlinux.unixheads.org/$repo/os/x86_64
    Server = ftp://ftp.archlinux.org/$repo/os/x86_64
    Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/x86_64
    Server = ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/x86_64
    Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/x86_64
    Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/x86_64
    Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/x86_64
    Server = http://mirror.rit.edu/archlinux/$repo/os/x86_64
    Server = http://mirror.umoss.org/archlinux/$repo/os/x86_64
    # - Canada
    Server = ftp://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/@carch
    Well it was an interesting way to kill 30+ minutes.

Maybe you are looking for