never mind ...see Matt's last...
never mind ...see Matt's last...
Hi
It may be fixable bashing-om and if you want to continue then please do
One technique would be to delete the files with input/output errors and trying to reinstall the packages with the problems
The thing that concerns is it may go on and on. It may just be quicker to restore from backup or backup and reinstall.
However if the OP wants to go on then please help him.
OP. run a SMART test on the drive just in case it's damaged, but i suspect the power failure just damaged the filing system and not the hardware itself.
Kind regards
Last edited by matt_symes; June 8th, 2013 at 08:37 PM.
If you believe everything you read, you better not read. ~ Japanese Proverb
If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain
Thinking about becoming an Ubuntu Member?
@ matt_symes & thekoalover ....
Well, I have no heart burn ..trying to fix the system... all know just from the little trial in this thread how tedious just working one chain to determine it's dependencies was, imagine that times 100 !
--thekoalover-- I have in mind a means to start this //but please back up your data anyway, just in case //
I have in mind to wipe out dpkg's current "info" state and regenerate a new data base, take the status from this new database as a foundation to build from/on. If we are to proceed with this - and believe me I expect to learn from this too - let's establish a reference point from the "broken" install in order to know what effects we accomplish in the rebuild process.
one of the references is a hard copy printout of:
and another baseline:Code:dpkg -l ucf
and we take off again ///very time consuming in a long process. There will then always remain the doubt that all the snakes have been stomped out !Code:sudo dpkg -C
The sure thing is (re-)install .!
@Bashing-omCode:thekoalover@Batman:~$ dpkg -l ucf Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-================================= ii ucf 3.0025+nmu3 all Update Configuration File: preserThese Packages =_='Code:thekoalover@Batman:~$ sudo dpkg -C [sudo] password for thekoalover: The following packages are only half configured, probably due to problems configuring them the first time. The configuration should be retried using dpkg --configure <package> or the configure menu option in dselect: ubuntu-drivers-common Detect and install additional Ubuntu driver packages The following packages are missing the list control file in the database, they need to be reinstalled: libgnome-keyring-common GNOME keyring services library - data files python-gst0.10 generic media-playing framework (Python bindings) The following packages are missing the md5sums control file in the database, they need to be reinstalled: python-gst0.10 generic media-playing framework (Python bindings)
thekoalover' Well glory be !
Things look a lot brighter...
OK, Lets clear out the old databases and rebuild.
one line at a time and with feeling !Code:sudo fuser -vvv /var/lib/dpkg/lock sudo rm /var/lib/apt/lists/lock sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available sudo rm -rf /var/lib/dpkg/updates/* sudo rm -rf /var/lib/apt/lists sudo rm /var/cache/apt/*.bin sudo mkdir /var/lib/apt/lists sudo mkdir /var/lib/apt/lists/partial LANG=C;sudo apt-get clean LANG=C;sudo apt-get autoclean LANG=C;sudo apt-get --purge autoremove LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 sudo dpkg --clear-avail sudo dpkg --configure -a LANG=C;sudo apt-get -f install LANG=C;sudo apt-get --fix-missing install LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgradeAnd need I say --copy and paste -- this is no time for an error ... space, letter, function, line perfect !
good things can happen
thekoalover;
I am done for the eve...will check on your status my next.
regards
Hi Everyone Sorry Didnt Respond These Couple Of Days,It's That Ubuntu Didnt Wanna Boot,And It Gives Me That System Files are Missing New Ones Every Time I Try As If Its Eating Itself.....So I Gave Up After Lots of Livecd boots And Attempts Of Lots Of Things.....So Here I Am With A Fresh,Clean 12.10 Ubuntu Copy,Thank God My Things Are Still In Place,Thank You All Who Worked With Me...
@Bashing-om @matt_symes Thanks Mates For Sticking With Me Till The Big Boom
I Hope What These Brilliant Men Posted In my Aid Helps Whoever Is Viewing This Threade Under The Same Prob..
thekoalover; Good deal.
Ain't ubuntu wonderful ... with care and attention even fatalities can be overcome !... (re-)install is always a means of last resort, but it is sure and effective !
Please mark this thread as "solved" - even though had to resort to (re-)installation - It workie now; this aids others seeking a solution as well as keeping the forum tidy.
Interim method:
Go to the first post in your thread. Click on "Edit Post". Now click on the orange "Go Advanced" button. In the advanced editor change the prefix to "SOLVED". Now click on the orange "Save Changes" button.
I trust things go well with you and your ubuntu
Bookmarks