Most Popular
1500 questions
150
votes
10 answers
Error while trying to upgrade from Ubuntu 18.04 to 18.10: "Please install all available updates for your release before upgrading."
On a Lenovo laptop, I want to upgrade from Ubuntu 18.04 to Ubuntu 18.10 (budgie) . When I select upgrade on the update manager, the dialog box disappears and nothing happens. The upgrade doesn't start. Note- I went through the same procedure this…
dupont
- 2,057
149
votes
6 answers
Setting PATH variable in /etc/environment vs .profile
Where is the preferred place to set the PATH envvar? ~/.profile or /etc/environment ? What is the case when PATH is set in both places? Is the end result a concatenation of both values set in those two places?
pkaramol
- 2,301
149
votes
5 answers
var/cache/apt/archives occupying huge space
I am in the process of cleaning up my system. And I see a lot of space occupied by this folder /var/cache/apt/archives (1.5GB). Is it absolutely necessary to keep all these archives?
Vivek
- 3,839
149
votes
3 answers
What is the "t" letter in the output of "ls -ld /tmp"?
When running the command ls -ld /tmp , the output would be: drwxrwxrwt 30 root root 20480 Mar 11 14:17 /tmp So I have two main questions: What is the letter t after the permissions? As far as I know /tmp is used to create temporary files related to…
user255675
149
votes
3 answers
How do I create a script file for terminal commands?
In Windows I can write a file containing commands for cmd (usually .cmd or .bat files). When I click on those files it will open cmd.exe and run them commands the file contains. How would I do this in Ubuntu? I'm sure this is a duplicate, but I…
Seth
- 59,442
- 44
- 149
- 201
149
votes
9 answers
PKG_CONFIG_PATH environment variable
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. What does this mean ?
MKJ
- 1,699
149
votes
5 answers
What is the equivalent of the "tracert" DOS command?
tracert is a command in MS-DOS command prompt to trace the route to an IP Address. Is there any command in the Gnome Terminal equivalent to this?
Vipin Verma
- 5,534
149
votes
9 answers
How do I connect to a WPA wifi network using the command line?
So basically, I'd like to use iwconfig to connect to my wifi network when I'm not inside X. But I just don't see a way to do it in the man page. Any idea?
Ken Kinder
- 4,250
149
votes
6 answers
How can I schedule a nightly reboot?
I'm having some periodic issues running a particular application, XBMC. If I use XBMC regularly I don't seem to have any issues but if I leave it unattended for more than about 12 hours I need to reboot to get it working again. I know a scheduled…
Richard Edwards
148
votes
3 answers
What does it mean that a package is "set to manually installed?"
When packages are already installed and I run an apt-get install <package-name> , sometimes it will print a line <package-name> is set to manually installed . What does that mean?
codegoalie
- 1,583
148
votes
14 answers
Cannot set LC_CTYPE to default locale: No such file or directory
I have the exact question as this but there's no solution. I tried but it doesn't work How do I fix my locale issue? $ locale locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No…
user390493
148
votes
4 answers
Progress bar for scp command
Is there any way to display a progress bar while copying from server to local (or vice versa) using scp ?
Abdul Shajin
- 1,855
148
votes
4 answers
What's the difference between the Server version and the Desktop version?
What's the difference between the Server version of Ubuntu and the Desktop version?
oneat
- 1,610
148
votes
4 answers
Cannot install Ubuntu in VirtualBox due to "this kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot" error
I was trying to install Ubuntu 12.04 in VirtualBox 4.2.12r84980. I see this kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot But I am using a 64 bit Windows 8, and trying same .iso for trying Ubuntu. Then what is the…
aluph
- 1,481
148
votes
4 answers
What exactly does `update-alternatives` do?
What is the command update-alternatives used for? Take this example: sudo update-alternatives --install /usr/bin/java java /usr/local/java/jre1.7.0_09/bin/java 1 What does it do? How is it different from adding jdk to the path? Let's say that I have…
Developer Android
- 2,163