[arch-general] update of chroot fails - error: cannot remove file '/sys/': Read-only file system

Allan McRae allan at archlinux.org
Fri Jun 29 21:07:20 EDT 2012


On 30/06/12 10:58, Genes MailLists wrote:
> On 06/29/2012 06:25 PM, David C. Rankin wrote:
> ...
> 
>> error: cannot remove file '/sys/': Read-only file system
>> error: could not commit transaction
>> error: failed to commit transaction (transaction aborted)
>> Errors occurred, no packages were upgraded.
>>
>>
> 
>   I may be off base but can you check if your / filesystem is full?
> 
>  gene/
> 
> 


Just because the answers are getting more ridiculous....


Open /usr/sbin/mkarchroot and change:

	mount -o remount,ro,bind "${working_dir}/sys"
to
	mount -o remount,bind "${working_dir}/sys"


Allan



More information about the arch-general mailing list