Fedora Linux Support Community & Resources Center
  #16  
Old 1st August 2017, 08:37 PM
safulop Offline
Registered User
 
Join Date: Jun 2008
Posts: 114
linuxfedorafirefox
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.
Reply With Quote
  #17  
Old 2nd August 2017, 12:30 AM
nsnbm's Avatar
nsnbm Offline
Registered User
 
Join Date: Dec 2007
Location: Australia
Posts: 1,588
linuxfedorafirefox
Re: Best way to reinstall Grub

amiga wrote:
Quote:
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.
Reply With Quote
  #18  
Old 2nd August 2017, 09:32 AM
safulop Offline
Registered User
 
Join Date: Jun 2008
Posts: 114
linuxfedorafirefox
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.
Reply With Quote
  #19  
Old 2nd August 2017, 09:37 AM
antikythera Offline
Administrator
 
Join Date: Dec 2013
Location: United Kingdom
Posts: 5,074
linuxchrome
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.
__________________
Download, Install and Share Fedora - Official ISO Torrents | Live ISO Respins containing post-release updates
Reply With Quote
  #20  
Old 3rd August 2017, 09:56 PM
safulop Offline
Registered User
 
Join Date: Jun 2008
Posts: 114
windows_98_nt_2000chrome
Re: Best way to reinstall Grub

Quote:
Originally Posted by antikythera View Post
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.
Reply With Quote
Reply

Tags
grub , reinstall

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


Current GMT-time: 19:54 (Thursday, 19-10-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat