Apt-get does not work in live-usb environmentSetting up a minimal apt-get environmentTrouble migrating from...

How do you cope with rejection?

Sort a section of a file

Hotel booking: Why is Agoda much cheaper than booking.com?

Why is the S-duct intake on the Tu-154 uniquely oblong?

Does the US Supreme Court vote using secret ballots?

What would be the game balance implications for using the Gygax method for applying falling damage?

Why does a table with a defined constant in its index compute 10X slower?

Cycling to work - 30mile return

Divisor Rich and Poor Numbers

Why didn't Daenerys' advisers suggest assassinating Cersei?

Why would you put your input amplifier in front of your filtering for an ECG signal?

Gambler's Fallacy Dice

What do you call bracelets you wear around the legs?

Merging two rows with rounding their first elemnts

What is the probability that two cards drawn from a deck are both face cards and at least one is red?

Why are there five extra turns in tournament Magic?

Why is Drogon so much better in battle than Rhaegal and Viserion?

Managing heat dissipation in a magic wand

Have the writers and actors of GOT responded to its poor reception?

Largest memory peripheral for Sinclair ZX81?

Is it standard to have the first week's pay indefinitely withheld?

Have GoT's showrunners reacted to the poor reception of the final season?

Can an airline pilot be prosecuted for killing an unruly passenger who could not be physically restrained?

Shortest amud or daf in Shas?



Apt-get does not work in live-usb environment


Setting up a minimal apt-get environmentTrouble migrating from Yum to apt-getApt-Get Install Unmet Dependenciesgetting error for sudo apt-get upgrade?cannot install wine on 17.1 mint: unmet dependencies, broken packagesWhy does installing a libc6 for a different arch not work for armhf?Issues with GLIB+Iceweasel+apt-getWhat does the apt-get message “held broken packages” mean?Dependency problem - but the dependencies are installed?How to resolve “Unable to correct problems, you have held broken packages” error in Debian 9?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I am working on a small project which requires Linux. So I made a live-usb for Ubuntu 14.04. I tried to install g++ and some other stuff but the apt-get does not work. It shows that I have unmet-dependancies. In fact, I cannot install anything.



What am I doing wrong? Should I make a persistent Live-usb? Or is it not possible to use apt-get in live environment at all?



My laptop is very shabby so I cannot boot into it because of serious hardware issues with my internal HDD. So live-usb is the only option I have.



Example of what happens:



root@ubuntu:~# sudo apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
build-essential : Depends: g++ (>= 4:4.4.3) but it is not going to be installed
Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


The thing is, there are no broken packages.










share|improve this question
















bumped to the homepage by Community 40 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • What are you trying to install packages on to? A filesystem in memory? A hard drive?

    – Faheem Mitha
    Dec 20 '15 at 19:55






  • 1





    Did you run apt-get update to refresh the package lists first? Please edit your question to include a specific example of a package you tried to install, together with the complete error message.

    – steeldriver
    Dec 20 '15 at 21:02











  • Yeah, I did apt-get update. That does not help. And I want to install it in the SSD.

    – Saurabh Sinha
    Dec 20 '15 at 23:24













  • Either you didn't run apt-get update recently or your source list is broken or incomplete. Run apt-get update again, and if that doesn't help, post the content of /etc/apt/sources.list and of files in /etc/apt/sources.list.d

    – Gilles
    Dec 20 '15 at 23:30











  • I removed some packages and re-installed them. Thanks for the help guys.

    – Saurabh Sinha
    Dec 21 '15 at 0:12




















0















I am working on a small project which requires Linux. So I made a live-usb for Ubuntu 14.04. I tried to install g++ and some other stuff but the apt-get does not work. It shows that I have unmet-dependancies. In fact, I cannot install anything.



What am I doing wrong? Should I make a persistent Live-usb? Or is it not possible to use apt-get in live environment at all?



My laptop is very shabby so I cannot boot into it because of serious hardware issues with my internal HDD. So live-usb is the only option I have.



Example of what happens:



root@ubuntu:~# sudo apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
build-essential : Depends: g++ (>= 4:4.4.3) but it is not going to be installed
Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


The thing is, there are no broken packages.










share|improve this question
















bumped to the homepage by Community 40 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • What are you trying to install packages on to? A filesystem in memory? A hard drive?

    – Faheem Mitha
    Dec 20 '15 at 19:55






  • 1





    Did you run apt-get update to refresh the package lists first? Please edit your question to include a specific example of a package you tried to install, together with the complete error message.

    – steeldriver
    Dec 20 '15 at 21:02











  • Yeah, I did apt-get update. That does not help. And I want to install it in the SSD.

    – Saurabh Sinha
    Dec 20 '15 at 23:24













  • Either you didn't run apt-get update recently or your source list is broken or incomplete. Run apt-get update again, and if that doesn't help, post the content of /etc/apt/sources.list and of files in /etc/apt/sources.list.d

    – Gilles
    Dec 20 '15 at 23:30











  • I removed some packages and re-installed them. Thanks for the help guys.

    – Saurabh Sinha
    Dec 21 '15 at 0:12
















0












0








0








I am working on a small project which requires Linux. So I made a live-usb for Ubuntu 14.04. I tried to install g++ and some other stuff but the apt-get does not work. It shows that I have unmet-dependancies. In fact, I cannot install anything.



What am I doing wrong? Should I make a persistent Live-usb? Or is it not possible to use apt-get in live environment at all?



My laptop is very shabby so I cannot boot into it because of serious hardware issues with my internal HDD. So live-usb is the only option I have.



Example of what happens:



root@ubuntu:~# sudo apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
build-essential : Depends: g++ (>= 4:4.4.3) but it is not going to be installed
Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


The thing is, there are no broken packages.










share|improve this question
















I am working on a small project which requires Linux. So I made a live-usb for Ubuntu 14.04. I tried to install g++ and some other stuff but the apt-get does not work. It shows that I have unmet-dependancies. In fact, I cannot install anything.



What am I doing wrong? Should I make a persistent Live-usb? Or is it not possible to use apt-get in live environment at all?



My laptop is very shabby so I cannot boot into it because of serious hardware issues with my internal HDD. So live-usb is the only option I have.



Example of what happens:



root@ubuntu:~# sudo apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
build-essential : Depends: g++ (>= 4:4.4.3) but it is not going to be installed
Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


The thing is, there are no broken packages.







apt live-usb






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 20 '15 at 23:29









Gilles

553k13211331640




553k13211331640










asked Dec 20 '15 at 18:42









Saurabh SinhaSaurabh Sinha

12




12





bumped to the homepage by Community 40 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 40 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • What are you trying to install packages on to? A filesystem in memory? A hard drive?

    – Faheem Mitha
    Dec 20 '15 at 19:55






  • 1





    Did you run apt-get update to refresh the package lists first? Please edit your question to include a specific example of a package you tried to install, together with the complete error message.

    – steeldriver
    Dec 20 '15 at 21:02











  • Yeah, I did apt-get update. That does not help. And I want to install it in the SSD.

    – Saurabh Sinha
    Dec 20 '15 at 23:24













  • Either you didn't run apt-get update recently or your source list is broken or incomplete. Run apt-get update again, and if that doesn't help, post the content of /etc/apt/sources.list and of files in /etc/apt/sources.list.d

    – Gilles
    Dec 20 '15 at 23:30











  • I removed some packages and re-installed them. Thanks for the help guys.

    – Saurabh Sinha
    Dec 21 '15 at 0:12





















  • What are you trying to install packages on to? A filesystem in memory? A hard drive?

    – Faheem Mitha
    Dec 20 '15 at 19:55






  • 1





    Did you run apt-get update to refresh the package lists first? Please edit your question to include a specific example of a package you tried to install, together with the complete error message.

    – steeldriver
    Dec 20 '15 at 21:02











  • Yeah, I did apt-get update. That does not help. And I want to install it in the SSD.

    – Saurabh Sinha
    Dec 20 '15 at 23:24













  • Either you didn't run apt-get update recently or your source list is broken or incomplete. Run apt-get update again, and if that doesn't help, post the content of /etc/apt/sources.list and of files in /etc/apt/sources.list.d

    – Gilles
    Dec 20 '15 at 23:30











  • I removed some packages and re-installed them. Thanks for the help guys.

    – Saurabh Sinha
    Dec 21 '15 at 0:12



















