When i try to apt-get update its giving me this error
Closed as off-topic by shellter, HPierce, DarthJDG, J. Chomel, greg-449 May 16 '17 at 7:34. This question appears to be off-topic. The users who voted to close gave this specific reason: 'Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on Super User.'
First of all, i'm root on the system
What i tried?
Rebooting the server
sudo dpkg --configure -a
- sudo mv /etc/apt/sources.list.d/medibuntu.lis /etc/apt/sources.list.d/medibuntu.list
Any solution?
closed as off-topic by shellter, HPierce, DarthJDG, J. Chomel, greg-449May 16 '17 at 7:34
This question appears to be off-topic. The users who voted to close gave this specific reason:
- 'Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on Super User.' – DarthJDG, J. Chomel, greg-449
2 Answers
Remove your /var/lib/apt/lists/lock
file and force package reconfiguration.
This should work.
You can also try:You can delete the lock file with the following command:
You may also need to delete the lock file in the cache directory
After that, try opening Synaptic again.
Do the following
After that reinstall it
Search for Programs and Updates Change Download from: Main server On the Other Programs tab Activate Caninical Partners and leave all others disabled Update system Then add your PPAs one by one and update if problems are disabled, if there are no problems leave it enabled Finally in terminal: sudo apt-get update && sudo apt-get upgrade
Resource is temporarily unavailable, that's the prob. ubuntu automatically check for updates once the system boot up, best way is wait for few minutes while it search for update then run your update command
other possibility is to search for process
then see if there any process running as apt-get
kill that process it by using`
Not the answer you're looking for? Browse other questions tagged linuxubuntuapt-get or ask your own question.
Track tasks and feature requests
Join 36 million developers who use GitHub issues to help identify, assign, and keep track of the features and bug fixes your projects need.
Sign up for free See pricing for teams and enterprisesHave a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
commented Jan 23, 2019
added kind/internal cleanupinfra/BUILDPONYpriority/P3 labels Jan 23, 2019
referenced this issue Jan 23, 2019
MergedFix C# and Python interop_matrix for v1.18.0 release and other cleanup #17788
commented Jan 25, 2019
Seen again, maybe not so rare afterall. |
referenced this issue Jan 25, 2019
MergedRefactor ContextPropagationToken to allow moving to Grpc.Core.Api package #17766
commented Jan 25, 2019
I'm seeing this quite often too. Is this just increased load in testing? |
commented Jan 25, 2019
could we maybe add a retry loop over there after a sleep? |
commented Jan 25, 2019
PR 17815 submitted |
added this to To do in Bazel RBE Flakiness Reduction via automationJan 25, 2019
referenced this issue Jan 28, 2019
Mergedadding ptrace to asan #17815
added priority/P2 and removed priority/P3 labels Jan 28, 2019
referenced this issue Jan 28, 2019
Mergedadded retry statements to jq installation commands #17836
commented Jan 29, 2019
Should be fixed by #17836. |
Bazel RBE Flakiness Reductionautomation moved this from To do to DoneJan 29, 2019
commented Feb 2, 2019
Have to reopen, just noticed several instances of this today in #17894 |
Bazel RBE Flakiness Reductionautomation moved this from Done to To doFeb 2, 2019
referenced this issue Feb 4, 2019
Closedinterop_matrix: add gcloud debug info #17905
referenced this issue Feb 5, 2019
MergedDisable c-ares on iOS #17894
referenced this issue Feb 5, 2019
Mergedgrpc-performance-kokoro-v4 kokoro perf image changes #17928
commented Feb 6, 2019
Likely fixed by switching to 'grpc-performance-kokoro-v4' image that has auto-updates disabled. See #17928 |
Bazel RBE Flakiness Reductionautomation moved this from To do to DoneFeb 6, 2019
changed the titleOccasional flake in 'prepare_build_linux_rc' scriptFeb 6, 2019
changed the titleFlake in VM preparation: apt-get repository is lockedFeb 6, 2019
commented Mar 15, 2019
noticed one like occurrence: in PR: #18384 |
referenced this issue Mar 15, 2019
MergedTrace log the status of every c-ares lookup; cleanup error handling #18384
commented Mar 18, 2019
I thought we disabled autoupdates in our linux image here: Line 218 in 8c3d4a7
|
commented Mar 27, 2019
I had multiple occurrences of this on #18493 after the temporary disabling and re-enabling of kokoro |
commented Mar 28, 2019
Still seeing this in a run about 10 min ago. |
Bazel RBE Flakiness Reductionautomation moved this from Done to To doMar 29, 2019
referenced this issue Mar 29, 2019
MergedUpdate jessie-backports URL #18530
referenced this issue Apr 1, 2019
MergedRemove noisy log message. #18581
This was referenced Apr 2, 2019
commented Apr 5, 2019
I'm seeing this a lot lately. It's happened to me several different times in #18628 alone, and I've seen similar behavior in other PRs. |
added priority/P1 and removed priority/P2 labels Apr 5, 2019
commented Apr 5, 2019
For context: Note that disabling auto-updates does only requires general ubuntu knowledge (no kokoro internals knowledge is required), so this item is up for grabs - someone just needs to spend sufficient time on this. |
commented Apr 9, 2019
Found an additional place where we might need to disable the autoupdates: |
referenced this issue Apr 9, 2019
Mergedgrpc-performance-kokoro-v5 kokoro perf image changes #18695
commented Apr 9, 2019
I think I have a fix coming: #18695 |
commented Apr 9, 2019
We switched to v5 image internally, so hopefully this is fixed. |