LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-22-2015, 02:43 AM   #1
johnyjj2
LQ Newbie
 
Registered: Jul 2009
Posts: 21

Rep: Reputation: 0
Cannot install any software on Fedora


Hi,

I cannot install anything on Fedora Live-CD. I wanted to install ddrescue in the memory (without installing Fedora on Hard Drive, just to use ddrescue once). But it looks like nothing happens. It does not show error, just blinking rectangle in terminal so I have to stop it by Ctrl+C.

Quote:
[liveuser@localhost ~]$ sudo dnf install ddrescue
^CTerminated.
[liveuser@localhost ~]$ sudo dnf install ddrescue
^CTerminated.
[liveuser@localhost ~]$ sudo yum install ddrescue
Yum command has been deprecated, redirecting to '/usr/bin/dnf install ddrescue'.
See 'man dnf' and 'man yum2dnf' for more information.
To transfer transaction metadata from yum to DNF, run:
'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate'

^CTerminated.
[liveuser@localhost ~]$
Alternatives to ddrescue don't work for me:

Quote:
[liveuser@localhost ~]$ sudo dd if=/dev/urandom of=/dev/sda conv=noerror,sync
dd: writing to /dev/sda: Input/output error
So it looks like noerror only ignores errors in the input stream.

And I cannot use:
Quote:
ddrescue --force /dev/urandom /dev/sda
because 'ddrescue' is not installed by default on LiveCD (which I use from pendrive).

How to temporarily install ddrescue in LiveCD session?

Cheers!

PS After about five minutes:

Quote:
[liveuser@localhost ~]$ sudo dnf install ddrescue
Error: Failed to synchronize cache for repo 'updates' from 'https://mirrors.fedoraproject.org/metalink?repo=updates-released-f22&arch=x86_64': Cannot download repomd.xml: Curl error (56): Failure when receiving data from the peer for ftp://ftp.mirrorservice.org/sites/dl...ata/repomd.xml [response reading failed]

Last edited by johnyjj2; 06-22-2015 at 02:49 AM.
 
Old 06-22-2015, 12:46 PM   #2
Beau Nash
LQ Newbie
 
Registered: Jun 2015
Location: York, UK
Posts: 2

Rep: Reputation: Disabled
Try

Code:
$: sudo dnf clean metadata
before trying to install ddrescue again.
 
Old 06-22-2015, 03:33 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
I cannot install anything on Fedora Live-CD
and you will NOT be able
it is a live CD!!!!!


i take it you do not know HOW cd's and dvd's work

back in 1998 it was common for people not to know how the newish cd-rw's worked
but cd-r has around since 1990

also fedora dose not use and never WILL use ( as default) " sudo"

fedora defaults to using "su " and "su -"

it dose NOT use "sudo"

Last edited by John VV; 06-22-2015 at 03:38 PM.
 
Old 06-22-2015, 04:27 PM   #4
Beau Nash
LQ Newbie
 
Registered: Jun 2015
Location: York, UK
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
and you will NOT be able
it is a live CD!!!!!


i take it you do not know HOW cd's and dvd's work

back in 1998 it was common for people not to know how the newish cd-rw's worked
but cd-r has around since 1990
also fedora dose not use and never WILL use ( as default) " sudo"

fedora defaults to using "su " and "su -"

it dose NOT use "sudo"
Odd. Sudo works perfectly well on Fedora 22 for me.

I also took the OP's post to mean that since he's using a USB drive ("a pendrive"), the new app would be temporarily loaded into the ramdisk to run (as he says in the first line of his post) and possibly writing to an archive on the USB drive. Which is perfectly possible.

Last edited by Beau Nash; 06-22-2015 at 04:32 PM.
 
1 members found this post helpful.
Old 06-22-2015, 05:08 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by John VV View Post
and you will NOT be able
it is a live CD
Rubbish.
 
Old 06-22-2015, 05:41 PM   #6
johnyjj2
LQ Newbie
 
Registered: Jul 2009
Posts: 21

Original Poster
Rep: Reputation: 0
Thanks for your all answers!

Quote:
Originally Posted by Beau Nash View Post
Try
Code:
$: sudo dnf clean metadata
before trying to install ddrescue again.
I think that could be very useful, but on already installed system. In case of LiveCD everything is fresh so no metadata would be cleaned. It did not help in this case.

Quote:
Originally Posted by John VV View Post
and you will NOT be able
it is a live CD!!!!!
According to Fedora LiveCD documentation here (https://fedoraproject.org/wiki/FedoraLiveCD) it should be possible:

Quote:
A booted Live CD uses a temporary, in-memory, read-write rootfs, so it's possible to install software for use while the Live CD is running.
It also indicates that it should be written in-memory. I know that application that can install Ubuntu LiveCD on pendrive from Windows asks how much space on pendrive will be used to persist data between running LiveCD sessions. I don't know about Fedora LiveCD on pendrive. Does it use all available space if session persistence is turned on (how to turn it on)? Or isn't this feature available and everything is installed directly in RAM?

But anyway, installing software from Fedora installed on hard drive works well. But the same command run from Fedora LiveCD fails (as mentioned in my first post).

Similar thing was reported on Bugzilla for RedHat (https://bugzilla.redhat.com/show_bug.cgi?id=1219283) but unfortunately this bug report does not help me much.

How can I fix this problem with installing things to RAM on Fedora LiveCD?

Any advises welcome!

Last edited by johnyjj2; 06-23-2015 at 03:03 AM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install software on Fedora 9? fedora9victim Linux - Software 3 08-10-2008 07:37 AM
I cannot install software in fedora core 6 amritms Linux - Software 5 05-14-2007 01:45 PM
How to install software on Fedora Core sirclown82 Linux - Desktop 3 08-23-2006 10:16 PM
I can't install fedora 5 on software Raid flipmendisair Linux - Hardware 2 08-13-2006 09:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration