Solved

Can't update my Linux OS (Kubuntu)

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

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…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

856 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