* [gentoo-user] broken dependencies?¿
@ 2007-08-02 11:51 Arnau Bria
2007-08-02 14:01 ` Alan McKinnon
0 siblings, 1 reply; 7+ messages in thread
From: Arnau Bria @ 2007-08-02 11:51 UTC (permalink / raw
To: gentoo-user
Hi,
trying to purgue my system found next:
pataki ~ # emerge -p --depclean
*** WARNING *** Depclean may break link level dependencies. Thus, it is
*** WARNING *** recommended to use a tool such as `revdep-rebuild` (from
*** WARNING *** app-portage/gentoolkit) in order to detect such breakage.
*** WARNING ***
*** WARNING *** Also study the list of packages to be cleaned for any obvious
*** WARNING *** mistakes. Packages that are part of the world set will always
*** WARNING *** be kept. They can be manually added to this set with
*** WARNING *** `emerge --noreplace <atom>`. Packages that are listed in
*** WARNING *** package.provided (see portage(5)) will be removed by
*** WARNING *** depclean, even if they are part of the world set.
*** WARNING ***
*** WARNING *** As a safety measure, depclean will not remove any packages
*** WARNING *** unless *all* required dependencies have been resolved. As a
*** WARNING *** consequence, it is often necessary to run
*** WARNING *** `emerge --update --newuse --deep world` prior to depclean.
Calculating dependencies... done!
Dependencies could not be completely resolved due to
the following required packages not being installed:
~sys-apps/suspend2-userui-0.6.4 required by sys-kernel/suspend2-sources-2.6.19-r3
Have you forgotten to run `emerge --update --newuse --deep world` prior to
depclean? It may be necessary to manually uninstall packages that no longer
exist in the portage tree since it may not be possible to satisfy their
dependencies. Also, be aware of the --with-bdeps option that is documented
in `man emerge`.
But I've already done so:
pataki ~ # emerge -uDpvt world
These are the packages that would be merged, in reverse order:
Calculating world dependencies \
!!! Ebuilds for the following packages are either all
!!! masked or don't exist:
mail-client/sylpheed-claws
... done!
Total: 0 packages, Size of downloads: 0 kB
(ok, I must change my package.keywords...
So, I run a revdep-rebuild:
pataki ~ # revdep-rebuild -p
Configuring search environment for revdep-rebuild
Checking reverse dependencies...
Packages containing binaries and libraries broken by a package update
will be emerged.
Collecting system binaries and libraries... done.
(/root/.revdep-rebuild.1_files)
Collecting complete LD_LIBRARY_PATH... done.
(/root/.revdep-rebuild.2_ldpath)
Checking dynamic linking consistency...
done.
(/root/.revdep-rebuild.3_rebuild)
Assigning files to ebuilds... Nothing to rebuild
Evaluating package order... done.
(/root/.revdep-rebuild.5_order)
Dynamic linking on your system is consistent... All done.
And my kernel is:
pataki ~ # uname -a
Linux pataki 2.6.22-suspend2 #1 PREEMPT Wed Aug 1 ...
and I have both packages in package.keywords
# grep suspend *
package.keywords:sys-kernel/suspend2-sources ~x86
package.keywords:sys-apps/suspend2-userui ~x86
So, if all seems ok, why depclean says that I have a broken dependency?
TIA,
--
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] broken dependencies?¿
2007-08-02 11:51 [gentoo-user] broken dependencies?¿ Arnau Bria
@ 2007-08-02 14:01 ` Alan McKinnon
2007-08-02 16:00 ` Arnau Bria
0 siblings, 1 reply; 7+ messages in thread
From: Alan McKinnon @ 2007-08-02 14:01 UTC (permalink / raw
To: gentoo-user
On Thursday 02 August 2007, Arnau Bria wrote:
> Hi,
>
> trying to purgue my system found next:
>
> pataki ~ # emerge -p --depclean
>
> *** WARNING *** Depclean may break link level dependencies. Thus,
> it is *** WARNING *** recommended to use a tool such as
> `revdep-rebuild` (from *** WARNING *** app-portage/gentoolkit) in
> order to detect such breakage. *** WARNING ***
> *** WARNING *** Also study the list of packages to be cleaned for
> any obvious *** WARNING *** mistakes. Packages that are part of the
> world set will always *** WARNING *** be kept. They can be manually
> added to this set with *** WARNING *** `emerge --noreplace <atom>`.
> Packages that are listed in *** WARNING *** package.provided (see
> portage(5)) will be removed by *** WARNING *** depclean, even if
> they are part of the world set. *** WARNING ***
> *** WARNING *** As a safety measure, depclean will not remove any
> packages *** WARNING *** unless *all* required dependencies have
> been resolved. As a *** WARNING *** consequence, it is often
> necessary to run
> *** WARNING *** `emerge --update --newuse --deep world` prior to
> depclean.
>
> Calculating dependencies... done!
>
> Dependencies could not be completely resolved due to
> the following required packages not being installed:
>
> ~sys-apps/suspend2-userui-0.6.4 required by
> sys-kernel/suspend2-sources-2.6.19-r3
So you have sys-kernel/suspend2-sources-2.6.19-r3 still installed,
probably left over from some emerge in the past. It wants
~sys-apps/suspend2-userui-0.6.4, probably because only that version
worked with the kernel sources in the devs opinion. This kernel version
and ui version is no longer in portage so they cannot be emerged
You are using 2.6.22-suspend2, with these DEPENDs:
RDEPEND="${RDEPEND}
>=sys-apps/suspend2-userui-0.7.1
>=sys-power/hibernate-script-1.95"
That userui is in portage, so all you need is:
emerge -C =sys-kernel/suspend2-sources-2.6.19-r3
and everything should resolve.
Well, it won't fix your sylpheed-claws which is also not in portage, but
that's another matter :-)
alan
--
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?
Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] broken dependencies?¿
2007-08-02 14:01 ` Alan McKinnon
@ 2007-08-02 16:00 ` Arnau Bria
2007-08-02 17:58 ` Neil Bothwick
0 siblings, 1 reply; 7+ messages in thread
From: Arnau Bria @ 2007-08-02 16:00 UTC (permalink / raw
To: gentoo-user
On Thu, 2 Aug 2007 16:01:43 +0200
Alan McKinnon wrote:
> On Thursday 02 August 2007, Arnau Bria wrote:
[...]
> So you have sys-kernel/suspend2-sources-2.6.19-r3 still installed,
> probably left over from some emerge in the past.
Not sure why I do have a concrete verison of gentoo sources installed
blocking new one... (it's supposed that I have upgarded my sources,
isn't?)....
Could you explain so, please?
> It wants
> ~sys-apps/suspend2-userui-0.6.4, probably because only that version
> worked with the kernel sources in the devs opinion. This kernel
> version and ui version is no longer in portage so they cannot be
> emerged
>
> You are using 2.6.22-suspend2, with these DEPENDs:
> RDEPEND="${RDEPEND}
> >=sys-apps/suspend2-userui-0.7.1
> >=sys-power/hibernate-script-1.95"
>
> That userui is in portage, so all you need is:
>
> emerge -C =sys-kernel/suspend2-sources-2.6.19-r3
>
> and everything should resolve.
Now I have this:
# emerge -uD world
Calculating world dependencies... done!
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
and all works fine. Many thanks.
> Well, it won't fix your sylpheed-claws which is also not in portage,
> but that's another matter :-)
Yep, my poor laptop. A long time with no maintenance... :-)
Now I have my wonderful and "new" claws-mail installed!!!
# eix -c claws-mail
[I] mail-client/claws-mail (2.10.0@08/01/2007): Claws-Mail is an email client (and news reader) based on GTK+
> alan
Thanks!
--
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] broken dependencies?¿
2007-08-02 17:58 ` Neil Bothwick
@ 2007-08-02 17:37 ` Arnau Bria
2007-08-02 20:14 ` Neil Bothwick
0 siblings, 1 reply; 7+ messages in thread
From: Arnau Bria @ 2007-08-02 17:37 UTC (permalink / raw
To: gentoo-user
On Thu, 2 Aug 2007 18:58:02 +0100
Neil Bothwick wrote:
> On Thu, 2 Aug 2007 18:00:02 +0200, Arnau Bria wrote:
>
> > > So you have sys-kernel/suspend2-sources-2.6.19-r3 still
> > > installed, probably left over from some emerge in the past.
> >
> > Not sure why I do have a concrete verison of gentoo sources
> > installed blocking new one... (it's supposed that I have upgarded
> > my sources, isn't?)....
> > Could you explain so, please?
>
> Kernel sources are slotted, so each time you install a new version,
> the old one remains. Like this
>
> % equery list gentoo-sources
> [ Searching for package 'gentoo-sources' in all categories among: ]
> * installed packages
> [I--] [ ~] sys-kernel/gentoo-sources-2.6.21-r3 (2.6.21-r3)
> [I--] [ ~] sys-kernel/gentoo-sources-2.6.22-r1 (2.6.22-r1)
> [I--] [ ~] sys-kernel/gentoo-sources-2.6.22-r2 (2.6.22-r2)
Ok,
so how my system determines which is the version it must use for
calculating dependencies?
Cause I did not have that source in /usr/src and I did have just my
current one... and emerge says:
Installed versions: 2.6.18(2.6.18)(02:42:26 PM 11/22/2006)(-build -symlink -ultra1)
2.6.19-r1(2.6.19-r1)(01:11:30 PM 01/11/2007)(-build -symlink -ultra1)
2.6.22(2.6.22)(03:14:16 AM 07/31/2007)(-build -symlink)
Why 2.6.19-r3 and not 2.6.28?¿
(gonna unmerge 2.6.18 and 2.6.22!!)
> You can unmerge the unwanted ones, but you'll also have to remove the
> directories from /usr/src. In fact, it is faster if you remove the
> directories before unmerging.
In fact, as it's my laptop and I have no much space, I only keep
current kernel source (for modules buid)...
But thanks for the tip.
Thanks,
Arnau
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] broken dependencies?¿
2007-08-02 16:00 ` Arnau Bria
@ 2007-08-02 17:58 ` Neil Bothwick
2007-08-02 17:37 ` Arnau Bria
0 siblings, 1 reply; 7+ messages in thread
From: Neil Bothwick @ 2007-08-02 17:58 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1157 bytes --]
On Thu, 2 Aug 2007 18:00:02 +0200, Arnau Bria wrote:
> > So you have sys-kernel/suspend2-sources-2.6.19-r3 still installed,
> > probably left over from some emerge in the past.
>
> Not sure why I do have a concrete verison of gentoo sources installed
> blocking new one... (it's supposed that I have upgarded my sources,
> isn't?)....
> Could you explain so, please?
Kernel sources are slotted, so each time you install a new version, the
old one remains. Like this
% equery list gentoo-sources
[ Searching for package 'gentoo-sources' in all categories among: ]
* installed packages
[I--] [ ~] sys-kernel/gentoo-sources-2.6.21-r3 (2.6.21-r3)
[I--] [ ~] sys-kernel/gentoo-sources-2.6.22-r1 (2.6.22-r1)
[I--] [ ~] sys-kernel/gentoo-sources-2.6.22-r2 (2.6.22-r2)
You can unmerge the unwanted ones, but you'll also have to remove the
directories from /usr/src. In fact, it is faster if you remove the
directories before unmerging.
--
Neil Bothwick
ATTENTION: Despite any other listing of product content found in this
manual, you are advised that, in actuality, your computer consists of
99.999999999% empty space.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] broken dependencies?¿
2007-08-02 17:37 ` Arnau Bria
@ 2007-08-02 20:14 ` Neil Bothwick
2007-08-03 9:16 ` Arnau Bria
0 siblings, 1 reply; 7+ messages in thread
From: Neil Bothwick @ 2007-08-02 20:14 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1425 bytes --]
On Thu, 2 Aug 2007 19:37:59 +0200, Arnau Bria wrote:
> > Kernel sources are slotted, so each time you install a new version,
> > the old one remains.
> so how my system determines which is the version it must use for
> calculating dependencies?
It uses all of them, because all installed packages need their
dependencies.
> Cause I did not have that source in /usr/src and I did have just my
> current one... and emerge says:
>
> Installed versions: 2.6.18(2.6.18)(02:42:26 PM 11/22/2006)(-build
> -symlink -ultra1) 2.6.19-r1(2.6.19-r1)(01:11:30 PM 01/11/2007)(-build
> -symlink -ultra1) 2.6.22(2.6.22)(03:14:16 AM 07/31/2007)(-build
> -symlink)
It looks like you deleted the source directory without letting portage
know what you'd done.
> > You can unmerge the unwanted ones, but you'll also have to remove the
> > directories from /usr/src. In fact, it is faster if you remove the
> > directories before unmerging.
> In fact, as it's my laptop and I have no much space, I only keep
> current kernel source (for modules buid)...
In that case "emerge --prune --ask gentoo-sources" will do what you
need, but you still need to remove the directories from /usr/src manually
because emerge only removes the files it installed, not any that were
created or modified by you, like when you compiled the kernel.
--
Neil Bothwick
One-seventh of your life is spent on Monday.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] broken dependencies?¿
2007-08-02 20:14 ` Neil Bothwick
@ 2007-08-03 9:16 ` Arnau Bria
0 siblings, 0 replies; 7+ messages in thread
From: Arnau Bria @ 2007-08-03 9:16 UTC (permalink / raw
To: gentoo-user
On Thu, 2 Aug 2007 21:14:00 +0100
Neil Bothwick wrote:
> On Thu, 2 Aug 2007 19:37:59 +0200, Arnau Bria wrote:
>
[...]
> > so how my system determines which is the version it must use for
> > calculating dependencies?
>
> It uses all of them, because all installed packages need their
> dependencies.
Ok, thaks for your explanation.
[...]
> > In fact, as it's my laptop and I have no much space, I only keep
> > current kernel source (for modules buid)...
>
> In that case "emerge --prune --ask gentoo-sources" will do what you
> need, but you still need to remove the directories from /usr/src
> manually because emerge only removes the files it installed, not any
> that were created or modified by you, like when you compiled the
> kernel.
Thanks for your explanations Neil,
Cheers!
--
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-08-03 9:23 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-02 11:51 [gentoo-user] broken dependencies?¿ Arnau Bria
2007-08-02 14:01 ` Alan McKinnon
2007-08-02 16:00 ` Arnau Bria
2007-08-02 17:58 ` Neil Bothwick
2007-08-02 17:37 ` Arnau Bria
2007-08-02 20:14 ` Neil Bothwick
2007-08-03 9:16 ` Arnau Bria
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox