[SOLVED] How Do I Stop Orphan Notifications?

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] How Do I Stop Orphan Notifications?

Postby yankee495 » Feb 23rd, '14, 02:49

I've tried urpmi $(urpmq --auto-orphans) and get the following:

Code: Select all
[root@localhost ~]# urpmi $(urpmq --auto-orphans)
No package named kernel-desktop-devel-3.12.7-1.mga4
[root@localhost ~]#


After an update I found I still get the orphan notice. I think maybe the "no package named..." is stopping it from marking the orphans.

I know not to uninstall them...just want the notice to stop.
Last edited by yankee495 on Feb 23rd, '14, 03:37, edited 1 time in total.
There are 10 types of people, those who understand binary & those who don't.
Main Desktop
http://www.overclock.net/lists/display/view/id/3960066
yankee495
 
Posts: 433
Joined: May 25th, '12, 13:10
Location: Carthage, Mo. USA

Re: How Do I Stop Orphan Notifications?

Postby yankee495 » Feb 23rd, '14, 02:59

Ok, I uninstalled the package kernel-desktop-devel-3.12.7-1.mga4

Then I did this again and I think it worked? Does it look ok now?

Code: Select all
[root@localhost ~]# urpmi $(urpmq --auto-orphans)
No package named kernel-desktop-devel-3.12.7-1.mga4
[root@localhost ~]# urpmi $(urpmq --auto-orphans)
Packages vboxadditions-kernel-3.12.8-desktop-2.mga4-4.3.6-8.mga4.x86_64, kernel-desktop-3.12.8-2.mga4-1-1.mga4.x86_64, cups-drivers-magicolor5440dl-1.2.1-15.mga4.x86_64, rsnapshot-1.3.1-10.mga4.noarch, cups-drivers-magicolor2430dl-1.6.1-15.mga4.x86_64, perl-Gtk2-Notify-0.50.0-8.mga4.x86_64, perl-Tree-DAG_Node-1.110.0-2.mga4.noarch, cups-drivers-2008-5.mga3.x86_64, perl-XML-Filter-BufferText-1.10.0-4.mga4.noarch, lib64ossp_uuid16-1.6.2-9.mga4.x86_64, virtualbox-kernel-3.12.8-desktop-2.mga4-4.3.6-8.mga4.x86_64, perl-XML-Validator-Schema-1.100.0-3.mga4.noarch, poster-0-0.20060221.9.mga4.x86_64, cups-drivers-lxx74-0.8.4.2-12.mga4.x86_64, fglrx-kernel-3.12.8-desktop-2.mga4-13.251-9.mga4.nonfree.x86_64, task-printing-lexmark-2011-3.mga4.x86_64, printer-utils-2008-5.mga3.x86_64 are already installed
Marking kernel-desktop-3.12.8-2.mga4 as manually installed, it won't be auto-orphaned
Marking cups-drivers-magicolor5440dl as manually installed, it won't be auto-orphaned
Marking rsnapshot as manually installed, it won't be auto-orphaned
Marking cups-drivers-magicolor2430dl as manually installed, it won't be auto-orphaned
Marking perl-Gtk2-Notify as manually installed, it won't be auto-orphaned
Marking perl-Tree-DAG_Node as manually installed, it won't be auto-orphaned
Marking cups-drivers as manually installed, it won't be auto-orphaned
Marking perl-XML-Filter-BufferText as manually installed, it won't be auto-orphaned
Marking lib64ossp_uuid16 as manually installed, it won't be auto-orphaned
Marking virtualbox-kernel-3.12.8-desktop-2.mga4 as manually installed, it won't be auto-orphaned
Marking perl-XML-Validator-Schema as manually installed, it won't be auto-orphaned
Marking poster as manually installed, it won't be auto-orphaned
Marking cups-drivers-lxx74 as manually installed, it won't be auto-orphaned
Marking task-printing-lexmark as manually installed, it won't be auto-orphaned
Marking printer-utils as manually installed, it won't be auto-orphaned
writing /var/lib/rpm/installed-through-deps.list
[root@localhost ~]#


I don't know why kernel-desktop-devel-3.12.7-1.mga4 doesn't show up to reinstall it. I've heard of a corrupted database.

Never had this problem.
There are 10 types of people, those who understand binary & those who don't.
Main Desktop
http://www.overclock.net/lists/display/view/id/3960066
yankee495
 
Posts: 433
Joined: May 25th, '12, 13:10
Location: Carthage, Mo. USA

Re: How Do I Stop Orphan Notifications?

Postby Ken-Bergen » Feb 23rd, '14, 03:34

