LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-10-2007, 06:09 PM   #1
thekid
Member
 
Registered: Jun 2005
Location: The Golden State
Distribution: Ubuntu 8.04
Posts: 190

Rep: Reputation: 30
Problems with Synaptic after power loss


I'm new to Ubuntu, coming from Slackware, and the automagic update is a little hard to get used to. I was recently updating the machine through Synaptic when I lost power. After reboot the update attempted to run again, but I get this error message now:
Code:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. 
E: _cache->open() failed, please report.
I attempt to use the command given but I get this:
Code:
keith@Krypton:~$ sudo dpkg --configure -a
Password:
dpkg: parse error, in file `/var/lib/dpkg/updates/0013' near line 1:
 field name `60817' must be followed by colon
keith@Krypton:~$
Anyone know what I have to do to rectify the situation? Thanks!
 
Old 10-11-2007, 01:06 AM   #2
z-vet
Member
 
Registered: Aug 2004
Location: Israel
Distribution: LMDE 5
Posts: 271

Rep: Reputation: 34
Code:
sudo rm -f /var/lib/dpkg/updates/0013
sudo dpkg --configure -a
 
Old 10-11-2007, 07:52 AM   #3
thekid
Member
 
Registered: Jun 2005
Location: The Golden State
Distribution: Ubuntu 8.04
Posts: 190

Original Poster
Rep: Reputation: 30
Ok, I did that and it allowed me to get back into Synaptic, but now when I try to fix the broken dependencies it gives me the error
Code:
E: /var/cache/apt/archives/python-uno_2.2.0-1ubuntu5_i386.deb: unable to open files list file for package `python-uno'
and I've already removed it from the directory, forcing it to re-download it and still no dice. Should I clear all the files from the directory, or is there something I can do? Thanks!

Here is some more information:

Code:
keith@Krypton~$sudo apt-get -f install
(Reading database ... dpkg: error processing /var/cache/apt/archives/python-uno_2.2.0-1ubuntu5_i386.deb (--unpack):
 unable to open files list file for package `python-uno': Permission denied
Errors were encountered while processing:
 /var/cache/apt/archives/python-uno_2.2.0-1ubuntu5_i386.deb
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
keith@Krypton:~$
I don't understand how permission can be denied when it re-downloaded the file fresh and I'm doing it as sudo.

Last edited by thekid; 10-11-2007 at 08:01 AM.
 
Old 10-11-2007, 08:07 AM   #4
z-vet
Member
 
Registered: Aug 2004
Location: Israel
Distribution: LMDE 5
Posts: 271

Rep: Reputation: 34
Maybe removing /var/cache/apt/archives/python-uno_2.2.0-1ubuntu5_i386.deb and doing an 'apt-get update' again will help...
 
Old 10-11-2007, 08:33 AM   #5
thekid
Member
 
Registered: Jun 2005
Location: The Golden State
Distribution: Ubuntu 8.04
Posts: 190

Original Poster
Rep: Reputation: 30
Tried that, and as soon as it gets downloaded it bombs out with the above error message about permission being denied.
 
Old 10-17-2007, 10:17 AM   #6
thekid
Member
 
Registered: Jun 2005
Location: The Golden State
Distribution: Ubuntu 8.04
Posts: 190

Original Poster
Rep: Reputation: 30
Well, since I haven't been able to fix this, I'm gonna go ahead and install Kubuntu 64 bit edition and see how I like it.
 
  


Reply



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
Power loss then spotty network connectivity Luken8r Linux - Networking 2 11-15-2006 09:27 AM
Squid don't start after power loss sveinxp Linux - Networking 4 08-31-2004 03:55 PM
RedHat Problem after a power loss jocast Linux - Software 21 06-12-2004 09:38 AM
Total loss of power on HD seek ??? KendersPlace Linux - Hardware 4 04-27-2004 02:03 AM
Power loss, now no email etc Bake-SaleNet Linux - Networking 2 02-01-2004 06:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:03 PM.

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
Open Source Consulting | Domain Registration