This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDE neon updating as root?

Tags: None
(comma "," separated)
User avatar
fredhoud
Registered Member
Posts
111
Karma
1
OS

KDE neon updating as root?

Mon Jan 16, 2017 2:16 am
I posted my problem on January 11, 2017, with no response or solution. Updating problem seems only if you had encrypted your hard drive during the original installation. There hasn’t been any problem on some of my computers that was not encrypted. So I was wondering instead of normal updating via Discover, what if you be better off using the terminal and login as root, and then do a full update.
Example:
sudo -i
then
KDEneon:~# sudo apt full-upgrade

I wonder you there is a less chance of something breaking this way?
User avatar
alideda
Registered Member
Posts
251
Karma
0
OS

Re: KDE neon updating as root?

Mon Jan 16, 2017 8:18 pm
Code: Select all
sudo -i

you are root
no longer need to sudo
first

Code: Select all
apt update


Code: Select all
apt upgrade
apt full-upgrade or apt dist-upgrade
User avatar
fredhoud
Registered Member
Posts
111
Karma
1
OS

Re: KDE neon updating as root?

Tue Jan 17, 2017 1:36 am
Which one is more safe for updating the system?
apt full-upgrade
or apt dist-upgrade?
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS

Re: KDE neon updating as root?

Tue Jan 17, 2017 3:11 am
fredhoud wrote:Which one is more safe for updating the system?
apt full-upgrade
or apt dist-upgrade?


apt-get dist-upgrade and apt full-upgrade perform the same function, the latter is just the updated form though either one can be used.


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
User avatar
apachelogger
KDE Developer
Posts
525
Karma
5
OS

Re: KDE neon updating as root?

Tue Jan 17, 2017 10:18 am
claydoh wrote:
fredhoud wrote:Which one is more safe for updating the system?
apt full-upgrade
or apt dist-upgrade?


apt-get dist-upgrade and apt full-upgrade perform the same function, the latter is just the updated form though either one can be used.


`apt dist-upgrade` is a valid command that does precisely the same as `apt full-upgrade`. Both `apt` and `apt-get` are the same thing under the hood.

`pkcon` is what you want to use on neon systems actually as plasma in parts uses packagekit, so using apt directly can in fact not work if packagekit is currently doing something.


Annoyed with bbcode since 1999.
User avatar
alideda
Registered Member
Posts
251
Karma
0
OS

Re: KDE neon updating as root?

Tue Jan 17, 2017 10:38 am
I do not know what is better, I use dist-upgrade. We have two with the status of their upgrade, the situation is only the first upgrade of the same generation and the second is the upgrade to a new generation of LTS. I read in the local forum people had problems and lost data with the encrypted partition when they did upgrade to a new generation of LTS.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]