4

I want to clean the cache and trash files on my laptop. As I tried to type

sudo apt-get autoclean

or

sudo apt-get autoremove

I got an error message on the Terminal saying:

There was an error creating child process for this terminal

What does this mean? How can I fix it?

I am using Ubuntu 14.10 (upgraded from 14.04) on a Toshiba Satellite.

This is the error I get:

image of a terminal with the error message quoted above

Thanks.

terdon
  • 100,812
Carlos
  • 131
  • Can you check if the following helps: Click profile preferences, go to tab "command", untick "run a custom command", exit and relaunch the terminal. – fret Nov 03 '14 at 18:11

1 Answers1

6

It looks like your terminal profile is trying to run an empty shell command - choose the 'Profile Preferences' button and then navigate to the 'Title and Command' tab and make sure that the 'Run a custom command instead of my shell' is not selected (or if it is selected, that it contains the path to a valid shell program)

gnome-terminal profile preferences

steeldriver
  • 136,215
  • 21
  • 243
  • 336
  • Thank you, @STEELDRIVER. What you suggested did fix the issue, nevertheless I noticed that Ubuntu began acting up ever since the problem began (probably because of something I installed / uninstalled during the days prior and after my question -maybe the upgrade from 14.04 to 14.10) and I decided to reinstall 14.04 – Carlos Nov 14 '14 at 00:26