Hi Mark

Assuming you've cleared some space in your hard drive now. Apologies if you've 
already tried this, but worth checking permissions on the command line for 
/usr/bin using ls -l

Assuming also you've not got the write permissions you need, try running
Sudo chmod 774 -R /usr/bin (assuming a ubuntu based system)
 to change the user and group permissions to read write and execute on that 
directory recursively.  You may be able to re-run your apt-upgrade.

Good article on chmod if you are unfamilar 
https://helpdeskgeek.com/linux-tips/understanding-linux-permissions-chmod-usage/
 which might help

Chris

On 14 October 2017, at 02:52, Mark Rogers via Peterboro 
<peterboro@mailman.lug.org.uk> wrote:

Background: Performed apt upgrade not realising my disk was full. I assume 
that's when the problem started but don't know for sure.


When I now run an apt upgrade it fails because it can't create directories in 
/usr/bin (permission denied). I have confirmed that I also can't create them 
(as root).


The filesystem checks out ok, and the partition is writeable (confirmed by 
creating directories elsewhere). Directory permissions look ok too.


Suggestions?


Mark

-- 
Peterboro mailing list
Peterboro@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/peterboro

Reply via email to