[mythtv-users] Re: apt-get on FC3 still broken?

2005-08-02 Thread Christopher Holmes
Thanks Axel, The lock files weren't present, but the entry in
/etc/rpm/macros did the trick.

Chris

On 8/2/05, Axel Thimm <[EMAIL PROTECTED]> wrote:
> On Tue, Aug 02, 2005 at 05:10:50PM -0400, Christopher Holmes wrote:
> > On 8/2/05, Axel Thimm <[EMAIL PROTECTED]> wrote:
> > > On Tue, Aug 02, 2005 at 04:29:28PM -0400, Christopher Holmes wrote:
> > > > That's great, but is there a way to fix a buggered system AFTER you're 
> > > > hosed?
> > > > Rpm & apt don't work now and I don't have yum or smart installed.
> > >
> > > What does "rpm don't work" mean?
> 
> > rpmdb: unable to initialize mutex: Function not implemented
> > rpmdb: /var/lib/rpm/__db.001: unable to initialize environment lock:
> > Function not implemented
> > error: db4 error(38) from dbenv->open: Function not implemented
> > error: cannot open Packages index using db3 - Function not implemented (38)
> > error: cannot open Packages database in /var/lib/rpm
> 
> Try rm -f /var/lib/rpm/__*. If that doesn't fix it yet, then place the
> following into /etc/rpm/macros:
> 
> %__dbi_cdb  create cdb private mpool mp_mmapsize=16Mb mp_size=1Mb
> 
> Remove it again after upgrading.
> --
> Axel.Thimm at ATrpms.net
> 
> 
>
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


[mythtv-users] Re: apt-get on FC3 still broken?

2005-08-02 Thread Axel Thimm
On Tue, Aug 02, 2005 at 05:10:50PM -0400, Christopher Holmes wrote:
> On 8/2/05, Axel Thimm <[EMAIL PROTECTED]> wrote:
> > On Tue, Aug 02, 2005 at 04:29:28PM -0400, Christopher Holmes wrote:
> > > That's great, but is there a way to fix a buggered system AFTER you're 
> > > hosed?
> > > Rpm & apt don't work now and I don't have yum or smart installed.
> > 
> > What does "rpm don't work" mean?

> rpmdb: unable to initialize mutex: Function not implemented
> rpmdb: /var/lib/rpm/__db.001: unable to initialize environment lock:
> Function not implemented
> error: db4 error(38) from dbenv->open: Function not implemented
> error: cannot open Packages index using db3 - Function not implemented (38)
> error: cannot open Packages database in /var/lib/rpm

Try rm -f /var/lib/rpm/__*. If that doesn't fix it yet, then place the
following into /etc/rpm/macros:

%__dbi_cdb  create cdb private mpool mp_mmapsize=16Mb mp_size=1Mb

Remove it again after upgrading.
-- 
Axel.Thimm at ATrpms.net


pgp7fCFzqX2sj.pgp
Description: PGP signature
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


[mythtv-users] Re: apt-get on FC3 still broken?

2005-08-02 Thread Christopher Holmes
On 8/2/05, Axel Thimm <[EMAIL PROTECTED]> wrote:
> On Tue, Aug 02, 2005 at 04:29:28PM -0400, Christopher Holmes wrote:
> > That's great, but is there a way to fix a buggered system AFTER you're 
> > hosed?
> > Rpm & apt don't work now and I don't have yum or smart installed.
> 
> What does "rpm don't work" mean?

I get this sort of error for any apt or rpm operation I've tried since
the upgrade:
[EMAIL PROTECTED] mythtv]# apt-get install rpm librpm4.4 apt
atrpms-package-config fedora-release beecrypt
rpmdb: unable to initialize mutex: Function not implemented
rpmdb: /var/lib/rpm/__db.001: unable to initialize environment lock:
Function not implemented
error: db4 error(38) from dbenv->open: Function not implemented
error: cannot open Packages index using db3 - Function not implemented (38)
error: cannot open Packages database in /var/lib/rpm
E: could not open RPM database
[EMAIL PROTECTED] mythtv]# apt-get install fedora-release
atrpms-package-config beecrypt apt smart
rpmdb: unable to initialize mutex: Function not implemented
rpmdb: /var/lib/rpm/__db.001: unable to initialize environment lock:
Function not implemented
error: db4 error(38) from dbenv->open: Function not implemented
error: cannot open Packages index using db3 - Function not implemented (38)
error: cannot open Packages database in /var/lib/rpm
E: could not open RPM database
[EMAIL PROTECTED] mythtv]# 

[EMAIL PROTECTED] tmp]# rpm -i atrpms-kickstart-28-1.rhfc3.at.i386.rpm 
rpmdb: unable to initialize mutex: Function not implemented
rpmdb: /var/lib/rpm/__db.001: unable to initialize environment lock:
Function not implemented
error: db4 error(38) from dbenv->open: Function not implemented
error: cannot open Packages index using db3 - Function not implemented (38)
error: cannot open Packages database in /var/lib/rpm
warning: atrpms-kickstart-28-1.rhfc3.at.i386.rpm: Header V3 DSA
signature: NOKEY, key ID 66534c2b
rpmdb: unable to initialize mutex: Function not implemented
rpmdb: /var/lib/rpm/__db.001: unable to initialize environment lock:
Function not implemented
error: db4 error(38) from dbenv->open: Function not implemented
error: cannot open Packages database in /var/lib/rpm
[EMAIL PROTECTED] tmp]# 

> 
> > I suppose I could compile rpm or apt from sources, but is there an easier 
> > way?
> 
> Download the fixed atrpms-kickstart, unless your rpm is really broken.

It's really broken.

> 
> > > After trying a bunch of suggestions from Axel, we found that the
> > > following works:
> > >
> > > Before the apt-get dist-upgrade, try emptying /etc/apt/preferences, then 
> > > doing:
> --
> Axel.Thimm at ATrpms.net
> 
> 
>
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


[mythtv-users] Re: apt-get on FC3 still broken?

2005-08-02 Thread Axel Thimm
On Tue, Aug 02, 2005 at 04:29:28PM -0400, Christopher Holmes wrote:
> That's great, but is there a way to fix a buggered system AFTER you're hosed?
> Rpm & apt don't work now and I don't have yum or smart installed.

What does "rpm don't work" mean?

> I suppose I could compile rpm or apt from sources, but is there an easier way?

Download the fixed atrpms-kickstart, unless your rpm is really broken.

> > After trying a bunch of suggestions from Axel, we found that the
> > following works:
> > 
> > Before the apt-get dist-upgrade, try emptying /etc/apt/preferences, then 
> > doing:
-- 
Axel.Thimm at ATrpms.net


pgpYC3V1stwpL.pgp
Description: PGP signature
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Re: apt-get on FC3 still broken?

2005-08-02 Thread Christopher Holmes
That's great, but is there a way to fix a buggered system AFTER you're hosed?
Rpm & apt don't work now and I don't have yum or smart installed.

I suppose I could compile rpm or apt from sources, but is there an easier way?

Chris

> After trying a bunch of suggestions from Axel, we found that the
> following works:
> 
> Before the apt-get dist-upgrade, try emptying /etc/apt/preferences, then 
> doing:
>
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


[mythtv-users] Re: apt-get on FC3 still broken?

2005-07-28 Thread Jerry Rubinow
On 26/07/05, Jerry Rubinow <[EMAIL PROTECTED]> wrote:
> I'm at the point where I've done an apt-get update, but before the apt
> and rpm-destroying apt-get dist-upgrade.  If I do this:
> 
> apt-get install rpm librpm4.4 apt atrpms-package-config fedora-release 
> beecrypt
> 
> I get the error that, er, Evil Barney mentioned:
> 
> > The following packages have unmet dependencies:
> >   rpm: Depends: libselinux (>= 1.23.2) but 1.19.1-8 is to be installed
> > E: Broken packages

