FedoraForum.org - Fedora Support Forums and Community
Page 2 of 2 FirstFirst 1 2
Results 16 to 20 of 20
  1. #16
    Join Date
    Jun 2008
    Posts
    114

    Re: Best way to reinstall Grub

    I assure you my installed system was also Fedora; however it had been modified by me so it had apt-get already. I don't know why it didn't have yum or dnf, that's what made me realize I had seriously broken it by a "remove" command I did earlier using apt-get. That is probably what caused the system to die and fail to boot in the first place. I didn't know how apt-get worked and when I did a "remove" command for a package it removed too many other things along with it and broke the system.

    In any case I have now fixed the situation by installing Fedora 26, using custom installation where it only formatted the root and boot partitions, thus saving all my personal files and installing GRUB.

  2. #17
    Join Date
    Dec 2007
    Location
    Australia
    Posts
    1,638

    Re: Best way to reinstall Grub

    amiga wrote:
    This doesn't make sense as apt-get is not in Fedora at all.
    Actually, if you seek apt-get in rpmfind.net, it reveals the corresponding program for various fedoras including f25 and f26. It's in the package apt *.rpm and within it is the executable apt-get.

  3. #18
    Join Date
    Jun 2008
    Posts
    114

    Re: Best way to reinstall Grub

    Some sources say that apt-get doesn't work in Fedora, or doesn't work correctly. I found this to be true, since it deleted half my system when I tried to remove one package.

  4. #19
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    5,382

    Re: Best way to reinstall Grub

    that wasn't a specific issue due to using apt-get as it can happen if you use any package manager dependent entirely on the package you are attempting to remove.

    if apt-get didn't warn you of the other packages it would remove before you ran the transaction then clearly it needs some work.

    dnf will warn you before running the transaction as long as you do not add the -y switch to the dnf command.

  5. #20
    Join Date
    Jun 2008
    Posts
    114

    Re: Best way to reinstall Grub

    Quote Originally Posted by antikythera
    that wasn't a specific issue due to using apt-get as it can happen if you use any package manager dependent entirely on the package you are attempting to remove.

    if apt-get didn't warn you of the other packages it would remove before you ran the transaction then clearly it needs some work.

    dnf will warn you before running the transaction as long as you do not add the -y switch to the dnf command.
    I did get a warning; I didn't read the other packages very closely but enough to see there were over 200 mentioned; then when I tried to cancel the operation I accidentally typed 'y' somehow and it did the operation.

    Still it seemed strange to me that a command to remove python3-pip would also have to remove so much stuff that it left the system broken.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Reinstall GRUB
    By hqthao in forum Using Fedora
    Replies: 1
    Last Post: 12th November 2012, 08:57 AM
  2. How to reinstall Grub?
    By Elijah in forum Using Fedora
    Replies: 2
    Last Post: 31st May 2006, 02:02 PM
  3. Reinstall Grub
    By michi in forum Installation, Upgrades and Live Media
    Replies: 2
    Last Post: 27th April 2006, 06:10 PM
  4. Reinstall GRUB
    By zillah in forum Using Fedora
    Replies: 6
    Last Post: 20th December 2004, 09:19 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •