Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've gotten into a real bind here, I'm not exactly certain when this happened but I've been really perplexed on how to fix this issue. At the moment I can't get apt-get to work at all. As in, there is absolutely no response at all after entering any apt-get command, just a new command line. When I try to run the software center, I get a segmentation fault.

sudo dpkg --configure -a  

also does not give anything at all, only a new command line.

I've gone down these routes :

and have removed both pkgsource.cache and srcpkgsource.cache from /var/cache/apt

Everything else I've found uses apt-get in some way. I had not considered making a backup of the actual Ubuntu filesystem before, just my own materials, but I'll certainly be doing so in the future.

I'd like to not have to reinstall, are there any solutions?

share|improve this question
    
Check the filesystem with fsck. –  Danatela Oct 17 '13 at 9:35
    
I don't have any other linux partitions. From what I've been told I should not run fsck on the currently mounted partition. So is it that I'd pretty much have to go thru rescue mode from the installation cd? –  user203496 Oct 18 '13 at 1:05
    
You can choose recovery mode in GRUB even without installation CD. Also sudo mount -o ro,remount / does the trick. –  Danatela Oct 18 '13 at 3:20
    
after many hours of frustration I just reinstalled. Thanks though for your help. –  user203496 Oct 20 '13 at 17:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.