LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-14-2009, 03:32 AM   #1
mohit052
LQ Newbie
 
Registered: Nov 2008
Posts: 25

Rep: Reputation: 15
Synaptic Package manager database corrupted


Hi,

I was goofing around with my ubuntu 9.04 . I had mint 6 installed a month back . while switching from mint to ubuntu i had copied all the packages from /var/cache/apt/archives(where synaptic stores its downloaded packages) to my pod. Well yes i sould have written the packages to my disk using aptOnCd, but i had too much faith in linux's flexibility that things can be done in more than one way. so i though mearly copying the .deb,s would suffice

The after installing ubuntu. i copied these files into the cache of synaptic in ubunut and tried selecting the packages and installing them. it gave a error that the another version of snaptic was runnig(which was not the case). I figured that the lok file in cache must be the problem. i deleted it(yikes!!) and tried the same abouve procedure.
It started working fine. a few files already there in the archive were not downloaded but straigh away used for installation. After installation things were working fine. no errors. i closed the manager.

BUT FROM NEXT REBOOT , the systems gui is not working. i tried reinstalling xserver.. not working(it says error in database uninstalling xorg failed).. tried removing ati-driver files .. not working(same here ) ... tried cleaning synaptic package manager cache(no error here but symatec still not working) .. still not working..
ctl+alt+backspace(restarting xserver) is not wokrking at all ...

what do i do ?? any way to set this right ..
 
Old 08-14-2009, 04:51 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by mohit052 View Post
Hi,

I was goofing around with my ubuntu 9.04 . I had mint 6 installed a month back . while switching from mint to ubuntu i had copied all the packages from /var/cache/apt/archives(where synaptic stores its downloaded packages) to my pod. Well yes i sould have written the packages to my disk using aptOnCd, but i had too much faith in linux's flexibility that things can be done in more than one way. so i though mearly copying the .deb,s would suffice

The after installing ubuntu. i copied these files into the cache of synaptic in ubunut and tried selecting the packages and installing them. it gave a error that the another version of snaptic was runnig(which was not the case). I figured that the lok file in cache must be the problem. i deleted it(yikes!!) and tried the same abouve procedure.
It started working fine. a few files already there in the archive were not downloaded but straigh away used for installation. After installation things were working fine. no errors. i closed the manager.

BUT FROM NEXT REBOOT , the systems gui is not working. i tried reinstalling xserver.. not working(it says error in database uninstalling xorg failed).. tried removing ati-driver files .. not working(same here ) ... tried cleaning synaptic package manager cache(no error here but symatec still not working) .. still not working..
ctl+alt+backspace(restarting xserver) is not wokrking at all ...

what do i do ?? any way to set this right ..
You could try booting in single-user mode, logging in as root and trying
Code:
aptitude clean
and if that works then
Code:
aptitude update
and then trying to install (or reinstall) your packages using aptitude
Code:
aptitude install {package name}
cheers,
jdk
 
Old 08-14-2009, 08:50 AM   #3
mohit052
LQ Newbie
 
Registered: Nov 2008
Posts: 25

Original Poster
Rep: Reputation: 15
thanks for the reply

But i have already done those things. .... its still not working ,,
 
Old 08-14-2009, 09:57 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by mohit052 View Post
But i have already done those things. .... its still not working ,,
Would you mind giving some details of the error messages you receive with apitude? "it's still not working" is not extremely helpful.
jdk
 
Old 08-14-2009, 09:59 AM   #5
mushroomboy
Member
 
Registered: Jan 2006
Distribution: Debian Testing ALWAYS!!!
Posts: 363

Rep: Reputation: 43
dpkg-reconfigure apt-get... or is it just apt?

dpkg-reconfigure xorg...? Might see if dpkg can reconfigure some of your base packages
 
Old 08-17-2009, 11:55 PM   #6
mohit052
LQ Newbie
 
Registered: Nov 2008
Posts: 25

Original Poster
Rep: Reputation: 15
hmmm

Hi ,

Well for the last comment i could not try the dpkg-reconfigure... because after i rebooted the sytem on my third attempt. i could not get ctrl+alt+F1(or any other F's) working.. so i cannot even paste any of the apt-get messages..

:-( reinstalled the system finally...

thanks for the help anyway..
 
  


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
Synaptic Package Manager kiwipete Linux - Newbie 6 05-17-2008 09:12 PM
no synaptic package manager unisol Debian 1 01-09-2007 08:23 AM
synaptic package manager... usien Linux - General 1 01-07-2007 02:51 PM
LXer: Simple Package management with Synaptic Package Manager LXer Syndicated Linux News 0 12-05-2006 07:33 PM
synaptic package manager forcing me to delete a broken package mbman Linux - Software 6 04-25-2006 10:30 AM

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

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