如何用apt从fedoracore3的光盘安gnome2.8
如何使用apt从fedora core 3的光盘中安装gnome 2.8我现在有了FC3的关盘,但不知道如何升级gnome2.8 你什么系统? 到底要apt还是要光盘? 他是想 不上网,用光盘装,但是不知道要装哪些包,所以又要apt,记得apt-get有一个方法可以使用光盘作为源的。 他是想 不上网,用光盘装,但是不知道要装哪些包,所以又要apt,记得apt-get有一个方法可以使用光盘作为源的。
debian 的里面是 apt-cdrom add
但他得到的盘根本就不是 apt 仓库格式的. 所以难啦.:)
其实用 rpm -Uvh * 不就完了?
但他得到的盘根本就不是 apt 仓库格式的. 所以难啦.
用yum试试 把光盘拷出来,在本地建立 apt 仓库,然后为自己升级…… # apt-
apt-cache apt-cdrom apt-configapt-get apt-shell
可以添加cdrom
Creating apt-enabled Red Hat Linux CD-ROMs
Since apt needs metadata about available packages, the original Red Hat Linux CD-ROMs can't be used directly with the apt-cdrom tool, which is why apt is generally used only through the network. You can however get or create the needed metadata and burn new CDs which include it. Planet CCRMA has detailed instructions about this process for Red Hat Linux 8.0, and you can do the same for Red Hat Linux 9 using the files and instructions below.
Required files :
* shrike-i386-disc1-apt.tar.gz (377K)
* shrike-i386-disc2-apt.tar.gz (619K)
* shrike-i386-disc3-apt.tar.gz (341K)
Instructions :
* Mount the CD or ISO image :
mount /mnt/cdrom
mount -o loop /path/to/shrike-i386-disc1.iso /mnt/cdrom (requires root privileges)
* Copy the content somewhere :
mkdir -p /somewhere
cp -a /mnt/cdrom /somewhere/shrike-cd1 (do the same when needed for discs 2 and 3)
* Extract the apt metadata files downloaded from above into the content :
cd /somewhere/shrike-cd1
tar xzvf /path/to/shrike-i386-disc1-apt.tar.gz
* For disc 1, make a new bootable ISO image of the modified content :
mkisofs -J -r -T -l -V 'Apt-enabled Shrike disc1' \
-b images/bootdisk.img \
-c boot.catalog \
-o /path/to/put/isos/shrike-cd1.iso .
* For discs 2 and 3, make new ISO images of the modified content :
mkisofs -J -r -T -l -V 'Apt-enabled Shrike disc2' \
-o /path/to/put/isos/shrike-cd2.iso .
(see the mkisofs(8) man page for details about these options)
* Repeat the above with all 3 binary discs, you don't need to do it for the 3 source discs as it wouldn't be useful. 但是,这样做太麻烦,还不如把内容copy出来,建apt仓库。 说来说去还不如 rpm -Uvh *
自己建仓库不如用 fedora 开发目录中的仓库.
:mrgreen::mrgreen: 可是 FC3 又不是 shrike
上哪去找 apt 数据库哪
用 yum 应该可以 rpm http://ayo.freshrpms.net fedora/linux/development/i386 core
找到了,FC3的apt仓库在这里 路过,关注 發問的, 有沒有想過apt 和 fedora core 3的相同和不相同的地方
apt 轉成unstable便有2.8
fedora core 3 便 yum 什么建仓库?
页:
[1]
2