Re: How to install wine on debian/amd64/sid?

2009-07-23 Thread Goswin von Brederlow
John Wong jo...@wonghome.net writes:

 Cavan Mejias 提到:
 2009/7/19 John Wong jo...@wonghome.net:

 I add the below url to /etc/apt/sources.list
 deb http://www.lamaresh.net/apt/ sid main
 then apt-get update  apt-get install wine

 but it always said:
 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:
 wine: Depends: ia32-libs but it is not going to be installed
 E: Broken packages

 Is it only me?
 I saw this message a few weeks ago.

 uname -a: Linux redcat 2.6.30-1-amd64 #1 SMP Sat Jul 18 12:55:06 UTC
 2009 x86_64 GNU/Linux
 cat /etc/apt/sources.list:
 deb http://ftp.tw.debian.org/debian/ testing main contrib non-free
 deb http://ftp.tw.debian.org/debian/ unstable main contrib non-free
 deb http://security.debian.org/ testing/updates main contrib non-free
 deb http://www.lamaresh.net/apt/ sid main

 Please help, thank you.



  Can you manually do   apt-get install  ia32-libs ? Does that
 succeed? Or if you are using Gnome can you locate it in Synaptic? (All
 the KDE package managers seem to be orphaned/nonfunctional).
   It appears you are using sid, therefore the ia32-libs may indeed be
 broken or have not yet been created or been moved out of Incoming..
 I use lenny and I think it works there.

Good luck! I hope you get to install wine.

 Yes, when i manually do apt-get install ia32-libs,
 then it just show the message like this:

 ---
 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:
 wine: Depends: ia32-libs but it is not going to be installed
 E: Broken packages
 ---

 When i use Synaptic, the result is the same like use apt-get,
 It ask me, i need to remove ia32-apt-get first: Yes/No,
 then i choose Yes, then Synaptic tell me, CAN NOT be install,
 becuase it depend ia32-apt-get. (-- i know do not know why)

 Yes, my system is sid/amd64, so maybe different to lenny.

 Anyway, thank your help.

By popular demand ia32-apt-get no longer builds an ia32-libs
transitional package. The one in the archive is cruft left over from
the earlier version.

If you want ia32-libs then you have to use testing. If you want to use
ia32-apt-get then you need to install ia32-wine instead of wine.

MfG
Goswin


-- 
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: reading the end of file

2009-07-23 Thread Ekkard Gerlach
* Francesco Pietra schrieb:

 Hi:
 
 Is any command faster than
 
 cat filename
 
 to reach and print on screen the last page of the file?

what kind of file? 
  tail -n 10 filename
makes output of last 10 lines of a file. But if there are no
linefeeds/ carriage return in the files, the it makes no sense. 

  tac filename  filename_taced 
turns around a file, the end becomes the beginning. 
  head -n 10 filename_taced | tac 
prints out the last 10 lines of filename, maybe faster with huge files.

If you want to give out last 100 chars: 
  tac filename | cut -c 1-100 | tac
maybe cut  counting starts with zero (cut -c 0-99) 

Ekkard


-- 
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How to install wine on debian/amd64/sid?

2009-07-23 Thread Jaime Ochoa Malagón
On Thu, Jul 23, 2009 at 2:18 AM, Goswin von Brederlow goswin-...@web.dewrote:

 John Wong jo...@wonghome.net writes:

  Cavan Mejias 提到:
  2009/7/19 John Wong jo...@wonghome.net:
 
  I add the below url to /etc/apt/sources.list
  deb http://www.lamaresh.net/apt/ sid main
  then apt-get update  apt-get install wine
 
  but it always said:
  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:
  wine: Depends: ia32-libs but it is not going to be installed
  E: Broken packages
 
  Is it only me?
  I saw this message a few weeks ago.
 
  uname -a: Linux redcat 2.6.30-1-amd64 #1 SMP Sat Jul 18 12:55:06 UTC
  2009 x86_64 GNU/Linux
  cat /etc/apt/sources.list:
  deb http://ftp.tw.debian.org/debian/ testing main contrib non-free
  deb http://ftp.tw.debian.org/debian/ unstable main contrib non-free
  deb http://security.debian.org/ testing/updates main contrib non-free
  deb http://www.lamaresh.net/apt/ sid main
 
  Please help, thank you.
 
 
 
   Can you manually do   apt-get install  ia32-libs ? Does that
  succeed? Or if you are using Gnome can you locate it in Synaptic? (All
  the KDE package managers seem to be orphaned/nonfunctional).