After trying a bunch of suggestions from Axel, we found that the
following works:

Before the apt-get dist-upgrade, try emptying /etc/apt/preferences, then doing:

apt-get update
apt-get install rpm librpm4.4 apt atrpms-package-config fedora-release beecrypt
apt-get dist-upgrade

The second line is probably not necessary once the preferences file is
cleared, but I didn't explicitly try omitting it.  See

http://bugzilla.atrpms.net/show_bug.cgi?id=587

for more details.

-Jerry
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Re: apt-get on FC3 still broken?

2005-07-26 Thread Todd Pearsall
I'm coming in late to this thread, but this weekend I installed FC3 (several
times in fact) without trouble.  I let up2date upgrade the distribtion and just
used apt-get to install the mythtv-suite.  The backend I left at 2.6.9 since the
upgrade to 2.6.12 didn't seem to include the source I needed to compile ivtv. 
The frontend I let up2date upgrade to 2.6.12 and it's running smoothly.

- Todd

Quoting Evil Barney <[EMAIL PROTECTED]>:

> I tried this with a fresh load of FC3.  First thing I did was install
> apt-get
> (rpm -Uvh
>
http://atrpms.net/dist/fc3/atrpms-kickstart/atrpms-kickstart-27-1.rhfc3.at.i386.rpm)
> 
> then, I did apt-get update
> 
> then I did:
> apt-get install rpm librpm4.4 apt atrpms-package-config fedora-release
> beecrypt
> 
> At that point I get this error:
> 
> [EMAIL PROTECTED] ~]# apt-get install rpm librpm4.4 apt
> atrpms-package-config fedora-release beecrypt
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
> 
> The following packages have unmet dependencies:
>   rpm: Depends: libselinux (>= 1.23.2) but 1.19.1-8 is to be installed
> E: Broken packages
> 
> I stop here and don't attempt the distro upgrade.  
> 
> any thoughts?
> ___
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 



___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


[mythtv-users] Re: apt-get on FC3 still broken?

2005-07-26 Thread Axel Thimm
On Mon, Jul 25, 2005 at 05:50:20PM -0400, Evil Barney wrote:
> I tried this with a fresh load of FC3.  First thing I did was install apt-get
> (rpm -Uvh 
> http://atrpms.net/dist/fc3/atrpms-kickstart/atrpms-kickstart-27-1.rhfc3.at.i386.rpm)
> 
> then, I did apt-get update
> 
> then I did:
> apt-get install rpm librpm4.4 apt atrpms-package-config fedora-release
> beecrypt
> 
> At that point I get this error:
> 
> [EMAIL PROTECTED] ~]# apt-get install rpm librpm4.4 apt
> atrpms-package-config fedora-release beecrypt
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
> 
> The following packages have unmet dependencies:
>   rpm: Depends: libselinux (>= 1.23.2) but 1.19.1-8 is to be installed
> E: Broken packages
> 
> I stop here and don't attempt the distro upgrade.  
> 
> any thoughts?

Add libselinux to the above command line.

Wow, apt seems to be quite confused by the depth of package
dependencies. I still wonder why apt-get dist-upgrade does not
work. Time to find a smart or yum solution.

Perhaps adding

[atrpms]
name=Fedora Core 3 - i386 - ATrpms
baseurl=http://dl.atrpms.net/fc3-i386/atrpms/stable

to /etc/yum.conf

and having a "yum install apt" is faster ...
-- 
Axel.Thimm at ATrpms.net


pgpTh7lsfeKEa.pgp
Description: PGP signature
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Re: apt-get on FC3 still broken?

