Solved

Can't update my Linux OS (Kubuntu)

Posted on 2012-04-06
2
285 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

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…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

729 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