crook / yum-axelget Goto Github PK
View Code? Open in Web Editor NEWYum-axelget is a plugin for yum that accelerates download rate with multi-threads by axel.
Home Page: http://yum-axelget.googlecode.com/
License: GNU General Public License v3.0
Yum-axelget is a plugin for yum that accelerates download rate with multi-threads by axel.
Home Page: http://yum-axelget.googlecode.com/
License: GNU General Public License v3.0
Everytime I try to install a package with axelget plugin enabled I get this error:
sh: axel: command not found
and yum enters a loop like this:
Downloading Packages:
sh: axel: command not found
opencore-amr-0.1.2-1.el6.rf.x86_64.rpm | 0 B 00:00 ...
sh: axel: command not found
opencore-amr-0.1.2-1.el6.rf.x86_64.rpm | 0 B 00:00 ...
sh: axel: command not found
opencore-amr-0.1.2-1.el6.rf.x86_64.rpm | 0 B 00:00 ...
.....
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 355, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 261, in main
return_code = base.doTransaction()
File "/usr/share/yum-cli/cli.py", line 670, in doTransaction
problems = self.downloadPkgs(downloadpkgs, callback_total=self.download_callback_total_cb)
File "/usr/lib/python2.7/site-packages/yum/init.py", line 2388, in downloadPkgs
self.plugins.run('predownload', pkglist=pkglist)
File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/axelget.py", line 438, in predownload_hook
downloaded_drpm_pkgs = download_drpm(conduit, pkglist)
File "/usr/lib/yum-plugins/axelget.py", line 191, in download_drpm
presto = DeltaInfo(conduit._base, pkgs, adderror)
File "/usr/lib/python2.7/site-packages/yum/drpm.py", line 131, in init
perc = po.repo.deltarpm_percentage
AttributeError: FakeRepository instance has no attribute 'deltarpm_percentage'
Debug Output:
Config Error: Couldn't parse /etc/yum/pluginconf.d/axelget.conf: File contains no section headers.
file: file:///etc/yum/pluginconf.d/axelget.conf, line: 6
'\n'
Like this:
https://github.com/kongove/yum-axelget/releases
Then we can get zip/tar.gz files.
when i am trying to install a pkg with all plugins, i got following error:
Total download size: 435 M
Installed size: 1.6 G
Is this ok [y/d/N]: y
Downloading packages:
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 367, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 273, in main
return_code = base.doTransaction()
File "/usr/share/yum-cli/cli.py", line 669, in doTransaction
problems = self.downloadPkgs(downloadpkgs, callback_total=self.download_callback_total_cb)
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 2399, in downloadPkgs
self.plugins.run('predownload', pkglist=pkglist)
File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/axelget.py", line 523, in predownload_hook
conduit.info(2, "Skip local Site: %s" % url)
NameError: global name 'conduct' is not defined
But when i disable axelget plugins i didn't get any error.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.