LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Debian8.2 (https://www.linuxquestions.org/questions/linux-desktop-74/debian8-2-a-4175582511/)

273 06-18-2016 01:52 PM

The best thing to do is read all pages linked the one regarding package management, the one regarding root and the one regarding sudo.
You may see from the above posts that the use of sudo isn't something which everyone agrees upon for a single-user desktop but if you must use it then you should read why you're using it and how to set it up.
This being why I think discussion of sudo complicates things. The bottom line being you don't currently have sudo installed nad configured if you have a default debian install so the apt-get command needs to be run as root up until such a time as you have sudo installed and configured.

jamison20000e 06-18-2016 02:05 PM

Ubuntu does many things for you other distros may not... ;)

jamison20000e 06-19-2016 08:05 PM

Quote:

Originally Posted by sgosnell (Post 5562931)
Yes, it's easy enough to do, and easy enough to find the instructions, which is why I didn't spell it out. People need to learn to do things on their own. But this thread seems to be going sideways, so I think it's time to bail.

Here's your earlier-wrong answer on exactly how to do it... :p
Quote:

Originally Posted by sgosnell (Post 5562455)
Yes. Do an update and and upgrade, either through Synaptic or from the command line, and you'll get the latest version of everything in Jessie.
Code:

apt update
apt upgrade

as root in a terminal will do it, or you can run Synaptic and have it do the update/upgrade. I honestly don't remember the exact steps to do that, because I use the command line for this, because it's quicker and easier for me. I seldom bother to open Synaptic. YMMV.


jamison20000e 06-19-2016 08:38 PM

I don't think I could ever hold back hard earned information, not that you'd ever need to read a .nf-no? ;)

273 06-20-2016 12:59 AM

Quote:

Originally Posted by jamison20000e (Post 5563421)
I don't think I could ever hold back hard earned information, not that you'd ever need to read a .nf-no? ;)

The answer you quote is the correct one (advising to run the relevant commands as root) and your post right after it is incomplete and just causes confusion and debate.
It is possible that you pre-empted a further question by the original poster but it took us about 10 more posts to explain the situation.

sgosnell 06-20-2016 08:17 AM

Quote:

do I use the same as ubuntu in terminal sudo apt-get install updates because didn't work
That won't work anywhere, not even in Ubuntu. I gave you the correct syntax early on. You have to run update, which updates the list of available packages, then upgrade, which does the actual installation of newer packages. Those have to be run as root, however you become root.

jamison20000e 06-20-2016 10:36 AM

As posted there's right... e.g:
Quote:

Originally Posted by jamison20000e (Post 5562960)
It links you here: https://wiki.debian.org/Root
Quote:

In a terminal : you can use su (or gksu) to change your identity to root.
However, it's recommended to configure and use sudo (or gksudo) to run a given command

...wrong and opinion...

jamison20000e 06-20-2016 11:38 AM

1 Attachment(s)
Off topic unless you can relate, "only you can prevent forest fires!"


All times are GMT -5. The time now is 09:53 PM.