Re: problems with base-config_2.70_all.deb

2005-08-19 Thread Ed Tomlinson
Forget this.  

I did a second update/upgrade cycle (about 5 minutes after the first)
and 2.71 was found - it fixes this problem.

Thanks
Ed

On Friday 19 August 2005 18:13, Ed Tomlinson wrote:
> Hi,
> 
> Got back from vacation.  Updating gets the following:
> 
> Setting up base-config (2.70) ...
> /var/lib/dpkg/info/base-config.postinst: line 59: syntax error near 
> unexpected token `db_fset'
> dpkg: error processing base-config (--configure):
>  subprocess post-installation script returned error exit status 2
> 
> I've reinstalled 2.69 and held the package.  For some reason aptitude, 
> without any messages why, ignores 
> my instructions to hold the pack and keeps trying 2.70 (probably something 
> requires 2.70 - when/if aptitude 
> overides my instructions it SHOULD tell me why!)
> 
> Ideas
> Ed Tomlinson
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: problems with base-config_2.70_all.deb

2005-08-19 Thread Kurt Roeckx
On Fri, Aug 19, 2005 at 06:13:50PM -0400, Ed Tomlinson wrote:
> Hi,
> 
> Got back from vacation.  Updating gets the following:
> 
> Setting up base-config (2.70) ...
> /var/lib/dpkg/info/base-config.postinst: line 59: syntax error near 
> unexpected token `db_fset'
> dpkg: error processing base-config (--configure):
>  subprocess post-installation script returned error exit status 2

This is fixed in 2.71, which just hit the mirrors and should be
available on your mirror now or soon.


Kurt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



problems with base-config_2.70_all.deb

2005-08-19 Thread Ed Tomlinson
Hi,

Got back from vacation.  Updating gets the following:

