Solved

Can't update my Linux OS (Kubuntu)

Posted on 2012-04-06
2
275 Views
Last Modified: 2016-11-23
Hello to all,

I am new on Linux and want to get acquainted with this new universe, I chose the  Kubuntu distribution, version 11.10.
I downloaded it and I try to install on a PC Dell Dimension E520 (Intel Core 2 6300, 1.86 GHZ, 3 G of memory).
The installation (from an USB key, on a partition occupying a complete disk of 250 G) was normally made but during the first restart, the system gives a message indicating that updates are available.
When I launch the installation of these updates the updater program begins the processing and blocks on the stage " Preparation of the configuration of kde-window-manager " at exactly 43 % of the process.
After more than three hours of wait, nothing changes on the screen after this period. The only way which I found to end the program was to cut the power supply of the computer.

When I restart, I have no more access to the update management programs because every essay gives the message " impossible to obtain the lock. It seems that another application uses the system of package at the moment. You have to close all other administrators of package before being able to install or deleting some package. " (translation from french message).

In the system there does not seem to have other active program. The problem occurs with the 32 bits version 32 bits and the 64 bits version! I would appreciate your help so that I can pursue my learning.

Thanks in advance.

R.G.
0
Comment
Question by:samlioni
2 Comments
 
LVL 3

Accepted Solution

by:
tobyweston earned 500 total points
ID: 37815845
Seems the lock has not been cleared on the apt process.

Run the following command in the terminal window and then try the update manager again:

sudo fuser -cuk /var/lib/dpkg/lock; sudo rm -f /var/lib/dpkg/lock
0
 

Author Closing Comment

by:samlioni
ID: 37819099
Thanks a lot.  The instruction doesn't solve all the problem but after the execution, I try to apply upgrade and I was able to pass over all the upgrades.

Thanks a lot again.
R.G.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you sitting there reading this and wondering how to get started with Linux? It almost seems like picking the right Linux distribution is about like picking the right college or buying a new car if you read some of the article out there. Relax… l…
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question