What are you trying to install packages on to? A filesystem in memory? A hard drive?

– Faheem Mitha
Dec 20 '15 at 19:55





What are you trying to install packages on to? A filesystem in memory? A hard drive?

– Faheem Mitha
Dec 20 '15 at 19:55




1




1





Did you run apt-get update to refresh the package lists first? Please edit your question to include a specific example of a package you tried to install, together with the complete error message.

– steeldriver
Dec 20 '15 at 21:02





Did you run apt-get update to refresh the package lists first? Please edit your question to include a specific example of a package you tried to install, together with the complete error message.

– steeldriver
Dec 20 '15 at 21:02













Yeah, I did apt-get update. That does not help. And I want to install it in the SSD.

– Saurabh Sinha
Dec 20 '15 at 23:24







Yeah, I did apt-get update. That does not help. And I want to install it in the SSD.

– Saurabh Sinha
Dec 20 '15 at 23:24















Either you didn't run apt-get update recently or your source list is broken or incomplete. Run apt-get update again, and if that doesn't help, post the content of /etc/apt/sources.list and of files in /etc/apt/sources.list.d

– Gilles
Dec 20 '15 at 23:30





Either you didn't run apt-get update recently or your source list is broken or incomplete. Run apt-get update again, and if that doesn't help, post the content of /etc/apt/sources.list and of files in /etc/apt/sources.list.d

– Gilles
Dec 20 '15 at 23:30













I removed some packages and re-installed them. Thanks for the help guys.

– Saurabh Sinha
Dec 21 '15 at 0:12







I removed some packages and re-installed them. Thanks for the help guys.

– Saurabh Sinha
Dec 21 '15 at 0:12












1 Answer
1






active

oldest

votes


















0














Have you tried aptitude instead of apt-get? BUT if apt-get isn't available that may not be either.



Also, do a search on "wget" and "git clone."



One last thing, is the Live with persistence? I'm no expert but that may make a difference.






share|improve this answer
























  • No, the live is without persistence

    – Saurabh Sinha
    Dec 20 '15 at 23:21












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f250576%2fapt-get-does-not-work-in-live-usb-environment%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Have you tried aptitude instead of apt-get? BUT if apt-get isn't available that may not be either.



Also, do a search on "wget" and "git clone."



One last thing, is the Live with persistence? I'm no expert but that may make a difference.






share|improve this answer
























  • No, the live is without persistence

    – Saurabh Sinha
    Dec 20 '15 at 23:21
















0














Have you tried aptitude instead of apt-get? BUT if apt-get isn't available that may not be either.



Also, do a search on "wget" and "git clone."



One last thing, is the Live with persistence? I'm no expert but that may make a difference.






share|improve this answer
























  • No, the live is without persistence

    – Saurabh Sinha
    Dec 20 '15 at 23:21














0












0








0







Have you tried aptitude instead of apt-get? BUT if apt-get isn't available that may not be either.



Also, do a search on "wget" and "git clone."



One last thing, is the Live with persistence? I'm no expert but that may make a difference.






share|improve this answer













Have you tried aptitude instead of apt-get? BUT if apt-get isn't available that may not be either.



Also, do a search on "wget" and "git clone."



One last thing, is the Live with persistence? I'm no expert but that may make a difference.







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 20 '15 at 19:50









Victor HatleyVictor Hatley

12




12













  • No, the live is without persistence

    – Saurabh Sinha
    Dec 20 '15 at 23:21



















  • No, the live is without persistence

    – Saurabh Sinha
    Dec 20 '15 at 23:21

















No, the live is without persistence

– Saurabh Sinha
Dec 20 '15 at 23:21





No, the live is without persistence

– Saurabh Sinha
Dec 20 '15 at 23:21


















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f250576%2fapt-get-does-not-work-in-live-usb-environment%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...