apt-get update takes no argument

0 votes

I am trying this command 

#sudo apt-get update python 

it is showing me this below line:

E: the update command takes no argument.
Jul 30, 2019 in Linux Administration by Chris
3,571 views

1 answer to this question.

0 votes

The command 

sudo apt-get update

is used to update the package list with the latest available package version. To upgrade a particular (python, in this case), use the below command:

sudo apt-get upgrade
answered Jul 30, 2019 by Vinci

Related Questions In Linux Administration

–1 vote
1 answer

How to get octal file permission in linux?

You can use this: stat -c "%a %n" ...READ MORE

answered Jan 3, 2019 in Linux Administration by Omkar
• 69,030 points
382 views
0 votes
1 answer

Adding yes/no/cancel prompts in shell script

You can use the read command. Here's ...READ MORE

answered Mar 12, 2019 in Linux Administration by ajs3033
• 7,280 points
931 views
0 votes
1 answer

Cannot understand this "No X11 DISPLAY variable" error thrown at me

If you're on the main display, then export ...READ MORE

answered Jun 4, 2019 in Linux Administration by Upasana
• 8,620 points
3,592 views
0 votes
1 answer

HTTP POST and GET using cURL

You can just add | grep }| ...READ MORE

answered Jul 22, 2019 in Linux Administration by Upasana
• 8,620 points
211 views
0 votes
1 answer
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,240 points
187 views
0 votes
1 answer

Error when trying to install a few packages on ubuntu

Try executing the following commands and try ...READ MORE

answered Mar 15, 2019 in Linux Administration by Jobin
339 views
0 votes
1 answer

Install postgreSQL on Ubuntu

Installing PostgreSQL on Ubuntu is very simple, ...READ MORE

answered Mar 22, 2019 in Database by Nitesh
155 views
0 votes
1 answer

Error saying " Invalid operation uninstall" on sudo apt uninstall apache2

Try this: sudo apt-get cpufrequtils is missing a mandatory ...READ MORE

answered May 13, 2019 in Linux Administration by Yesha
2,421 views
0 votes
1 answer

Argument receiving error for rm command

Bash actually expands the asterisk to every ...READ MORE

answered Jun 7, 2019 in Linux Administration by Shubham
• 13,450 points
108 views