You are not logged in.

#1 2010-04-20 21:45:42

jwhendy
Member
Registered: 2010-04-01
Posts: 621

[SOLOVED] 'pacman -S yaourt' tries for 64bit package-query on 32bit

I've been getting a 32bit chroot installed recently and have started over several times for learning and documentation purposes. One issue that has occurred every time is as follows:

- Per the ArchWiki, I have added the following to /opt/arch32/etc/pacman.conf to allow for 'pacman -S yaourt':
[archlinuxfr]
Server = http://repo.archlinux.fr/i686

- the only uncommented mirror in /opt/arch32/etc/pacman.d/mirrorlist is:
--- Server = http://distro.ibiblio.org/pub/linux/dis … po/os/i686

- everything that follows is done from my 32bit chroot, setup per the ArchWiki, with base and base-devel, daemon started, etc.

- pacman -Syu && pacman -S yaourt

- I have gotten this output every time I've tried:

[jwhendy@bigBang ~]$ sudo pacman -S yaourt
resolving dependencies...
looking for inter-conflicts...

Targets (6): run-parts-3.2.2-1  ca-certificates-20090814-3  curl-7.20.1-1  
             yajl-1.0.9-3  package-query-0.1.1-1  yaourt-0.9.3.2-1  

Total Download Size:    0.62 MB
Total Installed Size:   2.71 MB

Proceed with installation? [Y/n] 
:: Retrieving packages from core...
 run-parts-3.2.2-1-i686     8.0K 1581.9K/s 00:00:00 [#####################] 100%
 ca-certificates-200...   108.6K 1109.5K/s 00:00:00 [#####################] 100%
:: Retrieving packages from extra...
 curl-7.20.1-1-i686....   419.2K 1126.8K/s 00:00:00 [#####################] 100%
:: Retrieving packages from community...
 yajl-1.0.9-3-i686.p...    25.3K 1097.4K/s 00:00:00 [#####################] 100%
:: Retrieving packages from archlinuxfr...
error: failed retrieving file 'package-query-0.1.1-1-x86_64.pkg.tar.xz' from repo.archlinux.fr : Not Found
 yaourt-0.9.3.2-1-an...    60.3K 1171.3K/s 00:00:00 [#####################] 100%
warning: failed to retrieve some files from archlinuxfr
error: failed to commit transaction (Not Found)
Errors occurred, no packages were upgraded.

So... everything pacman is grabbing is i686 except package-query. Why in the world would this be? I would assume this happens on an actual 32bit install as well, but not sure... Could it have to do with me being on a 32bit chroot? I can't figure out how it would selectively be grabbing i686 and 64bit packages given my pacman.conf and mirrorlist, though...

- Workaround:
--- I've been just doing 'pacman -S curl yajl' and then using makepkg -si to install package-build from AUR

I wanted to post this, though, as I think something is wrong in a depends list or repo somewhere to be causing this time after time.

Is this me being stupid or is there something else going on here?

Last edited by jwhendy (2010-04-20 22:35:08)

Offline

#2 2010-04-20 22:26:55

tuxce
Member
Registered: 2008-02-19
Posts: 56
Website

Re: [SOLOVED] 'pacman -S yaourt' tries for 64bit package-query on 32bit

You only retreive 2 packages from [archlinuxfr], yaourt is in any so same filename, only package-query left.
Maybe db is inconsistent (a previous sync in 64bits and same db directory ?):

pacman -Syy yaourt

Last edited by tuxce (2010-04-20 22:29:44)

Offline

#3 2010-04-20 22:32:09

jwhendy
Member
Registered: 2010-04-01
Posts: 621

Re: [SOLOVED] 'pacman -S yaourt' tries for 64bit package-query on 32bit

1. First I issued 'pacman -R yaourt' and 'pacman -R package-query' to force a reinitiation of the package-query download

2. sudo pacman --debug -S yaourt:

[jwhendy@bigBang ~]$ sudo pacman --debug -S yaourt
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: SyncFirst: pacman
debug: config: new section 'core'
debug: setlibpaths() called
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: registering sync database 'core'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'core': http://distro.ibiblio.org/pub/linux/dis … re/os/i686
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: registering sync database 'extra'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'extra': http://distro.ibiblio.org/pub/linux/dis … ra/os/i686
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: registering sync database 'community'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'community': http://distro.ibiblio.org/pub/linux/dis … ty/os/i686
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'archlinuxfr'
debug: registering sync database 'archlinuxfr'
debug: adding new server URL to database 'archlinuxfr': http://repo.archlinux.fr/i686
debug: config: finished parsing /etc/pacman.conf
debug: registering local database
debug: loading package cache for repository 'local'
debug: loading package cache for repository 'core'
debug: loading package cache for repository 'extra'
debug: loading package cache for repository 'community'
debug: loading package cache for repository 'archlinuxfr'
debug: adding package yaourt-0.9.3.2-1 to the transaction targets
resolving dependencies...
debug: resolving target's dependencies
debug: started resolving dependencies
debug: checkdeps: package yaourt-0.9.3.2-1
debug: checkdeps: missing dependency 'package-query' for package 'yaourt'
debug: pulling dependency package-query (needed by yaourt)
debug: checkdeps: package package-query-0.1.1-1
debug: finished resolving dependencies
debug: started sorting dependencies
debug: sorting dependencies finished
looking for inter-conflicts...
debug: looking for conflicts
debug: check targets vs targets
debug: check targets vs targets
debug: check targets vs db and db vs targets
debug: check targets vs db
debug: check db vs targets
debug: checking dependencies
debug: checkdeps: package package-query-0.1.1-1
debug: checkdeps: package yaourt-0.9.3.2-1
debug: setting download size 12068 for pkg package-query
debug: found cached pkg: /var/cache/pacman/pkg/yaourt-0.9.3.2-1-any.pkg.tar.xz
debug: setting download size 0 for pkg yaourt

Targets (2): package-query-0.1.1-1  yaourt-0.9.3.2-1 

Total Download Size:    0.01 MB
Total Installed Size:   0.41 MB

Proceed with installation? [Y/n]
debug: using cachedir: /var/cache/pacman/pkg/
:: Retrieving packages from archlinuxfr...
debug: using 'package-query-0.1.1-1-x86_64.pkg.tar.xz' for download progress
debug: HTTP_PROXY: (null)
debug: http_proxy: (null)
debug: FTP_PROXY:  (null)
debug: ftp_proxy:  (null)
error: failed retrieving file 'package-query-0.1.1-1-x86_64.pkg.tar.xz' from repo.archlinux.fr : Not Found
warning: failed to retrieve some files from archlinuxfr
error: failed to commit transaction (Not Found)
Errors occurred, no packages were upgraded.
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: freeing package cache for repository 'extra'
debug: unregistering database 'community'
debug: freeing package cache for repository 'community'
debug: unregistering database 'archlinuxfr'
debug: freeing package cache for repository 'archlinuxfr'

Offline

#4 2010-04-20 22:34:55

jwhendy
Member
Registered: 2010-04-01
Posts: 621

Re: [SOLOVED] 'pacman -S yaourt' tries for 64bit package-query on 32bit

pacman -Syy did the trick...

I do not understand how this can be the case, though, since the repo is clearly listed as i686??

I just don't get where it's getting this from or how it could have thought 64bit was needed??

Thanks, though! It now works!

Offline

Board footer

Powered by FluxBB