Deleted almost the whole lubuntu
I tried installing VS Code and it removed all my pacakges, including dpkg and the desktop, Is there a way to fix it without losing the data? Maybe from the live cd?
Edit: Forgot to mention that the Try Lubuntu option doesn't work, only the install option.
Edit2: It also spams ehci-pci 0000:00:12.2: dma_direct_map_sg: overflow0x0000000010893000+512 of device mask ffffffff
when trying to "Try Lubuntu"
apt lubuntu live-usb laptop
add a comment |
I tried installing VS Code and it removed all my pacakges, including dpkg and the desktop, Is there a way to fix it without losing the data? Maybe from the live cd?
Edit: Forgot to mention that the Try Lubuntu option doesn't work, only the install option.
Edit2: It also spams ehci-pci 0000:00:12.2: dma_direct_map_sg: overflow0x0000000010893000+512 of device mask ffffffff
when trying to "Try Lubuntu"
apt lubuntu live-usb laptop
add a comment |
I tried installing VS Code and it removed all my pacakges, including dpkg and the desktop, Is there a way to fix it without losing the data? Maybe from the live cd?
Edit: Forgot to mention that the Try Lubuntu option doesn't work, only the install option.
Edit2: It also spams ehci-pci 0000:00:12.2: dma_direct_map_sg: overflow0x0000000010893000+512 of device mask ffffffff
when trying to "Try Lubuntu"
apt lubuntu live-usb laptop
I tried installing VS Code and it removed all my pacakges, including dpkg and the desktop, Is there a way to fix it without losing the data? Maybe from the live cd?
Edit: Forgot to mention that the Try Lubuntu option doesn't work, only the install option.
Edit2: It also spams ehci-pci 0000:00:12.2: dma_direct_map_sg: overflow0x0000000010893000+512 of device mask ffffffff
when trying to "Try Lubuntu"
apt lubuntu live-usb laptop
apt lubuntu live-usb laptop
edited Mar 11 at 14:46
Radu Ungureanu
asked Mar 11 at 9:22
Radu UngureanuRadu Ungureanu
62
62
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
You removed too many critical packages, so you must either restore the OS from a complete partition backup or reinstall the OS. It's a shame that you have to do this because of VSCode which isn't even a normal IDE like Visual Studio. As its name suggests, VSCode is more like an enhanced text editor.
add a comment |
You should be able to choose to (re)install your Ubuntu from Live media, choosing not to overwrite current partition. In any case, do a backup of (what's remaining) of your system first !!
Here is where the tricky part comes in, for some reason the Live Lubuntu option doesn't work. Only the intall option.
– Radu Ungureanu
Mar 11 at 13:04
add a comment |
Just found out that I have an "Recover a broken system" option. I was able to copy all the data from the disk and full reinstall the system.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124705%2fdeleted-almost-the-whole-lubuntu%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
You removed too many critical packages, so you must either restore the OS from a complete partition backup or reinstall the OS. It's a shame that you have to do this because of VSCode which isn't even a normal IDE like Visual Studio. As its name suggests, VSCode is more like an enhanced text editor.
add a comment |
You removed too many critical packages, so you must either restore the OS from a complete partition backup or reinstall the OS. It's a shame that you have to do this because of VSCode which isn't even a normal IDE like Visual Studio. As its name suggests, VSCode is more like an enhanced text editor.
add a comment |
You removed too many critical packages, so you must either restore the OS from a complete partition backup or reinstall the OS. It's a shame that you have to do this because of VSCode which isn't even a normal IDE like Visual Studio. As its name suggests, VSCode is more like an enhanced text editor.
You removed too many critical packages, so you must either restore the OS from a complete partition backup or reinstall the OS. It's a shame that you have to do this because of VSCode which isn't even a normal IDE like Visual Studio. As its name suggests, VSCode is more like an enhanced text editor.
answered Mar 11 at 9:26
karelkarel
60.2k13130154
60.2k13130154
add a comment |
add a comment |
You should be able to choose to (re)install your Ubuntu from Live media, choosing not to overwrite current partition. In any case, do a backup of (what's remaining) of your system first !!
Here is where the tricky part comes in, for some reason the Live Lubuntu option doesn't work. Only the intall option.
– Radu Ungureanu
Mar 11 at 13:04
add a comment |
You should be able to choose to (re)install your Ubuntu from Live media, choosing not to overwrite current partition. In any case, do a backup of (what's remaining) of your system first !!
Here is where the tricky part comes in, for some reason the Live Lubuntu option doesn't work. Only the intall option.
– Radu Ungureanu
Mar 11 at 13:04
add a comment |
You should be able to choose to (re)install your Ubuntu from Live media, choosing not to overwrite current partition. In any case, do a backup of (what's remaining) of your system first !!
You should be able to choose to (re)install your Ubuntu from Live media, choosing not to overwrite current partition. In any case, do a backup of (what's remaining) of your system first !!
answered Mar 11 at 9:56
Soren ASoren A
3,55211024
3,55211024
Here is where the tricky part comes in, for some reason the Live Lubuntu option doesn't work. Only the intall option.
– Radu Ungureanu
Mar 11 at 13:04
add a comment |
Here is where the tricky part comes in, for some reason the Live Lubuntu option doesn't work. Only the intall option.
– Radu Ungureanu
Mar 11 at 13:04
Here is where the tricky part comes in, for some reason the Live Lubuntu option doesn't work. Only the intall option.
– Radu Ungureanu
Mar 11 at 13:04
Here is where the tricky part comes in, for some reason the Live Lubuntu option doesn't work. Only the intall option.
– Radu Ungureanu
Mar 11 at 13:04
add a comment |
Just found out that I have an "Recover a broken system" option. I was able to copy all the data from the disk and full reinstall the system.
add a comment |
Just found out that I have an "Recover a broken system" option. I was able to copy all the data from the disk and full reinstall the system.
add a comment |
Just found out that I have an "Recover a broken system" option. I was able to copy all the data from the disk and full reinstall the system.
Just found out that I have an "Recover a broken system" option. I was able to copy all the data from the disk and full reinstall the system.
answered Mar 11 at 18:40
Radu UngureanuRadu Ungureanu
62
62
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- 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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124705%2fdeleted-almost-the-whole-lubuntu%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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