You are not logged in.

#1 2011-08-17 09:37:22

testdude281
Member
From: Vizag, India
Registered: 2011-03-04
Posts: 75

(Solved) package-query trying to downgrade pacman

i want to install yaourt on my system. one of its dependencies package-query (also AUR) depends upon pacman <= 3.6 for installing, while i have pacman 4.0.0rc1-1 on my system. so when i try to install it, it tries to downgrade my pacman to 3.5.4-4.

is there a way around it? any suggestions would be welcome, even if its very unlikely (i would love to tinker)

Last edited by testdude281 (2011-08-22 23:18:47)

Offline

#2 2011-08-17 09:44:05

ilpianista
Fellow developer
Registered: 2007-10-06
Posts: 568
Website

Re: (Solved) package-query trying to downgrade pacman

use package-query-git

Offline

#3 2011-08-17 10:30:51

testdude281
Member
From: Vizag, India
Registered: 2011-03-04
Posts: 75

Re: (Solved) package-query trying to downgrade pacman

just tried that. got the following error

makepkg -s
==> Determining latest git revision...
  -> Version found: 20110817
==> Making package: package-query-git 20110817-1 (Wed Aug 17 15:58:00 IST 2011)
==> Checking runtime dependencies...
==> Installing missing dependencies...
Password: 
resolving dependencies...
looking for inter-conflicts...

Targets (1): yajl-2.0.2-1

Total Download Size:    0.03 MiB
Total Installed Size:   0.21 MiB

Proceed with installation? [Y/n] y
:: Retrieving packages from community...
--2011-08-17 15:58:05--  ftp://mirror.cse.iitk.ac.in/archlinux/community/os/i686/yajl-2.0.2-1-i686.pkg.tar.xz
           => `/var/cache/pacman/pkg/yajl-2.0.2-1-i686.pkg.tar.xz.part'
Resolving mirror.cse.iitk.ac.in... 202.3.77.108
Connecting to mirror.cse.iitk.ac.in|202.3.77.108|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /archlinux/community/os/i686 ... done.
==> SIZE yajl-2.0.2-1-i686.pkg.tar.xz ... 36664
==> PASV ... done.    ==> RETR yajl-2.0.2-1-i686.pkg.tar.xz ... done.
Length: 36664 (36K) (unauthoritative)

100%[===============================================================================================================>] 36,664      39.3K/s   in 0.9s    

2011-08-17 15:58:14 (39.3 KB/s) - `/var/cache/pacman/pkg/yajl-2.0.2-1-i686.pkg.tar.xz.part' saved [36664]

(1/1) checking package integrity                                                            [------------------------------------------------------] 100%
(1/1) checking for file conflicts                                                           [------------------------------------------------------] 100%
(1/1) installing yajl                                                                       [------------------------------------------------------] 100%
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Starting build()...
Cloning into package-query...
remote: Counting objects: 752, done.
remote: Compressing objects: 100% (740/740), done.
remote: Total 752 (delta 522), reused 0 (delta 0)
Receiving objects: 100% (752/752), 239.00 KiB | 89 KiB/s, done.
Resolving deltas: 100% (522/522), done.
Cloning into package-query-build...
done.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for alpm_version in -lalpm... yes
checking for yajl_free in -lyajl... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBCURL... yes
checking for git... git
checking for .git/... yes
configure: creating ./config.status
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

package-query:

  Build information:
    source code location   : .
    prefix                 : /usr
    sysconfdir             : /etc
       conf file           : /etc/pacman.conf
    localstatedir          : /var
       database dir        : /var/lib/pacman/
    compiler               : gcc
    compiler flags         : -march=i686 -mtune=generic -O2 -pipe

    package-query version  : 0.8.1
    using git version      : yes
       git ver             : 0.8-3-gfc24

  Variable information:
    root working directory : /
    aur base url           : http://aur.archlinux.org

make  all-recursive
make[1]: Entering directory `/home/dilip/Downloads/package-query-git/src/package-query-build'
Making all in src
make[2]: Entering directory `/home/dilip/Downloads/package-query-git/src/package-query-build/src'
gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -DGIT_VERSION=\"0.8-3-gfc24\" -I. -I..     -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -MT aur.o -MD -MP -MF .deps/aur.Tpo -c -o aur.o aur.c
In file included from aur.c:32:0:
alpm-query.h:55:25: error: unknown type name ‘pmdb_t’
alpm-query.h:56:25: error: unknown type name ‘pmdb_t’
alpm-query.h:57:15: error: unknown type name ‘pmdb_t’
alpm-query.h:58:17: error: unknown type name ‘pmdb_t’
alpm-query.h:59:14: error: unknown type name ‘pmdb_t’
alpm-query.h:64:21: error: unknown type name ‘pmpkg_t’
alpm-query.h:65:1: error: unknown type name ‘pmpkg_t’
alpm-query.h:66:1: error: unknown type name ‘pmpkg_t’
alpm-query.h:66:24: error: unknown type name ‘pmpkg_t’
In file included from aur.c:33:0:
util.h:124:2: error: unknown type name ‘pmdepmod_t’
make[2]: *** [aur.o] Error 1
make[2]: Leaving directory `/home/dilip/Downloads/package-query-git/src/package-query-build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dilip/Downloads/package-query-git/src/package-query-build'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
[dilip@Zeus package-query-git]$ 

EDIT : sorry, here is the full output instead of just the error part.

Last edited by testdude281 (2011-08-17 10:36:13)

Offline

#4 2011-08-17 10:48:16

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,405
Website

Re: (Solved) package-query trying to downgrade pacman

package-query/yaourt will not work with pacman-4.0.0-rc1

Offline

#5 2011-08-17 10:49:15

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: (Solved) package-query trying to downgrade pacman

If you really have to have yaourt, don't use the pacman4 rc.

Offline

#6 2011-08-17 11:06:43

testdude281
Member
From: Vizag, India
Registered: 2011-03-04
Posts: 75

Re: (Solved) package-query trying to downgrade pacman

ok. i am dropping yaourt.

thanks.

Offline

Board footer

Powered by FluxBB