Linked Questions
278 questions linked to/from Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?
4
votes
1
answer
11k
views
Ubuntu 19.10 Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
First I did
debian@osboxes:~/Desktop$ mysql -u root -p
Command 'mysql' not found, but can be installed with:
sudo apt install mysql-client-core-8.0 # version 8.0.18-0ubuntu0.19.10.1, or
sudo ...
1
vote
1
answer
7k
views
can't install y-ppa-manager via terminal
After running the following code
sudo add-apt-repository ppa:webupd8team/y-ppa-manager
sudo apt-get update
sudo apt-get install y-ppa-manager
couldn't access to y-ppa-manager, the program doesn't ...
2
votes
2
answers
2k
views
How to remove the lock automatically after pressing ctrl+z?
For some reason we terminate the installation of package via apt-get by pressing ctrl+z,it creates a lock file inside /var/lib/dpkg/ and /var/cache/apt/archives/ directories.
And after that if we ...
1
vote
1
answer
5k
views
Unable to complete sudo apt-get update
I have just installed Ubuntu 12.0.4 LTS (Precise Pangolin). I tried to run sudo apt-get update on shell and it ends up with following errors after couple of seconds:
Err http://pk.archive.ubuntu.com ...
2
votes
0
answers
8k
views
Can't install any update or software from Software Center [duplicate]
I tried to install updates and it's saying to get partial upgrade
When trying Partial Upgrade doesn't working again.
And when trying to install any software it doesn't installing.
Can someone help me?
...
0
votes
1
answer
4k
views
Not able to kill Mysql process
I was trying to uninstall mysql using sudo apt-get --purge remove mysql-server but getting following error
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: ...
0
votes
1
answer
6k
views
dpkg error: "Could not exec dpkg! E: Sub-process /usr/bin/dpkg returned an error code (100) "
I am using ubuntu 13.10, and I have deleted the dpkg directory. I removed /var/lib/dpkg, after the system gave me an error like:
Could not open lock file /var/lib/dpkg/lock
when i was installing ...
1
vote
1
answer
4k
views
Unable to remove the lock by normal means
I've been installing ubuntu restricted extras via the software center. Everything was going well at first, but then the installation process froze on 'applying changes' stage. I've had this in the ...
1
vote
2
answers
6k
views
Unable to sudo tasksel
When I type the command sudo tasksel, I get a list of server packages that I can install. I only have the basic Ubuntu server installed at moment. My version is 12.04. When I select, for example, ...
5
votes
3
answers
3k
views
sudo apt-get update cancelled half way through, now cannot run sudo apt-get update [duplicate]
I'm a new user of ubuntu. It's been working fairly well so far. Today I've tried doing 'sudo apt-get update' and it's freezing after fetching data. This is the output:
sudo apt-get update
Hit:1 ...
3
votes
2
answers
5k
views
Ubuntu 16.04: can't open the terminal after trying to install Python
Yesterday I installed Ubuntu, but now I cannot open Terminal... I click on the Terminal icon and it doesn't start, and ctrl+alt+t isn't working either.
I've read different ways to fix this (and none ...
0
votes
2
answers
1k
views
How to do multiple APT operations? [duplicate]
I want to perform multiple apt operations, llike sudo apt install ubuntu-gnome-desktop in one terminal and sudo apt remove lubuntu-desktop in another terminal. When I try to do this I get this (Please ...
2
votes
1
answer
3k
views
Corrupt Pidgin - Unable to remove
I recently installed Pidgin and tried to install pidgin-facebookchat. Ubuntu software center now says that pidgin is corrupt so I press repair but nothing gets fixed.
I've tried sudo apt-get purge ...
3
votes
1
answer
2k
views
Terminal stops every time a yes/no question appears
I have encountered a problem when using the terminal to install programs. Whenever a yes/no option like the one below appears, not just with this program, but with any I try, the terminal stops after ...
4
votes
2
answers
2k
views
Error Updating to Ubuntu 18.04 from 16.04 'Failed to lock /var/cache/apt/archives/lock'
My system said that the upgrade is ready. Did anyone find a solution to this?
I have tried using the update manager. But dist-upgrade does not even attempt to upgrade and finally I also tried
...