LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-17-2009, 08:53 PM   #1
vansch76
Member
 
Registered: Aug 2007
Location: Asheville, NC, USA
Distribution: Mint 17 Rebecca
Posts: 145

Rep: Reputation: 18
Problem with file permission to fix Synaptic Package Manager


Hi Everyone

I managed to break Synaptic Package Manager. Im using Ubuntu Studio 2.1.
I was doing an update/upgrade and installed a file set that included
the file "zenity". After the upgrade, Synaptic complained that..

Reading package list...error

e : problem parsing dependency depends.
e : error occurred while processing file zenity (newversion1).
e : problem with mergelist /var/lib/dpkg/status
e : the package lists or status file could not be parsed or opened.

I finally managed to copy /var/lib/dpkg/status file to my desktop for a backup
and then change the permission so I could edit it.

I looked at my laptop and found a similar file listing that as comma's
instead of hyphens.

I looked at the line listed and changed the hyphen to a comma.

I was not able to edit the file while it was in the /var/lib/dpkg folder,
so I deleted the original since I had the corrected copy.

Now to the next problem.

I cant copy the file from my desktop to /var/lib/dpkg.
When I try to copy the /Desktop/status file it says it does not exist.
I dont know what the file extension is for status either.

Im mostly sure its a root vs normal user thing, but I dont kn know
how to fix that part.

So that is where I need your advice.
That is assuming that I have the first part right.

So what do you think guys?

Thanks in advance

Vanessa
 
Old 03-20-2009, 09:40 PM   #2
vansch76
Member
 
Registered: Aug 2007
Location: Asheville, NC, USA
Distribution: Mint 17 Rebecca
Posts: 145

Original Poster
Rep: Reputation: 18
Hi Everyone

I was able to resolve this issue with help from Ninboy from Ubuntuforum.org.

Part of the solution was

sudo mv ~/Desktop/status /var/lib/dpkg/status; chown root:root /var/lib/dpkg/status

I was able to copy the edited file back to where it belonged. Then I ran sudo dpkg --configure -a

this still produced some syntax errors with the original zenity file. I tried to fix it but
was unable to. I ended up deleting the zenity entries. this produced a broken package that
I was able to fix under synaptic.

So after several days my system is happy again.

Vanessa
 
  


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
problem: can't find any program in synaptic Package manager davidbelo Ubuntu 2 12-15-2008 02:34 PM
no sound and no permission to synaptic manager package in inspiron 1420 grass carp Linux - Newbie 1 07-23-2008 03:10 PM
Problem with Synaptic Package Manager... sometimes! rsf21 Linux - Newbie 11 01-09-2008 11:38 PM
Open office and synaptic package manager problem Greebstreebling Debian 14 04-15-2007 07:43 AM
Synaptic Package Manager Problem tarobs Linux - Newbie 3 08-11-2006 12:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09: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
Open Source Consulting | Domain Registration