After I run rpm --rebuild,I cannot find any package using rpm -q and yum does not workyum does not work on...

I'm attempting to understand my 401k match and how much I need to contribute to maximize the match

Would the rotation of the starfield from a ring station be too disorienting?

Employee is self-centered and affects the team negatively

What's the difference between "ricochet" and "bounce"?

Whose birthyears are canonically established in the MCU?

Exactly which act of bravery are Luke and Han awarded a medal for?

Capturing the entire webpage with WebExecute's CaptureImage

Every group the homology of some space?

How could a civilization detect tachyons?

Linear Independence for Vectors of Cosine Values

Can you turn music upside down?

Mindfulness of Watching Youtube

Is there a reason why Turkey took the Balkan territories of the Ottoman Empire, instead of Greece or another of the Balkan states?

Can the president of the United States be guilty of insider trading?

How can it be that ssh somename works, while nslookup somename does not?

Should one save up to purchase a house/condo or maximize their 401(k) first?

How do I give a darkroom course without negatives from the attendees?

Is there an application which does HTTP PUT?

99 coins into the sacks

What will Doctor Strange protect now?

How can one see if an address is multisig?

Two (probably) equal real numbers which are not proved to be equal?

Can I bring back Planetary Romance as a genre?

Visual Studio Code download existing code



After I run rpm --rebuild,I cannot find any package using rpm -q and yum does not work


yum does not work on RHEL 6.3Yum can find a package, but can not install itRebuilt kmod package not updating via `YUM` but is via `rpm`how to find which repo does one rpm package belong toConflicting answers regarding package from rpm, yum and repoqueryInstalling custom RPM says “does not update installed package”Yum does nothing(Unresponsive) when installing any package or updatingCan not run rpm and yum because I deleted libnss by mistake. How to repair it?dnf and yum: can not find packageAnsible modules copy/template errors for Linux 5 hosts using python26 ,python binding libselinux-python needed






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















in order to repair rpm db,I run rpm --rebuild,after that I cannot find any package using rpm -q and yum does not work ,like logs blow.



[root@local03 ~]# yum


