Accidentally removed system dbus fixing

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
So I accidentally did something very dumb today, running sudo apt-get remove dbus instead of running sudo apt-get remove python-dbus. This led to my dpkg being broken and me getting a 'failed to start session' error when I try to log in. Going to recovery mode, I've tried to fix broken packages, but I get an error from that saying that it can't import distupgrade from python3/dist-packages. When I try to run the networking option in the recovery menu to try to reinstall some of the packages I removed, it hangs on "Reached Target Sound Card". I am completely at loss for what to do at this point, I've tried almost everything I can think of. Any help is appreciated! Thank you.
dbus
add a comment |Â
up vote
0
down vote
favorite
So I accidentally did something very dumb today, running sudo apt-get remove dbus instead of running sudo apt-get remove python-dbus. This led to my dpkg being broken and me getting a 'failed to start session' error when I try to log in. Going to recovery mode, I've tried to fix broken packages, but I get an error from that saying that it can't import distupgrade from python3/dist-packages. When I try to run the networking option in the recovery menu to try to reinstall some of the packages I removed, it hangs on "Reached Target Sound Card". I am completely at loss for what to do at this point, I've tried almost everything I can think of. Any help is appreciated! Thank you.
dbus
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
So I accidentally did something very dumb today, running sudo apt-get remove dbus instead of running sudo apt-get remove python-dbus. This led to my dpkg being broken and me getting a 'failed to start session' error when I try to log in. Going to recovery mode, I've tried to fix broken packages, but I get an error from that saying that it can't import distupgrade from python3/dist-packages. When I try to run the networking option in the recovery menu to try to reinstall some of the packages I removed, it hangs on "Reached Target Sound Card". I am completely at loss for what to do at this point, I've tried almost everything I can think of. Any help is appreciated! Thank you.
dbus
So I accidentally did something very dumb today, running sudo apt-get remove dbus instead of running sudo apt-get remove python-dbus. This led to my dpkg being broken and me getting a 'failed to start session' error when I try to log in. Going to recovery mode, I've tried to fix broken packages, but I get an error from that saying that it can't import distupgrade from python3/dist-packages. When I try to run the networking option in the recovery menu to try to reinstall some of the packages I removed, it hangs on "Reached Target Sound Card". I am completely at loss for what to do at this point, I've tried almost everything I can think of. Any help is appreciated! Thank you.
dbus
dbus
asked Feb 17 at 23:28
Itaque
1
1
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
0
down vote
Use following commands :
# apt-get purge dbus
After that :
# apt-get install ubuntu-desktop
When I run this I get a bunch of failed to fetch ppas because I'm not online. That's part of my problem.
â Itaque
Feb 17 at 23:44
add a comment |Â
up vote
0
down vote
I'm not great at Linux, my advice is to fresh install if you don't have anything crucial on your computer. If you do, try backing up your files on a USB, then fresh install and copy over the files you need from that USB.
Yeah, the first thing I did was back up my files. The only thing is this is a pretty customized install and it would be easier to fix it even if it takes a few hours than to get everything set up again.
â Itaque
Feb 18 at 2:38
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Use following commands :
# apt-get purge dbus
After that :
# apt-get install ubuntu-desktop
When I run this I get a bunch of failed to fetch ppas because I'm not online. That's part of my problem.
â Itaque
Feb 17 at 23:44
add a comment |Â
up vote
0
down vote
Use following commands :
# apt-get purge dbus
After that :
# apt-get install ubuntu-desktop
When I run this I get a bunch of failed to fetch ppas because I'm not online. That's part of my problem.
â Itaque
Feb 17 at 23:44
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Use following commands :
# apt-get purge dbus
After that :
# apt-get install ubuntu-desktop
Use following commands :
# apt-get purge dbus
After that :
# apt-get install ubuntu-desktop
answered Feb 17 at 23:34
An0n
81418
81418
When I run this I get a bunch of failed to fetch ppas because I'm not online. That's part of my problem.
â Itaque
Feb 17 at 23:44
add a comment |Â
When I run this I get a bunch of failed to fetch ppas because I'm not online. That's part of my problem.
â Itaque
Feb 17 at 23:44
When I run this I get a bunch of failed to fetch ppas because I'm not online. That's part of my problem.
â Itaque
Feb 17 at 23:44
When I run this I get a bunch of failed to fetch ppas because I'm not online. That's part of my problem.
â Itaque
Feb 17 at 23:44
add a comment |Â
up vote
0
down vote
I'm not great at Linux, my advice is to fresh install if you don't have anything crucial on your computer. If you do, try backing up your files on a USB, then fresh install and copy over the files you need from that USB.
Yeah, the first thing I did was back up my files. The only thing is this is a pretty customized install and it would be easier to fix it even if it takes a few hours than to get everything set up again.
â Itaque
Feb 18 at 2:38
add a comment |Â
up vote
0
down vote
I'm not great at Linux, my advice is to fresh install if you don't have anything crucial on your computer. If you do, try backing up your files on a USB, then fresh install and copy over the files you need from that USB.
Yeah, the first thing I did was back up my files. The only thing is this is a pretty customized install and it would be easier to fix it even if it takes a few hours than to get everything set up again.
â Itaque
Feb 18 at 2:38
add a comment |Â
up vote
0
down vote
up vote
0
down vote
I'm not great at Linux, my advice is to fresh install if you don't have anything crucial on your computer. If you do, try backing up your files on a USB, then fresh install and copy over the files you need from that USB.
I'm not great at Linux, my advice is to fresh install if you don't have anything crucial on your computer. If you do, try backing up your files on a USB, then fresh install and copy over the files you need from that USB.
answered Feb 18 at 0:52
Allan Nelson
1
1
Yeah, the first thing I did was back up my files. The only thing is this is a pretty customized install and it would be easier to fix it even if it takes a few hours than to get everything set up again.
â Itaque
Feb 18 at 2:38
add a comment |Â
Yeah, the first thing I did was back up my files. The only thing is this is a pretty customized install and it would be easier to fix it even if it takes a few hours than to get everything set up again.
â Itaque
Feb 18 at 2:38
Yeah, the first thing I did was back up my files. The only thing is this is a pretty customized install and it would be easier to fix it even if it takes a few hours than to get everything set up again.
â Itaque
Feb 18 at 2:38
Yeah, the first thing I did was back up my files. The only thing is this is a pretty customized install and it would be easier to fix it even if it takes a few hours than to get everything set up again.
â Itaque
Feb 18 at 2:38
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1007221%2faccidentally-removed-system-dbus-fixing%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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