Registered Member
|
TL:DR- Got fed up with manjaro and started looking for another distro. Reminded about KDE Neon, tried it on vm and tried to do apt update. Got a message saying that i should use pckon and i'm left unsure if apt would cause harm to the system
Hello I came here with question. I want to switch my current distro (manjaro) to another because well it was hard to maintain, and for me was buggy as hell. I was thinking of another arch based distro when i rememberd from years ago KDE Neon. I'm a big fan of kde so i decided to give it a try and fired it up on a vm. Everything was good and smooth. I'm used to arch way of doing commands so i installed pacapt. Pacapt is just a shell wrapper that makes you execute commands the arch way but still you are using apt or another default package manager on your distro. So i typed just like i'm used to
|
Registered Member
|
No.
Pkcon is the command line interface to Packagekit, which is what Discover (and Gnome Software iirc) uses under the hood. Packagekit/Discover/Pkcon uses a distro's native packaging system to do the work. In the case of Neon, this would be apt. In Manjaro, using pkcon would be using pacman. So there is no danger per se, but you do have to use it correctly. In Ubuntu based distros, apt is set up somewhat differently than it is in Debian, so the proper formats to use would be
and
In Debian, the usage would be sudo apt upgrade. People were using this format to update, and due to the differences in how each command option works, not all updates get installed in some instances. Early on, this was a very common problem, as many people were using the Debian method, and not getting fully updated. Neon decided to push the use of Pkcon to help reduce this user error. They even patched things so that if you try to run apt incorrectly, it will give you a message instead of running, as you saw. Pkcon is a good choice to use, as the same command is used no matter the distro or packaging system. Using apt if also fine, and usually preferable if there are errors or issues, as the native packaging tools will give better messaging to help troubleshoot. Packagekit/Pkcon is a bit more involved than a simple wrapper 'faking' another packaging system's commands. Setting up personalized bash aliases is quite simple, and probably is what that pacapt script is doing.
claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
|
Registered Member
|
Thanks for the information! Yes pacapt is just baisically just bunch of aliases but i prefer that i have done it automatically than setting this all by myself. Again thanks for help
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]