public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Old machine update - libexpat upgrade instructions?
@ 2008-04-07 16:52 Mark Knecht
  2008-04-07 17:00 ` Ricardo Saffi Marques
  0 siblings, 1 reply; 10+ messages in thread
From: Mark Knecht @ 2008-04-07 16:52 UTC (permalink / raw
  To: gentoo-user

Hi,
   I was updating an old machine overnight that stopped with some
messages inside of a mythtv emerge with issues about qt and libexpat.
I vaguely remember we all had problems with libexpat upgrades a year
ago so I've been searching around for the Gentoo update instructions
but I'm not finding them. Anyone know the right search terms?

Thanks,
Mark
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Old machine update - libexpat upgrade instructions?
  2008-04-07 16:52 [gentoo-user] Old machine update - libexpat upgrade instructions? Mark Knecht
@ 2008-04-07 17:00 ` Ricardo Saffi Marques
  2008-04-07 17:29   ` Mark Knecht
  0 siblings, 1 reply; 10+ messages in thread
From: Ricardo Saffi Marques @ 2008-04-07 17:00 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 781 bytes --]

On Mon, Apr 7, 2008 at 1:52 PM, Mark Knecht <markknecht@gmail.com> wrote:

> Hi,
>   I was updating an old machine overnight that stopped with some
> messages inside of a mythtv emerge with issues about qt and libexpat.
> I vaguely remember we all had problems with libexpat upgrades a year
> ago so I've been searching around for the Gentoo update instructions
> but I'm not finding them. Anyone know the right search terms?


Expat upgrades for versions greater than 2.0 will make some dependencies
break. revdep-rebuild usually solves it with no problems.

-- 
Ricardo Saffi Marques
Laboratório de Administração e Segurança de Sistemas (LAS/IC)
Universidade Estadual de Campinas (UNICAMP)
Cell: +55 (19) 8128-0435
Skype: ricardo_saffi_marques
Website: http://www.rsaffi.com

[-- Attachment #2: Type: text/html, Size: 1096 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Old machine update - libexpat upgrade instructions?
  2008-04-07 17:00 ` Ricardo Saffi Marques
@ 2008-04-07 17:29   ` Mark Knecht
  2008-04-07 17:51     ` Henry Gebhardt
  0 siblings, 1 reply; 10+ messages in thread
