?
Solved

Can't update my Linux OS (Kubuntu)

Posted on 2012-04-06
2
Medium Priority
?
315 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 2000 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

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Question has a verified solution.

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

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

840 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