|
|
|
|
![]() ![]() |
Apr 5 2006, 05:50 AM
Post
#1
|
|
|
Premium Member Group: Members Posts: 352 Joined: 2-March 05 From: Australia Member No.: 2,859 |
The add/remove software in Fedora 5 just does not work if you
machine is not connected to the Internet. It wont add or remove any package for you even though you have the disks. If you read files in /etc/yum.repos.d/, you will understand. Fedora 5 will connect to redhat's website when you want to update your Fedora. Here is a simple way to update your fedora 5 via FC5 iso file. 1, move all files, which are under /etc/yum.repos.d directory, to other directory. for example, backup directory. 2. create a new directory *.reop in /etc/dym.repos.d Copy and Paste the following text into it and save it CODE [CDROM] name=cdrom baseurl=file:///mnt/DVD enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora gpgcheck=0 3. last step, you need too mount you iso file. for example: mount /home/FC-5-i386-DVD.iso /mnt/DVD -o loop That's it. Now it can be update via local ISO file or DVD/CD-ROM. |
|
|
|
Apr 6 2006, 08:49 AM
Post
#2
|
|
|
BUG.SWAT.PATROL Group: Members Posts: 626 Joined: 1-September 04 From: Auckland, New Zealand Member No.: 27 |
Hey jedipi,
I've never had this problem, mainly because I'm usually always connected to the internet, but just querying the location of your /mnt/DVD did you create that, because most removable drive now end up in /media/ Also, I noticed you're mounting the .iso, would be possible, to make the DVD itself. However you do not have to rely on yum for removal and can usually get by using: CODE su -c "rpm -e packagename" Also what about just adding that entry into your yum repo directory, or yum.conf and don't enable it unless you want to remove, and you can disable all the others, I haven't tested this out though, and don't think I would to be honest. Another tip though, if you want to install a package locally, YUM won't install if there's no GPG matching key, but to do that, just turn off gpgcheck in yum.conf and localinstalls will work fine. Otherwise using the rpm -ivh packagename can install it too. e.g. CODE su -c "yum -y localinstall /home/user/packagename.rpm" or su -c "rpm -ivh /home/user/packagename.rpm" Cheers, MC |
|
|
|
Apr 8 2006, 08:10 PM
Post
#3
|
|
|
Colonel Panic Group: [MODERATOR] Posts: 2,706 Joined: 25-March 05 From: Toronto, Ontario, Canada Member No.: 3,233 |
try using sudo instead. Much cleaner than su -c
xboxrulz |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 22nd August 2008 - 05:18 AM |