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

Is pkcon used for update only?

Tags: None
(comma "," separated)
User avatar
balloon
Registered Member
Posts
9
Karma
0
OS

Is pkcon used for update only?

Sat Jun 17, 2017 11:48 am
I grasp the debate about package update and related announcements:
viewtopic.php?t=140631

Does use of pkcon apply only to package updates,
should package installation or remove use apt command?

"pkcon install" does not install recommended packages.
It is necessary to use "apt install". Is this correct?

reference: pkcon | Ubuntu Manual
http://manpages.ubuntu.com/manpages/xen ... con.1.html


BALLOON a.k.a. Fu-sen. in Japan (ふうせん Fu-sen.)
neon をつかおう | KDE neon Japanese Information https://kde-neon.jimdo.com/
raddison
Registered Member
Posts
515
Karma
0

Re: Is pkcon used for update only?

Sat Jun 17, 2017 1:49 pm
Does use of pkcon apply only to package updates,
should package installation or remove use apt command?


I do believe so. I'll try to contact my specialist in all-things-plasma.


Proud to be powered by Plasma
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS

Re: Is pkcon used for update only?

Sat Jun 17, 2017 9:41 pm
I grasp the debate about package update and related announcements:
viewtopic.php?t=140631

Does use of pkcon apply only to package updates,
should package installation or remove use apt command?

"pkcon install" does not install recommended packages.
It is necessary to use "apt install". Is this correct?

reference: pkcon | Ubuntu Manual
http://manpages.ubuntu.com/manpages/xen ... con.1.html


From This Post
the usage is:
Code: Select all
pkcon refresh
pkcon update


"refresh" is analogous to "update" as it refreshes the package lists
"update" is analogous to "full-upgrade"

From This Post it looks like pkcon is preferred over the correct usage of apt as there is much less confusion. I rather like this choice.

Note that sudo is not required here as it will prompt you for your password when needed, just is if you were using Discover or Muon.
It also has a tidy and prettier (imo) terminal output ;)

Last edited by claydoh on Sat Jun 17, 2017 9:50 pm, edited 1 time in total.


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
raddison
Registered Member
Posts
515
Karma
0

Re: Is pkcon used for update only?

Sat Jun 17, 2017 9:45 pm
"refresh" is analogous to "update" as it refreshes the package lists
"update" is analogous to "full-upgrade"

From This it looks like pkcon is preferred over the correct usage of apt as there is much less confusion. I rather like this choice.

Note that sudo is not required here as it will prompt you for your password when needed, just is if you were using Discover or Muon.
It also has a tidy and prettier (imo) terminal output


@claydoh You must have read my thoughts. Thank you.


Proud to be powered by Plasma
User avatar
balloon
Registered Member
Posts
9
Karma
0
OS

Re: Is pkcon used for update only?

Sun Jun 18, 2017 1:14 am
claydoh wrote:Note that sudo is not required here as it will prompt you for your password when needed, just is if you were using Discover or Muon.
It also has a tidy and prettier (imo) terminal output ;)


Yup. I operated with it and knew about it.
Even if you manipulate pkcon with sudo, it works properly. That is a habit of using apt.


BALLOON a.k.a. Fu-sen. in Japan (ふうせん Fu-sen.)
neon をつかおう | KDE neon Japanese Information https://kde-neon.jimdo.com/
raddison
Registered Member
Posts
515
Karma
0

Re: Is pkcon used for update only?

Sun Jun 18, 2017 7:49 am
Actually, my routine used to be:
1. Sudo apt update, which brings up the updater icon in systray (if there are any updates) then
2. Use Discover for updating the system

Yeah, noticed pkcon refresh and pkcon update works with or without sudo. :o Other pkcon commands will require sudo privilege though.


Proud to be powered by Plasma


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]