Unfixable error in libcurl package.
Binary package hint: libgtop2-common
When I try to fix all broken packages, this error seems to prevent me from doing so. It says that there is a certain line in the 'status' file in it's directory that has been incorrectly written. I have tried to fix this, but I cannot seem to gain permission to edit this file.
I am running Ubuntu 9.04 (Jaunty Jackalope).
I am running version 7.18.2 of the package.
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/sbin/synaptic
NonfreeKernelMo
Package: synaptic 0.62.5ubuntu3
ProcAttrCurrent: unconfined
ProcEnviron:
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: synaptic
Uname: Linux 2.6.28-14-generic i686
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu libgtop2 Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Mark Rijckenberg
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#2 |
Hi,
First please make sure to close all open programs, including all package managers like Synaptic, Add/remove programs, etc ...
Then please try this procedure:
Step 1: Open Terminal from "Applications-
Terminal"
Step 2: Run the following commands (copy-paste each line below to the Terminal then hit <enter> after each line)
sudo cp /var/lib/
sudo rm /var/lib/
sudo aptitude clean
sudo aptitude autoclean
sudo apt-get update
sudo rm /var/lib/
sudo mkdir /var/lib/
sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo aptitude install -f
sudo aptitude update
sudo aptitude dist-upgrade
Step 3: Please post results (copy/paste terminal output from each command) on this thread
Hope it helps,
Regards,
Mark
Revision history for this message
|
#3 |
If sudo won't gain permissions, may be run
sudo telinit 1
before run aptitude?
Revision history for this message
|
#4 |
Mark,
When I copy/paste the first line into the Terminal and hit Enter, it asks for my password, but won't let me type it in. In fact, it won't let me type anything.
Revision history for this message
|
#5 |
This is a normal security feature. It IS allowing you to enter the password, but is not showing it. This is for security reasons.
So when sudo asks for your password, enter the password you use to log into Ubuntu. Then press the <enter> key.
Revision history for this message
|
#6 |
Mark,
Here are the results (there are some typing errors on my part, but you should be able to spot them):
peter@peter-
[sudo] password for peter:
peter@peter-
sudo: unable to execute /bin/rm: Argument list too long
peter@peter-
sudo: cp/var/
peter@peter-
peter@peter-
sudo: unable to execute /bin/rm: Argument list too long
peter@peter-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Initialising package states... Done
Writing extended state information... Done
peter@peter-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
Freed 0B of disk space
peter@peter-
Hit http://
Ign http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Reading package lists... Done
peter@peter-
rm: cannot remove `/var/lib/
peter@peter-
rm: cannot remove `/var/lib/
peter@peter-
mkdir: cannot create directory `/var/lib/
peter@peter-
peter@peter-
Setting up vboxgtk (0.4.1-1ubuntu1) ...
peter@peter-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
peter@peter-
Get:1 http://
Get:2 http://
Get:3 http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Ign http://
Get:25 http://
Ign http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Get:35 http://
Get:36 http://
Get:37 http://
Fetched 9938kB in 12s (773kB/s)
Reading package lists... Done
Current status: 3 updates [+3].
peter@peter-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
The following packages will be upgraded:
libxml2 libxml2-utils python-libxml2
3 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1179kB of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Get:1 http://
Get:2 http://
Get:3 http://
Fetched 1179kB in 1s (1009kB/s)
(Reading database ... 124315 files and directories currently installed.)
Preparing to replace libxml2 2.6.32.
Unpacking replacement libxml2 ...
Preparing to replace libxml2-utils 2.6.32.
Unpacking replacement libxml2-utils ...
Preparing to replace python-libxml2 2.6.32.
Unpacking replacement python-libxml2 ...
Processing triggers for man-db ...
Processing triggers for python-support ...
Setting up libxml2 (2.6.32.
Setting up libxml2-utils (2.6.32.
Setting up python-libxml2 (2.6.32.
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Processing triggers for python-support ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
Current status: 0 updates [-3].
peter@peter-
Revision history for this message
|
#7 |
Thanks Mark Rijckenberg, that solved my question.