LinuxSir.Org  
| 网站首页 | 论坛帮助 |

欢迎来到LinuxSir.Org!
您还未登录,请登录后查看论坛,或者点击论坛上方的注册链接注册新账号。


发表新主题 回复
精华主题  
主题工具
旧 06-04-03, 10:39 第 16 帖
andey
 
andey 的头像
 
 
注册会员  
  注册日期: Nov 2002
  我的住址: 中国·广州
  帖子: 1,126
  精华: 0
 

好东西,说明也非常详细
谢谢..







__________________
Linux is ready ! Put it, boot it.
其实地上本来就有路,走的人多了便没有了路。
--------------------------->
电脑配置:K7TM Pro (MS-6340)[集成Creative SB PCI128 (Ensoniq ES5880) Sound Card]+AMD Duron800 MHz+2*128MB SDR+NVIDIA GeForce2 MX/MX 400+西数40GB+philips 107T6
--------------------------->
OS:Ubuntu---->xubuntu装fluxbox,轻快阿。
  andey 当前离线   回复时引用此帖
旧 06-04-03, 23:40 第 17 帖
joe45
 
 
 
注册会员  
  注册日期: Aug 2005
  帖子: 19
  精华: 0
 

多谢ybyygu,学到很多东西!
我把我理解的方式写一遍,ybyygu朋友看看有没有错误的地方:
首先 mv getfastsources /bin/
mv .ubuntu_mirrors.list /root/
sudo aptitude install curl
sudo aptitude install axel
运行: /bin/getfastsources

root@zq:/home/joe45# /bin/getfastsources
Setting dapper for you ...
We have found the top one mirror for you:
http://archive.ubuntu.cz/ubuntu
The speed is:
35015.000
Do you want to include source packages? [y/n]y
Do you want to continue? [y/n]y
Backup your sources.list.
Your sources has been updated, and maybe you want to run "sudo aptitude update" now.

然后 :sudo aptitude update
这个就是getfastsources的使用对不对?
  joe45 当前离线   回复时引用此帖
旧 06-04-04, 00:07 第 18 帖
joe45
 
 
 
注册会员  
  注册日期: Aug 2005
  帖子: 19
  精华: 0
 

root@zq:/home/joe45# apt-axel install something
E: 无法找到软件包 something


apt-axel 命令不能够被执行是怎么回事?
已经执行了 sudo aptitude install axel. 并且 getfastsources找到最快的source,
  joe45 当前离线   回复时引用此帖
旧 06-04-04, 00:16 第 19 帖
ybyygu
 
 
 
注册会员  
  注册日期: Nov 2004
  帖子: 222
  精华: 1
 

引用:
作者: joe45
root@zq:/home/joe45# apt-axel install something
E: 无法找到软件包 something


apt-axel 命令不能够被执行是怎么回事?
已经执行了 sudo aptitude install axel. 并且 getfastsources找到最快的source,
把something替换成你要安装的东西。
  ybyygu 当前离线   回复时引用此帖
旧 06-04-04, 00:18 第 20 帖
joe45
 
 
 
注册会员  
  注册日期: Aug 2005
  帖子: 19
  精华: 0
 

