FS#30878 - [pacman] Maximum file size exceeded

Attached to Project: Arch Linux
Opened by 謝致邦 (Red54) - Friday, 27 July 2012, 11:11 GMT
Last edited by Allan McRae (Allan) - Friday, 27 July 2012, 12:04 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
debug: curl returned error 63 from transfer
error: failed retrieving file 'yaourt-1.1-1-any.pkg.tar.xz' from 69.85.93.94 : Maximum file size exceeded

Additional info:
* package version(s)
4.0.3
* config and/or log files etc.
[archlinuxcn]
Server = http://69.85.93.94/repo/x86_64

Steps to reproduce:

[root@Red54 ~]# pacman -S yaourt --debug
debug: parseconfig: options pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: SyncFirst: pacman
debug: config: arch: x86_64
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 76: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 80: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 88: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: config: new section 'archlinuxcn'
debug: config: finish section 'archlinuxcn'
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: parseconfig: repo pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 76: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'core': http://ftp.sjtu.edu.cn/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirrors.ustc.edu.cn/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirrors.163.com/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirrors.sohu.com/archlinux/core/os/x86_64
debug: config: new section 'extra'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 80: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'extra': http://ftp.sjtu.edu.cn/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirrors.ustc.edu.cn/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirrors.163.com/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirrors.sohu.com/archlinux/extra/os/x86_64
debug: config: new section 'community'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 88: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: registering sync database 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'community': http://ftp.sjtu.edu.cn/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirrors.ustc.edu.cn/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirrors.163.com/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirrors.sohu.com/archlinux/community/os/x86_64
debug: config: new section 'archlinuxcn'
debug: config: finish section 'archlinuxcn'
debug: registering sync database 'archlinuxcn'
debug: database path for tree archlinuxcn set to /var/lib/pacman/sync/archlinuxcn.db
debug: "/var/lib/pacman/sync/archlinuxcn.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/archlinuxcn.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'archlinuxcn': http://69.85.93.94/repo/x86_64
debug: config: finished parsing /etc/pacman.conf
debug: loading package cache for repository 'local'
debug: added 546 packages to package cache for db 'local'
debug: loading package cache for repository 'core'
debug: opening database archive /var/lib/pacman/sync/core.db
debug: added 198 packages to package cache for db 'core'
debug: loading package cache for repository 'extra'
debug: opening database archive /var/lib/pacman/sync/extra.db
debug: added 2783 packages to package cache for db 'extra'
debug: loading package cache for repository 'community'
debug: opening database archive /var/lib/pacman/sync/community.db
debug: added 2588 packages to package cache for db 'community'
debug: loading package cache for repository 'archlinuxcn'
debug: opening database archive /var/lib/pacman/sync/archlinuxcn.db
debug: added 233 packages to package cache for db 'archlinuxcn'
debug: adding package 'yaourt'
debug: adding package yaourt-1.1-1 to the transaction add list
resolving dependencies...
debug: resolving target's dependencies
debug: started resolving dependencies
debug: checkdeps: package yaourt-1.1-1
debug: checkdeps: missing dependency 'package-query>=1.0' for package 'yaourt'
debug: pulling dependency package-query (needed by yaourt)
debug: checkdeps: package package-query-1.0.1-1
debug: checkdeps: missing dependency 'yajl>=2.0' for package 'package-query'
debug: pulling dependency yajl (needed by package-query)
debug: checkdeps: package yajl-2.0.4-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 yajl-2.0.4-1
debug: checkdeps: package package-query-1.0.1-1
debug: checkdeps: package yaourt-1.1-1
debug: found cached pkg: /var/cache/pacman/pkg/yajl-2.0.4-1-x86_64.pkg.tar.xz
debug: setting download size 0 for pkg yajl
debug: found cached pkg: /var/cache/pacman/pkg/package-query-1.0.1-1-x86_64.pkg.tar.xz
debug: setting download size 0 for pkg package-query
debug: setting download size 45468 for pkg yaourt
debug: returning error 31 from alpm_db_get_pkg : could not find or read package
debug: returning error 31 from alpm_db_get_pkg : could not find or read package
debug: returning error 31 from alpm_db_get_pkg : could not find or read package

Targets (3): package-query-1.0.1-1 yajl-2.0.4-1 yaourt-1.1-1

Total Download Size: 0.04 MiB
Total Installed Size: 0.51 MiB

Proceed with installation? [Y/n]
debug: using cachedir: /var/cache/pacman/pkg/
:: Retrieving packages from archlinuxcn...
debug: url: http://69.85.93.94/repo/x86_64/yaourt-1.1-1-any.pkg.tar.xz
debug: maxsize: 45468
debug: opened tempfile for download: /var/cache/pacman/pkg/yaourt-1.1-1-any.pkg.tar.xz.part (wb)
debug: curl returned error 63 from transfer
error: failed retrieving file 'yaourt-1.1-1-any.pkg.tar.xz' from 69.85.93.94 : Maximum file size exceeded
warning: failed to retrieve some files from archlinuxcn
error: failed to commit transaction (download library error)
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 'archlinuxcn'
debug: freeing package cache for repository 'archlinuxcn'
[root@Red54 ~]#
[root@Red54 ~]# curl -O http://69.85.93.94/repo/x86_64/yaourt-1.1-1-any.pkg.tar.xz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 45516 100 45516 0 0 42441 0 0:00:01 0:00:01 --:--:-- 50855
[root@Red54 ~]#
[root@Red54 ~]# pacman -U yaourt-1.1-1-any.pkg.tar.xz
loading packages...
resolving dependencies...
looking for inter-conflicts...

Targets (3): package-query-1.0.1-1 yajl-2.0.4-1 yaourt-1.1-1

Total Installed Size: 0.51 MiB

Proceed with installation? [Y/n]
(2/3) checking package integrity [#####################################################################] 100%
(2/3) loading package files [#####################################################################] 100%
(3/3) checking for file conflicts [#####################################################################] 100%
(3/3) checking available disk space [#####################################################################] 100%
(1/3) installing yajl [#####################################################################] 100%
(2/3) installing package-query [#####################################################################] 100%
(3/3) installing yaourt [#####################################################################] 100%
Optional dependencies for yaourt
aurvote: vote for favorite packages from AUR
customizepkg: automatically modify PKGBUILD during install/upgrade
rsync: retrieve PKGBUILD from official repositories
pacman-color: fully colorized output
[root@Red54 ~]#
This task depends upon

Closed by  Allan McRae (Allan)
Friday, 27 July 2012, 12:04 GMT
Reason for closing:  Not a bug
Comment by Allan McRae (Allan) - Friday, 27 July 2012, 12:04 GMT
The repo database has the wrong file size for yaourt.

Loading...