Setting up base-config (2.70) ...
/var/lib/dpkg/info/base-config.postinst: line 59: syntax error near unexpected 
token `db_fset'
dpkg: error processing base-config (--configure):
 subprocess post-installation script returned error exit status 2

I've reinstalled 2.69 and held the package.  For some reason aptitude, without 
any messages why, ignores 
my instructions to hold the pack and keeps trying 2.70 (probably something 
requires 2.70 - when/if aptitude 
overides my instructions it SHOULD tell me why!)

Ideas
Ed Tomlinson


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Any kde 3.4 repository?

2005-08-19 Thread Kaare Olsen
On Fri, 19 Aug 2005 23:34:21 +0200
Ernest jw ter Kuile <[EMAIL PROTECTED]> wrote:

> Actually, is there a specific mailing list (or irc) where people
> working on  kde for debian (amd64) meet ? 

A good guess would be the debian-qt-kde mailing list, but I'm only a
mere user of the binary KDE 3.4 packages for amd64...

-- 
Regards, Kaare - 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Any kde 3.4 repository?

2005-08-19 Thread Ernest jw ter Kuile
On Friday 19 August 2005 18:25, Kaare Olsen wrote:

> There are amd64 packages in kde-3.4.1.
>
> deb http://pkg-kde.alioth.debian.org/kde-3.4.1/ ./

I noticed there is also a kde-3.4.2 there, but only with tar balls. Apparently 
somebody is doing something.

But I too tryied compiling kde 3.4.2 from (kde) source using debian gcc 4.xx, 
however many, if not most, packages end up in error.

Actually, is there a specific mailing list (or irc) where people working on 
kde for debian (amd64) meet ? 

Ernest.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How do I play a DVD??????

2005-08-19 Thread Harald Dunkel
Lennart Sorensen wrote:
> On Fri, Aug 19, 2005 at 07:13:25AM +0200, Harald Dunkel wrote:
> 
> 
> 
> I have seen cdrom and disk on hdc before, but never floppy.  How weird
> is your system?
> 

I'm innocent.

http://bugs.debian.org/321276



Regards

Harri


signature.asc
Description: OpenPGP digital signature


Re: ia32-libs and dynamic loading paths

2005-08-19 Thread Matthias Julius
Thomas Steffen <[EMAIL PROTECTED]> writes:

> On 8/19/05, Christoph Best <[EMAIL PROTECTED]> wrote:
>> Maybe I'll try to modify dlopen() to prepend "/emul/ia32" if the file
>> cannot be loaded and see if this solves the problems. I do not think
>> this should break anything.

That path should be set by the user.  Not everyone has his chroot
installed in /emul/ia32.

>
> Yes, I think that should solve most of these problems. The goal would
> be to make ia32 binaries work "out of the box" with a chroot
> environment installed there. I think for the cases I tested this
> modification should work, and it is much nicer than setting
> environment variables.

Shouldn't multiarch solve these problems as well?  Then packages would
install their modules in /usr/lib/$arch/$package (or was it
/usr/lib-$arch/$package?) and everyone should be happy.

Matthias


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Any kde 3.4 repository?

2005-08-19 Thread Kaare Olsen
On Fri, 19 Aug 2005 18:13:24 +0200
Michelasso <[EMAIL PROTECTED]> wrote:

> is there any kde 3.4 debian repository available for amd64?

There are amd64 packages in kde-3.4.1.

deb http://pkg-kde.alioth.debian.org/kde-3.4.1/ ./

-- 
Regards, Kaare 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Any kde 3.4 repository?

2005-08-19 Thread Michelasso
Hello everybody,
is there any kde 3.4 debian repository available for amd64?
I have seen in the web some references to 

deb http://pkg-kde.alioth.debian.org/kde-3.4.0/ ./

but it is not clear to me if it is only for 32bit i386 packages.

Bye.



Re: How do I play a DVD??????

2005-08-19 Thread Joost Kraaijeveld
Thanks everyone for the suggestions. I can play my DVD's: I installed
Ogle and now I can play my DVD's with Totem. Don't know why but now I
can even use Totem after I removed Ogle. 

Joost



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How do I play a DVD??????

2005-08-19 Thread Jean-Luc Coulon (f5ibh)

Le 19.08.2005 14:42:40, Lennart Sorensen a écrit :

On Fri, Aug 19, 2005 at 07:13:25AM +0200, Harald Dunkel wrote:
> Maybe you just don't have the access permissions. Try
>
>dd if=/dev/hdc bs=64k count=1 of=/dev/null
>
> If you get a "permission denied", then you should
> consider to add your account name in /etc/group to
> the floppy group. See also the output of 'ls -l /dev/hdc':
>
> brw-rw  1 root floppy 22, 0 Aug 19 06:36 /dev/hdc
> ^^ ^^

I have seen cdrom and disk on hdc before, but never floppy.  How weird
is your system?


It is a bug in udev, solved in 0.068.
See #321276, #323369, #323282, all fixed in 0.068.

You can try to "udevstart" after booting the system, this can fix  
temporarily the problem. But upgrade to 0.068, it is really fine!





Len Sorensen


Regards

Jean-Luc


pgpHTe3SVIyLY.pgp
Description: PGP signature


Re: ia32-libs and dynamic loading paths

2005-08-19 Thread Thomas Steffen
On 8/19/05, Christoph Best <[EMAIL PROTECTED]> wrote:
> Maybe I'll try to modify dlopen() to prepend "/emul/ia32" if the file
> cannot be loaded and see if this solves the problems. I do not think
> this should break anything.

Yes, I think that should solve most of these problems. The goal would
be to make ia32 binaries work "out of the box" with a chroot
environment installed there. I think for the cases I tested this
modification should work, and it is much nicer than setting
environment variables.

Thomas



Re: How do I play a DVD??????

2005-08-19 Thread Lennart Sorensen
On Fri, Aug 19, 2005 at 07:13:25AM +0200, Harald Dunkel wrote:
> Maybe you just don't have the access permissions. Try
> 
>   dd if=/dev/hdc bs=64k count=1 of=/dev/null
> 
> If you get a "permission denied", then you should
> consider to add your account name in /etc/group to
> the floppy group. See also the output of 'ls -l /dev/hdc':
> 
> brw-rw  1 root floppy 22, 0 Aug 19 06:36 /dev/hdc
> ^^ ^^

I have seen cdrom and disk on hdc before, but never floppy.  How weird
is your system?

Len Sorensen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: ia32-libs and dynamic loading paths

2005-08-19 Thread Christoph Best
Thomas Steffen writes:
 > > Maybe one way to solve this would be to modify dlopen() to look at
 > > alternate locations by prepending /emul/target? Or at least to provide
 > > a dlopen_multiarch() that does that?
 > 
 > Yes, several systems use this approach, which can be implemented in
 > the linker or in the kernel. Windows for example puts the libraries in
 > \Windows\system32. On a x64 system, this directory contains 64bit (!)
 > libraries. If a 32bit process tries to access this directory, it gets
 > redirectod to \Windows\Programs\WoW64 (!), where the 32bit libraries
 > are stored. But most other architecture emulators work the same way,
 > for example Mac-on-Linux. I have no idea why the 32bit subsystem in
 > the amd64 kernel does not do this.

It does (it is actually the ld.so loader program that does it) - but
only for libraries that don't have an explicit path specified.

The problem here is with explicitly loaded libraries like
plug-ins. Here, the loading is done using dlopen() using an absolute
path, and only this path is searched. This makes sense since some
programs have many small loaddable plug-ins (e.g. 32 libraries in my
system for libpam in /lib/security) and they should not be visible to
other programs. For pango, these paths are specified e.g. in
/etc/pango/pango.modules.

Maybe I'll try to modify dlopen() to prepend "/emul/ia32" if the file
cannot be loaded and see if this solves the problems. I do not think
this should break anything.

-Christoph
-- 
Christoph Best  cbst at tigertiger de
Max-Planck-Institute of Biochemistry, Munich  http://tigertiger.de/cb


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Compaq R4000

2005-08-19 Thread jefe boss
I have a Compaq R4000 too and It's working properly except the sound,
check this page, maybe can help you. It's for Ubuntu but maybe...

http://www.ubuntuforums.org/showthread.php?t=47555

good luck

2005/8/11, Adam Stiles <[EMAIL PROTECTED]>:
> On Thursday 11 August 2005 15:44, Howard Coles Jr. wrote:
> > /bin/sh: /usr/src/linux-headers-2.6.12-1-k7/scripts/gcc-version.sh: No such
> > fil or directory
> > make[1]: Entering directory '/usr/src/linux-headers-2.6.12-1-k7'
> >   CC [M]  /lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.o
> > /lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.c:57: error: static
> > declaration of '_fgl_agp_try_unsupported' follows non-static declaration
> > /lib/modules/fglrx/build_mod/2.6.x/agp_backend.h:92: error: previous
> > declaration of '__fgl_agp_try_unsupported' was here
> > make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/nvideia-agp.o] Error 1
> > make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
> > make[1]: *** [kmod_muild] Error 2
> > build failed with return value 2
> >
> > I upgraded to 2.6.12 kernel thinking that would help the hardware clock
> > issue but it hasn't.  I tried the "no_timer_check" parameter, and that
> > didn't help either.
> >
> > --
> >
> > See Ya'
> > Howard Coles Jr.
> > John 3:16!
> 
> Chances are you have some obscure file missing which is in a -dev package
> somewhere.
> 
> In the Bad Old Days, when processor power was at a premium, Linux distributors
> began distributing ready-compiled packages, which just required the files
> copying into the destination directories  {as `make install` does}.  Disk
> space was also at a premium then, so certain files that were generated during
> compilation of a package, which were not necessary for the day-to-day running
> of the package  {but which might be required later, when compiling other
> dependent packages from source}  would be separated out into a -dev {for
> development}  package.
> 
> This habit has persisted long beyond any technical justification.
> 
> When compiling a kernel module from source -- or patching a precompiled
> closed-source, binary-only kernel module to work with your existing kernel --
> you need the header files which are part of the kernel source.
> 
> I personally have never had any joy with kernel-headers-* packages.  Once I
> compiled my own kernel, using sources obtained from kernel.org, all my
> problems vanished.  Debian makes it easy to compile your own kernel.  There
> is a package called "kernel-package" which generates a .deb file you can
> install.  You also need another package  {libncurses5-dev, I think}  for
> `make menuconfig` to work.
> 
> --
> AJS
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
>



Re: Turion64 clock and the APIC

2005-08-19 Thread jefe boss
2005/8/19, jefe boss <[EMAIL PROTECTED]>:
> I have a compaq presario with and AMD64 processor and an ATI chipset
> and I had the same problem. I found the patches for the 2.6.10 kernel
> version in:
> 
> http://www.ubuntuforums.org/showthread.php?t=47555
> 
> I could fix the problem.
> 
> 
> 
> 2005/8/18, Lennart Sorensen <[EMAIL PROTECTED]>:
> > On Wed, Aug 17, 2005 at 11:06:06PM -0700, Alex Perry wrote:
> > > I've been using a Turion64 based laptop for a couple of weeks,
> > > installed with Sarge/Pure64 in a single boot configuration,
> > > and everything is as expected.  Just like my Athlon64 laptops.
> > >
> > > There's just one irritating thing.  Unless I specify NOAPIC,
> > > the system clock runs exactly twice as fast as wall clock.
> > > It maintains that ratio irrespective of the CPU frequency.
> > > It's true in both the Debian "kernel-image-2.6.8-11-amd64-k8"
> > > as well as the most recent 2.6.12.5 stable release (local build).
> > >
> > > Has anyone come across a patch to fix the problem neatly so I
> > > can turn my the APIC again?  Just thought I'd ask on list ...
> > >   Alex.
> > >
> > > PS:
> > > HP L2005: ML-34, ATI south & video, RTL8139, Broadcom, rest TI.
> >
> > As far as I have been able to follow on lkml, this is a known problem on
> > ATI chipsets.  The cause has not yet been found it seems.  it could be a
> > bug in the hardware, or the kernel using the hardware slightly wrong.
> >
> > You might want to go look for that thread on lkml archives.
> >
> > Len Sorensen
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> >
> >
>



Re: Acer Turion laptops

2005-08-19 Thread Frederik Schueler
Hello,

On Fri, Aug 19, 2005 at 11:05:20AM +0200, Frank wrote:
> Speaking of this, I have to add a short question: Does the ondemand governor 
> mean, that I do not need a userspace tool (like "powernowd") anymore for 
> scaling the processor frequency? Sounds like a much cleaner solution to me, 
> so if this is the case, I'd like to switch to it.

exactly.

Best regards
Frederik Schueler

-- 
ENOSIG


signature.asc
Description: Digital signature


Re: ia32-libs and dynamic loading paths

2005-08-19 Thread Thomas Steffen
On 8/19/05, Christoph Best <[EMAIL PROTECTED]> wrote:
> Goswin von Brederlow writes:
>  > > libX11.so.2 loading the locale dependent libraries in
>  > > /usr/X11R6/lib/locale/lib/common. This causes the "X11 locale not found

Yes, I made the same observation some time ago, when I was trying to
run acrobat reader without a chroot.

> I found a note on this problem at the end of
>   http://www.linuxbase.org/futures/ideas/multiarch/
> but it addresses apache plug-ins, 

Unfortunately it only notes the problem, but then does not give a
solution. The problem is of course a standard one, but there does not
seem to be a standard answer (yet?).

Usually static compiled in paths are recommended:

>  > The right way to solve this is to compile the lib with multiarch
>  > directories on all archs.
> 
> I looked into the libX11 sources, and while it can take a list of
> directories to search, it does not check whether the loadable
> libraries are compatible and simply takes the first directory that has
> a locale.dir in it.

Well, you just have to make sure that you configure the right
directory :-). Of course with more and more libraries using dynamical
modules, the limitation that you can't moves these libraries without
recompiling gets increasingly annoying.

Option two is environment variables. That is *very* ugly, and it
completely prevents seamless interoperability between 32bit and 64bit
programs.

So there is option three, some "runtime glue":

> Maybe one way to solve this would be to modify dlopen() to look at
> alternate locations by prepending /emul/target? Or at least to provide
> a dlopen_multiarch() that does that?

Yes, several systems use this approach, which can be implemented in
the linker or in the kernel. Windows for example puts the libraries in
\Windows\system32. On a x64 system, this directory contains 64bit (!)
libraries. If a 32bit process tries to access this directory, it gets
redirectod to \Windows\Programs\WoW64 (!), where the 32bit libraries
are stored. But most other architecture emulators work the same way,
for example Mac-on-Linux. I have no idea why the 32bit subsystem in
the amd64 kernel does not do this.

> Could one talk the glibc maintainers to allow that?

I would hope so, because this is by far the best solution. 

Thomas



Re: ia32-libs and dynamic loading paths

2005-08-19 Thread Christoph Best
Goswin von Brederlow writes:
 > > libX11.so.2 loading the locale dependent libraries in
 > > /usr/X11R6/lib/locale/lib/common. This causes the "X11 locale not

 > Are those file actualy architecture dependend and why so?

They are shared libraries, but they are loaded using dlopen(), not
using ld.so. I found a note on this problem at the end of 
  http://www.linuxbase.org/futures/ideas/multiarch/
but it addresses apache plug-ins, where one presumably would configure
a 32-bit apache to load them from a 32-bit tree. 

 > The right way to solve this is to compile the lib with multiarch
 > directories on all archs.

I looked into the libX11 sources, and while it can take a list of
directories to search, it does not check whether the loadable
libraries are compatible and simply takes the first directory that has
a locale.dir in it.

Maybe one way to solve this would be to modify dlopen() to look at
alternate locations by prepending /emul/target? Or at least to provide
a dlopen_multiarch() that does that?

Could one talk the glibc maintainers to allow that?

BTW, what is the status of multiarch between debian and ubuntu? ubuntu
seems to use the old lib32/lib64 approach...

-Christoph
-- 
Christoph Best  cbst at tigertiger de
Max-Planck-Institute of Biochemistry, Munich  http://tigertiger.de/cb


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: GetDP?

2005-08-19 Thread Michal Hajek
Hi :)

* Petr Salinger ([EMAIL PROTECTED]) [050819 10:39]:
> You have to distinguish between using a library for running a program
> and using a library (and its headers) for compiling a program.
 
> For compiling you need also libgsl0-dev.

ah, thank you for claryfying that. Now things work as expected :))
(apparently, they worked that way before as well :)

I guess I should spent some time on learning how programming works, hehe
:)

Best regards
Michal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Acer Turion laptops

2005-08-19 Thread Frank
Am Donnerstag, 18. August 2005 20:42 schrieb Frederik Schueler:
> Yeah, I did something similar, additionally the initscript does a
>
> echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
>
> to make the fan shut up ;-)

Speaking of this, I have to add a short question: Does the ondemand governor 
mean, that I do not need a userspace tool (like "powernowd") anymore for 
scaling the processor frequency? Sounds like a much cleaner solution to me, 
so if this is the case, I'd like to switch to it.

Thanks,
Frank


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: GetDP?

2005-08-19 Thread Petr Salinger

Hi.


Well, I can do my work like this, but still it is not really clear why:



1. the same library (eg. the same version) is not working in the normal
debian (read "default") setup?


You have to distinguish between using a library for running a program
and using a library (and its headers) for compiling a program.

For compiling you need also libgsl0-dev.

apt-get install build-essential g77 libgsl0-dev

After that I was able to compile  getdp-1.0.1.

$ ls  -l /usr/lib/libgsl.*

-rw-r--r--  1 root root 3600118 2005-04-11 01:17 /usr/lib/libgsl.a
lrwxrwxrwx  1 root root  15 2005-08-18 16:31 /usr/lib/libgsl.so -> 
libgsl.so.0.7.0
lrwxrwxrwx  1 root root  15 2005-08-18 16:31 /usr/lib/libgsl.so.0 -> 
libgsl.so.0.7.0
-rw-r--r--  1 root root 1738768 2005-04-11 01:17 /usr/lib/libgsl.so.0.7.0


Regards
Petr


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: problems with chroot32

2005-08-19 Thread Goswin von Brederlow
Lukasz Pieczara <[EMAIL PROTECTED]> writes:

> i try install chroot 32:
>
> debootstrap --exclude=libsigc++-1.2-5c102,slang1a-utf8 --arch i386 sid
> /var/chroot/sid-ia32 http://ftp.debian.org/debian
>
> after all
>
> I: Installing core packages...
> ln: `/var/chroot/sid-ia32/usr/bin/awk': File exists

Don't know what that is about. Sounds like some bug.

> umount: /var/chroot/sid-ia32/dev/pts: not mounted
> umount: /var/chroot/sid-ia32/dev/shm: not mounted
> umount: /var/chroot/sid-ia32/proc/bus/usb: not mounted

That is just cleanup in case any of them were mounted. You always get
them with debootstrap if it bails out early.

> i'm typing two lines:
>
> mount -o bind /dev/pts /var/chroot/sid-ia32/dev/pts
> mount -t tmpfs tmpfs /var/chroot/sid-ia32/dev/shm
>
> but these commands don't resolve problem
>
> when i want change system root:
>
> # chroot /var/chroot/sid-ia32
> # apt-get
> apt-get: error while loading shared libraries: libstdc++.so.6: cannot
> open shared object file: No such file or directory
>
> thanks for help ;-)
>
>
> £ukasz Pieczara

Don't use debootstrap, don't exclude core libs, don't install sid.

Install sarge with cdebootstrap and upgrade.

MfG
Goswin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]