partial upgrade wreaked havoc - evolution, firefox, all gone!
Hello members of ubuntu community,
I have roamed the forum and answers to solve this problem, but I wasn't able to recover the deleted programs and the personal files/data in them, also because I had not enough level of Ubuntu knowledge for some of the offered solutions.
As you have read in the title, my programs have been removed after a partial upgrade was run by update manager, which I by now know should have strictly avoided. many programs have been removed -actually 175 packages, as the manager had informed at start- but most important of them were Evolution (which contained all my emails that I downloaded from mail server, so they are not online anymore), Firefox (that contained my bookmarks) and Network Manager applet (I have no way to connect to networks now, and I couldn't apply any solution offered to reinstall Network-Manager. To my surprise, the Ethernet cable I inserted didn't provide any connection, either).
before this partial upgrade, I have been receiving strange update errors, which I guess first started when I unchecked the "install ttf-mscore fonts prior to an update. around that time I was often asked about installing this package etc..
the evolution icon is still on the upper tray and on desktop, when I click on it, I receive the message "could not launch application - Failed to execute child process 'evolution' (No such file or directory)".
In case of Firefox, no icons left.
I found out where to look for evolution in my home folder (usr/lib/evolution or usr/share/
I'd like to recover my emails (for that, to do so for Evolution) and get bookmarks back in Firefox. But to start even that, I need to connect to Internet and hence need to get Network-Manager or another working applet back on the computer.
Also, as I read of people's experiences in other related posts, my window bars are gone, too, synaptic looks crippled (i.e. search box is greyed, I can only do search by clicking on the search button to the right of the box, while earlier results appeared real-time) and heaven knows what else I didn't recognize..(as for programs, I viewed the logfiles and saw which were removed)
I'll be thankful for all your hints and support..
many thanks!
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Eliah Kagan
- Solved:
- Last query:
- Last reply:
Related FAQ:
None Link to a FAQ
Revision history for this message
|
#1 |
to correct a possible inaccuracy:
I have evolution and firefox folders under usr/lib and usr/share, but these have no association to my personal data (whether it is the place where they are supposed to be located?)
Revision history for this message
|
#2 |
Let's focus on your personal data first. Please name all the programs that have associated personal data that you want to recover. Firefox and Evolution are two -- are there others?
Your Firefox profile is located in a folder called .mozilla inside your home folder. You can move that from one system to another, usually without problems. Similarly, your Evolution emails and configuration are typically stored in a folder called .evolution inside your home folder. You will find that many (though by no means all) other applications follow this pattern.
Please provide links to forum posts and any other online sources that you have tried so far, so that people seeking to provide you with help don't have to waste time recommending things that have already been tried and proven unsuccessful.
Revision history for this message
|
#3 |
thank you Eliah, for your quick support.
I have only firefox and evolution with personal data I need to recover.
the folders of these programs contain plugin and extension folders and program files, I presume. I found no file or folder related to stored emails.
I tried the network manager installation on an usb, but failed to run it on the problem computer, don't even know if it was the right version or correctly installed. that was the only thing I could try.
I couldn't try any suggestions for recovering evolution cause I had (and still have) no internet connection.
it seems I need to have the connection capability restored first.
regarding your question, that means I couldn't try any solution yet.
Revision history for this message
|
#5 |
hi ubuntu community,
could anyone maybe help me solve above problem? I will be real thankful!
Revision history for this message
|
#6 |
Your home folder is /home/yourusername
When you first log in and start a terminal, you should be there. A "cd" with no following path will take you there.
Your mail should be under a directory named .evolution (that's <DOT>evolution).
/home/yourusern
find . -name Saved
find . -name bookmarks.html
(Again, that's find <DOT> -name Saved)
Good luck finding your data.
Revision history for this message
|
#7 |
thank you ubfan, yes, more like good night, and good luck :)
I tried to find these folders on another computer (the troubled computer is currently not with me), where evolution is also installed with all downloaded mails there accessible. unfortunately following was all I got when I looked for the saved emails' folder:
~$ find .-name Saved
find: `.-name': No such file or directory
find: `Saved': No such file or directory
~$ find .-name bookmarks.html
find: `.-name': No such file or directory
find: `bookmarks.html': No such file or directory
I suppose it'd be the same result with troubled computer, too, as both have Ubuntu 10.10.
isn't this bizarre? the emails are downloaded, they must be somewhere. I tried all possible associations (inbox, mailbox, local, local folder..) but no trace.
also the folders, subfolders don't contain them.
I have the ".Evolution" folder under /home/usr/lib or home/usr/share, instead of being under home/myusername/ , somehow.
Revision history for this message
|
#8 |
The commands are:
find . -name Saved
find . -name bookmarks.html
You neglected to put a space between "." and "-name" in each case.
To reduce the chance of typing commands incorrectly, you can copy them from Launchpad and paste them in the Terminal window.
Revision history for this message
|
#9 |
thank you eliah, once again :)) (just been reading your reply to my other post!)
through copy-pasting command lines, I could have results delivered:
~$ find . -name Inbox
./.evolution/
:~$ find . -name bookmarks.html
./.mozilla/
which tells that they're obviously there, I guess.
yet..these locations don't deliver the corresponding folder when I look for them in file system, either by manually scanning every folder and subfolder, or using search box for location.
could I be entering the location missing, as I am not sure the front part of the address ( what comes before ./.evolution or ./.mozilla)?
Revision history for this message
|
#10 |
The .evolution and .mozilla folders are located in your home folder, on the installed Ubuntu system. So open that folder (your home folder) in a Nautilus window. (If you're using a live CD to access a non-functioning Ubuntu system installed on the hard drive, make sure you're opening the folder that is your home folder on the installed system, and not the folder that is the live CD user's home folder.)
You still probably won't see them. That's because, by default, files and folders starting with a . (dot) are hidden. So, in the Nautilus window, go to Edit > Preferences. This opens the File Management Preferences window. In the Views tab, check the box labeled "Show hidden and backup files". Then click Close (at the lower-right corner of the window). Now you should be able to see these folders.
Revision history for this message
|
#11 |
found them both Eliah, thank you so much!!!!
my Evolution folders are saved as mbox files, upon which when I click Evolution Import Assistant pops. I presume that implies the emails of the folder are stored in the respective file.
bookmarks.html file included standard Firefox bookmarks at first installation. my own recent bookmarks were not there, and I checked bookmarkbackups folder, where I found .json files which opened as one long line of script when opened with juffEd and firefox. I first expected from the lingering white page that the bookmarks were really loading, but the page remained blank on gedit and returned referred one-line opening with others. still not using the right program to open?
Revision history for this message
|
#12 |
I'm not sure exactly which files you should take to get all your bookmarks...but is there something wrong in your Firefox profile? If not, why not just get the entire profile by copying the entire .mozilla folder?
Revision history for this message
|
#13 |
sorry for writing with delay Eliah, I am only now online again since the other day!
could you please help me know how I would proceed with your suggestion? where would I need to copy .mozilla folder? what would I need to do after that to get the last bookmarks back?
as firefox is currently wiped out from desktop, applications and system tray, following referred partial upgrade yet .mozilla folder is still there, I don't know whether re-installing firefox would delete this remnant .mozilla folder, too, since, as I remember, firefox deletes old installation when re-installed or upgraded.
thank you so much, again!!
Revision history for this message
|
#14 |
Copy the .mozilla folder wherever you're copying your other files that you're trying to back up. For example, if you're backing up your Evolution mailbox and your office documents to a USB flash drive, then copy the .mozilla folder to the flash drive as well. If you end up wiping your disk and reinstalling Ubuntu, then you care restore the .mozilla folder in your home folder, and then when you run Firefox, you'll have your old bookmarks, cache, user-specific settings, and so forth.
Revision history for this message
|
#15 |
many thanks Eliah!
I will see if I can get Network Manager back, in which case I maybe do not reinstall Ubuntu and backup .mozilla, and try with installing firefox from the terminal. after which I restore the former folder in its location.
Revision history for this message
|
#16 |
If you want to try to fix your system, I recommend you first install the metapackage associated with your Ubuntu flavor. That should restore a lot of the software that was wiped out in your partial upgrade. Specifically...
For Ubuntu Desktop Edition:
sudo apt-get install ubuntu-desktop
For Ubuntu Netbook Edition:
sudo apt-get install ubuntu-netbook
For Kubuntu:
sudo apt-get install kubuntu-desktop
For Xubuntu:
sudo apt-get install xubuntu-desktop
For Edubuntu:
sudo apt-get install edubuntu-desktop
For Lubuntu:
sudo apt-get install lubuntu-desktop
(Note that you should run just *one* of those commands, not all of them. Run the one that corresponds to the flavor of Ubuntu that you are running. If you don't know which one you're running, it's almost certainly Ubuntu Desktop Edition.)
Revision history for this message
|
#17 |
the problem is that I cannot connect to internet without network manager, not even the Ethernet cable was able to enable connection, for whatever reason.
could there be a way to install metapackages from usb, or any other offline method?
Revision history for this message
|
#18 |
Oh, right.
There are ways to install collections of packages on a system that doesn't have network access, but you're right, you're probably better off installing the Network Manager first. Once you have Internet access again, you can install the appropriate metapackage.
Please let me know if you need assistance finding or installing the .deb file for the Network Manager.
By the way, when you reply to reopen a question, you should click the button indicating that you need additional assistance. If you click the "Just Add a Comment" button, the status of the question will not convert back from Answered (or Needs Information) to Open, and people won't know that you're requesting more help.
Revision history for this message
|
#19 |
thank you Eliah, you're right. must have been a confused moment :)
the search query for .deb on nautilius returned no files for Network Manager on the problem computer, while same search would return them on a "healthy" one. so I guess they had been removed by partial upgrade.
I'd read in ubuntu forums about running the script on an online computer and saving it on usb, and inserting the usb to the problem computer. but I didn' t manage or maybe not understand the last part as to what I'd need to proceed with on the offline computer to make it install the network manager from the script on usb.
could you please help me know how I can install them on an offline computer this or in any other way?
many thanks! :)
Revision history for this message
|
#20 |
just implementing the last member's advice here : http://
I downloaded the network-
Revision history for this message
|
#21 |
here the packages are, as referred by the member's post, here: http://
and I selected the download for 10.10. ; http://
Revision history for this message
|
#22 |
the thread http://
sudo dpkg -i network-manager.deb
to my expectation, something did seem to move then:
Selecting previously deselected package network-
(Reading database ... 176675 files and directories currently installed.)
Unpacking network-
dpkg: dependency problems prevent configuration of network-
network-
Package network-manager is not installed.
dpkg: error processing network-
dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/
Processing triggers for hicolor-icon-theme ...
Processing triggers for gconf2 ...
Processing triggers for python-support ...
Errors were encountered while processing:
network-
I started synaptic and received "1 broken package" notice, and it was this. and it couldn't be fixed.
I restarted the computer and at least the network icon was for the first time "again" on the system tray. however clicking on it popped the window "networking is disabled" or "NetworkManager is not running..."
thought maybe I needed to install network-manager applet, too. I downloaded it from the same gnome website http://
running
sudo dpkg -i network-
I received:
dpkg-deb: `network-
dpkg: error processing network-
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
network-
then I tried with unpacking the tar.gz file, and the folder network-
and I typed in:
sudo dpkg -i network-
then I received the following:
dpkg-split: error reading network-
dpkg: error processing network-
subprocess dpkg-split returned error exit status 2
Errors were encountered while processing:
network-
what can I do at this stage to get the needed packages fixed or installed and network manager running smoothly again?
thanks a heap!
Revision history for this message
|
#23 |
First of all, you're running Ubuntu 10.10 Maverick (that's what you said earlier in this question), but you are trying to use the Network Manager from Ubuntu 10.04 Lucid. That will probably not work very well.
Second, renaming a .deb file is a bad thing, unless you have a specific reason to do so. It leads to confusion.
Third, the file network-
Fourth, you need to install the package called "network-manager" and not just "network-
If you run the command "lsb_release -a" (without the quotes) inside your broken system and post the output, then I can give you specific, detailed instructions.
Revision history for this message
|
#24 |
the output came as follows:
~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick
thought I selected the right distribution, cause I went to packages at http://
then I was directed to http://
in any way, I'll be looking forward to your instructions! :)
many thanks!!
Revision history for this message
|
#25 |
I apologize; I neglected to also ask you to run the command "uname -r". Please do that and paste the output, and then I can provide the detailed instructions.
> thought I selected the right distribution, cause I went to packages
> at http://
> (there were here Maverick-Updates and Maverick-Backports, too,
> but I haven't done anything with them)
> then I was directed to http://
> here selected Network>
> owner of the forum post suggested.
http://
Revision history for this message
|
#28 |
Darn. I'm having a really foggy day today, I guess. I totally did not need to you run "uname -r". What I needed you to run was "uname -m".
I apologize for this. I'm not deliberately trying to jerk you around, and I will try to be more clearheaded when replying in the future. If you can give me the output of "uname -m", I can provide you with links to the specific files you need to download, and instructions for how to install from them.
Revision history for this message
|
#29 |
please, nothing to worry about that, Eliah, besides I received too much of your support so far to entertain such suspicion :) thank you again, for helping me out!
uname -m returned "i686"
Revision history for this message
|
#30 |
These are the four packages you need:
Install them in that order. You should be able to install them by double-clicking them in Nautilus. However, if that doesn't work, then you can use "dpkg -i" like you had been trying to do before. Instead of renaming a file to make it easier to type in on the command line, you can right click on it in Nautilus and click Copy, and then right click in the Terminal and click Paste. Alternatively, you can begin typing its name in the Terminal, and once you've typed in enough letters that there are no other files in the same folder that start that way, press Tab. Tab completion makes using the Terminal much more pleasant.
There may well be error messages when you attempt to install these packages--this is most likely to occur if there are other missing packages that these packages depend on. If that happens, please reply, including the exact text of the error messages.
Revision history for this message
|
#31 |
you did it!!!!! by george you did it!!!! you're a star, Eliah, thank you!!!
the four packages were installed smoothly, and immediately upon restart were available networks shown!
and I installed right thereafter firefox and evolution over the terminal (I found out meanwhile that I needed to run "sudo apt-get update" first), and all bookmarks and emails were already there when I started them!
so the havoc is stilled :))..nothing ever to do with partial upgrade again! (why can a thing so damaging not be avoided in the first place, I am curious to know about)
thank you so much for your support and sharing of the endeavour all along!!! wish I could send you a case of wine or anything you like right now, to toast it :-)))
stay happy and peaceful,
Revision history for this message
|
#32 |
Thanks Eliah Kagan, that solved my question.
Revision history for this message
|
#33 |
If you have not already done so, I recommend that you install the package called "ubuntu-desktop" on the (now fixed) system. It might already be installed...but it just as likely isn't. And then, either way, I recommend updating the system.
Revision history for this message
|
#34 |
> so the havoc is stilled :))..nothing ever to do with partial upgrade
> again! (why can a thing so damaging not be avoided in the first
> place, I am curious to know about)
I don't know why a partial upgrade can cause these problems, though I have heard anecdotes about problems before. I'm looking into that now; hopefully I'll be able to give you an answer. Bug 373006 is possibly related.
Were you attempting to upgrade to a later version of Ubuntu, or just attempting to upgrade your system normally? If you were trying to upgrade to a later version of Ubuntu, what version were you running before you started the partial upgrade process? (You're running version 10.10 now.)
Revision history for this message
|
#35 |
Oh, and I almost forgot to say: I'm glad your problem is finally fixed!
Revision history for this message
|
#36 |
thank you :)) , I had 10.10 all along, but weeks before the partial upgrade I wanted to exclude ttf-mscore font package installation, and ignored a couple of updates before I knew what to do with it, and then excluded this package. then, I think at the next update after doing that, this partial upgrade window popped, which I didn't know about before.
I saw the message that a large number of packages were going to be removed, a passively tiny exclamation mark ran through, yet I didn't expect the things that ensued were meant, resting on the thinking that the system wouldn't remove anything significant such as a program.
I think of that whether it might have to do with miro, which was freezing ever so often, or some other improperly or incompletely installed software.
Revision history for this message
|
#37 |
oh,yes, ubuntu desktop appears already installed :)
Revision history for this message
|
#38 |
In that case, just go ahead and update the system in the Update Manager. (But don't let it do a partial upgrade! Instead, if it wants to do that, please post again, and we can figure out what's going on.)
Revision history for this message
|
#39 |
updated, seems it is all back on tracks now :)