root@zq:/home/joe45# export http_proxy=http://172.18.64.222:80
root@zq:/home/joe45# apt-axel upgrade
The following packages will be installed:
debianutils bash bsdutils diff dpkg findutils grep gzip hostname login mount ncurses-bin perl-modules perl-suid libperl5.8 libdb4.3 perl perl-base sed sysv-rc sysvinit tar lsb-base util-linux base-passwd libncurses5 ncurses-base python-minimal libtext-iconv-perl libtext-charwidth-perl libtext-wrapi18n-perl debconf-i18n debconf console-data console-tools libconsole console-common mawk dash m4 flex zlib1g-dev zlib1g libxml2 foomatic-db ucf foomatic-filters foomatic-db-engine language-pack-en language-pack-gnome-en language-pack-gnome-zh language-pack-zh libglib1.2-dev libglib1.2 pkg-config libgtk1.2-dev libgtk1.2-common libgtk1.2 libncursesw5 libpam-runtime libpam0g passwd screen vnc-common initscripts libattr1 libacl1 libslang2 adduser lsof module-init-tools linux-sound-base alsa-base libasound2 pciutils python alsa-utils libbz2-1.0 bzip2 cpio dhcp3-client dhcp3-common libdevmapper1.01 eject ethtool gettext-base grepmap libiw28 wireless-tools ifrename net-tools ifupdown iproute iputils-ping klibc-utils libklibc sysklogd klogd less libfribidi0 libgpg-error0 libgcrypt11 liblzo1 libopencdk8 libtasn1-2 libgnutls11 libgpmg1 libreiserfs0.3-0 libusb-0.1-4 libwrap0 lsb-release makedev mdadm lvm-common memtest86+ tcpd netbase netcat ntpdate reiser4progs sudo usbutils xfsprogs procps at bsdmainutils dmidecode dmsetup libevms-2.5 evms evms-ncurses fdutils file libmagic1 ftp hdparm hwdata info iptables iputils-arping iputils-tracepath libedit2 libelfg0 libkrb53 libpcap0.8 libssl0.9.7 lshw-common manpages mime-support nano popularity-contest ppp pppconfig psmisc reportbug rsync telnet acpid anjuta-common appres autoconf autotools-dev bc beforelight bicyclerepair binutils binutils-static bison bitmap bittorrent libbluetooth1 bluez-cups libgsl0 bogofilter-common bogofilter-bdb bogofilter cdrecord gcc-3.4 cpp-3.4 gcc-3.4-base cvs dc debconf-utils make dpkg-dev html2text gettext intltool-debian po-debconf debhelper libglib2.0-data libglib2.0-0 desktop-file-utils dh-make dictionaries-common libdiscover1 discover1-data discover1 doc-debian editres emacsen-common emacs21 emacs21-bin-common emacs21-common libjpeg62-dev libjpeg62 libpng12-dev libpng12-0 libtiff4 libungif4g xaw3dg libaudiofile0 libgstreamer0.8-0 gstreamer0.8-esd esound-common esound libesd-alsa0 fakeroot finger foomatic-db-hpijs librecode0 fortunes-min fortune-mod fping freeglut3 fstobdf gamin libgamin0 gcc-3.3-base gimp gimp-data libaa1 libatk1.0-0 libfreetype6-dev libfreetype6 libfontconfig1-dev libfontconfig1 libcairo2 libgtk2.0-common libpango1.0-common libpango1.0-0 libgtk2.0-bin libgtk2.0-0 libgimp2.0 libwmf0.2-7 gimp-python python-gnome2 gnome-btdownload libtool intltool gnome-common gnome-desktop-data hicolor-icon-theme gnome-icon-theme libgnome-keyring0 gnome-keyring libglade2-0 launchpad-integration liblaunchpad-integration0 libidn11 whois gnome-nettool gtk2-engines-pixbuf gtk2-engines-thinice gtk2-engines-crux gtk2-engines-redmond95 gtk2-engines-lighthouseblue gtk2-engines-smooth gtk2-engines-mist gtk2-engines-clearlooks gnome-themes libxslt1.1 libscrollkeeper0 scrollkeeper gnome2-user-guide grub gs-common libgstreamer-plugins0.8-0 gstreamer0.8-alsa gstreamer0.8-audiofile gstreamer0.8-cdparanoia libavc1394-0 libdv4 gstreamer0.8-dv libdvdread3 gstreamer0.8-dvd gstreamer0.8-ffmpeg libflac7 gstreamer0.8-flac gstreamer0.8-gsm hermes1 gstreamer0.8-hermes gstreamer0.8-jpeg gstreamer0.8-lame libmpcdec3 gstreamer0.8-musepack gstreamer0.8-oss gstreamer0.8-tools gstreamer0.8-plugin-apps libsdl1.2debian libsdl1.2debian-oss gstreamer0.8-sdl libspeex1 gstreamer0.8-speex libogg0 gstreamer0.8-theora gstreamer0.8-x gtk2-engines-industrial hotkey-setup xauth xhost xinit xkbutils xpmutils xprop xrandr xsetmode xsetpointer xvinfo xset xmodmap xdriinfo iceauth ico listres oclock smproxy viewres x11perf xbiff xcalc xclipboard xclock xconsole xcursorgen xditview xev xeyes xf86dga xfd xfontsel xgamma xgc xkill xload xlogo xlsatoms xlsclients xlsfonts xmag xman xmessage xmore xrgb xrefresh xsetroot xsm xstdcmap xtrap xvidtune xwd xwininfo xwud sessreg xfonts-utils xutils xbase-clients hwdb-client installation-report iso-codes kde-core kdebase-data kdelibs-data laptop-detect libadns1 libao2 libartsc0 libaudio2 liborbit2 libbonobo2-0 libbonobo2-common libcroco3 libdaemon0 libdb1-compat libdb3 libdb4.2 libeel2-data libfaad2-0 libgnomecanvas2-0 libgnomecanvas2-common libgail17 libgail-common libgd2-noxpm libgeoip1 libgii0 libgii0-target-x libggi2 libglib-perl libgnome-pilot2 libgtk2-perl libgnome2-canvas-perl libgnome2-vfs-perl libgnomecups1.0-1 libgnomeprintui2.2-common libgnomeprintui2.2-0 libgnucrypto-java libgnujaxp-jni libgnujaxp-java libgphoto2-port0 libgphoto2-2 libgtkhtml2-0 libgtksourceview-common libgtksourceview1.0-0 libgtkspell0 libguile-ltdl-1 libservlet2.3-java libhsqldb-java libhtml-tagset-perl libhtml-parser-perl libhtml-tree-perl libijs-0.35 libjessie-java libkpathsea3 liblockfile1 libltdl3 libmdbtools libmyspell3c2 libmysqlclient14 mysql-common libnspr4 libnss-mdns libnss3 liboggflac3 liboil0.3 libpcre3 libpisock8 libpisync0 libportaudio0 libqthreads-12 libsamplerate0 libsane libsensors3 libvorbis0a libshout3 libslp1 libsndfile1 libsnmp-base libsqlite3-0 libstartup-notification0 libstdc++5 libunicode-string-perl libvorbisenc2 libvorbisfile3 libvte4 libvte-common libwnck-common libwnck18 libxerces2-java libxalan2-java libxklavier10 libxosd2 libxt-java libxvidcore4 linux-386 linux-kernel-headers linux-restricted-modules-common makedepend manpages-dev menu-xdg mkisofs module-assistant nautilus-data nvidia-kernel-common odbcinst1debian1 poster powermanagement-interface powermgmt-base powernowd psutils python2.4-adns python-adns python-apt python-cddb python2.4-clientcookie python-clientcookie python-crypto python2.4-egenix-mxtools python2.4-egenix-mxproxy python-egenix-mxproxy python2.4-egenix-mxstack python-egenix-mxstack python2.4-egenix-mxtexttools python-egenix-mxtexttools python-egenix-mxtools python2.4-epydoc python-epydoc python2.4-eunuchs python-eunuchs python-examples python2.4-gadfly python-gadfly python-gdbm python2.4-geoip python-geoip python-gmenu python-gnome2-extras python-gst python2.4-htmlgen python-htmlgen python2.4-htmltmpl python-htmltmpl python-id3lib python2.4-imaging-sane python2.4-imaging python-imaging-sane python-imaging python2.4-jabber python-jabber python2.4-kjbuckets python-kjbuckets python-launchpad-integration python-ldap python2.4-numeric python-numeric python2.4-osd python-osd python2.4-pam python-pam python2.4-pexpect python-pexpect python2.4-egenix-mxdatetime python2.4-pgsql python-pgsql python2.4-pylibacl python-pylibacl python-pyopenssl python2.4-pyorbit python-pyorbit python2.4-pyxattr python-pyxattr python2.4-xml python2.4-reportlab python-xml python-reportlab python2.4-simpletal python-simpletal python2.4-sqlite python-sqlite python2.4-syck python-syck python-tk python2.4-unit python-unit python-xdg python2.4-cairo python2.4-libxml2 python2.4-libxslt1 readahead sane-utils shared-mime-info sox ssh-askpass-gnome system-tools-backends tcl8.4 tk8.4 toshset ttf-arabeyes ttf-arphic-bkai00mp ttf-bengali-fonts ttf-devanagari-fonts ttf-freefont ttf-gujarati-fonts ttf-kannada-fonts ttf-malayalam-fonts ttf-oriya-fonts ttf-punjabi-fonts ttf-tamil-fonts ttf-telugu-fonts ttf-indic-fonts ttf-mgopen ttf-opensymbol ubuntu-docs unifont unzip vbetool wx2.6-examples x-dev x-ttcidfont-conf x-window-system-core xresprobe xsane xsane-common xscreensaver-data xscreensaver xscreensaver-gl xserver-xorg-driver-neomagic xserver-xorg-driver-siliconmotion xserver-xorg-input-citron xserver-xorg-input-kbd xserver-xorg-input-mouse xsltproc zenity zeroconf base-config fastjar foomatic-filters-ppds libaudio-dev liblircclient0 libmotif3 libsmbclient pcmcia-cs python2.4-gd python-gd python-pisock slocate
Do you want to continue? [y/n] y
[ getting debianutils 1 of 615 ]
Package already downloaded. Checking md5sum of debianutils package: correct
[ getting bash 2 of 615 ]
Initializing download: http://archive.ubuntu.cz/ubuntu/pool...untu8_i386.deb

