Tried to boot my laptop from a cafe...

2015-02-01 Thread Jarle Aase

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Normally I use my laptop as a workstation, with wired Internet and a 1 T
extra disk in the cd-tray.

Today I tried to boot it in a cafe, off-line and without the extra disk.
It was not possible. Systemd would just wait indefinitely for some
start-up jobs (it was waiting for the missing disk to come on-line among
some other things). Fortunately, I had the extra disk with me, so I
attached it and tried again. Still for no use. Systemd now waited for
the network interfaces. So I had to actually connect an ethernet cable
to a router just to get the crap to boot, and then unplug it and walk
back to my table.

How did this happen? How come Debian is now  /more/ useless than
Windows? It can't even boot if the hardware configuration is not exactly
the way it assumes. WTF!

Jarle

- -- 
Jarle Aase  email: ja...@jgaa.com
Author of Free Software.http://www.jgaa.com


War FTP Daemon: http://www.warftp.org
Other free software:http://products.jgaa.com

NB: If you reply to this message, please include all relevant
information from the conversation in your reply. Thanks.
<<< no need to argue - just kill'em all! >>>
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBAgAGBQJUzgzYAAoJECdIPpCNC8tyX7kP/RHtmRM4v14QoSt7zIoGySgF
Rk6SjEb12dsYuMNTiceAgeViTfbSU8AmjLrN9R8Sy1PGmy9HHd1uRslXLWbmjvtj
mIvi0bHKIJlakdABSKo9NDzobzjHHpllOkJqHTpfwr/vFF07ddo5NXTC+m32cgRs
BjDDrUJkSP0A0hdg0aZ6vu3kzqfGO6dDeKWxNMh8iqhzrCl/8GDO36enq33fOgwh
QNIMBVLvIDncdIn1N6l+lDN6wLzwr0ZDVvLnOkngYLr+Q2Ya5UIS+el6jDsExu9z
bj1qbUAYdWvmzRxhcyz8SyVPucLxPP5545OlHgx4/aIh7G7IO7xXxTonAy+vopw7
IcBcbLuB6UM/eBL5Ejn7d4GjoPHAbI9/wwC95AahfiMyDGeELos+oxa2pWdY3LIZ
bKa2HamjNv9jlM2vjGTetmSrdv4uSPtGp9wTZjmTOc3xWMq4iNPmyjA+8+f1n1fb
tH8PvMNWrZvzxWFxX1QSZSVrgolbr0Znmlt2KZPd4ktkyNJvxUZZVH5N8nX5348o
SN6dUwOHX2qml63hdsng4IJ4TscTmc3Uc0AbKeIjMjS671oAaupuuc24fnDB4NzF
1pHS1wE0OBtTpIN9eCqES0S964s9+fR4ev9MhJDuDEwIz6W8/KjeCC9Xu4xIZU1V
9a5K/c1TwiIMzRwDKi2f
=7bLN
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54ce0cd8.5030...@jgaa.com



Re: Tried to boot my laptop from a cafe...

2015-02-01 Thread Floris

Op Sun, 01 Feb 2015 12:24:08 +0100 schreef Jarle Aase :


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Normally I use my laptop as a workstation, with wired Internet and a 1 T
extra disk in the cd-tray.

Today I tried to boot it in a cafe, off-line and without the extra disk.
It was not possible. Systemd would just wait indefinitely for some
start-up jobs (it was waiting for the missing disk to come on-line among
some other things). Fortunately, I had the extra disk with me, so I
attached it and tried again. Still for no use. Systemd now waited for
the network interfaces. So I had to actually connect an ethernet cable
to a router just to get the crap to boot, and then unplug it and walk
back to my table.

How did this happen? How come Debian is now  /more/ useless than
Windows? It can't even boot if the hardware configuration is not exactly
the way it assumes. WTF!

Jarle



I only know the answer for the extra disk problem.
add "nofail" to /etc/fstab

I have a line with:
(Please ignore the strange disk type)

/dev/etherd/e0.1/media/net_hd0  autorw,user,nofail 0 0

success,

floris


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

Archive: https://lists.debian.org/op.xtdhwj1v5k9...@jessica.jkfloris.demon.nl



Re: list non auto packages

2015-02-01 Thread Jörg-Volker Peetz
Rusi Mody wrote on 01/31/2015 03:15:
> Is there a way to get the  packages the user has installed?
> 
> Yeah I know that
> dpkg --get-selections
> will get ALL packages
> 
> How to filter out the zillions of lib... and only see what was manually 
> installed?
> 
> Yeah I remember some answer to this a few months ago.
> The closest I can get is
> 
> aptitude search '~M~i'
> 
> but it still lists a large number of libs
> 

Maybe, you should first tidy up your system then. With aptitude command, e.g.,

  aptitude search '~i!~M(~R~i|~Rrecommends:~i)'

It will show any installed packages that aren't auto which are dependencies or
recommendations of other packages. In short, packages that aren't marked auto
but could (should?) be.
If you only want to got through the lib packages, command

  aptitude search '~i^lib!~M(~R~i|~Rrecommends:~i)'

Then decide which ones to mark auto installed
(with aptitude: aptitude markauto ).

Regards,
Jörg-Volker.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/maktce$gaf$1...@ger.gmane.org



Re: Tried to boot my laptop from a cafe...

2015-02-01 Thread Floris

Op Sun, 01 Feb 2015 12:24:08 +0100 schreef Jarle Aase :


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Normally I use my laptop as a workstation, with wired Internet and a 1 T
extra disk in the cd-tray.

Today I tried to boot it in a cafe, off-line and without the extra disk.
It was not possible. Systemd would just wait indefinitely for some
start-up jobs (it was waiting for the missing disk to come on-line among
some other things). Fortunately, I had the extra disk with me, so I
attached it and tried again. Still for no use. Systemd now waited for
the network interfaces. So I had to actually connect an ethernet cable
to a router just to get the crap to boot, and then unplug it and walk
back to my table.

How did this happen? How come Debian is now  /more/ useless than
Windows? It can't even boot if the hardware configuration is not exactly
the way it assumes. WTF!

Jarle



Maybe a solution for the network part.

remove or command out eth0 in /etc/network/interfaces and use the
network-manager-applet to set the interface.

and/or

a firewall is started at boot time and will wait for the interface.


success,

floris


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

Archive: https://lists.debian.org/op.xtdiutnm5k9...@jessica.jkfloris.demon.nl



Re: Can't add usb stick as installation media (was: Network install)

2015-02-01 Thread Rodolfo Medina
Brian  writes:

> 1. Boot into your Wheezy install and login as root.
>
> 2. Insert the USB stick. There should be a message on the screen giving
>you a device name. I get sdg.
>
> 3. The netinst is on the first partition, sdg1. Use dmesg to check. I
>have 'sdg: sdg1'.
>
> 4. I'll mount my partition:
>
>  mount /dev/sdg1 /mnt
>
>I'm told it is mounted read-only.
>
> 5. Now I'll add the USB stick to /etc/apt/sources.list.
>
>  apt-cdrom -m --no-auto-detect -d /mnt add
>
>I'm told the disc is scanned for index files and a new source list is
>written. I can check by looking at /etc/apt/sources.list. Edit the
>file to comment out all lines apart from this one.
>
> 6. apt-get update
>
> 7. apt-get install ppp
>
> 8. Tell us where you went wrong before. :)


After `apt-get install ppp', the system requires inserting a CD-ROM.  It does
not accept the USB stick.

The problem is reported here:

 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745381

for Wheezy, but I find it even with Jessie.  I think it's important because an
usb stick is much practical than a CD-ROM or a DVD, so it would be important to
have the possibility of installing Debian with such a device doing without
CD-ROMs and DVDs.

Thanks,

Rodolfo


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87wq417scu.fsf...@gmail.com



gedit slow with a 1.5Mb text file

2015-02-01 Thread Wayne Hartell
I grabbed a 1.5MB text file from Windows (converted using dos2unix, not that
it appears to make a difference) and tried to open this in gedit and it
takes about 45 seconds to open the file. That is a whole lot slower than I
was expecting. To make things worse the performance within gedit is very
sluggish and searching the text file is not possible; it simply locks up the
gedit process (maxes out the CPU).

I did some research and attempted to use gvim (no performance issue per se,
but it just gives me weird output when trying to navigate the file). I got
similar weird output with vi. Search functionality seems to work at least.
Navigating the file seems to work as expected in gedit, but the performance
stinks. So it's performance and weird output (vi/gvim), or completely slow
to the point it's unusable, and expected output (gedit). Neither option
works for me. I didn't think that I would ever have fond thoughts of
Notepad, but right now... well I digress.

I have noted discussions on-line where people are complaining that gedit
can't handle text files of the order of 100's of MB, but the file I am
dealing with here is 1.5MB. I tested this on two Debian systems (one
virtual, one real) and got the same result.

I know dealing with text files under Linux is a topic of great discussion
(whereas under Windows you never need to think about it), but surely it
cannot be this painful to deal with a plain text file?

One thing I have noticed under vim is that if I turn on line numbers the
document is showing as several large chunks of text on a handful of lines,
as opposed to a large number of short lines.  Would this be tripping up
gedit performance wise perhaps? (And vi/gvim, presentation wise?)
Any advice or tips on this, especially from Windows to Linux converts, would
be gratefully received.

Right now it looks like I have to use two text editors to get what I want
(gedit, as painfully slow as it is, to read through the file) and vi/gvim to
search it.

Cheers.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/016d01d03e1c$793cf9b0$6bb6ed10$@ozemail.com.au



Re: gedit slow with a 1.5Mb text file

2015-02-01 Thread Ron
On Sun, 1 Feb 2015 23:12:00 +1030
"Wayne Hartell"  wrote:

> One thing I have noticed under vim is that if I turn on line numbers the
> document is showing as several large chunks of text on a handful of lines,
> as opposed to a large number of short lines.  Would this be tripping up
> gedit performance wise perhaps? (And vi/gvim, presentation wise?)
> Any advice or tips on this, especially from Windows to Linux converts, would
> be gratefully received.

Possibly non-formatted, with one line per paragraph ?
 
Cheers,
 
Ron.
-- 
   ¿Porqué a medida que se incrementa el costo de la vida,
  tambien se excrementa la calidad de ésta ?

   -- http://www.olgiati-in-paraguay.org --
 


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150201095810.5682c...@ron.cerrocora.org



RE: gedit slow with a 1.5Mb text file

2015-02-01 Thread Wayne Hartell
Renaud (Ron) OLGIATI said:
> Possibly non-formatted, with one line per paragraph ?

That's what it looks like with line numbers on (very big paragraphs too), but 
my question is why would this slow gedit down and is there any way around it? 
It seems to present the content as I would expect.

Cheers.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/016e01d03e20$3831fca0$a895f5e0$@ozemail.com.au



Re: Can't add usb stick as installation media (was: Network install)

2015-02-01 Thread Brian
On Sun 01 Feb 2015 at 12:01:53 +, Rodolfo Medina wrote:

> Brian  writes:
> 
> > 1. Boot into your Wheezy install and login as root.
> >
> > 2. Insert the USB stick. There should be a message on the screen giving
> >you a device name. I get sdg.
> >
> > 3. The netinst is on the first partition, sdg1. Use dmesg to check. I
> >have 'sdg: sdg1'.
> >
> > 4. I'll mount my partition:
> >
> >  mount /dev/sdg1 /mnt
> >
> >I'm told it is mounted read-only.
> >
> > 5. Now I'll add the USB stick to /etc/apt/sources.list.
> >
> >  apt-cdrom -m --no-auto-detect -d /mnt add
> >
> >I'm told the disc is scanned for index files and a new source list is
> >written. I can check by looking at /etc/apt/sources.list. Edit the
> >file to comment out all lines apart from this one.
> >
> > 6. apt-get update
> >
> > 7. apt-get install ppp
> >
> > 8. Tell us where you went wrong before. :)
> 
> 
> After `apt-get install ppp', the system requires inserting a CD-ROM.  It does
> not accept the USB stick.
> 
> The problem is reported here:
> 
>  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745381

That bug report contains the line

   > 4. sudo apt-cdrom -m -d /media/usb0 add

Note that "--no-auto-detect" is missing. The USB flash drive will not be
added to sources.list. You *do* have "--no-auto-detect" as part of the
command so your drive will be added to sources.list. At least we assume
it was because you have not mentioned any problems with steps 1 to 6
above.

You have not provided any screen messages which were displayed when you
tried 'apt-get install ppp'. I dislike guessing but see no reason why
you should not get what I get.

First, apt-get says it will install ppp and libcap0.8. When you say 'y'
there are screen messages which at the end tell you to insert a disc in
the drive 'media/cdrom'. What you do is mount /dev/sdX1 (X is a, b, etc)
on media/cdrom.

> for Wheezy, but I find it even with Jessie.  I think it's important because an
> usb stick is much practical than a CD-ROM or a DVD, so it would be important 
> to
> have the possibility of installing Debian with such a device doing without
> CD-ROMs and DVDs.

Many would agree with this; I do.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150201131640.gf14...@copernicus.demon.co.uk



[solved] Re: Can't add usb stick as installation media (was: Network install)

2015-02-01 Thread Rodolfo Medina
Brian  writes:

> On Sun 01 Feb 2015 at 12:01:53 +, Rodolfo Medina wrote:
>
>> Brian  writes:
>> 
>> > 1. Boot into your Wheezy install and login as root.
>> >
>> > 2. Insert the USB stick. There should be a message on the screen giving
>> >you a device name. I get sdg.
>> >
>> > 3. The netinst is on the first partition, sdg1. Use dmesg to check. I
>> >have 'sdg: sdg1'.
>> >
>> > 4. I'll mount my partition:
>> >
>> >  mount /dev/sdg1 /mnt
>> >
>> >I'm told it is mounted read-only.
>> >
>> > 5. Now I'll add the USB stick to /etc/apt/sources.list.
>> >
>> >  apt-cdrom -m --no-auto-detect -d /mnt add
>> >
>> >I'm told the disc is scanned for index files and a new source list is
>> >written. I can check by looking at /etc/apt/sources.list. Edit the
>> >file to comment out all lines apart from this one.
>> >
>> > 6. apt-get update
>> >
>> > 7. apt-get install ppp
>> >
>> > 8. Tell us where you went wrong before. :)
>> 
>> 
>
> First, apt-get says it will install ppp and libcap0.8. When you say 'y'
> there are screen messages which at the end tell you to insert a disc in
> the drive 'media/cdrom'. What you do is mount /dev/sdX1 (X is a, b, etc)
> on media/cdrom.


That's the fundamental step I was missing!  Now it's all right: ppp was
installed and the system can start its life downloading remaining packages from
internet.  It is so possibile to do without cumbersome CD-ROMs and use an usb
stick instead, much more practical, to install Debian.

Thanks!!

Rodolfo


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87pp9tbvfl.fsf...@gmail.com



Re: gedit slow with a 1.5Mb text file

2015-02-01 Thread Lisi Reisz
Sorry, Wayne. :-(  This was meant to go to the list.  I hope that someone can 
explain the answer!

On Sunday 01 February 2015 12:42:00 Wayne Hartell wrote:
> I grabbed a 1.5MB text file from Windows (converted using dos2unix, not
> that it appears to make a difference)

Why did a _text_ file need converting?  Or do you not mean .txt?

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/201502011530.27949.lisi.re...@gmail.com



Re: gedit slow with a 1.5Mb text file

2015-02-01 Thread Patrick Wiseman
On Sun, Feb 1, 2015 at 10:30 AM, Lisi Reisz  wrote:
> Sorry, Wayne. :-(  This was meant to go to the list.  I hope that someone can
> explain the answer!
>
> On Sunday 01 February 2015 12:42:00 Wayne Hartell wrote:
>> I grabbed a 1.5MB text file from Windows (converted using dos2unix, not
>> that it appears to make a difference)
>
> Why did a _text_ file need converting?  Or do you not mean .txt?

Unix text files end lines with , Windows with .

Patrick


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAJVvKsNy0cYUnOh1Rr=fUbN9D5ChxhBRwnsUfvJG83t=rr7...@mail.gmail.com



2 TB HDD not automounting under Debian.

2015-02-01 Thread shirish शिरीष
Hi all,
This is on a testing machine What happened is I bought a 2 TB Seagate
Backup Plus Slim
couple of days ago. The system is an old system having few USB 2 ports
while the HDD is USB 3 but supposedly backward compatible. I can see
the HDD via lsusb and fdisk but for some reason it's unable to
automount it. Any ideas what could be the issue ?

Sharing what I saw :-

$ lsusb
Bus 005 Device 003: ID 0bc2:ab24 Seagate RSS LLC
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

As can be seen there are few USB 1.1 ports and few 2.0 ports. As can
be seen Seagate attaches and declares itself at Bus 005 Device 003: ID
0bc2:ab24 .

I also checked via fdisk -l and got the following :-

$ sudo fdisk -l

Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xc5f7c5f7

Device Boot  StartEndSectors   Size Id Type
/dev/sda1   63  102398309  102398247  48.8G  7 HPFS/NTFS/exFAT
/dev/sda2102398371 1953523711 1851125341 882.7G  f W95 Ext'd (LBA)
/dev/sda5102398373  204796619  102398247  48.8G  7 HPFS/NTFS/exFAT
/dev/sda6  * 204797952  595421183  390623232 186.3G 83 Linux
/dev/sda7595423232  790732799  195309568  93.1G 83 Linux
/dev/sda8790734848 1943076863 1152342016 549.5G 83 Linux
/dev/sda9   1943078912 1953523711   10444800 5G 82 Linux swap / Solaris

Partition 2 does not start on physical sector boundary.

Partition 3 does not start on physical sector boundary.

Partition 6 does not start on physical sector boundary.

Disk /dev/sdb: 1.8 TiB, 2000398933504 bytes, 3907029167 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x1bc6b3bc

Device Boot  StartEndSectors   Size Id Type
/dev/sdb1 2048  952322047  95232 454.1G  7 HPFS/NTFS/exFAT
/dev/sdb2952322048 1904642047  95232 454.1G  7 HPFS/NTFS/exFAT
/dev/sdb3   1904642048 2856962047  95232 454.1G  7 HPFS/NTFS/exFAT
/dev/sdb4   2856962048 3907026943 1050064896 500.7G  f W95 Ext'd (LBA)
/dev/sdb5   2856964096 3907026943 1050062848 500.7G  7 HPFS/NTFS/exFAT

Except for /dev/sdb4 which says it's W95 the rest of them seem to be
ok. Then why it is that the disk does not automount ?

I have Seagate Expansion disks and they mount under nautilus or any
other file storage viewer but not this.

Looking forward to know what could possibly be the reason and if it's
not related to the kernel guide me to the proper package for the same.

Thank you.
-- 
  Regards,
  Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cadddzrmgd3wgjh4jw9yc4jyugg-pqfz2siex2jan6-vzsqa...@mail.gmail.com



RE: gedit slow with a 1.5Mb text file

2015-02-01 Thread Wayne Hartell
Patrick Wiseman wrote:
> Unix text files end lines with , Windows with .

That was the purpose of pre-processing the file with dos2unix. It didn't seem 
to help.

I think the file I have simply does not have many line feeds. Is that abnormal 
for Linux perhaps?

Wayne.





--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/016f01d03e38$bc62d9f0$35288dd0$@ozemail.com.au



RE: gedit slow with a 1.5Mb text file

2015-02-01 Thread Wayne Hartell
Lisi Reisz wrote:
> Why did a _text_ file need converting?  Or do you not mean .txt?

Yeah just a regular ASCII text file, but as another reply pointed out new
lines are handled slightly differently under Windows vs Unix/Linux. I don't
think that is the problem though.

Cheers,
Wayne.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/017001d03e39$41b78ab0$c526a010$@ozemail.com.au



Re: gedit slow with a 1.5Mb text file

2015-02-01 Thread Linux-Fan
On 02/01/2015 01:42 PM, Wayne Hartell wrote:
> I grabbed a 1.5MB text file from Windows (converted using dos2unix, not that
> it appears to make a difference) and tried to open this in gedit and it
> takes about 45 seconds to open the file. That is a whole lot slower than I
> was expecting. To make things worse the performance within gedit is very
> sluggish and searching the text file is not possible; it simply locks up the
> gedit process (maxes out the CPU).

[...]

> One thing I have noticed under vim is that if I turn on line numbers the
> document is showing as several large chunks of text on a handful of lines,
> as opposed to a large number of short lines.  Would this be tripping up
> gedit performance wise perhaps? (And vi/gvim, presentation wise?)
> Any advice or tips on this, especially from Windows to Linux converts, would
> be gratefully received.
> 
> Right now it looks like I have to use two text editors to get what I want
> (gedit, as painfully slow as it is, to read through the file) and vi/gvim to
> search it.
> 
> Cheers.

In my experience, VIM is slow with long lines (which are automatically
wrapped and often look strange if the result is too large to fit on a
single page) and syntax highlighting. Using many short lines, VIM has
always been good enough for me (even with several MiB file size).

Whenever I need to edit large text files, I chose JEdit (Package
`jedit`) which has never been slow even with files above 50 MiB for me.

HTH
Linux-Fan

-- 
http://masysma.lima-city.de/



signature.asc
Description: OpenPGP digital signature


RE: gedit slow with a 1.5Mb text file

2015-02-01 Thread Wayne Hartell
Linux-Fan wrote:
> In my experience, VIM is slow with long lines (which are automatically 
> wrapped and often look strange if the result is too large to fit on a single 
> page) and 
> syntax highlighting. Using many short lines, VIM has always been good enough 
> for me (even with several MiB file size).

I think that's what's happening for me. The line length runs well off the 
screen. I just didn't expect it.

>  Whenever I need to edit large text files, I chose JEdit (Package
> `jedit`) which has never been slow even with files above 50 MiB for me.

Thanks, I'll take a look at it.

Wayne.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/017901d03e3b$ba13d980$2e3b8c80$@ozemail.com.au



Re: gedit slow with a 1.5Mb text file

2015-02-01 Thread Bob Proulx
Wayne Hartell wrote:
> I think the file I have simply does not have many line feeds. Is that 
> abnormal for Linux perhaps?

You mean such as your reply line above which is a very long line and
pushes off the right side of the screen?  More typically it would be
word wrapped to make reading it easier.  Word wrapped like this:

> I think the file I have simply does not have many line feeds. Is
> that abnormal for Linux perhaps?

Search the web for "format=flowed" and you should find much discussion
of this issue in regards to email messages.  I will start things off
with this page.

  http://joeclark.org/ffaq.html

You have a file not a message.  But the concepts are the same.  Some
editors make all paragraphs all on one line with no linefeeds in them.
The editor will display and print the file by automatically inserting
linefeeds in to format it on the fly.  Effectively what you are seeing
in the file will be the internal representation from the editor you
are using.  When the file is a .doc file you rather expect it will not
be intelligible without the program.  When the file is .txt it still
and you can _mostly_ see it but that doesn't mean that aren't still
conventions for formatting from the editor.  There may even be special
formatting characters inserted by the editor to control paragraph
breaks and other formatting.

If, and only if, this is the issue with your file then you can easily
format it from that mode.

  sed G < infile.txt | fmt > outfile.txt

The sed command "G" will double space the file.  The fmt command will
format it.  The file you create on the right should be more "normal".
How well the formatting works depends upon the content.  If it is pure
text then it should look perfect.  But some special formatting won't
work automatically and some fixup is often required.

Bob


signature.asc
Description: Digital signature


Re: 2 TB HDD not automounting under Debian.

2015-02-01 Thread Dotan Cohen
Maybe the drive is formatted NTFS? NTFS drives won't automount under
my Ubuntu system, either. However, the older FAT partitions had a file
size limit that was too low for todays media so newer large drives
don't use it.

On Sun, Feb 1, 2015 at 5:51 PM, shirish शिरीष  wrote:
> Hi all,
> This is on a testing machine What happened is I bought a 2 TB Seagate
> Backup Plus Slim
> couple of days ago. The system is an old system having few USB 2 ports
> while the HDD is USB 3 but supposedly backward compatible. I can see
> the HDD via lsusb and fdisk but for some reason it's unable to
> automount it. Any ideas what could be the issue ?
>
> Sharing what I saw :-
>
> $ lsusb
> Bus 005 Device 003: ID 0bc2:ab24 Seagate RSS LLC
> Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 002 Device 002: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>
> As can be seen there are few USB 1.1 ports and few 2.0 ports. As can
> be seen Seagate attaches and declares itself at Bus 005 Device 003: ID
> 0bc2:ab24 .
>
> I also checked via fdisk -l and got the following :-
>
> $ sudo fdisk -l
>
> Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 4096 bytes
> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
> Disklabel type: dos
> Disk identifier: 0xc5f7c5f7
>
> Device Boot  StartEndSectors   Size Id Type
> /dev/sda1   63  102398309  102398247  48.8G  7 HPFS/NTFS/exFAT
> /dev/sda2102398371 1953523711 1851125341 882.7G  f W95 Ext'd (LBA)
> /dev/sda5102398373  204796619  102398247  48.8G  7 HPFS/NTFS/exFAT
> /dev/sda6  * 204797952  595421183  390623232 186.3G 83 Linux
> /dev/sda7595423232  790732799  195309568  93.1G 83 Linux
> /dev/sda8790734848 1943076863 1152342016 549.5G 83 Linux
> /dev/sda9   1943078912 1953523711   10444800 5G 82 Linux swap / 
> Solaris
>
> Partition 2 does not start on physical sector boundary.
>
> Partition 3 does not start on physical sector boundary.
>
> Partition 6 does not start on physical sector boundary.
>
> Disk /dev/sdb: 1.8 TiB, 2000398933504 bytes, 3907029167 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disklabel type: dos
> Disk identifier: 0x1bc6b3bc
>
> Device Boot  StartEndSectors   Size Id Type
> /dev/sdb1 2048  952322047  95232 454.1G  7 HPFS/NTFS/exFAT
> /dev/sdb2952322048 1904642047  95232 454.1G  7 HPFS/NTFS/exFAT
> /dev/sdb3   1904642048 2856962047  95232 454.1G  7 HPFS/NTFS/exFAT
> /dev/sdb4   2856962048 3907026943 1050064896 500.7G  f W95 Ext'd (LBA)
> /dev/sdb5   2856964096 3907026943 1050062848 500.7G  7 HPFS/NTFS/exFAT
>
> Except for /dev/sdb4 which says it's W95 the rest of them seem to be
> ok. Then why it is that the disk does not automount ?
>
> I have Seagate Expansion disks and they mount under nautilus or any
> other file storage viewer but not this.
>
> Looking forward to know what could possibly be the reason and if it's
> not related to the kernel guide me to the proper package for the same.
>
> Thank you.
> --
>   Regards,
>   Shirish Agarwal  शिरीष अग्रवाल
>   My quotes in this email licensed under CC 3.0
> http://creativecommons.org/licenses/by-nc/3.0/
> http://flossexperiences.wordpress.com
> EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: 
> https://lists.debian.org/cadddzrmgd3wgjh4jw9yc4jyugg-pqfz2siex2jan6-vzsqa...@mail.gmail.com
>



-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cakdxfko0cgrvujjuvjko4y59b+nu19cxb+mvkdqujdrcxju...@mail.gmail.com



Re: GPG error: http://approx wheezy/updates Release

2015-02-01 Thread David Christensen

debian-user:

It's working today:

2015-02-01 08:43:44 root@cd2533 ~
# apt-get update
Hit http://approx wheezy Release.gpg
Get:1 http://approx wheezy/updates Release.gpg [836 B]
Hit http://approx wheezy Release
Get:2 http://approx wheezy/updates Release [102 kB]
Hit http://approx wheezy/main Translation-en
Get:3 http://approx wheezy/updates/main Translation-en [137 kB]
Hit http://approx wheezy/main Sources
Hit http://approx wheezy/main amd64 Packages
Get:4 http://approx wheezy/updates/main Sources [202 kB]
Get:5 http://approx wheezy/updates/main amd64 Packages [299 kB] 

Fetched 740 kB in 9s (74.4 kB/s) 


Reading package lists... Done


David


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

Archive: https://lists.debian.org/54ce5988.2040...@holgerdanske.com



Re: GPG error: http://approx wheezy/updates Release

2015-02-01 Thread Bob Proulx
David Christensen wrote:
> I seem to be having trouble getting security updates.  Is this a problem
> with my client system, my Approx server, the Release file on the Debian
> servers, or something else?
> ...
> W: A error occurred during the signature verification. The repository is not
> updated and the previous index files will be used. GPG error: http://approx
> wheezy/updates Release: The following signatures were invalid: BADSIG
> 8B48AD6246925553 Debian Archive Automatic Signing Key (7.0/wheezy)
> 

I saw random problems from my machines last night.  I think one of the
mirrors became out of sync.

> security  http://security.debian.org/debian-security

  $ host security.debian.org
  security.debian.org has address 149.20.20.6
  security.debian.org has address 128.101.240.212
  security.debian.org has address 128.61.240.73
  security.debian.org has address 128.31.0.36
  security.debian.org has IPv6 address 2607:ea00:101:3c0b:207:e9ff:fe00:e595
  security.debian.org has IPv6 address 2610:148:1f10:3::73
  security.debian.org has IPv6 address 2001:4f8:8:36::6

I think at least one of those mirrors was out of sync last night.
Which one?  No idea.  The signature error protects against chicanery
but apt doesn't know it could rotate to another mirror.

I didn't see the problem this morning while running a couple of the
failing systems manually.

Bob


signature.asc
Description: Digital signature


RE: gedit slow with a 1.5Mb text file

2015-02-01 Thread Wayne Hartell

Wayne Hartell wrote:
> I grabbed a 1.5MB text file from Windows (converted using dos2unix, not
that it appears 
> to make a difference) and tried to open this in gedit and it takes about
45 seconds to open 
> the file. That is a whole lot slower than I was expecting. To make things
worse the 
> performance within gedit is very sluggish and searching the text file is
not possible; 
> it simply locks up the gedit process (maxes out the CPU).

> I did some research and attempted to use gvim (no performance issue per
se, but it just 
> gives me weird output when trying to navigate the file). I got similar
weird output with vi. 
> Search functionality seems to work at least.

> Navigating the file seems to work as expected in gedit, but the
performance stinks. So it's 
> performance and weird output (vi/gvim), or completely slow to the point
it's unusable, and 
> expected output (gedit). Neither option works for me. I didn't think that
I would ever have 
> fond thoughts of Notepad, but right now... well I digress.

> I have noted discussions on-line where people are complaining that gedit
can't handle text 
> files of the order of 100's of MB, but the file I am dealing with here is
1.5MB. I tested this 
> on two Debian systems (one virtual, one real) and got the same result.

> I know dealing with text files under Linux is a topic of great discussion
(whereas under 
> Windows you never need to think about it), but surely it cannot be this
painful to deal 
> with a plain text file?

> One thing I have noticed under vim is that if I turn on line numbers the
document is showing 
> as several large chunks of text on a handful of lines, as opposed to a
large number of short lines.  
> Would this be tripping up gedit performance wise perhaps? (And vi/gvim,
presentation wise?) 
> Any advice or tips on this, especially from Windows to Linux converts,
would be gratefully 
> received.

> Right now it looks like I have to use two text editors to get what I want
(gedit, as painfully 
> slow as it is, to read through the file) and vi/gvim to search it.

I found the following link and used the "fold" command to wrap the long
lines in the text file to 80 
columns and viola, gedit now runs fast and the searches work.

http://www.cyberciti.biz/tips/linux-unix-word-wrap-command.html

So I guess gedit really was choking on the very long lines in the source
file.

Thanks to everyone that responded.

Cheers,
Wayne.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/019001d03e3f$e430ce90$ac926bb0$@ozemail.com.au



Re: 2 TB HDD not automounting under Debian.

2015-02-01 Thread songbird
Dotan Cohen wrote:
> Maybe the drive is formatted NTFS? NTFS drives won't automount under
> my Ubuntu system, either. However, the older FAT partitions had a file
> size limit that was too low for todays media so newer large drives
> don't use it.

  possibly,

  the OP should know what the file system is.  if it is
ntfs then he can install the package:

  ntfs-3g

  and see if that works.


  in hindsight i wish i had not changed the file system on my
external drive to ntfs when i first set it up.


  songbird


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/gr42qb-1ha@id-306963.user.uni-berlin.de



Re: 2 TB HDD not automounting under Debian.

2015-02-01 Thread Bret Busby
On 02/02/2015, Dotan Cohen  wrote:
> Maybe the drive is formatted NTFS? NTFS drives won't automount under
> my Ubuntu system, either. However, the older FAT partitions had a file
> size limit that was too low for todays media so newer large drives
> don't use it.
>
> On Sun, Feb 1, 2015 at 5:51 PM, shirish शिरीष 
> wrote:
>> Hi all,
>> This is on a testing machine What happened is I bought a 2 TB Seagate
>> Backup Plus Slim
>> couple of days ago. The system is an old system having few USB 2 ports
>> while the HDD is USB 3 but supposedly backward compatible. I can see
>> the HDD via lsusb and fdisk but for some reason it's unable to
>> automount it. Any ideas what could be the issue ?
>>
>

I have USB external drives that I understand to be NTFS, that
automount, on Debian 6 (both before LTS, and, with LTS), so I think
that that might not be a problem.

I have just checked.

I have an HP USB external HDD, 500GB. It is NTFS, as shown in the
Debian 6 system Disk Utility.

It automounts on Debian 6LTS, and, it had been automounting on this
Debian 6 system, before the LTS.

So, I believe that it is not an issue to do with NTFS.

-- 
Bret Busby
Armadale
West Australia
..

"So once you do know what the question actually is,
 you'll know what the answer means."
- Deep Thought,
 Chapter 28 of Book 1 of
 "The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts",
 written by Douglas Adams,
 published by Pan Books, 1992




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CACX6j8PDYOP5w78f7A7K=6vwvuhqpc3xaydndr2tahrfw7t...@mail.gmail.com



NFS server write issues using netgroup

2015-02-01 Thread Peter Viskup
Would like to discuss the issue I am facing before opening bug report.

NFS System: latest Debian Jessie
NFS: nfs-kernel-server 1:1.2.8-9

Export config:
/data/folder @clients(rw,no_subtree_check,root_squash)

Netgroup config:
root@media:~# cat /etc/netgroup
clients (dm800,-,), (laptop,-,)

root@media:~# grep netgroup /etc/nsswitch.conf
netgroup:   files

I don't have rw access to mounted folder. Once migrated to configuration
without netgroup the permissions allow rw access as expected.

Name resolution is ok, mounting works. Am I missing or overlooked something?

-- 
Peter


Error on upgrade..............

2015-02-01 Thread Charlie
Debian Jessie, tried to upgrade today and received this message:

Extracting templates from packages: 100%
Preconfiguring packages ...
Setting up libdb5.3:i386 (5.3.28-7~deb8u1) ...
Processing triggers for libc-bin (2.19-13) ...
(Reading database ... 240422 files and directories currently installed.)
Preparing to unpack .../libdb5.3-java_5.3.28-7~deb8u1_all.deb ...
dpkg-maintscript-helper: error: original symlink target is not an absolute path
dpkg: error processing archive 
/var/cache/apt/archives/libdb5.3-java_5.3.28-7~deb8u1_all.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
dpkg-maintscript-helper: error: original symlink target is not an absolute path
dpkg: error while cleaning up:
 subprocess new post-removal script returned error exit status 1
Preparing to unpack .../libgpg-error0_1.17-3_i386.deb ...
Unpacking libgpg-error0:i386 (1.17-3) over (1.16-1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libdb5.3-java_5.3.28-7~deb8u1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

What do I have to delete to get this to go away?

TIA
Charlie


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/26730033.19461422834085246.javamail.r...@mail.goipstar.com



Re: NFS server write issues using netgroup

2015-02-01 Thread deloptes
Peter Viskup wrote:

> root@media:~# grep netgroup /etc/nsswitch.conf
> netgroup:       files

on the server here it is also disabled

#netgroup:   nis

I assume your file is also the server side one.
The server here was configured years ago, so I am not sure why it is
commented out, but it should have come from a NFS howto or so like here.

   netgroupNetwork-wide list of hosts and users, used for access
   rules.  C libraries before glibc 2.1 supported netgroups
   only over NIS.

I suggest you check "man nsswitch.conf"

Also it would be helpful to mention the NFS version you are using. I assume
it is 3, but still there is a major difference between 3 and 4 in how
groups are mapped.






-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/mamgk7$lck$1...@ger.gmane.org



gedit bug with long lines. (was RE: gedit slow with a 1.5Mb text file)

2015-02-01 Thread Wayne Hartell
Wayne Hartell wrote:
> I grabbed a 1.5MB text file from Windows (converted using dos2unix, 
> not that it appears to make a difference) and tried to open this in gedit
> and it takes about 45 seconds to open the file. That is a whole lot slower
> than I was expecting. To make things worse the performance within 
> gedit is very sluggish and searching the text file is not possible; 
> it simply locks up the gedit process (maxes out the CPU).

In case anyone is interested, I did some further research into this knowing
the issue is long lines and it seems that the bug has existed (and been
known about) for many years, but still not fixed. The earliest bug record I
can find dates back to 2003, so I'm guessing the work around is my best bet
for the foreseeable future. :) Either that or address the "problem" on the
source side.

Cheers.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/001401d03e9c$6a713a10$3f53ae30$@ozemail.com.au



tzdata=2015a-0wheezy1 breaks other packages

2015-02-01 Thread zonjai
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

The package tzdata candidate 2015a-0wheezy1 has recently been released
to the repositories.  If I update this package then I am asked to remove
OpenJDK-7-jre and OpenJDK-6-jre.  This is due to the package tzdata-java
depending on tzdata=2014j-0wheezy1.

Note the web page: https://packages.debian.org/en/wheezy/tzdata still
references tzdata=2014j-0wheezy1 as current.

Does this bug go against tzdata-java for not updating to depend on the
newer tzdata=2015a-0wheezy1, or is this a bug against tzdata for pushing
a package that breaks a number of other packages before they are updated?

I am unsure what other packages are attached to the
tzdata=2014j-0wheezy1 package.

openjdk-7-jre depends on openjdk-7-jre-headless.
openjdk-7-jre-headless depends on tzdata-java
tzdata-java depends on tzdata=2015a-0wheezy1

Thank you for your time.

Jason
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlTO90QACgkQcg7BZuuow2BhEACfa78gw8NwqacUPCqps5zr4RC6
zV4An1M3wYIQatBmmyycXDSVXS2pLrvb
=jOcz
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54cef745.8050...@zonjai.com



Re: Error on upgrade..............

2015-02-01 Thread Dan Ritter
On Mon, Feb 02, 2015 at 10:41:25AM +1100, Charlie wrote:
> Debian Jessie, tried to upgrade today and received this message:
> 
> Extracting templates from packages: 100%
> Preconfiguring packages ...
> Setting up libdb5.3:i386 (5.3.28-7~deb8u1) ...
> Processing triggers for libc-bin (2.19-13) ...
> (Reading database ... 240422 files and directories currently installed.)
> Preparing to unpack .../libdb5.3-java_5.3.28-7~deb8u1_all.deb ...
> dpkg-maintscript-helper: error: original symlink target is not an absolute 
> path
> dpkg: error processing archive 
> /var/cache/apt/archives/libdb5.3-java_5.3.28-7~deb8u1_all.deb (--unpack):
>  subprocess new pre-installation script returned error exit status 1
> dpkg-maintscript-helper: error: original symlink target is not an absolute 
> path
> dpkg: error while cleaning up:
>  subprocess new post-removal script returned error exit status 1
> Preparing to unpack .../libgpg-error0_1.17-3_i386.deb ...
> Unpacking libgpg-error0:i386 (1.17-3) over (1.16-1) ...
> Errors were encountered while processing:
>  /var/cache/apt/archives/libdb5.3-java_5.3.28-7~deb8u1_all.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> What do I have to delete to get this to go away?

rm /var/cache/apt/archives/libdb5.3-java_5.3.28-7~deb8u1_all.deb

then

apt-get -f install

-dsr-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150202042925.gk9...@randomstring.org



Re: Sound in Jessie

2015-02-01 Thread Cindy-Sue Causey
On 1/31/15, Paul E Condon  wrote:
>
> Anyway, it would be nice to have fully functional sound. My compute is
> a HP Pentium desktop several years old, nothing special, but it is the
> best computer I have ever had, so I expect to be keeping it thru the
> life of Jessie, and beyond.
>
> For now, I can, with adequate guidance, do testing of the new sound for
> today. Is there anything of interest to the developers who are working
> the sound system issues?
>
> The GStreamer message goes on to suggest:
> Some sound system specific GStreamer packages may be missing. It may
> also be a permissions problem.
>
> What is the package set that should be installed in Jessie? Maybe now
> is a good time to find out. Where should I look?


Hi, Paul, I don't have any help, any answers but couldn't help writing
after seeing the permissions thing. I never thought about that. I'm
running into that with something now for Sid. Root doesn't have
permissions for an apparent common installation activity, but I don't
think it's as simple as that. [EDIT: Then again, it might be?]

Sound not working because of permissions. My wvdial for dialup was
like that. I had a *_CHOICE_* of running wvdial as root which seemed a
really bad idea or of making some change to match the user which can
be done just as wrongly, too. Can't remember what I did, though. I
THINK I remember thinking it wasn't the wisest decision and that the
topic's on a mental *to-do* list to find the *RIGHT WAY* to make
wvdial work for a non-root user..

Groups memberships was one thing that honestly occurred to me for this
audio problem since I'm messing with groups while setting my stuff up
via debootstrap. It's amazing to me what our users need to be part of
for things to work properly. Does having to add users to a specific
group ring a bell with anyone related to audio? I'm feeling very
confident asking that because I've just quickly glanced over this
Ubuntu page that touches exactly that:

http://ubuntuforums.org/showthread.php?t=1324951&page=2&p=10741579#post10741579

The fix the user there suggested for the exact same error message was:

usermod -aG audio [user]

This thread is familiar. If you all already addressed that as a
possible solution last time, my apologies in advance. I figure
exposure to that we have to mess around with groups sometimes might
help a newer user anyway so repetition is a win in that respect. :)

Cindy :)

-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* Sid and I are... having a family spat right now *


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cao1p-kasvrcx_80as_bp9b8etw+_vtbkrfhv06oohfn-zuq...@mail.gmail.com



Re: Sound in Jessie

2015-02-01 Thread Ric Moore

On 02/01/2015 11:59 PM, Cindy-Sue Causey wrote:


http://ubuntuforums.org/showthread.php?t=1324951&page=2&p=10741579#post10741579

The fix the user there suggested for the exact same error message was:

usermod -aG audio [user]

This thread is familiar. If you all already addressed that as a
possible solution last time, my apologies in advance. I figure
exposure to that we have to mess around with groups sometimes might
help a newer user anyway so repetition is a win in that respect. :)


Cindy, here are the groups my user is a member of:

ric@iam:/etc$ more group |grep ric
adm:x:4:ric
cdrom:x:24:ric
floppy:x:25:ric
sudo:x:27:ric
audio:x:29:ric,pulse,timidity
dip:x:30:ric
video:x:44:ric
plugdev:x:46:ric
staff:x:50:ric
netdev:x:102:ric
ric:x:1000:
saned:x:108:ric
mlocate:x:109:ric
pulse-access:x:114:ric:
timidity:x:121:ric
ric@iam:/etc$
---
My sound works. I hope this helps. :) Ric


--
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
Linux user# 44256


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

Archive: https://lists.debian.org/54cf18b5.4020...@gmail.com



Re: Sound in Jessie

2015-02-01 Thread Joel Roth
Paul E Condon wrote:
> Today, for the first time in many weeks, my computer, running Jessie,
> started to have sound. It must have something to do with last night
> install of updates of .deb packages. But there are problems.
> I have no software control over the volume. Only way to turn done the
> volume is to turn anti-clockwist the physical knob on the loud speaker
> box. And, the audio mixer, which has been installed during the many weeks,
> has developed a new curious symptom: Instead of doing nothing, it now
> displays a message that GStreamer was unable to find any sound devices.
> Of course there are working sound devices, its just that Jessie sound
> software is not yet working. I'd welcome tips on how to make it fully
> functional faster than just waiting for the full release of Jessie
> 
> Note: some of you may remember my asking for help getting my sound to
> work. I got some help. I got help. I spent hours trying different things
> and suddenly it started working, but a few hours later, it stopped working
> again. I don't understand software sound. I think loading and removing
> various packages with various conflicting bugs somehow made it work for
> awhile, and decided to let it lie fallow. I noticed that there are two
> packages on the Xfce4 desktop that I don't believe were there the last
> time I paid attention to computer sound: Ex Falso and Quod Libet. I
> have never felt the need for computer mediated music, so that fact that
> there is broken sound now, rather than no sound might be related to
> these packages.
> 
> Anyway, it would be nice to have fully functional sound. My compute is
> a HP Pentium desktop several years old, nothing special, but it is the
> best computer I have ever had, so I expect to be keeping it thru the
> life of Jessie, and beyond.
> 
> For now, I can, with adequate guidance, do testing of the new sound for
> today. Is there anything of interest to the developers who are working
> the sound system issues?
> 
> The GStreamer message goes on to suggest:
> Some sound system specific GStreamer packages may be missing. It may
> also be a permissions problem.
> 
> What is the package set that should be installed in Jessie? Maybe now
> is a good time to find out. Where should I look?


Hi Paul,

Usually you'd first want to check I/O via ALSA devices.  The
ALSA project are the people who provide hardware-level
drivers your notebook's sound device. Their part of the
software stack is the most basic and, knowing it gives you
independence to work with most audio software
available for linux.

Gstreamer is a higher-level library that does I/O via ALSA
or pulseaudio.

Pulseaudio is another library that also overlays ALSA. 
You may have to deactivate or remove pulse audio to 
test basic ALSA I/O, which I will describe:

To learn what your sound devices are, the easiest
way, in a terminal, type:

cat /proc/asound/cards

For example, one entry on on my system is:

 0 [MID]: HDA-Intel - HDA Intel MID
  HDA Intel MID at 0xf262 irq 43

The text in the square brackets, you can use to address
the corresponding device.[1]

aplay -D MID test.wav 

or 

ecasound -i test.wav -o alsa,MID


You can also try 

aplay -L

Which will give you the entire list of devices
that ALSA presents. 

Now, if the player runs but you don't hear anything,
look at the ALSA-level mixer.

alsamixer -c 

It's a little fiddly.  You use the right/left arrow keys and
TAB key to get to all the various controls. On each control,
type the M key to set the mute/unmute setting, and type
SPACE to set capture on/off.  You probably need capture
enabled to be able to record.

Running without desktop audio services and mixer will
help ensure that the changes you make are not reversed
by other software.

Now, once ALSA is confirmed to be working, you can enable
and test higher layers such as pulseaudio and GStreamer.

The Linux Audio Users mailing list is the most authoritative
resource for audio issues.

Cheers,

1. Note that MID is just an identifier, has nothing to do with MIDI, a standard 
for
representing digital music.

 
> Cheers.
> -- 
> Paul E Condon   
> pecon...@mesanetworks.net
> 

-- 
Joel Roth
  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150202065845.GB32446@sprite



Latest gcj update breaks many java packages, how can I fix?

2015-02-01 Thread David Z
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
  ant ant-optional ca-certificates-java default-jdk default-jre
default-jre-headless icedtea-6-jre-cacao icedtea-6-jre-jamvm
  icedtea-7-plugin icedtea-netx jitsi openjdk-6-jdk openjdk-6-jre
openjdk-6-jre-headless openjdk-6-jre-lib openjdk-7-jdk
  openjdk-7-jre openjdk-7-jre-headless tzdata-java
The following NEW packages will be installed:
  gcj-4.7-base gcj-4.7-jre gcj-4.7-jre-headless gcj-jre
gcj-jre-headless libgcj-common libgcj13 libgcj13-awt
The following packages will be upgraded:
  tzdata
1 upgraded, 8 newly installed, 19 to remove and 0 not upgraded.
Need to get 14.5 MB of archives.
After this operation, 170 MB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.

I certainly rely on OpenJDK and the other packages that apt wants to
remove... Is this just a simple packaging error? Should I report this
as a bug. It seems that the gcj updates are "low" urgency, so for now
I'll just hold them back...

Any advice would be greatly appreciated. Thanks.
-BEGIN PGP SIGNATURE-

iQIcBAEBCgAGBQJUzyh2AAoJEGTVQ3ZZ2R8HiY4P/Rqq0KUYs8l1Z347H/OKtYMO
aaowhgPxHBAtmtnHxW+TohdIE8JYdTD4XYQbGoEuMMvrzFUZQ8FLlXm2LR9ciECC
KYtwS7BN0NH+2bT1fDiu5+vxNbdr6ism1oyKdfgm+Tf4Fksg2siq3SX2Tfc+1xv6
CWvtLYItlCqhR2hDrrkL5FyiUJ9F+uHd8oU+zVeRWfVmqxMzZSmwBZvJabURJmDg
WSDqarfr/o79DwePoakx81XVHYvk0MOGK3xKxkiyyf5vJvBD5VE+ml/aeGlb5z10
cEnW7VF326lAT1+fszohIEfvGKglROwckQ62F/VAKsM/JI9yUDcVXVU4iGoBn5QL
ry+LjOZeFCXpHFudskPcpHsnLlKETAKxqThpfaaPOYkozUghPHbRktFtWqtrV8yr
OLU2kPuD5SrnHiOZZf0bw+3j2b0s76wws4tbNICniGK+2b4EHLbGysjHJyrgMImz
dRtLsj3lzavpkmt+e9dIwckLLDEdvXMyDCf5C3W2VZYKgb898vhoP90M2ZIuj2T7
8TSoEFVF642RohxG6Y6Ofn5ulHQtSSnFqos2LGu5Su8n6Qxajmqnw1/YPd5DdAag
JpfZ8NqPyZDHb1ku8cp6e3h8QXeO2q9vokx2tgWop3RwoLv/9BtVG1M6pidQz2TP
STTXclw0tw3JfqaD8DTd
=p+rR
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54cf287e.7070...@gmail.com



Re: Latest gcj update breaks many java packages, how can I fix?

2015-02-01 Thread David Z
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 02/02/2015 02:34 AM, David Z wrote:
[snip]
> I certainly rely on OpenJDK and the other packages that apt wants
> to remove... Is this just a simple packaging error? Should I report
> this as a bug. It seems that the gcj updates are "low" urgency, so
> for now I'll just hold them back...
> 
> Any advice would be greatly appreciated. Thanks.
> 

My apologies, it seems that this is the same issue as already
mentioned under the topic "tzdata=2015a-0wheezy1 breaks other
packages", and that it's tzdata that's causing the issue, not gcj.
Hopefully it won't be difficult to resolve; I wish that I had the
skills to help.
-BEGIN PGP SIGNATURE-

iQIcBAEBCgAGBQJUzym8AAoJEGTVQ3ZZ2R8HNOwQAKpJAelGMagHsDie5Y+xNOg4
ZX432fBTm4ocf2nvD+VV1f6P1HphXaOKmNz0ZUYML4lL8vgCMbWOTXgeKkES/dMj
E8Qd0wNSV7Q47tKrJ4Cm+bWb6aHFaSbbyuSNhU8FtmHiupKBuAESnz1coWQw+xze
F3S0z0EIpTvHwAAkClLVPoHmK5hFs2xIsLE0TNvaT7EqDls3j+5I+fPnBLn7a7Dg
+PSR3SS6i7zn5ltZHr+mvvhVOyJnugH1K5kqcbkccWvLkHm5ZTXvCNMADzmul2w9
aHK6VXKc6ULF+O/2vY4uRklm5CedcO/VgVDvL/1+Ljjo2DA7ScVmPoSWtp0Zi6WX
uO5a6l8Imzos4DkM+EuzD5lqp0jAIO9H4qbxQ++naOW03zCemAwSNesADql9I+Qy
X/D0NGER60i3iD6xQCsKV/Wl5bqq/5qNRBGxKqcRoE+zGOGt4t/E9gL+Cf2lAqpe
75SXw/ZtGdRa14+wFyovXwEFuZPEUzVVt9EhHSliLzl/BwLy+aZ28aEsee25KLsx
9I7vljiaQGVOcY3sKwA4QpXKwlLtmX5sFTliWKzhIsBpJDg4dG1A0mcOZ1e1xUWy
lk8VchBGAZPfRDI+Rq/8Ekbx7uux89dwP3d/EMHKfmDh6SCL7RcF28wGNrACSqPr
kJAVtnhSp7o0RFTid/0Z
=UhbP
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54cf29c4.9050...@gmail.com