Problem with disk space. apt-get clean doesn't work

Asked by Agata

Hi
I've been trying to install system actualization but the system keeps informing me that I have not enough room to do so and I need to use command apt-get clean to delete all previous actualizations.
I used this command but with no result .
 I have polish version of Ubuntu 12.04. The answer to the command is :

 E: Nie udało się otworzyć pliku blokady /var/cache/apt/archives/lock - open (13: No access)
 (E: The file cannot be opened .....)

Waiting forward for your advise
Agata

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu dpkg Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#1

Hi , try these commands

   LC_ALL=C
   sudo apt-get --purge autoremove
   sudo apt-get autoclean ; sudo apt-get clean
   sudo apt-get purge $(dpkg -l | awk '/^rc/ { print $2 }')

Then if you have enough space to install a tool named Ubuntu-Tweak , you can do it with the following commands

  sudo add-apt-repository ppa:tualatrix/ppa
  sudo apt-get update
  sudo apt-get install ubuntu-tweak

You can open ubuntu-tweak and click on "JANITOR" to remove unused files and old kernels .

Regards
 NikTh

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Also what is the output of:

df -h

Thanks

Revision history for this message
samuel (samuel-h) said :
#3

You need to run sudo apt-get clean, not just apt-get clean to gain adminsastrator rights.

Revision history for this message
Jeet (gour-jitendrasingh) said :
#4

sudo dpkg --configure -a

and check if another installation running or not

Thanks

~Jeet

Revision history for this message
Agata (malichy7) said :
#5

Hi guys
thanx for your support . I tried some of the commands unfortunatelly the result was that I had to reinstall the system.
And I have another challange ;-). After the reinstallation Ubuntu 12.10 it seems that my computer doesn't see wifi. There is possibility to connect with the Internet on wire but there is no option to connect wireless. Could you pls help me with that. I don't see networ manager or any other system tool to manage the problem.
Agata

Revision history for this message
Jeet (gour-jitendrasingh) said :
#6

Agata,

If problem is diffrent now.. please close this question and open new. Hope
you understand

Thanks
~Jeet
On Apr 7, 2013 3:41 PM, "Agata" <email address hidden>
wrote:

> Question #225865 on dpkg in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/dpkg/+question/225865
>
> Agata posted a new comment:
> Hi guys
> thanx for your support . I tried some of the commands unfortunatelly the
> result was that I had to reinstall the system.
> And I have another challange ;-). After the reinstallation Ubuntu 12.10 it
> seems that my computer doesn't see wifi. There is possibility to connect
> with the Internet on wire but there is no option to connect wireless. Could
> you pls help me with that. I don't see networ manager or any other system
> tool to manage the problem.
> Agata
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>

Can you help with this problem?

Provide an answer of your own, or ask Agata for more information if necessary.

To post a message you must log in.