就停在这里,不动了,是怎么回事呢?
  joe45 当前离线   回复时引用此帖
旧 06-04-04, 00:19 第 21 帖
ybyygu
 
 
 
注册会员  
  注册日期: Nov 2004
  帖子: 222
  精华: 1
 

引用:
作者: joe45
多谢ybyygu,学到很多东西!
我把我理解的方式写一遍,ybyygu朋友看看有没有错误的地方:
首先 mv getfastsources /bin/
mv .ubuntu_mirrors.list /root/
sudo aptitude install curl
sudo aptitude install axel
运行: /bin/getfastsources

root@zq:/home/joe45# /bin/getfastsources
Setting dapper for you ...
We have found the top one mirror for you:
http://archive.ubuntu.cz/ubuntu
The speed is:
35015.000
Do you want to include source packages? [y/n]y
Do you want to continue? [y/n]y
Backup your sources.list.
Your sources has been updated, and maybe you want to run "sudo aptitude update" now.

然后 :sudo aptitude update
这个就是getfastsources的使用对不对?
也对。没必要使用root帐号来执行。如果使用普通帐号执行的话,
代码:
mv dot-ubuntu_mirrors.list ~/.ubuntu_mirrors.list
  ybyygu 当前离线   回复时引用此帖
旧 06-04-04, 00:22 第 22 帖
ybyygu
 
 
 
