I keep getting the following
:$ apt-get install linux-image-3.7.10-antix.5-486-smp linux-headers-3.7.10-antix.5-486-smp
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libqt4-gui
Use 'apt-get autoremove' to remove it.
Suggested packages:
linux-firmware-image
The following NEW packages will be installed:
linux-headers-3.7.10-antix.5-486-smp linux-image-3.7.10-antix.5-486-smp
0 upgraded, 2 newly installed, 0 to remove and 66 not upgraded.
E: Could not open lock file /var/cache/apt/archives/lock - open (13: Permission denied)
E: Unable to lock directory /var/cache/apt/archives/
How do I correct this problem>>
topic title: SOLVED __ "locked" files and directories
5 posts
• Page 1 of 1
-
Posts: 667
- Joined: 01 Nov 2013
#1
Last edited by jdmeaux1952 on 06 Nov 2013, 19:30, edited 1 time in total.
-
Posts: 1,308
- Joined: 31 Aug 2009
#2
Are you running the command as root? If not then prepend it with the"sudo" command. It will ask you for your user password, not the root password.
Code: Select all
sudo apt-get [etc]
-
Posts: 765
- Joined: 27 Dec 2011
#3
It looks like it, with the $ no? root has a # iIrc?
-
Posts: 667
- Joined: 01 Nov 2013
#4
sudo apt-get install linux-image-3.7.10-antix.5-486-smp linux-headers-3.7.10-antix.5-486-smp" and still got the
"The following NEW packages will be installed:
linux-headers-3.7.10-antix.5-486-smp linux-image-3.7.10-antix.5-486-smp
0 upgraded, 2 newly installed, 0 to remove and 66 not upgraded.
E: Could not open lock file /var/cache/apt/archives/lock - open (13: Permission denied)
E: Unable to lock directory /var/cache/apt/archives/"
And I'm kind of lost as what next to do.
Yes. I did the sudo apt-get update, then the sudo apt-get upgrade. But then got the"lock file" deal. I went to the antix main page (after watching dolphins YT video on the upgrade) and tried the"32 bit version --BitJam wrote:Are you running the command as root? If not then prepend it with the"sudo" command. It will ask you for your user password, not the root password.Code: Select all
sudo apt-get [etc]
sudo apt-get install linux-image-3.7.10-antix.5-486-smp linux-headers-3.7.10-antix.5-486-smp" and still got the
"The following NEW packages will be installed:
linux-headers-3.7.10-antix.5-486-smp linux-image-3.7.10-antix.5-486-smp
0 upgraded, 2 newly installed, 0 to remove and 66 not upgraded.
E: Could not open lock file /var/cache/apt/archives/lock - open (13: Permission denied)
E: Unable to lock directory /var/cache/apt/archives/"
And I'm kind of lost as what next to do.
-
Posts: 667
- Joined: 01 Nov 2013
#5
Oops...Noobie mistake...
I logged out of the desktp and then relogged in. Now it appears to be working,,
IT'S ALIVE! The log-out/log-in worked. Terminal has completed.
I logged out of the desktp and then relogged in. Now it appears to be working,,
IT'S ALIVE! The log-out/log-in worked. Terminal has completed.