Re: No $DISPLAY variable set over ssh
allan wrote on 18/04/2024 13:37: Bug report submitted. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069236 Hi, may I ask how you disabled IPv6 on these machines? Regards, Jörg.
Re: Orphaned Inode Problem
Henning Follmann wrote on 22/02/2024 08:43: You didn't answer where you read that. I would be interested in that. I do not claim to be an expert on this and I would like to understand it better. -H Concededly, I didn't noted that down. It was a discussion like in this blog: https://forums.linuxmint.com/viewtopic.php?t=349099 Regards, Jörg.
Re: Orphaned Inode Problem
Henning Follmann wrote on 21/02/2024 14:16: On Wed, Feb 21, 2024 at 12:00:17PM +0100, Jörg-Volker Peetz wrote: Somewhere I read, for maintainance of an SSD all it's cells should be read from time to time like this sudo dd if=/dev/DEVICE of=/dev/null bs=8M status=progress Where did you read that? That seems like a huge waste of time. As far as I remember, the idea behind this suggestion is to help the SSD firmware detect bad blocks or cells early on and to mask them out. Of course, a good firmware with it's wear leveling algorithm (https://en.wikipedia.org/wiki/Wear_leveling) should do this by itself. Regards, Jörg.
Re: Orphaned Inode Problem
Hi, did you take a look at the smartctl output? Somewhere I read, for maintainance of an SSD all it's cells should be read from time to time like this sudo dd if=/dev/DEVICE of=/dev/null bs=8M status=progress where device is something like sda or nvme0n1, especially if it was switched off for a longer period. At least, it shows the current read performance of the device. An SSD should regularly be trimmed, if in use. This is to assist it's wear leveling process. What's your opinion? Regards, Jörg.
Re: what keyboard do you use?
Dan Ritter wrote on 03/02/2024 13:16: As far as I know, Logitech doesn't make a mechanical keyboard. Logitech now has, with and w/o ten key block: search for "Logitech MX Mechanical". They are wireless with USB adapter and have a configurable mono-color key light. I myself use the MX Mechanical Mini. Can be configured from Linux with solaar. Regards, Jörg.
Re: locate question
If you just want to see files in /home/gene try locate -r 'home/gene/.*\.scad' In that way, regex syntax can be used to narrow down the search. Regards, Jörg.
Re: Understanding package dependencies
Greg Wooledge wrote on 07/10/2023 20:45: On Sat, Oct 07, 2023 at 08:27:11PM +0200, Sven Joachim wrote: Yes, aptitude can do that. Quoting the manual[1]: , | ?provides(pattern), ~Ppattern | | Matches package versions which provide a package that matches the | pattern. For instance, “?provides(mail-transport-agent)” will match | all the packages that provide “mail-transport-agent”. ` In the current case, "aptitude search '~Plsb-base'" does the trick. Why on EARTH was this not ported to apt-patterns(7)? unicorn:~$ apt list '?conflicts(~nlsb-base)' Listing... Done sysvinit-utils/stable,now 3.06-4 amd64 [installed] sysvinit-utils/stable 3.06-4 i386 unicorn:~$ apt list '?provides(~nlsb-base)' Listing... Error! E: input:0-21: error: Unrecognized pattern '?provides' ?provides(~nlsb-base) ^ How about apt list '?reverse-depends(?name(lsb-base))' or apt list '~RDepends:~nlsb-base' Regards, Jörg.
Re: List packages from non-default repositories
Thanks for the detailed inspection. I'll have a closer look into the apt abilities. Regards, Jörg.
Re: List packages from non-default repositories
Max Nikulin wrote on 04/10/2023 04:22: On 04/10/2023 01:29, Jörg-Volker Peetz wrote: Max Nikulin wrote on 03/10/2023 12:11: apt list '?narrow(~i, !~Astable|~Astable-backports|!~O^Debian$|~o|~c)' In my experience the only tool that gives correct answers, is apt-show-versions in the package of the same name: $ apt-show-versions | grep -v '/stable ' Thanks. Do you have an example of a case when apt-show-versions works better when the following command? apt list '~i' | grep -Ev '[/,]stable(-updates|-security)?,' I have to add that I'm working on a system from the testing archive with unstable and experimental archives also available. Indeed the commands $ apt list '~i' | grep -v '/testing' and $ apt-show-versions | grep -v '/testing ' show the same packages, correctly, but $ apt list '~i!~Atesting' is missing some packages. Regards, Jörg.
Re: List packages from non-default repositories
Max Nikulin wrote on 03/10/2023 12:11: apt list '?narrow(~i, !~Astable|~Astable-backports|!~O^Debian$|~o|~c)' In my experience the only tool that gives correct answers, is apt-show-versions in the package of the same name: $ apt-show-versions | grep -v '/stable ' Beware, that it works with a database which should be updated before asking something. Regards, Jörg.
Re: Printer HP LaserJet MFP M234sdw 5085B1
With this printer CUPS driverless printing works, see https://wiki.debian.org/CUPSDriverlessPrinting . No need for hplip. Regards, Jörg.
dangling symlinks [ was: Re: "locate" easier to use than "find"]
to...@tuxteam.de wrote on 24/08/2023 14:00: A couple of days ago I was searching for dangling symlinks. find . -follow -lname "*" How about find -L . -type l Regards, Jörg.
Re: Hddtemp in Bookworm
The linux kernel has a module for reading the drive temperature called drivetemp. Therefore, using the package lm-sensors should also show the drive temperature. Regards, Jörg.
Re: [SOLVED] Re: After upgrade to bookworm: Keyboard layout
Could you show us the content of your /etc/default/keyboard ? Regards, Jörg.
Re: OpenCL with Radeon GPU
Hi Arno, Arno Lehmann wrote on 25/04/2023 12:54: Hi Jörg-Volker, Am 25.04.2023 um 11:19 schrieb Jörg-Volker Peetz: Hi, which mesa packages do you have installed? None providing OpenCL capabilities at that time, but if you followed this thread, you are aware of this already: # LANG=C dpkg -l '*mesa*' | cut -c 1-72 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Tri |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Archite +++-===--=== ii libegl-mesa0:amd64 22.3.6-1+deb12u1 amd64 un libegl1-mesa-dev un libgl1-mesa-dev ii libgl1-mesa-dri:amd64 22.3.6-1+deb12u1 amd64 un libgl1-mesa-glx ii libglapi-mesa:amd64 22.3.6-1+deb12u1 amd64 un libgles2-mesa-dev ii libglu1-mesa:amd64 9.0.2-1.1 amd64 ii libglx-mesa0:amd64 22.3.6-1+deb12u1 amd64 un libwayland-egl1-mesa ii mesa-amdgpu-common-dev 1:22.3.0.50403-1538762.20.04 amd64 ii mesa-amdgpu-omx-drivers:amd64 1:22.3.0.50403-1538762.20.04 amd64 ii mesa-amdgpu-va-drivers:amd64 1:22.3.0.50403-1538762.20.04 amd64 ii mesa-amdgpu-vdpau-drivers:amd64 1:22.3.0.50403-1538762.20.04 amd64 ii mesa-common-dev:amd64 22.3.6-1+deb12u1 amd64 un mesa-opencl-icd ii mesa-utils 8.5.0-1 amd64 ii mesa-utils-bin:amd64 8.5.0-1 amd64 un mesa-utils-extra ii mesa-va-drivers:amd64 22.3.6-1+deb12u1 amd64 ii mesa-vdpau-drivers:amd64 22.3.6-1+deb12u1 amd64 ii mesa-vulkan-drivers:amd64 22.3.6-1+deb12u1 amd64 un mesag3 un xlibmesa3 In Debian testing I see the package `mesa-opencl-icd`. I have no experience with opencl and AMD graphic cards but are very interested how it works in Debian. That's more or less where I am myself... seems a bit too complex for me, at this time ;-) I'm wondering if package mesa-opencl-icd would do the trick (version 22.3.6-1+deb12u1 like the other installed mesa packages). From the description it seems to be the right package: free implementation of the OpenCL API -- ICD runtime This package contains the mesa implementation of the OpenCL (Open Compute Language) library, which is intended for use with an ICD loader. OpenCL provides a standardized interface for computational analysis on graphical processing units. Regards, Jörg.
Re: OpenCL with Radeon GPU
Hi, which mesa packages do you have installed? In Debian testing I see the package `mesa-opencl-icd`. I have no experience with opencl and AMD graphic cards but are very interested how it works in Debian. Regards, Jörg.
Re: grep: show matching line from pattern file
Jim Popovitch wrote on 28/05/2022 21:40: Not exactly Debian specific, but hoping that someone here can help. I have a file of regex patterns and I use grep like so: ~$ grep -f patterns.txt /var/log/syslog What I'd like to get is a listing of all lines, specifically the line numbers of the regexps in patterns.txt, that match entries in /var/log/syslog. Is there a way to do this? -Jim P. How about this: $ grep -of patterns.txt /var/log/syslog.1 | grep -n -f - patterns.txt Regards, Jörg.
Re: intel-media-va-driver segmentation fault in unstable
Is already in Debian BTS: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1007992 Regards, Jörg.
Re: Simple and secure blogging software for nginx
Take a look at https://dotclear.org/ which is PHP based. Some time ago Debian also had it packaged. Regards, Jörg.
Re: system lock up, not sure if related to "your system is too slow"
songbird wrote on 10/03/2022 14:44: Jörg-Volker Peetz wrote: songbird wrote: ... i did install the dummy package and uninstalled the intel but that did not leave me with a system that booted to the desktop so i put it back. Did you take a look into `dmesg -l err` and `Xorg.log` in this case? no, i didn't, too hard for me to see or sit to squint at the screen to be able to read. the login prompt and screen fonts are so small that i type it all in by memory and can usually get it right. i used to have it set up where all the terminal fonts would come up with a big enough font that i'd not have that problem, but i've not been dealing much with the raw terminal screens enough to do it on this system yet. songbird Maybe this website can help with the console font size: https://www.linux.com/topic/desktop/how-change-your-linux-console-fonts/ Regards, Jörg.
Re: system lock up, not sure if related to "your system is too slow"
songbird wrote on 08/03/2022 16:35: Jörg-Volker Peetz wrote: As far as I know, the xserver-xorg-video-intel is deprecated for modern Intel CPUs. With an Intel Core i7 7700 the kernel `modesetting` works well here: Something like Section "Device" Identifier "Intel Graphics" Driver "modesetting" EndSection in `/etc/X11/xorg.conf.d/20-modesetting.conf` or `/etc/X11/xorg.conf`. Keep just the `xserver-xorg-video-dummy` on the system for dependencies. And for video acceleration the package `intel-media-va-driver`. i did install the dummy package and uninstalled the intel but that did not leave me with a system that booted to the desktop so i put it back. songbird Did you take a look into `dmesg -l err` and `Xorg.log` in this case? Regards, Jörg.
Re: system lock up, not sure if related to "your system is too slow"
As far as I know, the xserver-xorg-video-intel is deprecated for modern Intel CPUs. With an Intel Core i7 7700 the kernel `modesetting` works well here: Something like Section "Device" Identifier "Intel Graphics" Driver "modesetting" EndSection in `/etc/X11/xorg.conf.d/20-modesetting.conf` or `/etc/X11/xorg.conf`. Keep just the `xserver-xorg-video-dummy` on the system for dependencies. And for video acceleration the package `intel-media-va-driver`. Regards, Jörg.
[SOLVED] Error in the certificate verification
Solution was to sudo dpkg-reconfigure ca-certificates and trust the certificate `ISRG_Root_X1.crt`. I read about it here: https://scotthelme.co.uk/lets-encrypt-old-root-expiration/ Regards, Jörg. Jörg-Volker Peetz wrote on 02/10/2021 13:56: Hi, on Debian testing, when trying to update package lists with `apt update`, the following error message show up: W: Failed to fetch https://deb.debian.org/debian/dists/testing/InRelease Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 199.232.138.132 443] The IP address varies between different calls. Has anybody else encountered this problem? Gpg tells that the signature of `InRelease` is made using RSA key 0146DC6D4A0B2914BDED34DB648ACFD622F3D138 and using RSA key A7236886F3CCCAAD148A27F80E98404D386FA1D9 Any idea anybody? Regards, Jörg.
Error in the certificate verification
Hi, on Debian testing, when trying to update package lists with `apt update`, the following error message show up: W: Failed to fetch https://deb.debian.org/debian/dists/testing/InRelease Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 199.232.138.132 443] The IP address varies between different calls. Has anybody else encountered this problem? Gpg tells that the signature of `InRelease` is made using RSA key 0146DC6D4A0B2914BDED34DB648ACFD622F3D138 and using RSA key A7236886F3CCCAAD148A27F80E98404D386FA1D9 Any idea anybody? Regards, Jörg.
Re: "humor": "first bug?" (bug in my (backlit thin screen) computer monitor)
In Germany (Europe probably) it might be a Fransenflügler or thrips. See https://de.wikipedia.org/wiki/Fransenfl%C3%BCgler#Fransenfl%C3%BCgler_und_TFT-Monitore for some suggestions. It's a german text. The english Wikipedia page doesn't have this section. Regards, Jörg.
Re: Upgrading python3.8 from 3.8.3-1 to 3.8.4~rc1-1 breaks xpra
S. Dash wrote on 15/07/2020 10:02: > 2. > > Apart from this issue, I just realized that I was unable to downgrade to 3.8.3 > if I had not cached the deb files. All mirror sites I could find were all > updated to have only 3.8.4~rc1-1. Is there an archive that keeps older > versions? > Yes, there is: http://snapshot.debian.org/ Regards, Jörg.
Re: what calculator do you use?
In this category of computer aided mathematics or computer algebra systems, there are also the packages sagemath, octave or scilab. octave and scilab bring there own GUI. sagemath and also python 3 or R can be used via jupyter notebook which is a kind of browser based GUI. But these are all way to heavy programs for doing simple calculations. For that I also use `bc -l`. It has a line editor: you can write your whole calculation in one line and scroll back to previous lines to change and repeat them. Regards, Jörg.
Re: Can't get my Debian laptop to use my Radeon 520 Mobile graphics card
As far as I understand, kernel 5.4 supports your GPU. What is the outcome of the two commands $ lsmod | grep amdgpu $ find /lib/modules -name 'amdgpu*' The packages you try to install are not from Debian, maybe they are not up to date. Regards, Jörg.
Re: Can't get my Debian laptop to use my Radeon 520 Mobile graphics card
>From which repository did you get your kernel? In case of a missing file I consult https://packages.debian.org/ "Search the contents of packages". There is also the package apt-file. The package linux-headers-5.4.0-4-common from bullseye contains a file /usr/src/linux-headers-5.4.0-4-common/include/drm/drmP.h I don't have access to that GPU or experience with Radeon 520 Mobile. According to https://linux-hardware.org/index.php?id=pci%3A1002-6660-103c-8331 it should be supported by Linux kernel 5.4. Regards, Jörg.
Re: Can't get my Debian laptop to use my Radeon 520 Mobile graphics card
Try it without any /etc/X11/xorg.conf file and read the Debian Stretch part in the Debian wiki. What's the output of the "xrandr" commands listed in the wiki? Regards, Jörg.
Re: Can't get my Debian laptop to use my Radeon 520 Mobile graphics card
Keywords are "hybrig graphics" and "PRIME". Maybe, these links can be helpful: https://wiki.debian.org/AtiHowTo https://wiki.archlinux.org/index.php/PRIME Regards, Jörg.
Re: The nightmare of Intel Integrated GPUs under Linux in general and Debian in particular
Miguel A. Vallejo wrote on 11/02/2020 22:15: > > I always ran the intel microcode package, tried every bios update, and > I even changed the whole computer, so this is not the solution. Do you also use the skylake GPU firmware which should be located in /lib/firmware/i915/ (from package firmware-linux-nonfree, I think; file names beginning with "skl_")? Regards, Jörg.
Re: cpu frequence
Then, take a look at the available governors: $ cat /sys/devices/system/cpu/cpufreq/policy?/scaling_available_governors or using cpupower, if available. As the name says, "powersave" would be the better choice. Take a look at https://wiki.debian.org/CpuFrequencyScaling as how to change the cpufreq governor permanently even when rebooting. I suppose, you somehow changed the default behavior. Regards, Jörg.
Re: cpu frequence
what is the outcome of the following command: $ cat /sys/devices/system/cpu/cpufreq/policy?/scaling_governor Regards, Jörg.
Re: unstable: directory pulse in root directory : /pulse where from?
Stephan Seitz wrote on 16/12/2019 20:50: > On Mo, Dez 16, 2019 at 08:32:01 +0100, Jörg-Volker Peetz wrote: >> Does anybody else see such a /pulse directory? > > Yes, here as well (two testing systems). > > Shade and sweet water! > > Stephan > Thanks for confirming this. Are you using sysv-init or systemd-init? Regards, Jörg.
Re: unstable: directory pulse in root directory : /pulse where from?
Jörg-Volker Peetz wrote on 16/12/2019 20:32: > Greg Wooledge wrote on 16/12/2019 17:29: >> On Sat, Dec 14, 2019 at 10:04:34AM +0100, Jörg-Volker Peetz wrote: >>> $ dpkg -S /pulse >>> dpkg-query: no path found matching pattern /pulse >>> >>> fails to give any clue. >>> The directory is generated at boot-time. But I wasn't able to find any hint >>> in >>> systemd or udev conf-files. >> >> Well, the first thing I would try would be "grep -r /pulse /etc". >> And if that fails, "grep -r /pulse /lib/systemd". > > Did that, also > > $ grep -rI pulse /lib/udev > > to no avail. >> >> If *those* both fail... well, I might be crazy enough to try removing >> the offending directory, doing "chattr +i /", then rebooting, and seeing >> who complains when they can't create the /pulse directory. Only on a >> system where I have local hardware access, of course -- not a remote. >> >> Do not forget to remove the immutable bit after your test is complete. >> >> And as a wise reader already said, it's probably pulseaudio. Meaning, >> you might be able to test without rebooting, by stopping pulseaudio, >> removing the directory, and starting pulseaudio, to see if it gets >> recreated. > > The /pulse directory is created at boot-time. The pulseaudio process is > started > at login on this system. Also, pulseaudio continues to work after removal of > /pulse which is always an empty directory. It has uid 0 and gid 0 an is not > readable for group or others. > The only relevant script at boot-time on my system seems to be from alsa-utils. But at the moment I'm lost how this interacts with pulseaudio. At the same time the /pulse directory is created, there is created an also empty /run/alsa/runtime/pulse directory. Any idea, anybody? > Does anybody else see such a /pulse directory? Regards, Jörg.
Re: unstable: directory pulse in root directory : /pulse where from?
Greg Wooledge wrote on 16/12/2019 17:29: > On Sat, Dec 14, 2019 at 10:04:34AM +0100, Jörg-Volker Peetz wrote: >> $ dpkg -S /pulse >> dpkg-query: no path found matching pattern /pulse >> >> fails to give any clue. >> The directory is generated at boot-time. But I wasn't able to find any hint >> in >> systemd or udev conf-files. > > Well, the first thing I would try would be "grep -r /pulse /etc". > And if that fails, "grep -r /pulse /lib/systemd". Did that, also $ grep -rI pulse /lib/udev to no avail. > > If *those* both fail... well, I might be crazy enough to try removing > the offending directory, doing "chattr +i /", then rebooting, and seeing > who complains when they can't create the /pulse directory. Only on a > system where I have local hardware access, of course -- not a remote. > > Do not forget to remove the immutable bit after your test is complete. > > And as a wise reader already said, it's probably pulseaudio. Meaning, > you might be able to test without rebooting, by stopping pulseaudio, > removing the directory, and starting pulseaudio, to see if it gets > recreated. The /pulse directory is created at boot-time. The pulseaudio process is started at login on this system. Also, pulseaudio continues to work after removal of /pulse which is always an empty directory. It has uid 0 and gid 0 an is not readable for group or others. Does anybody else see such a /pulse directory? Regards, Jörg.
Re: unstable: directory pulse in root directory : /pulse where from?
Brian wrote on 13/12/2019 21:29: > On Fri 13 Dec 2019 at 20:26:32 +0100, Jörg-Volker Peetz wrote: > >> Hello, >> >> does anybody know which package generates the directory /pulse ? This is a >> bug >> in unstable I think, but I can't find which package is the culprit. > > https://www.debian.org/distrib/packages > That doesn't help, the same way as $ dpkg -S /pulse dpkg-query: no path found matching pattern /pulse fails to give any clue. The directory is generated at boot-time. But I wasn't able to find any hint in systemd or udev conf-files. Regards, Jörg.
unstable: directory pulse in root directory : /pulse where from?
Hello, does anybody know which package generates the directory /pulse ? This is a bug in unstable I think, but I can't find which package is the culprit. Regards, Jörg.
Re: The font and themes used in terminal and editor
On the first web-site there is a link to swift code completion — for vim — on linux! http://nosubstance.me/post/swift-code-completion-for-vim-on-linux/ where it says: "I'm using XFCE Terminal conf, Monofur, Apprentice, goyo.vim conf, quickrun conf, oblitum's YouCompleteMe conf, YCM core for Swift." Regards, Jörg. Jörg-Volker Peetz wrote on 22/09/2019 09:52: > Searching for "sadbart lesson" with startpage gave me these two links: > > better completion for c++ > http://nosubstance.me/articles/2015-01-29-better-completion-for-cpp/ > > GitHub - oblitum/YouCompleteMe: A code-completion engine for Vim (fork > featuring > hints for C/C++ and an experimental Swift completer) > https://github.com/oblitum/YouCompleteMe > > Regards, > Jörg. > > > c...@riseup.net wrote on 21/09/2019 12:56: >> Hello, >> Does anyone know what kind of font and color themes used in this terminal and >> editor setting, >> https://s3.amazonaws.com/f.cl.ly/items/1e2F0A123h331c1G0L0R/SadBart.gif, >> ? >> Thanks >> Mark
Re: The font and themes used in terminal and editor
Searching for "sadbart lesson" with startpage gave me these two links: better completion for c++ http://nosubstance.me/articles/2015-01-29-better-completion-for-cpp/ GitHub - oblitum/YouCompleteMe: A code-completion engine for Vim (fork featuring hints for C/C++ and an experimental Swift completer) https://github.com/oblitum/YouCompleteMe Regards, Jörg. c...@riseup.net wrote on 21/09/2019 12:56: > Hello, > Does anyone know what kind of font and color themes used in this terminal and > editor setting, > https://s3.amazonaws.com/f.cl.ly/items/1e2F0A123h331c1G0L0R/SadBart.gif, > ? > Thanks > Mark > >
Re: Date format for Thunderbird 60.7 -- partial success in changing it
Thank you Greg for the clarification. I find your third link https://wiki.debian.org/DotFiles very worth reading. Regards, Jörg Greg Wooledge wrote on 05/06/2019 14:52: > On Wed, Jun 05, 2019 at 11:18:55AM +0200, Jörg-Volker Peetz wrote: >> As user of thunderbird you best set the environment variable LC_TIME in your >> profile, e.g. via ~/.bash_profile . Check it with the command >> >> $ locale >> >> You have to log out (from desktop and from computer) before changes in >> .bash_profile get applied. > > For the record, .bash_profile is only read by login shells, so your > suggestion only works for situations where one logs in with a shell > (Linux virtual console logins or ssh), not where one logs in with a > graphical Display Manager. > > See also: > https://wiki.debian.org/Xsession > https://wiki.debian.org/EnvironmentVariables > https://wiki.debian.org/DotFiles > >
Re: Date format for Thunderbird 60.7 -- partial success in changing it
As user of thunderbird you best set the environment variable LC_TIME in your profile, e.g. via ~/.bash_profile . Check it with the command $ locale You have to log out (from desktop and from computer) before changes in .bash_profile get applied. Regards, Jörg.
Re: [OT] scanned files are large in size
Maybe you could then try some of the switches for ps2pdf, for example $ ps2pdf -dPDFSETTINGS=/printer old.pdf new.pdf "/printer" makes it 300dpi, "/ebook" 150 dpi, and "/screen" 72 dpi, the documentation can tell you more. Regards, Jörg.
Re: [OT] scanned files are large in size
With the pdf-files from my Canon scanner, I did shrink them with the help of ghostscript: $ ps2pdf old.pdf new.pdf Documentation can be found in ghostscript-doc. Regards, Jörg.
Re: which program can test cpu speed
There is a "perf" package complementing the linux kernel package, for example if the kernel package is linux-image-4.17.0-3-amd64 the perf package is linux-perf-4.17. Also, take a look at this web page http://www.brendangregg.com/FlameGraphs/cpuflamegraphs.html about profiling by Brendan Gregg. Regards, Jörg.
Re: Thunderbird 60 ignores LC_TIME environment variable
The locale en_GB.utf8 uses 24 h time format. Regards, jvp.
Re: [Solved, largely] Re: Latest version of X not starting in buster
Cindy-Sue Causey wrote on 06/14/18 17:44: > On 6/14/18, Siard wrote: >> On Thu, 14 Jun 2018 12:40 +0200, Jörg-Volker Peetz wrote: >>> Siard wrote on 06/13/18 17:28: >>>> >>>> I took a try and upgraded the xserver-*** packages in testing to >>>> version 2:1.20.0 taken from unstable. >>>> It did work; X (started with 'startx') is back, despite the systemd >>>> packages having version 238. >>>> It looks like things will be back to normal after the next upgrade >>>> of X in testing. Anyway, thanks for responding. >>> >>> Which init package do you use? On my systems it's sysvinit-core. >> >> systemd at the moment. sysvinit-core is not installed. > > > Just throwing this out there. xinit is mine (on Xfce4). It's always > high on my to-do list immediately after initial debootstrap installs. > Could it be that you're confusing xinit (which facilitates starting X) and the system init? I was talking about the system init and that on my systems for this purpose sysvinit is used and not systemd's init. Regards, Jörg.
Re: [Solved, largely] Re: Latest version of X not starting in buster
Siard wrote on 06/13/18 17:28: > I took a try and upgraded the xserver-*** packages in testing to version > 2:1.20.0 taken from unstable. > It did work; X (started with 'startx') is back, despite the systemd > packages having version 238. > It looks like things will be back to normal after the next upgrade of > X in testing. Anyway, thanks for responding. > Which init package do you use? On my systems it's sysvinit-core. Regards, jvp.
Re: Latest version of X not starting in buster
Which version of the systemd packages (udev, libsystemd0, etc.) is installed? On my testing/unstable systems X can be started using "startx" with xorg-server version 2:1.20.0-2 but systemd packages in version 237. systemd 238 is not working. Regards, jvp.
Re: on-screen artifacts (red pixels) at high resolution with Intel HD 630 (Kaby Lake)
Alexandre Rossi wrote on 12/11/17 10:05: >> could you show your Xorg.0.log files? > > Here it is attached. > >> The Kaby Lake GPU needs some firmware. Therefore, what is the print out of >> grep firmware /var/log/dmesg > > $ sudo dmesg | grep firmware > [9.165601] i915 :00:02.0: firmware: direct-loading firmware > i915/kbl_dmc_ver1_01.bin > [9.166202] [drm] Finished loading DMC firmware > i915/kbl_dmc_ver1_01.bin (v1.1) > This all looks quite normal, AFAICT. Some driver version are even at the newest available version. These artefacts appear in background images? Have you tried another image viewer? Have you tried a more recent GNU/Linux live distribution like Knoppix? Regards, jvp.
Re: on-screen artifacts (red pixels) at high resolution with Intel HD 630 (Kaby Lake)
Hi, could you show your Xorg.0.log files? The Kaby Lake GPU needs some firmware. Therefore, what is the print out of grep firmware /var/log/dmesg ? Regards, jvp.
Re: Can imagemagick really be safely purged or removed?
Jörg-Volker Peetz wrote on 10/30/17 15:54: > Richard Hector wrote on 10/30/17 11:13: > >> imagemagick-6.q16 Provides: imagemagick, but not a specific version >> >> cups-filters Depends: imagemagick (>= 6.4~) >> >> The real imagemagick package is at 8:6.9.7.4+dfsg-11+deb9u1 (on my >> machine anyway), which satisifies the cups-filters dependency. >> >> The system doesn't know whether the version of imagemagick Provided by >> imagemagick-6.q16 is new enough, so you still need the real package. >> >> Richard >> > So you would suggest a versioned "Provides:" for package imagemagick-6.q16? No, version 1.17.9-1 of cups-filters recommends imagemagick unversioned. Therefore, I recommend to update the cups-filters package to get rid of the dummy imagemagick package. Regards, jvp.
Re: Can imagemagick really be safely purged or removed?
Richard Hector wrote on 10/30/17 11:13: > imagemagick-6.q16 Provides: imagemagick, but not a specific version > > cups-filters Depends: imagemagick (>= 6.4~) > > The real imagemagick package is at 8:6.9.7.4+dfsg-11+deb9u1 (on my > machine anyway), which satisifies the cups-filters dependency. > > The system doesn't know whether the version of imagemagick Provided by > imagemagick-6.q16 is new enough, so you still need the real package. > > Richard > So you would suggest a versioned "Provides:" for package imagemagick-6.q16? Regards, jvp.
Re: Can imagemagick really be safely purged or removed?
Celejar wrote on 10/24/17 15:09: > On Tue, 24 Oct 2017 08:52:46 +0200 > Jörg-Volker Peetz <jvpe...@web.de> wrote: > >> I forgot that you showed the dependency on cups-filters in your original >> mail. >> On testing cups-filters 1.17.9-1 does not depend on imagemagick, it only >> recommends it. And I use APT::Install-Recommends "false"; in >> /etc/apt/apt.conf. >> Therefore, on this system imagemagick could be removed. > > Interesting, thanks. So they changed the dependency from 'depends' to > 'recommends', but they're still 'recommending' a dummy package. Taking another look at package imagemagick-6.q16 (version 8:6.9.7.4+dfsg-16) it states that it provides imagemagick. Therefore, I don't understand what's going on on your system and there's nothing wrong with package cups-filters, I think. Regards, jvp.
Re: Can imagemagick really be safely purged or removed?
I forgot that you showed the dependency on cups-filters in your original mail. On testing cups-filters 1.17.9-1 does not depend on imagemagick, it only recommends it. And I use APT::Install-Recommends "false"; in /etc/apt/apt.conf. Therefore, on this system imagemagick could be removed. Regards, jvp.
Re: Why does resolv.conf keep changing?
Roberto C. Sánchez wrote on 10/23/17 04:12: > I have tried two different things. First, I added this directive to > /etc/network/interfaces under the eth0 stanza: > > dns-nameservers 127.0.0.1 > > That did not appear to have any effect because taking eth0 and eth1 down > and then bringing them back up still results in resolv.conf pointing to > the ISP router as its name server. Additionally, after the interfaces > are up even if I manually change resolv.conf, something comes along > sometime later and undoes my changes. On testing with resolvconf the parameter in /etc/network/interfaces is dns-nameserver 127.0.0.1 without trailing 's'. Regards, jvp.
Re: Can imagemagick really be safely purged or removed?
Since I use a pure 64-bit system, I overlooked that only one of imagemagick-6.q16 or imagemagick-6.q16:i386 can be installed. I think it's better to re-install imagemagick-6.q16. And then show the output when trying to purge imagemagick, please. I think there must be involved a i386 version of some cups package. Regards, jvp.
Re: Can imagemagick really be safely purged or removed?
Celejar wrote on 10/20/17 19:05: > Thanks. Okay, I did that, and I was then able to remove imagemagick, but only > if imagemagick:i386 is installed instead - and that's also marked as a > dummy package that can be safely removed or purged. > > At this point: > > ~$ aptitude search '~iimagemagick' > idA imagemagick:i386 - > image manipulation programs -- binaries > i A imagemagick-6-common - > image manipulation programs -- infrastructure > i imagemagick-6.q16 - > image manipulation programs -- quantum depth Q16 > > Celejar > > Package imagemagick:i386 is to be replaced by imagemagick-6.q16:i386. Try to install that. Regards, jvp.
Re: Can imagemagick really be safely purged or removed?
Take a look which imagemagick packages are installed: $ aptitude search '~iimagemagick' Probably there is a line beginning with i A imagemagick-6.q16 which shall replace imagemagick. Also see the dependencies of package imagemagick: $ dpkg -s imagemagick So before purging imagemagick you have to $ aptitude unmarkauto imagemagick-6.q16 Regards, jvp.
Re: Redmine on server in DMZ
Johann Spies wrote on 08/02/17 11:56: > A few years ago we got redmine working on a server in the DMZ on our > network using ruby gems copied there from another computer with access > to the internet. > > This server has now been updated to Debian Stretch - which broke the > redmine installation. > > None of us know Ruby-on-Rails or Ruby well enough to debug the errors > or to rectify what is wrong at the moment. > > I tested a new redmine-pgsql installation on another computer with > free access to the internet and it seems that as part of the post > installation process it installed a lot of gems. We cannot do that in > the DMZ because the server cannot reach out to the internet. > I have a redmine server running on testing. I'm not aware of such network accesses except for the debian packages. How did you install the new one, "aptitude install redmine"? Could you post the output of the installation command? > Is it possible to install redmine without having to install extra gems? > > Regards > Johann > Regards, jvp.
Re: Power draw from UPS
Maybe this is helpful APC UPS - ArchWiki https://wiki.archlinux.org/index.php/APC_UPS Please report back if and how it works. Regards, jvp.
Re: PulseAudio (Some users get sound, orthers do not)
Jörg-Volker Peetz wrote on 07/17/17 10:06: > Maybe, the output of "pactl info" can shed some light? > Or try "pacmd dump-volumes". Regards, jvp.
Re: PulseAudio (Some users get sound, orthers do not)
Maybe, the output of "pactl info" can shed some light? Regards, jvp.
Re: How to use Garmin Connect with Debian 7?
rhkra...@gmail.com wrote on 07/14/17 14:10: >> Am 13.07.17 12:13 nachm., schrieb Jörg-Volker Peetz: >>> there's this nice blog in German: >>> https://blog.dafb-o.de/neue-firmware-fuer-garmin-devices-unter-linux/ >>> where the firmware update procedure from Linux is detailed and a link to >>> the firmware files for your device is given http://gawisp.com/perry/edge/ >>> . > > Can you provide a more precise link--that link gives me "Oh! Die Seite konnte > nicht gefunden werden." > > I don't suppose there is an English translation? (I assume not, and I'll see > if Google translate makes it understandable to me.) > > Thanks! > Randy Kramer > > Today, at 7:57 UTC o'clock both links worked for me. The blog page mainly states a procedure which worked also on other devices like the older Oregon: the firmware file is copied via USB onto the device into the "/Garmin/" directory under the name "gupdate.gcd". When the device is restarted, this new firmware file get's installed. >From the second link the firmware file can be downloaded. Regards, jvp.
Re: How to use Garmin Connect with Debian 7?
Hi Joerg, I use an older Garmin device, so have not tested what follows: there's this nice blog in German: https://blog.dafb-o.de/neue-firmware-fuer-garmin-devices-unter-linux/ where the firmware update procedure from Linux is detailed and a link to the firmware files for your device is given http://gawisp.com/perry/edge/ . Have fun, jvp.
Re: How did you update to stretch?
For every release the Debian developers take the trouble to write down an upgrade guide https://www.debian.org/releases/stretch/amd64/release-notes/ch-upgrading.en.html#upgradingpackages . Did you take a look at it? In my opinion it's written very clear and easy to read. Many thanks from me for all this work. I think it answers all your questions. Regards, jvp.
Re: is there a firewall which blocks the connection
Hi, openssh-server is linked against libwrap0 which in turn is controlled by the files /etc/hosts.deny and /etc/hosts.allow. What is the content of these files on your system? Regards, jvp.
Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?]
Eduardo M KALINOWSKI wrote on 04/26/17 16:46: > On Qua, 26 Abr 2017, Richard Owlett wrote: >> I would go further saying iproute2 is non-functional due to being >> functionally >> un-documented. >> >> https://manpages.debian.org/jessie/iproute2/ip.8.en.html is useless. >> >> Functional commands, for this thread's topic would be >> ip -s link >> or >> ip -s link ls usb0 >> >> No hint of either in so-called man page. > > There are man pages for each command, such as > https://manpages.debian.org/jessie/iproute2/ip-link.8.en.html . They're listed > in the SEE ALSO section, but there could be a mention higher up in the text > advising the user to consult the specific pages. > > Also, typing 'man ip link' should work on the command line. > I'll second this. The ip command is nearly as complex as git. The CLI help is also usefull, like $ ip help and then $ ip addr help In the end, may be, you're satisfied with the output of $ ip -s -h addr s eth0 -- Regards, jvp.
Re: How to >>COMPLETELY<< remove an application?
Harry Putnam wrote on 03/11/17 13:03: > Cindy-Sue Causeywrites: > >> Do Synaptic, Aptitude, and possibly anything else of that family have >> similarly close but still different flags/commands? > > I haven't seen this mentioned in the thread... but may have missed it. > > I've noticed that some times aptitue purge does not remove everything > as show by running aptitude search on the pkg name and seeing the 'c' > (lower case `c' ) the indicates some files remain that have user > changes. > > When that happens I've found that `dpkg' will most often complete the > job. `dpkg purge pkgname' > Next time you see configuration remnants, try aptitude purge '~c' Regularly after updates, I (a heavy aptitude-cli user) command apt-get check ; dpkg -C ; aptitude search '~b' '~g' '~c' to check the package management state. Regards, jvp.
Re: Recomended tutoial(s) on doing arithmetic in Bash scripts
Greg Wooledge wrote on 03/06/17 14:38: > On Sun, Mar 05, 2017 at 05:25:49PM +0100, to...@tuxteam.de wrote: >> If you need floating point numbers, bc (or dc) are your next stops. > > Or awk. For some problems, awk is fantastic. > Yes, it helps to sample the number of "bytes" like so: owl1=$(awk '/usb0/ {print $2}' /proc/net/dev) # insert process to be measured bytes=$(awk "/usb0/ {print (\$2 - $owl1)}" /proc/net/dev) Regards, jvp.
Re: A minimal relational database in Debian
Richard Owlett wrote on 03/01/17 00:45: > On 02/28/2017 05:06 PM, Dominic Knight wrote: >> On Monday 27 February 2017 13:17:56 Richard Owlett wrote: >>> I looked at at LibreOffice Base. It was unusable as its "help" system >>> provided no intrinsic way to increase fonts to a legible size. >> >> Would temporarily changing your dpi settings work, the help is >> perfectly legible here, but I have increased dpi (96 > 132) rather than >> font size as it is an across the board improvement for my monitor size. >> > > Not sure it would be worth the annoyance. > If this problem is representative of their workmanship ... > How about this answer: How do you increase fontsize on the LibeOffice (writer) toolbar and dropdown meuns?? [closed] - Ask LibreOffice https://ask.libreoffice.org/en/question/31736/how-do-you-increase-fontsize-on-the-libeoffice-writer-toolbar-and-dropdown-meuns/ For me this works: Go to Tools > Options. Under LibreOffice, select View. Then find the Scaling option under User Interface. The default value is 100%. Increase this number until the font size is functional for you. Regards, jvp.
Re: Crashes in Icedove on Stretch
Jörg-Volker Peetz wrote on 02/25/17 16:40: > Jörg-Volker Peetz wrote on 02/18/17 10:32: >> Daniel Bareiro wrote on 02/16/17 15:14: >> >>> Thanks for sharing your experience. It would be good to know if it >>> remains stable after several days. I just applied the change suggested >>> by Benjamin in another message in this thread. >>> >>> Kind regards, >>> Daniel >>> >> Meanwhile I had the first crash of thunderbird. After updating some gtk- and >> glib related stuff I'm trying it again. If thunderbird still crashes, I >> surely >> apply the setting of the config variable >> "layers.offmainthreadcomposition.enabled" (OMTC) which is enabled for faster >> and >> smoother composition. >> > Since I suffered another crash of thunderbird, I now flipped > "layers.offmainthreadcomposition.enabled" to "false". No more crashes so far. > This refers to thunderbird with lightning version 1:45.7.1-1. Regards, jvp.
Re: Crashes in Icedove on Stretch
Jörg-Volker Peetz wrote on 02/18/17 10:32: > Daniel Bareiro wrote on 02/16/17 15:14: > >> Thanks for sharing your experience. It would be good to know if it >> remains stable after several days. I just applied the change suggested >> by Benjamin in another message in this thread. >> >> Kind regards, >> Daniel >> > Meanwhile I had the first crash of thunderbird. After updating some gtk- and > glib related stuff I'm trying it again. If thunderbird still crashes, I surely > apply the setting of the config variable > "layers.offmainthreadcomposition.enabled" (OMTC) which is enabled for faster > and > smoother composition. > Since I suffered another crash of thunderbird, I now flipped "layers.offmainthreadcomposition.enabled" to "false". No more crashes so far. Regards, jvp.
Re: stretch apt-get -u dist-upgrade does not result in sid
Felix Miata wrote on 02/18/17 06:10: > I changed sources.list to point only to sid, then apt-get clean, then apt-get > update, apt-get -u dist-upgrade. /etc/debian_version and /etc/issue still say > I > have 9.0. Can held back non-essential packages stonewall a dist-upgrade? mc > and > mc-lang 4.8.17 have been held back by me manually because 4.8.18 is broken. Is > this why I don't seem to have sid? The file /etc/issue belongs to package base-files (dpkg -S /etc/issue) There is no newer version of this package in sid than that of testing which is version 9.8. Therefore, you see "9.0" in /etc/issue. More helpful is apt-show-versions (from the package with the same name): $ apt-show-versions | grep unstable To find out if some packages are still upgradeable, order $ apt-show-versions -u Regards, jvp.
Re: Crashes in Icedove on Stretch
Daniel Bareiro wrote on 02/16/17 15:14: > Thanks for sharing your experience. It would be good to know if it > remains stable after several days. I just applied the change suggested > by Benjamin in another message in this thread. > > Kind regards, > Daniel > Meanwhile I had the first crash of thunderbird. After updating some gtk- and glib related stuff I'm trying it again. If thunderbird still crashes, I surely apply the setting of the config variable "layers.offmainthreadcomposition.enabled" (OMTC) which is enabled for faster and smoother composition. Regards, jvp.
Re: Crashes in Icedove on Stretch
Daniel Bareiro wrote on 02/15/17 23:52: >> I wonder if stretch has thunderbird packages? (no time to check right >> now) > > It looks like it's currently in Sid. Has anyone tried it? > > https://packages.debian.org/search?searchon=names=thunderbird > I'm using a mixed testing/sid system and have also experienced such sudden deaths of icedove with version 45.6.0. A few hours ago I did the transition to thunderbird. It went really smooth by upgrading the iceweasel*/iceowl* packages (it makes a backup of ~/.icedove and generates a new ~/.thunderbird from that), and after using some unmarkauto/markauto and purge commands there are now only the thunderbird*/lightning* packages on the system. In my lxpanel config I had to replace icedove.desktop by thunderbird.desktop, the firefox Application "mailto" was adapted automatically. All runs smooth so far. Regards, jvp.
Re: sysvinit - call for testers of 2.88dsf-59.9
Hi, on a laptop with testing, updated init packages, and freshly rebooted, the priority of the packages is still "required": # cat /proc/1/comm init $ mount -t ext4 /dev/sda1 on / type ext4 (rw,relatime,lazytime) /dev/sda2 on /home type ext4 (rw,relatime,lazytime) $ dpkg -s sysvinit-utils | grep -E '(Version|Priority|Multi-Arch)' Priority: required Multi-Arch: foreign Version: 2.88dsf-59.9 $ dpkg -s sysv-rc | grep -E '(Version|Priority|Multi-Arch)' Priority: required Multi-Arch: foreign Version: 2.88dsf-59.9 $ dpkg -s initscripts | grep -E '(Version|Priority|Multi-Arch)' Priority: required Multi-Arch: foreign Version: 2.88dsf-59.9 Regards, jvp.
Re: detecting hardware for custom kernel
deloptes wrote on 01/11/17 09:50: > HP Garcia wrote: > >> Is there a command to detect hardware for a custom kernel? I would like >> to take advantages of the newer kernels. > > It is not clear what you want to achieve. > Most probably your current kernel has already detected the hardware for you. > Just take the config and base your new kernel on that config. > After this do fine tuning and build debian package(s). > > $ cp /boot/config-xxx .config > $ make oldconfig There's also "make localmodconfig" which builds a kernel based on the current config and loaded modules. See the "README" in the kernel source directory. > $ make menuconfig > $ make deb-pkg > > I just installed 4.9.1 few days ago > > $ sudo dpkg -i linux-image-4.9.1eko4_4.9.1eko4-2_amd64.deb > linux-headers-4.9.1eko4_4.9.1eko4-2_amd64.deb > linux-firmware-image-4.9.1eko4_4.9.1eko4-2_amd64.deb > linux-libc-dev_4.9.1eko4-2_amd64.deb > > patch to vmware was however needed for 12.n. > Regards, jvp.
Re: Duplicating a partition's directory structure - How?
In order to separate reading from writing or to store the directory structure for several writings one can use find and tar: find PATH -xdev -type d -print0 \ | tar cf FILE --no-recursion --null --files-from - The directories will be stored in the file FILE. It can be extracted with tar xpf FILE -C DESTINATION where directory DESTINATION must already exist. Regards, jvp.
Re: Do have programs have poor documentation? (was ... Re: Why? -- "A Modest Proposal")
David Wright wrote on 01/02/17 15:41: > On Sun 01 Jan 2017 at 12:39:26 (+0100), Xen wrote: >> rhkra...@gmail.com schreef op 31-12-2016 15:12: >> >>> But, info pages could work. >> >> Yes, let's propose that. They are just impossible to navigate if you >> are not an insider. > > I don't know what an "insider" is. > > I have no problem navigating them. I usually consult them with the function > > $ info --output=/dev/stdout --subnodes "$1" | less > > which works well with PageUp/Dn. > >> The fact that pretty much no one uses them is not a red herring at all. > > How would one know that no one uses them? > > Cheers, > David. > A nice tool for reading man pages as well the info pages is emacs. For info pages, start emacs and do "Ctrl-h i". Then you can navigate the info pages with the mouse-pointer and -buttons. You can do a local search in the current page with the emacs-typical "Ctrl-s" and even a global search through all sub-pages with just "s" and entering the search term. Man pages can be displayed with "Esc-x man Ret" and entering the name your searching a man page for. The name can be completed with "Tab". Regards, jvp.
Re: [repost] Equivalent of "aptitude --without-recommends" OR "apt-get --no-install-recommends" in preseed.cfg?
Jörg-Volker Peetz wrote on 12/26/16 15:49: > > Try something like > > aptitude -R search '~pstandard' mate-desktop-environment synaptic pluma > gparted Thinking about it, I would even reduce it to aptitude -R search '~pimportant' mate-desktop-environment synaptic pluma gparted and add packages still missing one by one. > If it fits, then repeat the command with "search" replaced by "install". > Regards, jvp.
Re: [repost] Equivalent of "aptitude --without-recommends" OR "apt-get --no-install-recommends" in preseed.cfg?
Richard Owlett wrote on 12/26/16 14:54: > I had gabled the subject line and some of the text. > > On 12/26/2016 7:45 AM, Richard Owlett wrote: >> When doing my version of a minimalist install, I use lines >> similar to: >> tasksel tasksel/first multiselect standard >> d-i pkgsel/include string mate-desktop-environment-core xorg >> xterm lightdm pluma synaptic gparted >> >> After browsing the man pages for aptitude and apt-get I was >> wondering if I could come closer to my goal with fewer experimental >> iterations if I could disable the installation of "recommended" >> packages. >> >> I envision something *SIMILAR* to: >> tasksel tasksel/first multiselect standard >> d-i pkgsel/include string mate-desktop-environment pluma synaptic >> gparted >> Try something like aptitude -R search '~pstandard' mate-desktop-environment synaptic pluma gparted If it fits, then repeat the command with "search" replaced by "install". I heartily recommend the package aptitude-doc-en and the sections "Search term reference" and "Command-line reference" therein. Regards, jvp.
Re: Manually installed packages
Rodolfo Medina wrote on 12/04/16 12:54: > Jörg-Volker Peetz <jvpe...@web.de> writes: >> aptitude -F '%p %I %d' --sort installsize search '~i' > > > What about reverse (descending) installsize order? > > Thanks, > > Rodolfo > For that purpose, the unix command "tac" comes handy aptitude -F '%p %I %d' --sort installsize search '~i' | tac Regards, jvp.
Re: Manually installed packages
Jörg-Volker Peetz wrote on 12/04/16 10:40: > Greg Wooledge wrote on 12/01/16 20:06: >> On Thu, Dec 01, 2016 at 06:38:45PM +, Rodolfo Medina wrote: > >> >> P.S. http://wooledge.org/~greg/ds will sort the installed packages by >> size for you. As you can see, many of us have been there, done that. >> > > > Yes, e.g., aptitude can do this sorting (and sorting by other criteria): > > aptitude -F '%p %D %d' --sort installsize search '~i' > Correction: to display the installed size this should be aptitude -F '%p %I %d' --sort installsize search '~i' Regards, jvp.
Re: Manually installed packages
Greg Wooledge wrote on 12/01/16 20:06: > On Thu, Dec 01, 2016 at 06:38:45PM +, Rodolfo Medina wrote: > > P.S. http://wooledge.org/~greg/ds will sort the installed packages by > size for you. As you can see, many of us have been there, done that. > Yes, e.g., aptitude can do this sorting (and sorting by other criteria): aptitude -F '%p %D %d' --sort installsize search '~i' Regards, jvp.
Re: Manually installed packages
Speaking of aptitude, it does remove automatically installed package if no other package depends on it, or recommends it. This behavior can be changed by configuration entries in /etc/apt/apt.conf, /etc/apt/apt.conf.d/*, etc. To show any installed packages that aren't "auto" and which are dependencies or recommendations of other packages, in short, packages that aren't marked "auto" but could (should?) be, order aptitude search '~i!~M(~R~i|~Rrecommends:~i)' Go through this list and, as root, mark the ones you don't need with aptitude markauto PACKAGE When done, aptitude search '~g' shows what can be purged from the system. Regards, jvp.
Re: Manually installed packages
Here you have the answer to your own question. Use apt-mark to mark the packages you want to keep and all "required" packages as "manual"ly installed. Then mark all other packages as "auto". Then let apt-get autoremove do its work. After that, use e.g. aptitude to remove remaining configuration files with aptitude purge '~c' Regards, jvp.
Re: [Aptitude-devel] aptitude ~A question
steve wrote on 11/06/16 20:47: > Le 06-11-2016, à 10:43:58 +0100, Jörg-Volker Peetz a écrit : > >> What is the output of >> >> aptitude -F "%p" '~o' > > gives an error (unknown command « ~o ») > Sorry, this should be aptitude -F "%p" search '~o' >> ? Seems to me, there are packages installed on your system that don't belong >> to >> any architecture in sources.list ("obsolete"). > > However, running aptitude in curses mode shows that I have 80 obsolete > packages. But that still doesn't connect the dots, since as shown in my > previous message, I had a total of 3507 installed package (with aptitude > search) and 3349 (with dpkg). That's a difference of 158. > > But problem narrowed :) The number of installed packages can be counted with aptitude as aptitude search '~i' | wc -l As others have explained the search with '~Astable$~i' does show packages which are installed and are available in "stable" but maybe not with the same version which is installed. Therefore, you probably counted some packages multiple. Regards, jvp.
Re: upgraded testing and now gpg is not working
I'm using pinentry-gtk2 which also works in text-mode. KDE users may prefer pinentry-qt or pinentry-qt4 which also works in text-mode. Regards, jvp.
Re: [Aptitude-devel] aptitude ~A question
What is the output of aptitude -F "%p" '~o' ? Seems to me, there are packages installed on your system that don't belong to any architecture in sources.list ("obsolete"). Regards, jvp.
Re: list installed packages present only in stable
Jörg-Volker Peetz wrote on 11/04/16 17:17: > Jörg-Volker Peetz wrote on 11/04/16 14:39: >> Maybe, this "one-liner" does what you want? >> >> aptitude -F "%p" search ~Astable| sort | \ >> (aptitude -F "%p" search ~Aunstable ~Atesting | sort -u | \ >> comm -23 --nocheck-order /dev/fd/3 -) 3<&0 >> > This needs a correction, if I'm not mistaken: > > aptitude -F "%p" search ~i | sort | \ > (aptitude -F "%p" search ~Aunstable ~Atesting | sort -u | \ > comm -23 --nocheck-order /dev/fd/3 -) 3<&0 > > All installed packages should be checked, not all available from stable. Or just with aptitude: aptitude -F "%p" search '!~Atesting!~Aunstable~i' At least on my system it produces the same list of packages. > >> All three archives have to be present with the names used above in your >> sources.list file (that is, e.g., "unstable" and not "sid"). Regards, jvp.
Re: list installed packages present only in stable
Jörg-Volker Peetz wrote on 11/04/16 14:39: > Maybe, this "one-liner" does what you want? > > aptitude -F "%p" search ~Astable| sort | \ > (aptitude -F "%p" search ~Aunstable ~Atesting | sort -u | \ > comm -23 --nocheck-order /dev/fd/3 -) 3<&0 > This needs a correction, if I'm not mistaken: aptitude -F "%p" search ~i | sort | \ (aptitude -F "%p" search ~Aunstable ~Atesting | sort -u | \ comm -23 --nocheck-order /dev/fd/3 -) 3<&0 All installed packages should be checked, not all available from stable. > All three archives have to be present with the names used above in your > sources.list file (that is, e.g., "unstable" and not "sid"). Regards, jvp.
Re: list installed packages present only in stable
Maybe, this "one-liner" does what you want? aptitude -F "%p" search ~Astable| sort | \ (aptitude -F "%p" search ~Aunstable ~Atesting | sort -u | \ comm -23 --nocheck-order /dev/fd/3 -) 3<&0 All three archives have to be present with the names used above in your sources.list file (that is, e.g., "unstable" and not "sid"). Regards, jvp.
Re: Permissions for an entire PARTITION
Did you take a look at the package pmount? I use it to mount external disks. It requires no changes to /etc/fstab. Regards, jvp.
Re: Update to Sid, and cannot compile Nvidia module; PIC mode?
Will wrote on 10/28/16 17:21: > Greetings, > > I usually have to run the NVIDIA installer after a kernel update, but > something has changed that has broken the process to build the > proprietary Nvidia kernel module. I've searched around a bit on the > Intarwebs before coming to the list, so here goes. > > > Installer: NVIDIA-Linux-x86_64-367.44.run > > If I simply run the installer, if fails with this message: > > ERROR: Failed to run `/usr/sbin/dkms build -m nvidia -v 367.44 -k > 4.7.0-1-amd64`: > Kernel preparation unnecessary for this kernel. Skipping... > > Building module: > cleaning build area... > 'make' -j8 NV_EXCLUDE_BUILD_MODULES='' > KERNEL_UNAME=4.7.0-1-amd64 modules(bad exit status: 2) > Error! Bad return status for module build on kernel: > 4.7.0-1-amd64 (x86_64) > Consult /var/lib/dkms/nvidia/367.44/build/make.log for more > information. > > And, the output of /var/lib/dkms/nvidia/367.44/build/make.log: > > CC [M] /var/lib/dkms/nvidia/367.44/build/nvidia/nv-instance.o > /var/lib/dkms/nvidia/367.44/build/nvidia/nv-frontend.c:1:0: error: code > model kernel does not support PIC mode This is due to the last hardening changes in gcc-6 after 6.2.0-7 see bug reports #841368, #841500, and #841533. There's also given workarounds. See message #51 in #841368 and #52 in #841500. Regards, jvp.
Re: Partial Success [was: Re: Problems with upgrade from Wheezy to Jessie]
Hi Hans, so the radeon driver seems to work but maybe needs some tweaking. 1) Let's have a look at Xorg.0.log. grep -i chipset /var/log/Xorg.0.log grep -i render /var/log/Xorg.0.log (Maybe, append the file to your message) 2) Is there a file /etc/X11/xorg.conf? 3) Take a look at the man-page of "radeon" (man radeon) Regards, jvp.
Re: : Problems with upgrade from Wheezy to Jessie
Hi, I also saw the other e-mail exchange with Brian where you concluded to purge all "fglrx"-related packages. Similarily, there seem to be "nvidia" packages on your system. Try dpkg -l | grep -i nvidia Purge them also. Then have a look which xorg-video drivers are left: dpkg -l | grep xorg-video Leave only xserver-xorg-video-radeon on the system. And have a look if there's still an "glx-alternative" package left, like glx-alternative-mesa. This could also be purged. Regards, jvp.
Re: Problems with upgrade from Wheezy to Jessie
Hans Kraus wrote on 10/06/16 19:40: > > > Am 05.10.2016 um 22:16 schrieb Jörg-Volker Peetz: >> [already sent to the list; sent it again to you since you asked for CC] >> >> Hans Kraus wrote on 10/04/16 20:01: >>> Hi, >>> >>> The VGA output: >>> >>> 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] >>> Turks >>> XT [Radeon HD 6670/7670] (prog-if 00 [VGA controller]) >>> Subsystem: ASUSTeK Computer Inc. Device 03e0 >>> Flags: bus master, fast devsel, latency 0, IRQ 53 >>> Memory at d000 (64-bit, prefetchable) [size=256M] >>> Memory at fe2e (64-bit, non-prefetchable) [size=128K] >>> I/O ports at 8000 [size=256] >>> Expansion ROM at fe2c [disabled] [size=128K] >>> Capabilities: [50] Power Management version 3 >>> Capabilities: [58] Express Legacy Endpoint, MSI 00 >>> Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+ >>> Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 >>> >>> Capabilities: [150] Advanced Error Reporting >>> Kernel driver in use: radeon >>> >>> I appended the '/var/log/Xorg.0.log' as text file. I hope that's OK. >>> >>> As far as I know I didn't install a special video driver. At least not >>> for Jessie, and, to the best of my knowledge, not for Wheezy too. >>> >> >> >> What is the output of >> >>dpkg -S /usr/lib/xorg/modules/linux/libglx.so >> >> which is loaded according to Xorg.0.log? >> >> Regards, >> jvp. > > root@robbe:~# dpkg -S /usr/lib/xorg/modules/linux/libglx.so > dpkg-query: no path found matching pattern > /usr/lib/xorg/modules/linux/libglx.so > > Regards, > Hans > Is this file really present on your system? What does ls -lF /usr/lib/xorg/modules/linux/libglx.so show? Is there a link somewhere in this path? ls -lF /usr/lib/xorg/modules/linux ls -lF /usr/lib/xorg/modules According to Xorg.0.log it should belong to some NVIDIA package. What does dpkg -S /usr/lib/xorg/modules/linux print out? Regards, jvp.
Re: aptitude cli undocumented behaviour [was: aptitude cli options vs. apt-get ...]
Michael Lange wrote on 10/05/16 20:42: > Hi, > > On Wed, 5 Oct 2016 11:19:52 +0200 > Michael Langewrote: > > (...) >> So my question is: is there a way to include updates to packages put on >> hold to the output of "aptitude full-upgrade" as in apt-get, that I have >> been missing, or is this simply not possible? > > I looked again at man aptitude and according to the paragraphs about > "safe-upgrade" and "full-upgrade": > >"If no s are listed on the command line, aptitude will attempt >to upgrade every package that can be upgraded. Otherwise, aptitude will >attempt to upgrade only the packages which it is instructed to >upgrade." > > I would have expected, that passing the packages put on hold as > arguments, as in > >aptitude full-upgrade `aptitude -q=2 -F %p search ~U` > > would only try to upgrade these. However when I tried a dry-run on my > almost-up-to-date Jessie box here, with a few holds (hplip and friends) I > got the following surprising result (command lines wrapped by sylpheed): > > The list of package holds: > > # aptitude -q=2 -F %p search ~ahold > hplip > > > hplip-data > > > hplip-gui > > > libhpmud0 > > > libsane-hpaio > > > printer-driver-hpcups > > Available updates that would be installed by default: > > # aptitude -y -v -s full-upgrade | /bin/grep ^Inst | /usr/bin/cut -d\ > -f2 | /usr/bin/sort > libdatetime-timezone-perl > tzdata > tzdata-java > > # aptitude -y -v -s full-upgrade `aptitude -q=2 -F %p search ~U` >| /bin/grep ^Inst | /usr/bin/cut -d\ -f2 | /usr/bin/sort > hplip > hplip-data > hplip-gui > libdatetime-timezone-perl > libhpmud0 > libsane-hpaio > printer-driver-hpcups > tzdata > tzdata-java > > tzdata and friends obviously don't have anything to do with hplip, so it > looks like the man page isn't telling the truth. > Can anyone confirm this behaviour, did I misinterpret the manpage, or why > does this happen? > Right now this looks like it is exactly what I have been asking for in > the first post, but the manpage seems to contradict... > You used '~U' in the first and the last command, not '~ahold'. This last command could also be written shorter: aptitude -y -v -s full-upgrade '~U' | ... There's also the switch '--remove-user-tag': aptitude -y -v -s --remove-tag hold full-upgrade | ... Does this what you want? Regards, jvp.