Traceback (most recent call last): File "/usr/bin/yum", line 29, in yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 294, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 115, in main base.getOptionsConfig(args) File "/usr/share/yum-cli/cli.py", line 228, in getOptionsConfig self.conf File "/usr/lib/python2.6/site-packages/yum/init.py", line 910, in conf = property(fget=lambda self: self._getConfig(), File "/usr/lib/python2.6/site-packages/yum/init.py", line 299, in _getConfig startupconf = config.readStartupConfig(fn, root) File "/usr/lib/python2.6/site-packages/yum/config.py", line 892, in readStartupConfig startupconf.releasever = _getsysver(startupconf.installroot, startupconf.distroverpkg) File "/usr/lib/python2.6/site-packages/yum/config.py", line 1043, in _getsysver hdr = idx.next() StopIteration



[root@local03 ~]# rpm -q rpm: no arguments given for query



[root@local03 ~]# rpm -qa










share|improve this question







New contributor



LuHongwei is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • I get nothing using rpm -qa ,is there anyone could help me,I cannot thank you more.

    – LuHongwei
    2 hours ago


















0















in order to repair rpm db,I run rpm --rebuild,after that I cannot find any package using rpm -q and yum does not work ,like logs blow.



[root@local03 ~]# yum


Traceback (most recent call last): File "/usr/bin/yum", line 29, in yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 294, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 115, in main base.getOptionsConfig(args) File "/usr/share/yum-cli/cli.py", line 228, in getOptionsConfig self.conf File "/usr/lib/python2.6/site-packages/yum/init.py", line 910, in conf = property(fget=lambda self: self._getConfig(), File "/usr/lib/python2.6/site-packages/yum/init.py", line 299, in _getConfig startupconf = config.readStartupConfig(fn, root) File "/usr/lib/python2.6/site-packages/yum/config.py", line 892, in readStartupConfig startupconf.releasever = _getsysver(startupconf.installroot, startupconf.distroverpkg) File "/usr/lib/python2.6/site-packages/yum/config.py", line 1043, in _getsysver hdr = idx.next() StopIteration



[root@local03 ~]# rpm -q rpm: no arguments given for query



[root@local03 ~]# rpm -qa










share|improve this question







New contributor



LuHongwei is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • I get nothing using rpm -qa ,is there anyone could help me,I cannot thank you more.

    – LuHongwei
    2 hours ago














0












0








0








in order to repair rpm db,I run rpm --rebuild,after that I cannot find any package using rpm -q and yum does not work ,like logs blow.



[root@local03 ~]# yum


Traceback (most recent call last): File "/usr/bin/yum", line 29, in yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 294, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 115, in main base.getOptionsConfig(args) File "/usr/share/yum-cli/cli.py", line 228, in getOptionsConfig self.conf File "/usr/lib/python2.6/site-packages/yum/init.py", line 910, in conf = property(fget=lambda self: self._getConfig(), File "/usr/lib/python2.6/site-packages/yum/init.py", line 299, in _getConfig startupconf = config.readStartupConfig(fn, root) File "/usr/lib/python2.6/site-packages/yum/config.py", line 892, in readStartupConfig startupconf.releasever = _getsysver(startupconf.installroot, startupconf.distroverpkg) File "/usr/lib/python2.6/site-packages/yum/config.py", line 1043, in _getsysver hdr = idx.next() StopIteration



[root@local03 ~]# rpm -q rpm: no arguments given for query



[root@local03 ~]# rpm -qa










share|improve this question







New contributor



LuHongwei is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











in order to repair rpm db,I run rpm --rebuild,after that I cannot find any package using rpm -q and yum does not work ,like logs blow.



[root@local03 ~]# yum


Traceback (most recent call last): File "/usr/bin/yum", line 29, in yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 294, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 115, in main base.getOptionsConfig(args) File "/usr/share/yum-cli/cli.py", line 228, in getOptionsConfig self.conf File "/usr/lib/python2.6/site-packages/yum/init.py", line 910, in conf = property(fget=lambda self: self._getConfig(), File "/usr/lib/python2.6/site-packages/yum/init.py", line 299, in _getConfig startupconf = config.readStartupConfig(fn, root) File "/usr/lib/python2.6/site-packages/yum/config.py", line 892, in readStartupConfig startupconf.releasever = _getsysver(startupconf.installroot, startupconf.distroverpkg) File "/usr/lib/python2.6/site-packages/yum/config.py", line 1043, in _getsysver hdr = idx.next() StopIteration



[root@local03 ~]# rpm -q rpm: no arguments given for query



[root@local03 ~]# rpm -qa







linux rhel rpmbuild






share|improve this question







New contributor



LuHongwei is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share|improve this question







New contributor



LuHongwei is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share|improve this question




share|improve this question






New contributor



LuHongwei is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked 2 hours ago









LuHongweiLuHongwei

1




1




New contributor



LuHongwei is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




LuHongwei is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • I get nothing using rpm -qa ,is there anyone could help me,I cannot thank you more.

    – LuHongwei
    2 hours ago



















  • I get nothing using rpm -qa ,is there anyone could help me,I cannot thank you more.

    – LuHongwei
    2 hours ago

















I get nothing using rpm -qa ,is there anyone could help me,I cannot thank you more.

– LuHongwei
2 hours ago





I get nothing using rpm -qa ,is there anyone could help me,I cannot thank you more.

– LuHongwei
2 hours ago










0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






LuHongwei is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f517685%2fafter-i-run-rpm-rebuild-i-cannot-find-any-package-using-rpm-q-and-yum-does-no%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








LuHongwei is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















LuHongwei is a new contributor. Be nice, and check out our Code of Conduct.













LuHongwei is a new contributor. Be nice, and check out our Code of Conduct.












LuHongwei is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f517685%2fafter-i-run-rpm-rebuild-i-cannot-find-any-package-using-rpm-q-and-yum-does-no%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...