From: Mark Knecht @ 2008-04-07 17:29 UTC (permalink / raw
  To: gentoo-user

On Mon, Apr 7, 2008 at 10:00 AM, Ricardo Saffi Marques
<saffi@las.ic.unicamp.br> wrote:
>
> On Mon, Apr 7, 2008 at 1:52 PM, Mark Knecht <markknecht@gmail.com> wrote:
>
>
> > Hi,
> >   I was updating an old machine overnight that stopped with some
> > messages inside of a mythtv emerge with issues about qt and libexpat.
> > I vaguely remember we all had problems with libexpat upgrades a year
> > ago so I've been searching around for the Gentoo update instructions
> > but I'm not finding them. Anyone know the right search terms?
>
> Expat upgrades for versions greater than 2.0 will make some dependencies
> break. revdep-rebuild usually solves it with no problems.
> --
> Ricardo Saffi Marques
> Laboratório de Administração e Segurança de Sistemas (LAS/IC)
> Universidade Estadual de Campinas (UNICAMP)
> Cell: +55 (19) 8128-0435
> Skype: ricardo_saffi_marques
> Website: http://www.rsaffi.com

Ah. Maybe that's all it is then. I do have 2.0.1 installed nowwhich is
probably an upgrade itself.

Am I correct that revdep-rebuild -p --library=libexpat.so.0 will take
care of finding all the right stuff?

Thanks,
Mark
--
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Old machine update - libexpat upgrade instructions?
  2008-04-07 17:29   ` Mark Knecht
@ 2008-04-07 17:51     ` Henry Gebhardt
  2008-04-07 17:57       ` Mark Knecht
  0 siblings, 1 reply; 10+ messages in thread
From: Henry Gebhardt @ 2008-04-07 17:51 UTC (permalink / raw
  To: gentoo-user

On Mon, Apr 7, 2008 at 7:29 PM, Mark Knecht <markknecht@gmail.com> wrote:
>  Am I correct that revdep-rebuild -p --library=libexpat.so.0 will take
>  care of finding all the right stuff?

Even better yet, a plain

    revdep-rebuild -p

will also find other breakages, not only those related to expat. My
update procedure has looked like this for a couple years now (found it
in the forums way back), and I didn't really notice that expat problem
back whenever :-) :

eix-sync
emerge -vDuN world
emerge --depclean
revdep-rebuild -v
etc-update


~Henry
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Old machine update - libexpat upgrade instructions?
  2008-04-07 17:51     ` Henry Gebhardt
@ 2008-04-07 17:57       ` Mark Knecht
  2008-04-10 18:54         ` b.n.
  0 siblings, 1 reply; 10+ messages in thread
From: Mark Knecht @ 2008-04-07 17:57 UTC (permalink / raw
  To: gentoo-user

On Mon, Apr 7, 2008 at 10:51 AM, Henry Gebhardt
<hsggebhardt@googlemail.com> wrote:
> On Mon, Apr 7, 2008 at 7:29 PM, Mark Knecht <markknecht@gmail.com> wrote:
>  >  Am I correct that revdep-rebuild -p --library=libexpat.so.0 will take
>  >  care of finding all the right stuff?
>
>  Even better yet, a plain
>
>     revdep-rebuild -p
>
>  will also find other breakages, not only those related to expat. My
>  update procedure has looked like this for a couple years now (found it
>  in the forums way back), and I didn't really notice that expat problem
>  back whenever :-) :
>
>  eix-sync
>  emerge -vDuN world
>  emerge --depclean
>  revdep-rebuild -v
>  etc-update
>

Pretty much the same here but this is old hardware and a complete
emerge -DuN world would break the machine so until I carefully put
some package masking in place I don't want to do that.

Thanks,
Mark
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Old machine update - libexpat upgrade instructions?
  2008-04-07 17:57       ` Mark Knecht
@ 2008-04-10 18:54         ` b.n.
  2008-04-10 19:41           ` Mark Knecht
  0 siblings, 1 reply; 10+ messages in thread
From: b.n. @ 2008-04-10 18:54 UTC (permalink / raw
  To: gentoo-user

Mark Knecht ha scritto:

> Pretty much the same here but this is old hardware and a complete
> emerge -DuN world would break the machine 

Why? I'm curious about that.


m.
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Old machine update - libexpat upgrade instructions?
  2008-04-10 18:54         ` b.n.
@ 2008-04-10 19:41           ` Mark Knecht
  2008-04-11  7:04             ` Alan McKinnon
  0 siblings, 1 reply; 10+ messages in thread
From: Mark Knecht @ 2008-04-10 19:41 UTC (permalink / raw
  To: gentoo-user

On Thu, Apr 10, 2008 at 11:54 AM, b.n. <brullonulla@gmail.com> wrote:
> Mark Knecht ha scritto:
>
>
>
> > Pretty much the same here but this is old hardware and a complete
> > emerge -DuN world would break the machine
> >
>
>  Why? I'm curious about that.
>
>
>  m.

The folks who maintain the portage servers will at times remove old
versions of programs, for instance the ati-drivers package. In that
past I did a blind update and got a new ati-drivers package but
unfortunately it didn't support the ATI 9100 IGP chipset and the
machine broke.

Hope this explains my comment.

Cheers,
Mark
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Old machine update - libexpat upgrade instructions?
  2008-04-10 19:41           ` Mark Knecht
@ 2008-04-11  7:04             ` Alan McKinnon
  2008-04-11 17:04               ` Mark Knecht
  0 siblings, 1 reply; 10+ messages in thread
From: Alan McKinnon @ 2008-04-11  7:04 UTC (permalink / raw
  To: gentoo-user

On Thursday 10 April 2008, Mark Knecht wrote:
> The folks who maintain the portage servers will at times remove old
> versions of programs, for instance the ati-drivers package. In that
> past I did a blind update and got a new ati-drivers package but
> unfortunately it didn't support the ATI 9100 IGP chipset and the
> machine broke.
>
> Hope this explains my comment.

Portage to the rescue!! :-)

Well, eix actually. It comes with a script - eix-test-obsolete - that 
scans your portage config files looking for inconsistencies and 
redundancies, then splits huge amounts of output to the console. One of 
the things it does is find installed ebuilds that are no longer in the 
tree.

This fixes your bind, as you can get copies of those missing ebuilds 
from /var/db/pkg/<category>/<app>/*ebuild and copy them to a local 
private overlay where they will stay for posterity 

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Old machine update - libexpat upgrade instructions?
  2008-04-11  7:04             ` Alan McKinnon
@ 2008-04-11 17:04               ` Mark Knecht
  2008-04-14  9:34                 ` Alan McKinnon
  0 siblings, 1 reply; 10+ messages in thread
From: Mark Knecht @ 2008-04-11 17:04 UTC (permalink / raw
  To: gentoo-user

On Fri, Apr 11, 2008 at 12:04 AM, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> On Thursday 10 April 2008, Mark Knecht wrote:
>  > The folks who maintain the portage servers will at times remove old
>  > versions of programs, for instance the ati-drivers package. In that
>  > past I did a blind update and got a new ati-drivers package but
>  > unfortunately it didn't support the ATI 9100 IGP chipset and the
>  > machine broke.
>  >
>  > Hope this explains my comment.
>
>  Portage to the rescue!! :-)
>
>  Well, eix actually. It comes with a script - eix-test-obsolete - that
>  scans your portage config files looking for inconsistencies and
>  redundancies, then splits huge amounts of output to the console. One of
>  the things it does is find installed ebuilds that are no longer in the
>  tree.
>
>  This fixes your bind, as you can get copies of those missing ebuilds
>  from /var/db/pkg/<category>/<app>/*ebuild and copy them to a local
>  private overlay where they will stay for posterity
>
>  --
>  Alan McKinnon
>  alan dot mckinnon at gmail dot com
>

Alan,
   Thanks. The command is enlightening and is helping me clean things up a bit.

   Now, if I knew anything at all about creating and maintaining my
own overlay I'd be really dangerous. ;-)

Cheers,
Mark
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Old machine update - libexpat upgrade instructions?
  2008-04-11 17:04               ` Mark Knecht
@ 2008-04-14  9:34                 ` Alan McKinnon
  0 siblings, 0 replies; 10+ messages in thread
From: Alan McKinnon @ 2008-04-14  9:34 UTC (permalink / raw
  To: gentoo-user

On Friday 11 April 2008, Mark Knecht wrote:
>    Now, if I knew anything at all about creating and maintaining my
> own overlay I'd be really dangerous. ;-)

It's easy and very useful. There's even an article on the wiki somewhere 
that tells you how to do it. In summary:

- create a parent directory for the overlay, something 
like /usr/portage/local/mark
- put your ebuilds in there, using the same <category>/<app> structure 
as the main tree
- run 'ebuild /path/to/overlay/ebuild manifest' to create proper 
manifest files
- edit an entry in /etc/make.conf to tell portage to use your overlay

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

--
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-04-14  9:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-07 16:52 [gentoo-user] Old machine update - libexpat upgrade instructions? Mark Knecht
2008-04-07 17:00 ` Ricardo Saffi Marques
2008-04-07 17:29   ` Mark Knecht
2008-04-07 17:51     ` Henry Gebhardt
2008-04-07 17:57       ` Mark Knecht
2008-04-10 18:54         ` b.n.
2008-04-10 19:41           ` Mark Knecht
2008-04-11  7:04             ` Alan McKinnon
2008-04-11 17:04               ` Mark Knecht
2008-04-14  9:34                 ` Alan McKinnon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox