BeBe 发表于 2005-7-2 21:34

http://tech.ccidnet.com/pub/article/c738_a99237_p1.html

http://tech.ccidnet.com/pub/attachment/2004/3/281801.gif

http://tech.ccidnet.com/pub/attachment/2004/3/281802.gif

http://tech.ccidnet.com/pub/attachment/2004/3/281803.gif

http://tech.ccidnet.com/pub/attachment/2004/3/281804.gif

http://tech.ccidnet.com/pub/attachment/2004/3/281805.gif

http://tech.ccidnet.com/pub/attachment/2004/3/281806.gif

http://tech.ccidnet.com/pub/attachment/2004/3/281807.gif


http://tech.ccidnet.com/pub/attachment/2004/3/281808.gif

Mephis 发表于 2005-7-3 12:50

SuSE9.1使用apt升级全解

SuSE9.1使用apt升级全解

1.到ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.1-i386/RPMS.suser-rbos/下载apt相关包,如果想用图形化前端,需下载synaptic-0.53-0.suse091.rb.1.i586.rpm并安装之。

2。编辑 /etc/apt/sources.list ,加入:rpm ftp://ftp.gwdg.de/pub/linux/suse/apt SuSE/9.1-i386 xorg usr-local-bin rpmkeys base update-prpm update kde gnome mozilla samba3 ximian suser-rbos suser-oc2pus suser-guru suser-gbv suser-tcousin suser-scorot suser-sbarnin suser-jogley suser-ollakka labplot funktronics packman packman-i686 kernel-of-the-day wine suse-people suse-projects kde3-stable kde-unstable security-prpm security
rpm-src ftp://ftp.gwdg.de/pub/linux/suse/apt SuSE/9.1-i386 xorg usr-local-bin rpmkeys base update-prpm update kde gnome mozilla samba3 ximian suser-rbos suser-oc2pus suser-guru suser-gbv suser-tcousin suser-scorot suser-sbarnin suser-jogley suser-ollakka labplot funktronics packman packman-i686 kernel-of-the-day wine suse-people suse-projects kde3-stable kde-unstable security-prpm security

3。到ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.1-i386/RPMS.rpmkeys/ 下载全部rpmkeys包安装之。

4。在非root用户下运行kdesu synaptic

5.剩余的事情就是爽了!!



SuSE9.1下apt安装++

首先,感谢 wzs的“SuSE9.1使用apt升级全解.”给了我很多的引导还有http://www.html4.com/mime/markup/php/suse_linux_en/install_ftp.php的正确方法

step1:- 升级你的SuSE9.1,否自安装 apt-0.5.15cnc6-0.suse091.rb.5.i586.rpm
apt-libs-0.5.15cnc6-0.suse091.rb.5.i586.rpm将有libpopt.so.0的错误报告
step2:-在ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.1-i386/RPMS.suser-rbos/下载apt-0.5.15cnc6-0.suse091.rb.5.i586.rpm 和apt-libs-0.5.15cnc6-0.suse091.rb.5.i586.rpm
step3:-在root用户下输入命令:cd /user/lib
ln -s libpopt.so.1.0.0 libpopt.so.0
作用产生一个指向libpopt.so.1.0.0的链接文件libpopt.so.0,然后用YAST 2把这个两个软件包装上,我是顺利安上。
step4:-更改 /etc/apt/sources.list 在文件的末尾添上
rpm ftp://ftp.gwdg.de/pub/linux/suse/apt SuSE/9.1-i386 xorg suser-guru wine rpmkeys base update-prpm update kde gnome xfree86 mozilla samba3 ximian suser-rbos suser-gbv usr-local-bin suser-tcousin suser-scorot suser-sbarnin suser-jogley suser-ollakka labplot funktronics packman packman-i686 kde3-stable security-prpm security
rpm-src ftp://ftp.gwdg.de/pub/linux/suse/apt SuSE/9.1-i386 xorg suser-guru wine rpmkeys base update-prpm update kde gnome xfree86 mozilla samba3 ximian suser-rbos suser-gbv usr-local-bin suser-tcousin suser-scorot suser-sbarnin suser-jogley suser-ollakka labplot funktronics packman packman-i686 kde3-stable security-prpm security
如果你不要下载源文件去研究,在rpm-src前加上“#”符号。
(***************以下的是可选改法,你不做括号内的修改不会有很大影响,至于作用用原作者一个老外的话will work better,作者本身也没有解释清楚,参见http://www.html4.com/mime/markup/php/suse_linux_en/install_ftp.php******************************************
更改/etc/apt/apt.conf.d/apt.conf为:
// with "apt-config dump" all settings can be viewed
Acquire::CDROM::Copy "true";

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

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

然后编辑 "/etc/apt/apt.conf.d/gpg-import.conf",取消第三行注释.
再然后更改 "/etc/apt/apt.conf.d/gpg-check.conf"如下:
Scripts::PM::Pre:: "gpg-check.lua";
// Enable to check for GPG signatures
RPM::GPG-Check "true";

还改"/etc/apt/apt.conf.d/gpg-checker.conf"如下:
// Make RPM::GPG-Check no; to disable gpg checking
// It can still be used in combination with --checksig
RPM::GPG-Check yes;
Scripts::PM::Pre:: gpg-checker.lua;

最后了,呵呵,添加 "/etc/profile.local"文件,内容为:
xhost +
*********************************)
休息一会*_*
step5:-在ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.1-i386/RPMS.rpmkeys/ 下载 所有的rpmkeys软件包,用apt --no-checksig --no-post install name_of_the_key方法安装,注意这里的name_of_the_key是rpmkeys包的名字。
你将会看到:
Reading Package Lists...
Building Dependency Tree...
The following NEW packages will be installed:
rpmkey-packman
0 upgraded, 1 newly installed, 0 removed and 94 not upgraded.
Need to get 23.0kB of archives.
After unpacking 31.2kB of additional disk space will be used.
Get:1 ftp://ftp.gwdg.de/ SuSE/9.1-i386/packman rpmkey-packman 0.2-0.pm.0
Fetched 23.0kB in 6s (3551B/s)
Committing changes...
Preparing... ##################################################
rpmkey-packman ##################################################
Done.
You don't seem to have one or more of the needed GPG keys in your RPM database.
Importing them now...
的画面,注意“You don't seem to have one or more of the needed GPG keys in your RPM database.Importing them now...”,请下载414A57C3-lmuelle-gpg-key.asc.文件,我找的网址http://ftp.nluug.nl/networking/samba/Binary_Packages/SuSE/ 414A57C3-lmuelle-gpg-key.asc,你也可以自己搜搜。保存到你的 /home/ 目录下.然后输入"rpm --import /home//414A57C3-lmuelle-gpg-key.asc".把这些包装上才不会有unsigned package(s)的错误。输入 "rpm -qa|grep -E "key".检测你的Key是否安装上去,在你按enter后出现的一排排数据中会有gpg-pubkey-414a57c3-3b52d7d4 一段,呵呵 添加完毕。

step6:-输入"apt-get update",进行list更新,OK!
step7:-安装图像界面的apt-Kynaptic.输入"apt-get install kynaptic". 安装后你可以在K-Menu中:系统> Configuration>Kynaptic Package Manager.找到。
step8:-大喊一声,放松一下,不过下载更新的速度不快--挂机
页: 1 2 [3]
查看完整版本: linux的基本知识 (Mephis)