Solved

Can't update my Linux OS (Kubuntu)

Posted on 2012-04-06
2
280 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 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