2005-07-25 Thread Evil Barney
I tried this with a fresh load of FC3.  First thing I did was install apt-get
(rpm -Uvh 
http://atrpms.net/dist/fc3/atrpms-kickstart/atrpms-kickstart-27-1.rhfc3.at.i386.rpm)

then, I did apt-get update

then I did:
apt-get install rpm librpm4.4 apt atrpms-package-config fedora-release
beecrypt

At that point I get this error:

[EMAIL PROTECTED] ~]# apt-get install rpm librpm4.4 apt
atrpms-package-config fedora-release beecrypt
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  rpm: Depends: libselinux (>= 1.23.2) but 1.19.1-8 is to be installed
E: Broken packages

I stop here and don't attempt the distro upgrade.  

any thoughts?
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Re: apt-get on FC3 still broken?

2005-07-25 Thread Michael Jones
Axel, 

I was able to get it working with:

apt-get install rpm librpm4.4 apt atrpms-package-config fedora-release
beecrypt

.. and then running the apt-get dist-upgrade normally.

- Michael

> From: Axel Thimm <[EMAIL PROTECTED]>
> Reply-To: 
> Date: Fri, 22 Jul 2005 10:37:28 +0200
> To: <[EMAIL PROTECTED]>, Discussion about mythtv 
> Cc: <[EMAIL PROTECTED]>
> Subject: [mythtv-users] Re: apt-get on FC3 still broken?
> 
> On Fri, Jul 22, 2005 at 12:14:41AM -0400, Jerry Rubinow wrote:
>> In step 5 of Jarod's guide, in between the apt-get update and apt-get
>> dist-upgrade, I tried this:
>> 
>> apt-get install apt atrpms-package-config fedora-release beecrypt
>> 
>> This seemed to complete ok, so then I did an apt-get dist-upgrade,
> 
> OK. :)
> 
> Alternatively you could try
> 
> apt-get install fedora-release atrpms-package-config beecrypt apt smart
> 
> and use smart instead of apt. But that's for the very adventurous.
> 
>> which got to the point of figuring out how much space it needed to
>> install the downloaded packages on the file system, and then said "E:
>> Error while running transaction" when it got up to xorg-x11-tools.  At
>> least apt-get is still there, but now I'm stuck.
> 
> On Fri, Jul 22, 2005 at 12:41:03AM -0700, Michael Jones wrote:
>> I think I've hit about the same point..
>> 
>> The error seems to be coming from a conflict between the packages from the
>> dist-upgrade and the ones done manually..
> 
> Could you send some more detail on this? Perhaps right into
> http://bugzilla.atrpms.net/?
> 
> Thanks.
> -- 
> Axel.Thimm at ATrpms.net
> ___
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


[mythtv-users] Re: apt-get on FC3 still broken?

2005-07-22 Thread Axel Thimm
On Fri, Jul 22, 2005 at 12:14:41AM -0400, Jerry Rubinow wrote:
> In step 5 of Jarod's guide, in between the apt-get update and apt-get
> dist-upgrade, I tried this:
> 
> apt-get install apt atrpms-package-config fedora-release beecrypt
> 
> This seemed to complete ok, so then I did an apt-get dist-upgrade,

OK. :)

Alternatively you could try

apt-get install fedora-release atrpms-package-config beecrypt apt smart

and use smart instead of apt. But that's for the very adventurous.

> which got to the point of figuring out how much space it needed to
> install the downloaded packages on the file system, and then said "E:
> Error while running transaction" when it got up to xorg-x11-tools.  At
> least apt-get is still there, but now I'm stuck.

On Fri, Jul 22, 2005 at 12:41:03AM -0700, Michael Jones wrote:
> I think I've hit about the same point..
> 
> The error seems to be coming from a conflict between the packages from the
> dist-upgrade and the ones done manually..

Could you send some more detail on this? Perhaps right into
http://bugzilla.atrpms.net/?

Thanks.
-- 
Axel.Thimm at ATrpms.net


pgpm5laqWo4yf.pgp
Description: PGP signature
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users