Nov 21, 2009

Fix Fedora 5 Add/Remove Software Problem - fix the problem that cannot add/remove software without Internet conne

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Operating Systems > Linux

Fix Fedora 5 Add/Remove Software Problem - fix the problem that cannot add/remove software without Internet conne

jedipi
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.

 

 

 


Comment/Reply (w/o sign-up)

mastercomputers
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

 

 

 


Comment/Reply (w/o sign-up)

xboxrulz
try using sudo instead. Much cleaner than su -c

xboxrulz

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : Fix Fedora Addremove Software Fix Addremove Software Internet Conne

  1. How To Install Applications In Fedora - noob question (16)
    I'm a linux user since a few days, i've decided to change to linux coz i'm not very
    pleased with Windows versions . So i wonder how do i install aplications like Files Sharing and mp3
    ?...
  2. Fedora Core 6 Install Problem - (7)
    I have tried three times to get Fedora Core 6 to install but I keep getting the same error message:
    “there was an error running your transaction, for the following reason(s): file conflicts”. I am
    using all of the default settings except changing the time zone and basically installing all
    packages. The error always happens near the end of the fifth disk. I have run sha hash checking on
    all media and everything checks out. Has anyone had this problem or a possible solution?...
  3. Fedora 10 Hits An Update Snag - (8)
  4. Strange Error When Trying To Install Fedora Core 9 - (6)
    Hi all, I tried to install Fedora Core 9 in a VmWare virtual machine under WinXP. I downloaded the
    DVD ISO image and proceeded with the installation. When the process was started since about a
    minute, the following error did show: "The file evince-2.22.1.1-1.fc9.i386.rpm cannot be opened.
    This is due to a missing file, a corrupt package or corrupt media" Fine, I told to myself,
    let's download the ISO image again, this time from a different server, just in case. No joy,
    same error. Tried another couple of times, each one using a different server for the download. Sa...
  5. Linux Software Installation Help - it tells how to install software in tar.bz2 or .bin extension (2)
    installing .tar.bz2 software open the terminal window.Place the s/w in root's home..then
    write file.tar.bz2 in terminal. uncompressing will take place.a folder with .tar extension will b
    created.Now write tar -xvf filename.tar,contents will be read..Now,move to the directory just
    created..read the readme file..follow instruction such as make or make install to be commanded in
    terminal...now its done..use it by writing in terminal for ex. mplayer movie.avi. ..or just drop ur
    movie file nin the terminla..nd remove the " " in the file..append mplayer with blank spa...
  6. Why Can't I Install Software As Root? - (7)
    When I become root with "su -" and try to install some software, such as firefox, it then
    says:"(firefox-installer-bin:3645): Gtk-WARNING **: cannot open display:" What's the meaning
    of this information? And how can I deal with it? Thanks!...
  7. Virtualization In Linux: A Review Of Four Software Choices - (4)
    Virtualization is the technique of running a "guest" operating system inside an already-running OS;
    for example, Windows inside Linux, or vice-versa. This article compares four virtualization products
    available for Ubuntu Linux: the free, open source Qemu; the closed-but-free versions of VirtualBox
    and VMware-Server, and the commercial Parallels.
    http://www.techthrob.com/tech/linux_virtualization.php _________________________________
    http://dserban01.googlepages.com/linkedin....abap.basis.html ...
  8. Problem With Fedora Core 5 Installation - In fact after installation..... (14)
    I was trying to load Fedora into my Machine. After 30 minutes of smooth run, I succeeded in
    installing it. All along my mouse was working just fine. After the installation was complete, when I
    rebooted the machine still mouse was fine. Now finally after I give the user ID and password fpr
    login, the mouse pointer just disappeared!!! Well, the mouse still works. When I move the mouse the
    items get highlighted. When I double click the highlighted item, it opens the application. The
    scroll button is working fine. but.... The mouse pointer is not being displayed!!! I trie...
  9. Internet Explorer 5, 5.5, 6 And 7 In Linux - (2)
    Good I leave east tutorial here them that I have created so that they install Internet Explorer
    5, 5.5, 6 and 7 runing in linux. For which they need two programs already installed one of them
    are wine (it executes exe in linux) Download Wine (there the unloading for several distributions)
    The other program that need is cabextract, I leave the unloading here equal Download Cabextract
    after the Wine and cabextract have unloaded, we come to unload ie4linux in his latest version:
    Download IES4LINUX put tar xvfz ies4linux-latest.tar.gz INTALL...
  10. Setting Up Fedora Core For Web Hosting - Not as easy as you might think! (0)
    On several occasions, I have attempted to install Linux on my computer in a dual boot format to
    learn how to use Linux and more importantly, learn how to set up a web server. In the past, I have
    installed a couple of versions of Red Hat, Unbuntu, Gentoox, GoblinX, and now a couple of versions
    of Fedora Core. The only thing all of these have in common is that installation is problematic at
    best. While most distributions of Linux include all the required software to set up a server, I
    have never been able to realy get it done. Finding where Apache's configuration...
  11. Beginner's Guide To Installing Software In Ubuntu - (2)
    Having problems installing something on your new Ubuntu operating system? This guide will help you
    understand. http://cutlersoftware.com/ubuntuinstall/ _________________________________
    http://dserban01.googlepages.com/linkedin....abap.basis.html ...
  12. Knoppix! - Boot linux off of a cd with all software included wothout touching you (3)
    QUOTE Knoppix is a Free and Open Source Live Linux CD based on Debian GNU/Linux. Live Linux CD
    means that the computer boots and runs completely from cd. Nothing is installed on your hard drive
    in order for you to experience many of the Open Source software packages available. Knoppix
    includes recent Linux software and desktop environments, including such applications as
    OpenOffice.org, Abiword, Gimp, Konqueror, Firefox, Apache, PHP, MySQL and hundreds of other quality
    open source programs. You can dwoload it free from there website or i think you can buy a dv...
  13. No Internet - this is annoying...... (6)
    i have just had to switch back to windows b/c i cant get my USB wireless connector working with
    linux ive installed my drivers but it just doesnt seem to recognise that i put it in at all...
  14. Using Ndiswrapper In Fedora Core 6 - Installation Error (4)
    Hi, I have been trying to install my wireless pcmcia card onto fedora core 6. to do this i have been
    trying to use ndiswrapper http://ndiswrapper.sourceforge.net but with no luck. i am using
    ndiswrapper-1.34 and i keep running into some problems. I can successfully complete the make
    distclean, make and make install (root) commands and they work without a problem. It is only when i
    try to enter the command ndiswrapper -i filename.inf (replacing filename.inf with the .inf file of
    my pc card) i get the following error QUOTE # ndiswrapper -i WG511v2.INF bash: nd...
  15. Fedora Directory Server - Anybody uses it? (0)
    Some time ago Red Hat acquired Netscape's Directory Server and release it under open source
    licence renamed Fedora Directory Server. Does onybody use it, or simply try? What future of FDS do
    you predict? Give your opinion....
  16. Fedora Core 5 Under Virtual Pc - (5)
    Has anyone got Fedora Core 5 running under Microsoft’s Virtual PC? I have been using
    http://vpc.visualwin.com/ as a reference which says it is possible. I lowered my RAM to 624 MB and
    finally got the installation to work. My problem now is when it start up the login screen is very
    distorted. I suspect a bad video card driver but I have no idea on how to change it. P.S. I know
    this is not directly related to this group but I figured this was the best place....
  17. Fedora Core 5 Problems - Installing packages (5)
    Whenever I try to install a package, I get the following error message in the shell: QUOTE
    Loading "installonlyn" plugin Setting up Install Process Setting up repositories updates Cannot find
    a valid baseurl for repo: updates Error: cannot find a valid baseurl for repo: updates Thanks
    for any help trying to fix this! F Edit: This was linked to an ISP problem that I verified with
    a friend on the same ISP. Apparently they were having some problems because I also couldn't
    access SourceForge or Photobucket. They've seem to have fixed the problem. F...
  18. Any Beginner Tutorials On Fedora Core 4 ? - Any tips or tutorial? (4)
    Hi, I am new to Linux and I wanted to get to know how to use Feroda Core 4 Linux and does anyone has
    any tutorial or tips that I can get hold on it. I am really hoping that someone could help me
    in.Maybe some ebook recommend or internet tutorials....
  19. Windows Software On Linux - What do you use? (13)
    I tried Wine once but couldn't get it to run anything, as some of you may have read on other
    topics I'm setting up a desktop to be a Linux workstation. But I was thinking I might want to
    run some PC games on this desktop. What do you recommend?...
  20. Fedora Core 4: A New User's First Impressions - (18)
    Hello all! I've been messing around with Linux for the past couple of days, and in the process
    I destroyed my Windows 2K installation. I tried Gentoo, however that's a story for another post.
    What I'm focusing on here is Fedoracore 4 Linux, i386. Installing I must say that it was a
    major let down to see a graphical installation system. It's not that I have anything against GUI
    s, it's just that it doesn't feel like Linux, ya' know? The GUI lets you manually
    partition your drives and select all the packages you want installed. However, yo...
  21. Install Jdk1.5.0 Under Fedora Core 4 - Share my experience (5)
    Install jdk1.5.0 under Fedora core 4 I used to use JDK1.4.2. However JDK 1.5.0 was released long
    time ago. Today, I got it updated. Here are the steps for newbies: 1. Download Jdk1.5.0. This is a
    must /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />. Everone
    know where to get it. anyway, here is the address: http://java.sun.com/j2se/1.5.0/download.jsp The
    newest version is JDK 5.0 Update 4. you can choose Linux self-extracting file or Linux RPM in
    self-extracting file. For me, I use Linux self-extracting file (jdk-1_5_0_04-linux-i5...
  22. Fedora Core 4 - Just made it through (6)
    After doing a complete backup of Fedora Core 3, I thought it was time to try Fedora Core 4 out. You
    wouldn't believe the hassle I had with it, but nothing I couldn't overcome, but I would hate
    to see someone fall into that very same pit as it's definitely not an easy task, so I'll
    just outline what I did if anyone does fall into this. My system specifications for this: Dual CPU
    PIII 1GHz 2GB SDRAM 2 Hard Drives @ 200MB 4 CDROM Devices (DVD Writer, CD ReWriter, DVD ROM and CD
    ROM) ViewSonic 19" Monitor PS/2 Mouse and Keyboard SBLive with 5.1 Speakers T...
  23. Which Linux Is Better Among Redhat & Fedora? - (5)
    I dont know which would be better? I was looking for Red Hat and they said that it was going to
    quite supporting Red Hat 9. Give me some feedback......
  24. Find Command Error In Fedora 4 - (2)
    have anybody try the new version of fedora?? Fedora 4 was leased a few days ago. I just installed
    it on my PC. And here is a problem: I get the following message when I do a "find". CONSOLE #
    find / -name scim.pc find: WARNING: Hard link count is wrong for /proc: this may be a bug in your
    filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have
    failed to include directories that should have been searched. find: /proc/6000/task: No such file or
    directory find: /proc/6000/fd: No such file or directory /opt/src/scim/scim.pc ...
  25. Which Version Of Fedora Will Run On An Athlon64? - (5)
    I am planning to upgrade my PC to Athlon64. If I install Fedoaro into Athlon64 system, which version
    of Fedaro should I install?? 32bit or 64bit?? is I386 32bit version??...
  26. Redhat Gave Up Fedora? - (2)
    RedHat just created a Fedora Foundation to manage the Fedora project. Fedora project will not be
    controled by RedHat any more. Is this a good or bad news?? Would Fedora have a big change in the
    future?? Sorry...forget to post the source link.
    http://www.eweek.com/article2/0,1759,1823403,00.asp ...
  27. Fedora Core 3 And Vmware - (3)
    Hi, Everyone uses Windows, but I think Windows is not a good operating system at all. I use Fedora
    Core 3 (http://fedora.redhat.com/) as a main operating system and it is all ok. It gives me
    everything I need. Easy to install, easy to configure, easy to maintain, free. Nothing else you
    need. Many people told me that they doesn't run Unix based operating systems because they will
    not be able to use Win32 applications. In fact, there are 2 options to run "Windows" or any other
    operating system from a Unix box. The first one is to use an emulator (such as Wine for runi...
  28. Fedora Core 3 Install/upgrade - issues? (3)
    I'm currently using Fedora Core 2, which is workin great for me. But when I try to install
    Fedora Core 3 from my CD, it goes nuts on me everytime as soon as the GUI portion of the install
    starts up. I've tried installing it in text mode, but once I try to boot it stops there too. Am
    I using bad media or what?...
  29. Linux Users: The Best Linux Software? - (15)
    Ok linux users. Which software packages, in your mind, are the best/most necessary for a good linux
    system. In particular, which OSS application software do you like the most?...
  30. Fedora Core 3 - Some troubleshooting questions (4)
    Got everything running smoothly, but I am now trying to 'install' a couple of games. From
    the readme I see that I need to ... QUOTE Compiling: First untar the package:   $ tar xfzv
    wesnoth-0.x.tar.gz then   $ cd wesnoth-0.x followed by   $ ./configure compile with $
    make   Installing:   $ make install I've tried running the terminal and enterind
    cd/home/drew/wesnoth-0.8.11 which is what the adress is given as when I browse the folder, but it
    says QUOTE bash: cd/home/drew/wesnoth-0.8.11: No such file or directory Am I doi...



Looking for fix, fedora, 5, add, remove, software, problem, fix, problem, add, remove, software, internet, connection

See Also,

*SIMILAR VIDEOS*
Searching Video's for fix, fedora, 5, add, remove, software, problem, fix, problem, add, remove, software, internet, connection
advertisement



Fix Fedora 5 Add/Remove Software Problem - fix the problem that cannot add/remove software without Internet conne

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com