Ask Your Question

What does @@commandline mean (dnf list installed)?

asked 2016-04-04 15:56:54 -0500

gobigobi66 gravatar image

updated 2016-04-04 16:10:54 -0500


What does "@@commandline" in regards to packages and their repository mean?

sudo dnf list installed shows thousands of packages originating from @@commandline.

For example: dnf info libreport lists two packages. The installed .x86-64 version originating from "@System / @@commandline", and the available .i686 package coming from "updates".

What's the meaning of this?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2016-04-04 16:50:32 -0500

hhlp gravatar image

updated 2016-04-04 16:53:41 -0500

@@commandline means that you installed some packages by yourself not from a repo ... you download the packages rpm open a terminal an install it with dnf:

example :

you want to install oracle java, you download jdk1.8.0_72.x86_64 from oracle website, open a terminal and make :

sudo dnf install jdk1.8.0_72.x86_64.rpm

dnf list installed | grep @@commandline

jdk1.8.0_72.x86_64                    2000:1.8.0_72-fcs         @@commandline


edit flag offensive delete link more



There must be more to it because when I run dnf list installed | grep @@commandline I get a loooong list of packages, of which many are certainly not manually installed but rather shipped with the base OS. I uploaded the list here.

gobigobi66 gravatar imagegobigobi66 ( 2016-04-04 20:18:58 -0500 )edit

Looks very much like a bug to me...

florian gravatar imageflorian ( 2016-04-05 11:06:14 -0500 )edit

@hhlp: I do have 1815 packages in that list ( ). From what you are saying the output of dnf list installed | grep @@commandline should equal the output of dnf history userinstalled but the latter is a short list of a handful of programs that I installed manually using cli/dnf.

gobigobi66 gravatar imagegobigobi66 ( 2016-04-05 11:09:11 -0500 )edit

@gobigobi66 is not the same when you download a rpm an install it manually and when you use dnf install to install a packages from a repo, that is a weird situation, like @florian says I suggest to open a bugs in RedHat Bugzilla against dnf packages...

hhlp gravatar imagehhlp ( 2016-04-05 13:37:09 -0500 )edit

@hhlp. Thanks. I will report a bug as suggested. I never use rpm to install anything. I don't ever download external rpm packages, and if I would, I would use dnf to install them.

Do you think this weird behavior could have some negative/instability impact somewhere?

gobigobi66 gravatar imagegobigobi66 ( 2016-04-05 14:46:10 -0500 )edit

answered 2016-09-24 16:13:01 -0500

Rahly gravatar image

I've received this with a "dnf system-upgrade" ... it seems that this direction in dnf will call "rpm" instead of doing it, itself. When you do a dnf reinstall of the package, the @@commandline will go away.

Most likely this happens because you predownload all the files, and during the dnf system-upgrade reboot, is uses the downloaded files rather than downloading+installing at once.

edit flag offensive delete link more


Of course dnf calls rpm to do the heavy lifting, just as yum did. In order for either program to do it themselves, they'd have to waste large amounts of time and effort re-inventing the wheel and debugging it. Much easier to let rpm do what it's designed to do and put all of that effort into the parts of dnf that aren't duplicating some other program.

sideburns gravatar imagesideburns ( 2016-09-24 16:46:58 -0500 )edit

Then they must be calling it wrong or writing to the database wrong when rebooting. Because it COMPLETELY breaks upgrading.

Rahly gravatar imageRahly ( 2016-09-24 17:29:45 -0500 )edit

Prior to Fedora 26 it is possible to run dnf repository-packages @commandline remove-or-reinstall in order to reinstall all those packages after a system upgrade.

antoineco gravatar imageantoineco ( 2017-06-22 04:04:17 -0500 )edit

@Rahly you are right and having to install most packages twice (once with system-upgrade and afterwards with dnf reinstall) doesn't make any sense.

asta666 gravatar imageasta666 ( 2017-11-19 17:22:34 -0500 )edit

Question Tools



Asked: 2016-04-04 15:56:54 -0500

Seen: 1,642 times

Last updated: Sep 24 '16