It appears you are using sid, therefore the ia32-libs may indeed be
  broken or have not yet been created or been moved out of Incoming..
  I use lenny and I think it works there.
 
 Good luck! I hope you get to install wine.
 
  Yes, when i manually do apt-get install ia32-libs,
  then it just show the message like this:
 
  ---
  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:
  wine: Depends: ia32-libs but it is not going to be installed
  E: Broken packages
  ---
 
  When i use Synaptic, the result is the same like use apt-get,
  It ask me, i need to remove ia32-apt-get first: Yes/No,
  then i choose Yes, then Synaptic tell me, CAN NOT be install,
  becuase it depend ia32-apt-get. (-- i know do not know why)
 
  Yes, my system is sid/amd64, so maybe different to lenny.
 
  Anyway, thank your help.

 By popular demand ia32-apt-get no longer builds an ia32-libs
 transitional package. The one in the archive is cruft left over from
 the earlier version.


how many votes are against ia32-libs transitional?

is wine to be removed from the amd64 repos?

whit the exception of wine the important ia32-packages usualy are external
ones and they use to depend from ia32-libs and are happy with the
transitional...

at this moment I prefer to have a previous version of ia32-apt-get (20)
I also prefer the wrapper over apt-get (could it be optional in the package
config?)



 If you want ia32-libs then you have to use testing. If you want to use
 ia32-apt-get then you need to install ia32-wine instead of wine.

 MfG
 Goswin


 --
 To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org




-- 
Perhaps the depth of love can be calibrated by the number of different
selves that are actively involved in a given relationship.

Carl Sagan (Contact)

Jaime Ochoa Malagón
Arquitecto de Soluciones
Cel: +52 (55) 1021 0774


Kernel module inactive by default?

2009-07-23 Thread Hans-J. Ullrich
Hi all, 

I discovered a strange behaviour since some time. Maybe someone can explain 
it:

I am running an Acer Crystal Eye Cam ( 5986:0102  
Acer Crystal Eye webcam), and the cam is running fine (driver is uvcvideo). 
Lucview is working, and kopete shows video, when I am in the settings menu. 

But I am wondering, why the driver is always incative (green led is off), when 
I am not running any application, which it is directly accessing (like xawtv, 
kopete or whatever)?

Whenever I am starting one of these applications, the green led is on, I get a 
picture/video, but when I leave it, the green led gets off. This means for me: 
The driver is now inactive! In the past, I could never see this behaviour, the 
green led was always on.

Might this be the reason, why camorama, kdetv or other video-applications 
cannot access to /dev/videoX ?

The access rights are of course set correctly, running as root gets no success 
either.  

So, is this normal? If yes, why? If not, how can I fix it?

This is the output of lsmod:

v4l1_compat12932  2 uvcvideo,videodev
v4l2_compat_ioctl32 9296  1 videodev

Thank you for any information.

Regards

Hans


-- 
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Kernel module inactive by default?

