UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
for starters im a linux nab, but other than that im very pc literate. i Keep getting this error when trying to enter this command, there is only 1 available user which is my own, it is a more or less a fresh install of ubuntu gutsy 7.10
Quote:
hangman@hangman-laptop:~$ apt-get -f install
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Quote:
dpkg: error processing xcwcp (--configure):
subprocess post-installation script returned error exit status 10
Errors were encountered while processing:
xcwcp
E: Sub-process /usr/bin/dpkg returned an error code (1)
im getting random errors like this. can neone help with to the solution please,
tealsteam@tealsteam-laptop:~$ sudo apt-get -f install
[sudo] password for tealsteam:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up xcwcp (2.3-6) ...
dpkg: error processing xcwcp (--configure):
subprocess post-installation script returned error exit status 10
Errors were encountered while processing:
xcwcp
E: Sub-process /usr/bin/dpkg returned an error code (1)
tealsteam@tealsteam-laptop:~$
thanks for the tip but unfortunately thats not worked either.
tealsteam@tealsteam-laptop:~$ sudo apt-get -f remove xcwcp
[sudo] password for tealsteam:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
xcwcp
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 233kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 161934 files and directories currently installed.)
Removing xcwcp ...
tealsteam@tealsteam-laptop:~$ sudo apt-get install xcwcp
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
xcwcp
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/78.2kB of archives.
After unpacking 233kB of additional disk space will be used.
Selecting previously deselected package xcwcp.
(Reading database ... 161929 files and directories currently installed.)
Unpacking xcwcp (from .../archives/xcwcp_2.3-6_i386.deb) ...
Setting up xcwcp (2.3-6) ...
dpkg: error processing xcwcp (--configure):
subprocess post-installation script returned error exit status 10
Errors were encountered while processing:
xcwcp
E: Sub-process /usr/bin/dpkg returned an error code (1)
tealsteam@tealsteam-laptop:~$
There seems to be a problem with the xcwcp package. For some reason the post installation script is not running properly. Do you need this package? If not, then just remove it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.