发新话题
打印

为redhat增加apt包管理功能

多谢版主,很好用      

TOP

绝对是一个好东东,呵呵,当然你还有时间去升级啊,      

TOP

版主:我设置代理时为什么出错呢
[root@Matrix apt]# apt-config -o  ACQIURE::http=192.131.0.1:8080
apt 0.5.5cnc6 for linux i386 compiled on Jun 16 2003 18:46:01
Usage: apt-config [options] command

apt-config is a simple tool to read the APT config file[root@Matrix apt]# apt-config -o  ACQIURE::http=192.131.0.1:8080
apt 0.5.5cnc6 for linux i386 compiled on Jun 16 2003 18:46:01
Usage: apt-config [options] command

apt-config is a simple tool to read the APT config file

Commands:
   shell - Shell mode
   dump - Show the configuration

Options:
  -h   This help text.
  -c=? Read this configuration file
  -o=? Set an arbitary configuration option, eg -o dir::cache=/tmp
为什么是这样,能不能举个例子亚,谢谢了.

Commands:
   shell - Shell mode
   dump - Show the configuration

Options:
  -h   This help text.
  -c=? Read this configuration file
  -o=? Set an arbitary configuration option, eg -o dir::cache=/tmp      

TOP

怎么没有人回复亚,我想问装apt是不是还要起ftp服务呢      

TOP

apt-config -o ACQIURE::Http:roxy=192.131.0.1:8080 dump

apt和本机的服务没有关系,不需要自己设置ftp服务器,除非你想自己建立一个apt 4 rpm服务站点。      

TOP

谢谢你!不过我还是煤油办法更新,老是说无法联接.      

TOP

如何安装本地硬盘上的rpm包???
file:/home/jerry/soft/ 9.0不行!      

TOP

我的代理都是设置在/etc/apt/apt.conf文件中的:
如:
Http {
        Proxy "http://用户名:密码@代理IP地址:8080";
     }


manux,能不能贴出来你的/etc/apt/sources.list文件。
我这好多软件都找不到。      
白天不懂夜的黑

TOP

我没有使用代理,这个文件也没做过修改

// $Id: apt.conf,v 1.10 2003/06/16 10:22:32 dude Exp $
// See the apt.conf(5) man page for syntax and all available options

APT {
    Clean-Installed "false";
    Get {
        Assume-Yes "false";
        Download-Only "false";
        Show-Upgraded "true";
        Fix-Broken "false";
        Ignore-Missing "false";
        Compile "false";
    };
};

Acquire {
    Retries "0";
    Http {
        Proxy ""; // http://user:pass@host:port/
    }
};

RPM {
    Ignore { };
    Hold { };
    Allow-Duplicated { "^kernel$"; "^kernel-"; "^gpg-pubkey$" };
    Options { };
    Install-Options "";
    Erase-Options "";
    Source {
        Build-Command "rpmbuild --rebuild";
};
};      

TOP

啊,昨天走的时候匆忙,说错了。
我不需要这个文件,想要的是:
/etc/apt/sources.list

我升级的时候好多软件都找不倒。      
白天不懂夜的黑

TOP

发新话题