2009-07-23 Thread Lennart Sorensen
On Thu, Jul 23, 2009 at 06:23:38PM +0200, Hans-J. Ullrich wrote:
 I discovered a strange behaviour since some time. Maybe someone can explain 
 it:
 
 I am running an Acer Crystal Eye Cam ( 5986:0102  
 Acer Crystal Eye webcam), and the cam is running fine (driver is uvcvideo). 
 Lucview is working, and kopete shows video, when I am in the settings menu. 
 
 But I am wondering, why the driver is always incative (green led is off), 
 when 
 I am not running any application, which it is directly accessing (like xawtv, 
 kopete or whatever)?
 
 Whenever I am starting one of these applications, the green led is on, I get 
 a 
 picture/video, but when I leave it, the green led gets off. This means for 
 me: 
 The driver is now inactive! In the past, I could never see this behaviour, 
 the 
 green led was always on.
 
 Might this be the reason, why camorama, kdetv or other video-applications 
 cannot access to /dev/videoX ?
 
 The access rights are of course set correctly, running as root gets no 
 success 
 either.  
 
 So, is this normal? If yes, why? If not, how can I fix it?
 
 This is the output of lsmod:
 
 v4l1_compat12932  2 uvcvideo,videodev
 v4l2_compat_ioctl32 9296  1 videodev
 
 Thank you for any information.

It is normal for a webcam to have a light that indicates when it is
transfering video data.  That way you can easily tell when the camera
is recording and when it is off.  Helps make sure you don't have spyware
recording you without your knowledge I suppose.

If no application is reading data from the camera, then there is no
reason for the camera to send any so it has no reason to be on, so the
camera can be off and the light would then be off too.

-- 
Len Sorensen


-- 
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How to install wine on debian/amd64/sid?

2009-07-23 Thread John Wong

Goswin von Brederlow 提到:

By popular demand ia32-apt-get no longer builds an ia32-libs
transitional package. The one in the archive is cruft left over from
the earlier version.

If you want ia32-libs then you have to use testing. If you want to use
ia32-apt-get then you need to install ia32-wine instead of wine.

MfG
Goswin
  

Hi Goswin, where can i found ia32-wine?
apt-cache search wine, can not see this one ... :(

Please help, thank you.


--
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How to install wine on debian/amd64/sid?

2009-07-23 Thread Lennart Sorensen
On Fri, Jul 24, 2009 at 12:58:47AM +0800, John Wong wrote:
 Goswin von Brederlow 提到:
 By popular demand ia32-apt-get no longer builds an ia32-libs
 transitional package. The one in the archive is cruft left over from
 the earlier version.

 If you want ia32-libs then you have to use testing. If you want to use
 ia32-apt-get then you need to install ia32-wine instead of wine.

 MfG
 Goswin
   
 Hi Goswin, where can i found ia32-wine?
 apt-cache search wine, can not see this one ... :(

ia32-apt-get will take wine from i386 and rename it to ia32-wine when
you ask ia32-apt-get to install ia32-wine.

With ia32-apt-get there is never a need to create special ia32-* packages
anymore, they are generated on demand instead (meaning now any i386
package can be installed on amd64 using ia32-packagename).

-- 
Len Sorensen


-- 
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How to install wine on debian/amd64/sid?

2009-07-23 Thread John Wong

Lennart Sorensen 提到:

ia32-apt-get will take wine from i386 and rename it to ia32-wine when
you ask ia32-apt-get to install ia32-wine.

With ia32-apt-get there is never a need to create special ia32-* packages
anymore, they are generated on demand instead (meaning now any i386
package can be installed on amd64 using ia32-packagename).

  

Hi Lennart, I just ia32-apt-get update, then ia32-apt-get install wine,
but ia32-apt-get still show me:

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:
 wine: Depends: ia32-libs but it is not going to be installed
E: Broken packages

Can i solve it?
Thank your help.


--
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How to install wine on debian/amd64/sid?

2009-07-23 Thread Lennart Sorensen
On Fri, Jul 24, 2009 at 01:37:00AM +0800, John Wong wrote:
 Lennart Sorensen 提到:
 ia32-apt-get will take wine from i386 and rename it to ia32-wine when
 you ask ia32-apt-get to install ia32-wine.

 With ia32-apt-get there is never a need to create special ia32-* packages
 anymore, they are generated on demand instead (meaning now any i386
 package can be installed on amd64 using ia32-packagename).

   
 Hi Lennart, I just ia32-apt-get update, then ia32-apt-get install wine,
 but ia32-apt-get still show me:

 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:
  wine: Depends: ia32-libs but it is not going to be installed
 E: Broken packages

ia32-apt-get install ia32-wine

Putting ia32 in front tells ia32-apt-get to get the i386 package and
convert it and isntall it.  ia32-apt-get install wine does exactly
the same thing as apt-get install wine, which is try and install the
amd64 package.

-- 
Len Sorensen


-- 
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: I want all my 4GB!!!

2009-07-23 Thread James Brown
Stefan Monnier wrote:
 I don't have time to check your machine's specs, but many chipsets of
 a few years ago only recognized a maximum of 3GB (even though they
 correctly work with 4GB installed).  My Thinkpad T60 is among them.
 In this case, there's nothing you can do about it, short of getting
 another machine.
 

 Looks like it, indeed:
 http://www.ec.kingston.com/ecom/configurator_new/modelsinfo.asp?SysID=33507mfr=Acermodel=TravelMate+3040+Series+3043%2C+3044search_type=root=usLinkBack=http%3A%2F%2Fwww.kingston.comSys=33507-Acer-TravelMate+3040+Series+3043%2C+3044distributor=0submit1=Search


 Stefan


   
Yes, you are right.
The technical support of the Acer corporation have informed me that it
is impossible to get all my memory with Intel 945GM Chipset.
I think they (the Acer company team) are frauds becouse I paid my money
for 2 modules of 2GB RAM based on their information in the manual of my
laptop. Instead doing it I could get 1 such module and install it with
preinstalled module of 1GB for using not more 3 GB.


-- 
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: I want all my 4GB!!!

2009-07-23 Thread Lennart Sorensen
On Fri, Jul 24, 2009 at 12:44:18AM +0400, James Brown wrote:
 Yes, you are right.
 The technical support of the Acer corporation have informed me that it
 is impossible to get all my memory with Intel 945GM Chipset.
 I think they (the Acer company team) are frauds becouse I paid my money
 for 2 modules of 2GB RAM based on their information in the manual of my
 laptop. Instead doing it I could get 1 such module and install it with
 preinstalled module of 1GB for using not more 3 GB.

But then it would have run slower, and you would have gotten probably
100 to 200MB less memory.  Right now you get 3.2GB out of 4GB, using
dual channel.  The video is probably taking about 200MB of that leaving
3GB for you.  If you only had 3GB, you would only get single channel,
making the memory half the speed, and you would get 2.8GB for you and
200MB for video.

I know that going from one DIMM to two DIMMs on my wifes laptop with
the same chipset increased the video performance by over 50% because it
went to dual channel mode as far as I can tell.  It became much faster
than simply adding more ram could account for.

So while you may loose 800MB of your 4GB, you still get the performance
benefits of the dual matched DIMMs.

-- 
Len Sorensen


-- 
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How to install wine on debian/amd64/sid?

2009-07-23 Thread John Wong

Lennart Sorensen 提到:

ia32-apt-get install ia32-wine

Putting ia32 in front tells ia32-apt-get to get the i386 package and
convert it and isntall it.  ia32-apt-get install wine does exactly
the same thing as apt-get install wine, which is try and install the
amd64 package.

  
Hi Lennart, OK i understand, how to use ia32-apt-get install i386 
package now.


I notice, ia32-apt-get also will install amd64 package too, when it 
depends and available.


Is that true, ia32-apt-get will install ia32-wine, when ia32-wine 
depends other package,
then ia32-apt-get will try to find amd64 package first then try to find 
ia32 package?   Or?


Anyway, i do installed ia32-wine on my amd64 system now.

Thank your help, thank you.


--
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org