LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-14-2010, 01:17 PM   #1
cowboysaif
LQ Newbie
 
Registered: May 2010
Distribution: Ubuntu
Posts: 5

Rep: Reputation: 0
ubuntu-desktop package is not installing


Hello guys,

I am using ubuntu for a month. Yesterday i tried to upgrade it from 9.10 to 10.0. Then i had to shut down the pc for electricity failure. After that ubuntu came into halt in boot time and something like recovery shell came. It advised me to use "fsck" and i did that. All were again fine (Except some icon goes from left to right ). Then today i was trying to install "Virtuabox" and it says i need to remove "devicekit-power" package. i did it with synaptic package manager ( with my newbie wisdom , didn't knew it would crample my system ). Then the Empathy gone, shut down button gone ). I then installed some lost package

- gnome power manager
- indicator session
- indicator applet session

but ubuntu-desktop package is not installing. Whenever i try it says to fix broken package and i tried the option in synaptic, but no luck. also tried in recovery mode to fix broken package but it says the same.
now i got the empathy and the green sign back ( after installing those 3 package ) but not like it was ( they are now separated , and uglier ). Same problem installing devicekit-power package. it says it is not in repository.
1. Did the 10.0 failure upgrade was behind this thing?
2. Any help installing Virtuabox? it first installs fine ( downloaded deb package ). then it tries to download some extra packages and always fails to download them. tried in command shell as instructed in its website and also treid in ubuntu soft centre but no luck.
3. Is there any way i can install the missing ubuntu-desktop and devicekit thing?
4. Would be very glad if someone tell me about a linux soft that protect my system from my wild exploration and destruction
 
Old 05-14-2010, 02:20 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,554

Rep: Reputation: 862Reputation: 862Reputation: 862Reputation: 862Reputation: 862Reputation: 862Reputation: 862
When it tells you to uninstall something, you are usually in trouble.

I would rot 'sudo rpm --rebuilddb' and then reinstall devicekit-manager. See how it goes
 
1 members found this post helpful.
Old 05-15-2010, 12:45 AM   #3
cowboysaif
LQ Newbie
 
Registered: May 2010
Distribution: Ubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for the reply, but i was unable to do as you instructed.

Well i tried to install VirtualBox again from ubuntu soft centre ( I didn't check the reply mail - i wish i would ). This time it gave no alert or anything. Suddenly a reboot.After the reboot it displays something about pulse audio in red coloured font. then there is no desktop environment, but a command shell ask me to login. i logged in with my best newbie effort. Then there was nothing but saif-desktop:$ thing. No desktop environment.I tried several times rebooting the computer ( i enjoyed that reboot command ).Then i knew that was my limit. So i installed ubuntu again ( oh my precious bookmarks )...

thanks for the reply though. i am , i mean, too much weak to fix this things. Better to learn a lesson and not do this things again

But i felt, as a retired m$ user, windows has a thing called recover windows, where the operating system fix itself completely. i didn't find anything in ubuntu like this. Is there any soft like that to fix up ubuntu ? i mean, that kind of soft is dead necessary for newbie scientists like me.....
 
Old 05-15-2010, 04:08 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,554

Rep: Reputation: 862Reputation: 862Reputation: 862Reputation: 862Reputation: 862Reputation: 862Reputation: 862
Linux is written for programmers who all know exactly what's going on; so they never bother to tell us :-/. No restore points are needed - they would be a huge waste of space. Of course everyone backs up. . .
What goes wrong when you open a terminal and type

sudo rpm --rebuilddb
 
0 members found this post helpful.
Old 05-15-2010, 06:49 AM   #5
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
Linux is written for programmers who all know exactly what's going on; so they never bother to tell us :-/. No restore points are needed - they would be a huge waste of space. Of course everyone backs up. . .
What goes wrong when you open a terminal and type

sudo rpm --rebuilddb
Rpm won't help here, Ubuntu works the packages with apt. About the only time Ubuntu asks you to remove packages is when a bigger upgrade (e.g. to a completely new version) is going, and some software has been decided to be removed from the way of something else. This was the case when upgrading from 9.10 to 10.04, for example. Ubuntu is not a "geek" or "programmer operating system" no more than anything else, nor is the majority of other Linux distributions. It just feels so, if you've accustomed to some other operating system (say Windows) and only learning the new one. Same applies the other way around; if you had never seen Windows before and people started telling you about using Windows Scripting Host or PowerShell to do some fancy things, or run mysterious commands in the "Run..." dialog to bring up "hidden tools" or just mine through some cryptic registry keys, you'd probably feel lost.

If it was certain people had infinite amount of space, and also infinitely powerful systems, the operating system could of course take a full image of the harddisk ten times a day and put it back if you ever ran into trouble. But as it is, there's always limits on machine power and storage, and so it's not going to work (taking a full image would take time, probably require you to stop working for some of the time, and consume lots of space). I've come to use the Windows "recover" thingy a couple of times, and never it has been quite the same despite of what it adverts. Always some programs have had to be reinstalled anyway, and twice the whole system, because mysterious problems never disappeared. Could the the ordinary day too, though.

You can try to work as guided (I'd first clean apt's cache just to make sure the packages you download are not crippled), using the "fix option" of apt, or dpkg's reconfigure. Sometimes it works, sometimes it doesn't. In a bad case a package may get installed that has broken scripts in it, and it's left "halfway there". In these cases you may have to manually do some work to force removing it, for example, but it depends. I think almost if not every time I've had apt messed up (usually because a package is halfway installed or removed, but not completely, and apt is persistent to finish the job), somebody has already experienced the same situation and good instructions for the fix along with explanations are found on the web.

Best way to secure your back is to have backups, no matter what operating system you use. Second best, on Linux, is to not run commands that require root privileges (such as package managers) without finding out what exactly you're doing. Removing things means removing, not "sending to recycle bin", so when you face that situation, double check. Whenever you can, replace "removing" with "moving" or "renaming", so you can get back if needed -- backups are just that, a path back.
 
1 members found this post helpful.
Old 05-15-2010, 07:44 AM   #6
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 291Reputation: 291Reputation: 291
Quote:
Originally Posted by cowboysaif View Post
After the reboot it displays something about pulse audio in red coloured font. then there is no desktop environment, but a command shell ask me to login. i logged in with my best newbie effort. Then there was nothing but saif-desktop:$ thing. No desktop environment.
After you login and are presented with a terminal prompt (saif-desktop:$)
try running: gdmsetup. This should hopefully allow you to configure a gdm login.
Then try running: sudo service gdm start, and see if you get the graphical (gdm) login. If that does not work, then try rebooting after running gdmsetup.
Since you are getting erors about pulseaudio, you could also try installing pulseaudio and see if that helps:
Code:
sudo apt-get update
sudo apt-get install pulseaudio
The ubuntu-desktop package is just a meta-package that serves to pull in all the packages that are part of a default Ubuntu desktop; but you don't actually need the ubuntu-desktop meta-package to have a functioning desktop.
Your dist-upgrade was likely corrupted when the electrical failure forced you to shutdown in the middle of an upgrade.

Last edited by tommcd; 05-15-2010 at 07:56 AM.
 
1 members found this post helpful.
Old 05-15-2010, 07:57 AM   #7
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
Distribution: Arch / Mint 17
Posts: 297
Blog Entries: 3

Rep: Reputation: 50
Quote:
Originally Posted by business_kid View Post
Linux is written for programmers who all know exactly what's going on; so they never bother to tell us :-/. No restore points are needed - they would be a huge waste of space. Of course everyone backs up. . .
What goes wrong when you open a terminal and type

sudo rpm --rebuilddb
Question: Have you ever even used Ubuntu?
If you have, you should at least know that it doesn't use RPM.

Last edited by Bratmon; 05-15-2010 at 08:01 AM.
 
Old 05-16-2010, 04:14 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,554

Rep: Reputation: 862Reputation: 862Reputation: 862Reputation: 862Reputation: 862Reputation: 862Reputation: 862
I did install ubuntu on this box, but they didn't get on. It went _soo_ slow that it was unreal. I walked away ahd had tea thinking it had crashed while booting, but it actually was just starting. I'm not blaming Ubuntu for this, BTW. Let's not get pickish. The debian package package manager has something similar.

I also installed ubuntu on a 32 bit box, but preferred slackware.
 
Old 05-16-2010, 10:37 AM   #9
cowboysaif
LQ Newbie
 
Registered: May 2010
Distribution: Ubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
Hello guys! i really loved all of your quick replies - i almost felt like a VIP Didn't knew linux experts are so much friendly. But as you see, i have freshly installed ubuntu again so i am sorry.... i cann't apply your advises - i am sure they would work ! Again so much thanks.

Well the idea of backup Ubuntu is looking awesome to me. i gonna try it ! is this post should do the trick ?

http://ubuntuforums.org/showthread.php?t=35087

Do you guys think i should backup onec a week ? coz i mess around all the time. I think i am a constant newbie danger to my ubuntu system

Sorry guys for disturbing you by asking questions over and over. I am a computer science student but can't even handle ubuntu properly What a waste i am.....

Last edited by cowboysaif; 05-16-2010 at 10:44 AM.
 
Old 05-16-2010, 04:00 PM   #10
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
Distribution: Arch / Mint 17
Posts: 297
Blog Entries: 3

Rep: Reputation: 50
Quote:
Originally Posted by cowboysaif View Post
Hello guys! i really loved all of your quick replies - i almost felt like a VIP Didn't knew linux experts are so much friendly. But as you see, i have freshly installed ubuntu again so i am sorry.... i cann't apply your advises - i am sure they would work ! Again so much thanks.

Well the idea of backup Ubuntu is looking awesome to me. i gonna try it ! is this post should do the trick ?

http://ubuntuforums.org/showthread.php?t=35087

Do you guys think i should backup onec a week ? coz i mess around all the time. I think i am a constant newbie danger to my ubuntu system

Sorry guys for disturbing you by asking questions over and over. I am a computer science student but can't even handle ubuntu properly What a waste i am.....
The only error that has is that
Code:
--exclude mnt
should be
Code:
--exclude media
Also, once a week will take a lot of hard drive space.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] How to know the required packages of one package before installing, in Ubuntu? msbstar Linux - Newbie 1 01-30-2010 09:58 AM
Installing apps on Ubuntu 9.04 and want to avoid breaking package management fth Linux - Newbie 9 09-18-2009 03:15 PM
problem installing ubuntu 9.04 desktop.. vikesh.u Linux - Newbie 4 05-31-2009 01:17 PM
Problems installing the Ubuntu Netbook Remix package over Ubuntu 8.10 unluckystuntman Linux - Newbie 3 12-30-2008 01:19 AM
Trouble installing Ubuntu 7.04 on desktop Trisk Ubuntu 2 05-12-2007 09:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:14 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration