How to fix "corrupted?" apt-get
Is there a way to fix or re-install apt-get on my Ubuntu 14.04 OS.
Update: hangs up waiting forever for headers with lots of ign and err and hit. no gets. Upgrade: hangs up waiting forever for headers. Says packages are "Not Authenticated". Packages show up in Synaptic as not installed when they actually work (libreOffice Base for instance). Thanks for help with fixing this. R |
it seems my prediction from your previous thread came true faster than even i would have thought.
ON LINUX YOU DON'T JUST INSTALL STUFF NILLY-WILLY FROM THE WILD WEB!!!!! and if you'd heeded any of the suggestions i've given you repeatedly, you'd know that by now. :banghead: |
1 Attachment(s)
Sorry to make you mad ondoho but I didn't intend to:
Quote:
This computer I am writing to you from works as far as the internet access goes. But I can't use apt_get. Quote:
the 16.04 'live' program on my flashdrive does now accsss the internet properly. Here is a screenshot of what is happening with apt-get. Thanks (hopefully) for your help on this). R |
It's a bit of a long shot, but you could try, as root,
Code:
apt-get -f <----for "fix broken packages" What are the contents of your /etc/apt/sources.list file? Do you have any non-standard repos listed in it. Be sure to surround any terminal output with "code" tags, which become available when you click the "Go Advanced" button below the compose post window. |
Thanks for reply.
Doesn't work. R |
"Doesn't work." isn't really very helpful. Please give exact error that is given when trying it if you want to get any useful help.
|
ok, i misread your first post and consequently overreacted.
but the gist is the same: only half an hour before this thread started, i gave you advice, incl. 5 links that would take a considerable amount of time to read & apply to your present knowledge and state of things. looking at your apt-get output, there's only 2 lines that give errors, and both contain "google" and "testing". Testing? smells fishy. anyhow, remove the freaking google sources and do what was suggested a few posts up, and hope to god that google hasn't f*cked up your system. |
Sorry ondoho,
I did not see your last post #41 so did not read the information. I will do that now. R |
[SOLVED]
I went to Troubleshooting in Repositories and as suggested took out all entries in Software & Updates/Other Software except for the Canonical Partners entries. apt-get then worked. I also received a script called 'fixpackage' from Ubuntu One under 'apt-get' as follows: (Hope this can help somebody else who gets in this sort of trouble.) Code:
#!/bin/bash It actually updated Firefox to v 52 without trouble. Thank you all very much for your help in resolving this for me. R |
glad to hear it.
google chrome, when downloaded & installed from the wild web, always adds their own sources, i consider that irresponsible: "Most important thing: You have google now. System breaks? Meh." |
Quote:
Glad you got it working. If you would, please mark this thread as "SOLVED" by clicking on "Thread Tools" directly above your initial post. Thanks! :) Regards... |
All times are GMT -5. The time now is 02:05 PM. |