yankee495 wrote:I don't know why kernel-desktop-devel-3.12.7-1.mga4 doesn't show up to reinstall it. I've heard of a corrupted database.

Never had this problem.
That's because it only existed in Cauldron and was replaced by kernel-desktop-devel-3.12.8-2.mga4 when or before Mageia4 was released.
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: [SOLVED] How Do I Stop Orphan Notifications?

Postby yankee495 » Feb 23rd, '14, 03:41

Fixed, thanked Doktoer5000, too many Tabs!

Thanks Ken,

I figured out the orphan problem. I post them, post the fix and mark them solved, for others to see.

I'm over at bugzilla doing a bug report on fglrx and the missing/wrong link from my Chrome problems, which by the way is working well.

I had a couple of times where the desktop just disappeared...just blink, gone. I figured it fixed it and all is well.
There are 10 types of people, those who understand binary & those who don't.
Main Desktop
http://www.overclock.net/lists/display/view/id/3960066
yankee495
 
Posts: 433
Joined: May 25th, '12, 13:10
Location: Carthage, Mo. USA

Re: [SOLVED] How Do I Stop Orphan Notifications?

Postby Ken-Bergen » Feb 23rd, '14, 05:46

Oops, I forgot to ask a basic question which is "Why?"

The message about orphans only appears when using urpmi which can only be run as root and can be safely ignored.

Marking all orphans as manually installed seems to be a futile exercise to me.
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: [SOLVED] How Do I Stop Orphan Notifications?

Postby yankee495 » Feb 23rd, '14, 07:04

Ken-Bergen wrote:Oops, I forgot to ask a basic question which is "Why?"

The message about orphans only appears when using urpmi which can only be run as root and can be safely ignored.

Marking all orphans as manually installed seems to be a futile exercise to me.


In MCC everytime I got an update it gave me the orphan notification after the update.

I got this information:

Mark all orphans as un-orphaned
To simply mark all orphaned packages as manually installed, one can use e.g.
urpmi $(urpmq --auto-orphans)

From here: https://wiki.mageia.org/en/Removing_packages#Additional_Note_about_Orphans
There are 10 types of people, those who understand binary & those who don't.
Main Desktop
http://www.overclock.net/lists/display/view/id/3960066
yankee495
 
Posts: 433
Joined: May 25th, '12, 13:10
Location: Carthage, Mo. USA

Re: [SOLVED] How Do I Stop Orphan Notifications?

Postby doktor5000 » Feb 23rd, '14, 13:11

Ken-Bergen wrote:The message about orphans only appears when using urpmi which can only be run as root and can be safely ignored.

Let's agree on "it should only be shown when using urpmi".
Please check https://bugs.mageia.org/show_bug.cgi?id=920 and also the link in the last comment there.
It ougth to be "fixed" in rpmdrake, but sadly it's not.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18073
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] How Do I Stop Orphan Notifications?

Postby Ken-Bergen » Feb 23rd, '14, 13:47

doktor5000 wrote:Let's agree on "it should only be shown when using urpmi".
I'm running Cauldron on three machines. I tested and that's how it works.
As Cauldron is so young I just thought it had been fixed earlier. My mistake.
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: [SOLVED] How Do I Stop Orphan Notifications?

Postby yankee495 » Feb 23rd, '14, 19:32

Ok, so I done it the right way, right?

I knew better than to remove them. Way back it used to tell you how to remove them and I thought some of them looked like they were needed so I Googled it or most likely went to the forum back then.

Anyway, I never pulled that stunt! Maybe this thread will stop people from removing them also.
There are 10 types of people, those who understand binary & those who don't.
Main Desktop
http://www.overclock.net/lists/display/view/id/3960066
yankee495
 
Posts: 433
Joined: May 25th, '12, 13:10
Location: Carthage, Mo. USA

Re: [SOLVED] How Do I Stop Orphan Notifications?

Postby Ken-Bergen » Feb 24th, '14, 06:04

For what it's worth.
Since Mageia1 I've been running Cauldron.

I'd heard the horror stories so I decided to test.
After each update that suggested a reboot I did so then ran
Code: Select all
urpme --auto-orphans
And said Yes.
I have yet to see it break anything. :D
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: [SOLVED] How Do I Stop Orphan Notifications?

Postby doktor5000 » Feb 24th, '14, 12:22

Yes, if used correctly it works just fine. E.g. for packagers that install quite a lot of development packages it can be used to remove all of them,
as those are not directly installed but those are required as BuildRequires, hence all marked orphans.

The point is, people don't think about consequences - if they remove some minor KDE or GNOME packages,
which also uninstall task-kde4 or task-gnome, then at first nothing happens, all is still working.
Use auto-orphans and Kaboom!
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18073
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest