Re: apt-cache show

2017-11-15 Thread Floris
Op Tue, 14 Nov 2017 18:02:21 +0100 schreef Jilguero ostras  
:



Hi,

the command "apt-cache show" displays package information, including  
package size after installation, but units are not >reported (Mb, Kb,  
etc). I have seen a bug report long ago:


Debian Bug report logs -#173120

but it seems this is not fixed. It would be wise unites are reported.  
Thank you.



Best regards,


Jilguero.



You can read in the bug report [1] :
...
So, while we can't change apt-cache for compatibility reasons as Matt
already said years ago, we have by now 'apt' which is intended to be
a more human friendly interface (or to be more percise an interface not
used by scripts, so we can actually change things "at will") which
supports this by now.

Therefore closing as done.
...

In other words: use 'apt' if you are human or use 'apt-get' if you are a  
machine.




[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=173120



Re: two graphics cards and two monitors

2017-11-15 Thread Eric S Fraga
On Tuesday, 14 Nov 2017 at 10:31, Don Armstrong wrote:
> On Tue, 14 Nov 2017, Eric S Fraga wrote:
>> On Friday,  3 Nov 2017 at 11:19, Don Armstrong wrote:
>> > What happens if you run xrandr --output DVI-I-1-2 --auto; ?
>
>> 
>> $ xrandr --output DVI-I-1-2 --auto
>> warning: output DVI-I-1-2 not found; ignoring
>
> This looks like xrandr isn't seeing the second card at all. In *theory*,
> nouveau should be able to do multicard with these video cards. However,
> it's possible that your xorg.conf is making that not work properly.
>
> Can you move your xorg.conf away, restart X, put your Xorg.0.log up
> somewhere, and run xrandr --listproviders; once X has started?

I have done the above: removed xorg.conf and placed a copy of the log
file at:

http://www.ucl.ac.uk/~ucecesf/tmp/xorglog.txt

The output of xrandr is:

$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0xc3 cap: 0x7, Source Output, Sink Output, Source Offload 
crtcs: 4 outputs: 2 associated providers: 0 name:nouveau
Provider 1: id: 0x64 cap: 0x7, Source Output, Sink Output, Source Offload 
crtcs: 2 outputs: 3 associated providers: 0 name:nouveau

but only two monitors are found/configured.

> In theory, you should also be using KML, which should configure all of
> the outputs fairly early in boot as well.

Any pointers on how to do this would be welcome.

Thanks,
eric


-- 
: Eric S Fraga
: in Emacs 27.0.50 + Gnus v5.13 + evil-git-5d040cd
: BBDB version 3.1.2 (2017-01-30 14:47:26+00:00)


signature.asc
Description: PGP signature


Re: two graphics cards and two monitors

2017-11-15 Thread Felix Miata
Eric S Fraga composed on 2017-11-03 14:22 (UTC):

> I am trying to get a similar system configure with Debian testing/buster
> and not getting anywhere beyond having two monitors on a single card
> recognised. 

Is this a first try (has this ever worked before trying with Buster)?

> I have three monitors, two on first card and 1 on second
> card.  Only the ones of the first card are getting managed by
> Xorg.  Although the second card and associated monitor are found by
> Xorg, I cannot seem to get Xorg to configure and actually use this third
> monitor.

> Details follow:

> $ dpkg --list '*nouveau*'
> libdrm-nouveau2:amd642.4.84-2 
> xserver-xorg-video-nouveau   1:1.0.15-2   

> $ lspci | grep VGA
> 03:00.0 VGA compatible controller: NVIDIA Corporation GM107GL [Quadro K620] 
> (rev a2)
> 04:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] 
> (rev a2)

To be clear, both are PCIe cards, neither is onboard or integrated in the CPU
package?

> $ uname -a
> Linux xxx 4.13.0-1-amd64 #1 SMP Debian 4.13.4-2 (2017-10-15) x86_64 GNU/Linux

> Selected lines from Xorg.0.log:

> [  3877.659] (--) NOUVEAU(0): Chipset: "NVIDIA NV117"
> [  3877.659] (II) NOUVEAU(0): Creating default Display subsection in Screen 
> section
> [...]
> [  3877.693] (II) NOUVEAU(0): Output DVI-I-1 using monitor section rotated
> [...]
> [  3877.768] (II) NOUVEAU(0): Monitor name: DELL U2412M
> [...]
> [  3877.783] (II) NOUVEAU(0): Monitor name: DELL U3818DW
> [...]
> [  3877.783] (II) NOUVEAU(0): Output DVI-I-1 connected
> [  3877.783] (II) NOUVEAU(0): Output DP-1 connected
> [...]
> [  3877.783] (--) NOUVEAU(G0): Chipset: "NVIDIA NVA8"
> [...]
> [  3877.795] (II) NOUVEAU(G0): Output DVI-I-1-2 using monitor section rotated
> [  3877.851] (II) NOUVEAU(G0): Output HDMI-1-1 has no monitor section
> [  3877.862] (II) NOUVEAU(G0): Output VGA-1-1 has no monitor section
> [...]
> [  3878.010] (II) NOUVEAU(G0): Monitor name: SHARP HDMI

> but then nothing is connected to this monitor or this monitor is not
> connected to anything...  The strange thing is that the output says that
> output DVI-I-1-2 will use the "rotated" monitor section which has
> already been assigned to the DVI-I-1 output.

> I can post Xorg.0.log as well as my current xorg.conf if anybody is
> interested.  Without an xorg-conf at all, I get the same effective
> behaviour: two monitors working but third one ignored.

> Any suggestions welcome.

Things I would try:

1-Purge xserver-xorg-video-nouveau (IOW, does default modesetting driver find
three connected displays?).

2-Check if a Knoppix boot generates similar failure.

3-Swap the two cards between PCIe slots.

4-Can you get output on two displays if you remove the Quadro (IOW, will the
GeForce work at all)?

5-Try a DVI cable type with the GeForce/Sharp if the Sharp has a DVI port.

6-Try the GeForce with a DVI-to-HDMI adapter and HDMI cable.

7-Try a different HDMI port on the Sharp if it has more than one.

8-Report http://www.ucl.ac.uk/~ucecesf/tmp/xorglog.txt and failure on one of the
lists devoted to Xorg hardware issues, such as xorg-de...@lists.x.org or
x...@freedesktop.org.
-- 
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Compatible laptops

2017-11-15 Thread Byung-Hee HWANG (황병희, 黃炳熙)
In Article <7b17f175-2608-c4de-e06c-15c84b5ed...@verizon.net>,
 Maureen L Thomas  writes:

> [...sorry for snip...]
> debian.  I do not need a game playing machine.  If there is a list
> [...]

How about Chromebook? In my case, i am willing to install Debian into
ARM64 [MT8173] Chromebook if i get a good chance.

Sincerely, Byung-Hee.

-- 
^고맙습니다 _布德天下_ 감사합니다_^))//



Re: Missing pyuic5, pyrcc5 and pylupdate5 from python3-pyqt5 (was Re: Missing qt5-designer in Stretch)

2017-11-15 Thread Christian Seiler

Hi there,

Am 2017-11-15 06:12, schrieb Marc Shapiro:

Now that QtDesigner is running I can look at the rest of the build
chain and I find that the programs listed in the subject (pyuic5,
pyrcc5 and pylupdate5 ) are missing from python3-pyqt5.  According to
the docs on Sourceforge these should all be included in the upstream
package.  Has Debian split them off somewhere and not listed it as a
Depends, or Recommends?


$ apt-file search pyuic5
pyqt5-dev-tools: /usr/bin/pyuic5
pyqt5-dev-tools: /usr/share/man/man1/pyuic5.1.gz

To see what binary packages are built from the same source package
as python3-pyqt5:

1. Get the source package name:

$ apt-cache show python3-pyqt5 | grep ^Source:
Source: pyqt5

2. Get all binary packages associated with it (the "tr" is for better
readability):

$ apt-cache showsrc pyqt5 | grep Binary: | tr ',' '\n'

The reason Debian doesn't have a single binary package is that you
don't actually need these tools to _use_ PyQt5, only to develop it.
(Similarly to C/C++ development, where there also are separate
development packages.) This way you can select what you want to
install.

Regards,
Christian



Re: Re: Compatible laptops

2017-11-15 Thread dekks herton

On 11/15, Byung-Hee HWANG (황병희, 黃炳熙) wrote:

In Article <7b17f175-2608-c4de-e06c-15c84b5ed...@verizon.net>,
Maureen L Thomas  writes:


[...sorry for snip...]
debian.  I do not need a game playing machine.  If there is a list
[...]


How about Chromebook? In my case, i am willing to install Debian into
ARM64 [MT8173] Chromebook if i get a good chance.


Isn't that seriously complicated still involving a degree of skill.



Sincerely, Byung-Hee.

--
^고맙습니다 _布德天下_ 감사합니다_^))//



signature.asc
Description: PGP signature


Re: two graphics cards and two monitors

2017-11-15 Thread Eric S Fraga
On Wednesday, 15 Nov 2017 at 05:15, Felix Miata wrote:
> Eric S Fraga composed on 2017-11-03 14:22 (UTC):
>
>> I am trying to get a similar system configure with Debian testing/buster
>> and not getting anywhere beyond having two monitors on a single card
>> recognised. 

Hello Felix,

thanks for your response.  I will try some of your suggestions
later.  Some are not possible or I wish to put off trying due to (a)
logistics (distance between display and computer, cabling restrictions)
and (b) requiring IT support to access hardware...

Some specific responses:

> Is this a first try (has this ever worked before trying with Buster)?

This particular configuration has never been tried before as it's a new
computer so the Quadro K620 graphics card is new.  However, my previous
system which this replaces had two Dell 24" monitors attached to the
graphics card that came with that previous computer along with the
GeForce 210 connected via HDMI to my 60" display.  But that system used
the nvidia proprietary driver, not nouveau.

I am trying to resist using the nvidia driver but that will very likely
be my next port of call...

> To be clear, both are PCIe cards, neither is onboard or integrated in the CPU
> package?

Separate cards.

> 4-Can you get output on two displays if you remove the Quadro (IOW, will the
> GeForce work at all)?

As noted above, the GeForce has worked just fine before but with nvidia
driver, not nouveau.  There are two displays attached to the Quadro and
only one to the GeForce.

Thanks again,
eric

-- 
: Eric S Fraga
: in Emacs 27.0.50 + Gnus v5.13 + evil-git-5d040cd
: BBDB version 3.1.2 (2017-01-30 14:47:26+00:00)


signature.asc
Description: PGP signature


Re: Missing pyuic5, pyrcc5 and pylupdate5 from python3-pyqt5 (was Re: Missing qt5-designer in Stretch)

2017-11-15 Thread Marc Shapiro

On 11/15/2017 03:19 AM, Christian Seiler wrote:

Hi there,

Am 2017-11-15 06:12, schrieb Marc Shapiro:

Now that QtDesigner is running I can look at the rest of the build
chain and I find that the programs listed in the subject (pyuic5,
pyrcc5 and pylupdate5 ) are missing from python3-pyqt5. According to
the docs on Sourceforge these should all be included in the upstream
package.  Has Debian split them off somewhere and not listed it as a
Depends, or Recommends?


$ apt-file search pyuic5
pyqt5-dev-tools: /usr/bin/pyuic5
pyqt5-dev-tools: /usr/share/man/man1/pyuic5.1.gz

To see what binary packages are built from the same source package
as python3-pyqt5:

1. Get the source package name:

$ apt-cache show python3-pyqt5 | grep ^Source:
Source: pyqt5

2. Get all binary packages associated with it (the "tr" is for better
readability):

$ apt-cache showsrc pyqt5 | grep Binary: | tr ',' '\n'

The reason Debian doesn't have a single binary package is that you
don't actually need these tools to _use_ PyQt5, only to develop it.
(Similarly to C/C++ development, where there also are separate
development packages.) This way you can select what you want to
install.

Regards,
Christian

Thanks for the tip on how to find all the packages from a single source 
file.  I'm not surprised that the dev tools are in a separate package -- 
I just couldn't find it.  I was looking through the files beginning with 
'python3-pyqt5', or 'python-pyqt5' so I missed the three (all of which I 
want) whose names begin with 'pyqt5' without the 'python' prefix.



Thanks again.

Marc



Last order, 11/15/17. You forced an order for sunglasses with my order for free watch after completing your survey. I need to cancel the postage and order for the sunglasses. Thank you.

2017-11-15 Thread Quinnon Walker



Cannot connect to WiFi.

2017-11-15 Thread Juan R. de Silva
Hi folks,

My ISP replaced my old modem with the new one. I changed my WiFi 
Authentication key and the name of the WiFi network. Then I made Network 
Manager to "forget" my old WiFi. Network Manager finds my new WiFi but I 
cannot connect to it.

When "Authentication Key is required" dialog pops up and the key is 
entered,j Connect button remains grayed out/disabled. Thus there is no 
way to get through but pressing Cancel button. 

I'm running Debian Stretch.

Could somebody help. It's quite urgent now.

Thanks.




Re: Cannot connect to WiFi.

2017-11-15 Thread Charles Kroeger
you can edit the:

#  /etc/network/interfaces

file and put your key there in the appropriate place

if it does not start on its own try:

#service networking restart

see if you can connect that way.

sorry I don't use 'network manger,' I never like it.

-- 
CK


pgpTzbktm3yMv.pgp
Description: OpenPGP digital signature


No Sound

2017-11-15 Thread Thomas George
I just installed an Asus Xonar DSX pcie card. Alsamixer recognizes it 
and PulseAudio Volume Control show a strong signal level during playback 
but no sound from the speakers. The system works with the onboard Nvidia 
sound, no problems.


I assume the problem is a missing linux driver for the Xonar but I have 
seen claims that Xonar works out of the box on linux systems.


Does anyone have this working?

I am using Debian Stretch.



Re: Cannot connect to WiFi.

2017-11-15 Thread Zoltán Herman
Or test with wired connection.


2017. nov. 15. 21:30 ezt írta ("Charles Kroeger" <
ckro...@frankensteinface.com>):

> you can edit the:
>
> #  /etc/network/interfaces
>
> file and put your key there in the appropriate place
>
> if it does not start on its own try:
>
> #service networking restart
>
> see if you can connect that way.
>
> sorry I don't use 'network manger,' I never like it.
>
> --
> CK
>


Re: Cannot connect to WiFi.

2017-11-15 Thread David Christensen

On 11/15/17 11:48, Juan R. de Silva wrote:

My ISP replaced my old modem with the new one. I changed my WiFi
Authentication key and the name of the WiFi network. Then I made Network
Manager to "forget" my old WiFi. Network Manager finds my new WiFi but I
cannot connect to it.

When "Authentication Key is required" dialog pops up and the key is
entered,j Connect button remains grayed out/disabled. Thus there is no
way to get through but pressing Cancel button.

I'm running Debian Stretch.

Could somebody help. It's quite urgent now.


I assume your ISP provided a combination "gateway" device, rather than 
just a modem (which would require you to provide a firewall/router 
and/or WiFi access point) (?).



I assume you are using a laptop (?).  What desktop environment are you 
using (Gnome, KDE, Xfce, etc.)?



I assume the laptop WiFi interface was working correctly with the 
previous ISP device (?).



Try deleting all wireless entries in your "Network Manager", rebooting, 
and making a fresh wireless connection.



If all else fails, does your laptop have an Ethernet port?  Do you have 
a long Ethernet cable?  (You might need a crossover cable if your laptop 
or gateway has 10 Mbps or 100 Mbps Ethernet ports.)  Power down, connect 
the cable, boot, and use your network manager to configure (if the 
laptop does not connect automatically).



David



Re: Cannot connect to WiFi.

2017-11-15 Thread Jeroen Mathon
Try the CLI version called nmtui

On Wed, 15 Nov 2017, 21:30 Charles Kroeger, 
wrote:

> you can edit the:
>
> #  /etc/network/interfaces
>
> file and put your key there in the appropriate place
>
> if it does not start on its own try:
>
> #service networking restart
>
> see if you can connect that way.
>
> sorry I don't use 'network manger,' I never like it.
>
> --
> CK
>


Re: Cannot connect to WiFi.

2017-11-15 Thread Bob Weber
On 11/15/17 2:48 PM, Juan R. de Silva wrote:
> Hi folks,
>
> My ISP replaced my old modem with the new one. I changed my WiFi 
> Authentication key and the name of the WiFi network. Then I made Network 
> Manager to "forget" my old WiFi. Network Manager finds my new WiFi but I 
> cannot connect to it.
>
> When "Authentication Key is required" dialog pops up and the key is 
> entered,j Connect button remains grayed out/disabled. Thus there is no 
> way to get through but pressing Cancel button. 
>
> I'm running Debian Stretch.
>
> Could somebody help. It's quite urgent now.
>
> Thanks.
>
>
>
I had a similar problem with a new wifi router.  Under KDE I set the network
manager settings dialog to set up a wifi connection including a password for
WAP2.  It wouldn't connect.  You can view the password in NM and it looked
correct ... I checked several times but no luck.  I wiped out the password by
holding down the backspace key and I noticed I might have entered a leading
space by mistake.  So try to put the password in the network manager settings
dialog paying close attention to what you entered.  If that fails go back to the
router and re-enter the password again just in case you have some invisible
characters there.  This might also happen with the SSID.  If all else fails I
would set the SSID to something simple (say 3 characters) and the same for the
password just for a test to see if you can connect.  Also make sure the WPA2 is
set to AES encryption.  This is the recommended setting and I know it works with
my NM in debian testing.

-- 


*...Bob*


Re: No Sound

2017-11-15 Thread deloptes
Thomas George wrote:

> I just installed an Asus Xonar DSX pcie card. Alsamixer recognizes it
> and PulseAudio Volume Control show a strong signal level during playback
> but no sound from the speakers. The system works with the onboard Nvidia
> sound, no problems.
> 
> I assume the problem is a missing linux driver for the Xonar but I have
> seen claims that Xonar works out of the box on linux systems.
> 
> Does anyone have this working?
> 
> I am using Debian Stretch.

if pulse shows signal, then it might be working, did you check the mute
thing - this is error #1 in such cases. error #2 select the correct output,
I hope you've plugged at the right place I mean line out and not mic

regards



Re: No Sound - Puzzle

2017-11-15 Thread Thomas George

From a terminal run alsamixer, f6, select Xonar DSX

On another terminal cd to a directory of ogg files, start a playback of 
a file.


Oh the desktop start pulse audio volume control. Monitor shows strong 
active playback levels


Switch to terminal running alsamixer, mute master front which mutes all 
output channels.


Return to desktop pulse audio volume control, monitor continues to show 
strong active playback levels even though alsamixer thinks all output 
channels muted!


The music goes down and around and comes out nowhere!


On 11/15/2017 03:35 PM, Thomas George wrote:
I just installed an Asus Xonar DSX pcie card. Alsamixer recognizes it 
and PulseAudio Volume Control show a strong signal level during 
playback but no sound from the speakers. The system works with the 
onboard Nvidia sound, no problems.


I assume the problem is a missing linux driver for the Xonar but I 
have seen claims that Xonar works out of the box on linux systems.


Does anyone have this working?

I am using Debian Stretch.







Re: Missing qt5-designer in Stretch

2017-11-15 Thread Ben Caradoc-Davies

On 15/11/17 17:34, Marc Shapiro wrote:

On 11/14/2017 07:24 PM, Ben Caradoc-Davies wrote:
Great! Although you should note that Michael Biebl's suggestion to 
install "qt5-default" will do the same thing but be robust against 
package updates (I like his advice more than mine).
But it wants to install 25 packages in addition to itself and take up 
29.8MB.  That seems excessive to do something that I have already 
aqccomplished with no additional packages.


Hmm, then you might be better off with the straightforward edit of 
default.conf .


Kind regards,

--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand



Re: No Sound - Puzzle

2017-11-15 Thread Joel Roth
A lot of folks (myself included) manage just fine without
pulseaudio.  ALSA is already complicated and capable enough for them.
Some sophisticated users route pulseaudio through JACK, so
that the pulseaudio daemon doesn't grab exclusive use of the ALSA device. 

Good luck!

On Wed, Nov 15, 2017 at 06:21:07PM -0500, Thomas George wrote:
> From a terminal run alsamixer, f6, select Xonar DSX
> 
> On another terminal cd to a directory of ogg files, start a playback of a
> file.
> 
> Oh the desktop start pulse audio volume control. Monitor shows strong active
> playback levels
> 
> Switch to terminal running alsamixer, mute master front which mutes all
> output channels.
> 
> Return to desktop pulse audio volume control, monitor continues to show
> strong active playback levels even though alsamixer thinks all output
> channels muted!
> 
> The music goes down and around and comes out nowhere!
> 
> 
> On 11/15/2017 03:35 PM, Thomas George wrote:
> >I just installed an Asus Xonar DSX pcie card. Alsamixer recognizes it and
> >PulseAudio Volume Control show a strong signal level during playback but
> >no sound from the speakers. The system works with the onboard Nvidia
> >sound, no problems.
> >
> >I assume the problem is a missing linux driver for the Xonar but I have
> >seen claims that Xonar works out of the box on linux systems.
> >
> >Does anyone have this working?
> >
> >I am using Debian Stretch.
> >
> >
> >
> 

-- 
Joel Roth
  



Re: No Sound - Puzzle

2017-11-15 Thread Jude DaShiell
please try all of this using pamixer, pulseaudio is controled by its own 
mixer software not by alsamixer.  Remember pulseaudio when installed 
manages alsa and not the other way around.


On Wed, 15 Nov 2017, Thomas George wrote:


Date: Wed, 15 Nov 2017 18:21:07
From: Thomas George 
To: debian-user@lists.debian.org
Subject: Re: No Sound - Puzzle
Resent-Date: Wed, 15 Nov 2017 23:28:49 + (UTC)
Resent-From: debian-user@lists.debian.org

From a terminal run alsamixer, f6, select Xonar DSX

On another terminal cd to a directory of ogg files, start a playback of a 
file.


Oh the desktop start pulse audio volume control. Monitor shows strong active 
playback levels


Switch to terminal running alsamixer, mute master front which mutes all 
output channels.


Return to desktop pulse audio volume control, monitor continues to show 
strong active playback levels even though alsamixer thinks all output 
channels muted!


The music goes down and around and comes out nowhere!


On 11/15/2017 03:35 PM, Thomas George wrote:

 I just installed an Asus Xonar DSX pcie card. Alsamixer recognizes it and
 PulseAudio Volume Control show a strong signal level during playback but
 no sound from the speakers. The system works with the onboard Nvidia
 sound, no problems.

 I assume the problem is a missing linux driver for the Xonar but I have
 seen claims that Xonar works out of the box on linux systems.

 Does anyone have this working?

 I am using Debian Stretch.









--



Re: how to enable trim for an external encrypted SSD?

2017-11-15 Thread Stefan Monnier
> I had the same situation with my Sandisc Exreme thumb drive before! Here
> heparin reports TRIM too, and fstrim failed too. At that time I thought
> that the problem is the thumb drive controller.

hdparm's report mostly comes directly from the drive within the
enclosure.  So all it says is that the drive within the enclosure
understands TRIM, but in many cases, the USB<->SATA adapter used in the
enclosure to talk to the disk only understands a subset of the SATA
commands.

You might ask the USB driver people if Linux's usb_storage
driver supports TRIM, if not, then there's a chance that the USB<->SATA
adapter still supports it, but I wouldn't hold my breath.

> As a result of the missing TRIM, the drive shows IO errors after just
> 1 year of usage.

I highly doubt that TRIM would help.  IOW, it's just a gut feeling you
have, but I strongly doubt you have concrete data that can show it might
be related to the presence/absence of TRIM-support.


Stefan



Firefox not displaying text on website(s)

2017-11-15 Thread Sridhar M A
Yesterday when I updated my system, I got firefox 57. It does appear
to work faster. But, I noticed that the sites I frequent, do not
display the text: distrocwatch.com, slashdot.org, gmail, etc. Removed
$HOME/.mozilla and checked again. Same problem :-(

The screenshots can be seen here:

https://imgur.com/lwjhGGu, https://imgur.com/Jcdo1Wg, https://imgur.com/KPyxmFN

Anyone else facing a similar problem?

If it matters, except uBlock, I do not have any other extensions. Even
with the extension removed, the behaviour is the same.

Regards,

-- 
Sridhar M. A.