注册会员  
  注册日期: Nov 2004
  帖子: 222
  精华: 1
 

引用:
作者: joe45
http://archive.ubuntu.cz/ubuntu/pool...untu8_i386.deb

就停在这里,不动了,是怎么回事呢?
你导出proxy变量的方法不对。
代码:
export HTTP_PROXY="http://$proxy
axel使用的proxy变量有点古怪
还有使用getfastsources之前也要导出**变量,这样生成的mirror对个这个**是优化的。
getfastsources中的curl使用第一种**变量。

此帖于 06-04-04 00:25 被 ybyygu 编辑.
  ybyygu 当前离线   回复时引用此帖
旧 06-11-11, 10:13 第 23 帖
玉剑出世
 
 
 
注册会员  
  注册日期: Aug 2006
  帖子: 1
  精华: 0
 

这个apt-axel有些问题了,我把它修改了一下,而且把获取mirrors的方式也改成了自动读取/etc/apt/sources.list文件的方式了,这样更新了apt-get的源时,apt-axel的源也跟着一起更新了。

下载地址:http://heaps.cn/?p=70
  玉剑出世 当前离线   回复时引用此帖
旧 06-11-12, 21:42 第 24 帖
81213464
 
 
 
注册会员  
  注册日期: Mar 2006
  帖子: 36
  精华: 0
 

Why I can't find the best one for you?
我运 我运行怎么来了个这样答案?!
  81213464 当前离线   回复时引用此帖
旧 06-11-13, 13:30 第 25 帖
dogfox 帅哥
 
dogfox 的头像
 
 
注册会员  
  注册日期: Oct 2005
  我的住址: 汉桑城
  帖子: 303
  精华: 0
 

sss@killer:~/Desktop/ubuntu_tools$ ./getfastsources
Setting dapper for you ...
Why I can't find the best one for you?
sss@killer:~/Desktop/ubuntu_tools$







__________________
全世界linux爱好者联合起来 !
一切闭源操作系统都是纸老虎 !
要斗私批修,拒绝黑屏,使用linux !
让一部分人先用起Archlinux来 !
linux是第一生产力 !
讲正气,讲开源,讲free
要坚定不移的走开源的道路 !
linux明天会更好 !

http://my.opera.com/dogfox/blog
  dogfox 当前离线   回复时引用此帖
旧 06-11-13, 13:33 第 26 帖
dogfox 帅哥
 
dogfox 的头像
 
 
注册会员  
  注册日期: Oct 2005
  我的住址: 汉桑城
  帖子: 303
  精华: 0
 

sss@killer:/bin$ ./getfastsources
Setting dapper for you ...
Why I can't find the best one for you?
  dogfox 当前离线   回复时引用此帖
发表新主题 回复


主题工具

发帖规则
您 [不可以] 发表新主题
您 [不可以] 回复主题
您 [不可以] 上传附件
您 [不可以] 编辑您的帖子

已 [启用] BB 代码
已 [启用] 表情符号
已 [启用] IMG 代码
已 [禁用] HTML 代码
[论坛跳转…]


所有时间均为[北京时间]。现在的时间是 16:22


Powered by vBulletin 版本 3.6.8
版权所有 ©2000 - 2012, Jelsoft Enterprises Ltd.
官方中文技术支持: vBulletin 中文
版权所有 ©2002 - 2011, LinuxSir.Org