Re: Reply configuration (was: All-in-One printer: HP OfficeJet 8012)

2021-08-11 Thread Tony van der Hoff




On 11/08/2021 12:25, Gene Heskett wrote:

On Wednesday 11 August 2021 04:02:14 Polyna-Maude Racicot-Summerside
wrote:



Debian is about choice Polyna. That is mine. Quit monopolizing the
conversation unless you are helping the user SOLVE his/her problem.


+1

--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |



Re: shells (was Re: Zoom.)

2020-10-20 Thread Tony van der Hoff




On 20/10/2020 15:51, rhkra...@gmail.com wrote:

Top posting intentionally as I don't think any (or much) context is required.


so, hijacking a thread instead? :-)


--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |



MariaDB database under /home

2020-11-11 Thread Tony van der Hoff
It is known that the maintainers of MariaDB deprecate the database files 
residing under /home, in fact going so far as making it an error, unless 
/usr/lib/systemd/system/mariadb.service has ProtectHome=true commented out.


Now, this is all very well, and I'm sure there are good reasons for it, 
but I want my databases to reside in /home. Unfortunately, each time 
there's an upgrade to the package my preferred setting gets overwritten, 
resulting in MariaDB failing to start, and my having to edit the service 
file on a number of machines.


I'd consider this a bug, but is there at least any way of making my 
change more permanent?


--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |



Re: MariaDB database under /home

2020-11-11 Thread Tony van der Hoff




On 11/11/2020 15:42, Nicolas George wrote:

Tony van der Hoff (12020-11-11):

It is known that the maintainers of MariaDB deprecate the database files
residing under /home, in fact going so far as making it an error, unless
/usr/lib/systemd/system/mariadb.service has ProtectHome=true commented out.

Now, this is all very well, and I'm sure there are good reasons for it, but
I want my databases to reside in /home. Unfortunately, each time there's an
upgrade to the package my preferred setting gets overwritten, resulting in
MariaDB failing to start, and my having to edit the service file on a number
of machines.

I'd consider this a bug, but is there at least any way of making my change
more permanent?


It is not a bug, only files residing in /etc can be modified by the
administrator.

I suggest you read about systemd's drop-in configuration files and the
edit command in the systemctl(1) man page.

Regards,



OK, I see, thanks.
For the archive a useful source might be:
https://www.computernetworkingnotes.com/linux-tutorials/systemd-unit-configuration-files-explained.html

--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |



Apparmor pain

2021-01-29 Thread Tony van der Hoff
This is a simplified scenario: Say I have 2 machines, both running 
Debian 10.7. Each machine has 3 users: A, B and C. Each machine has an 
identical (mantained by Unison) directoery: /home/C/pictures, with 
permissions ugo:rwx owned by C. Each file therein has permissions ugo:r


Both machines can access any file within pictures with no problems, as 
one would expect.


However, using Thunderbird, machine A can attach any file from pictures, 
but machine B fails silently to do so. Examining the syslog for B it 
would appear that apparmor is preventing access.


From my web research it appears that apparmor was introduced by default 
at debian 10. On machine B it is blocking Thunderbird, but not on A.


I don't understand why my two machines are behaving so differently.

I don't think I really want apparmor running at all, but at least I'd 
like either machine to access C's files. Apparmor's man page gives 
eye-watering detail, but I can'tr find any easily usable configuration 
suggestions. The debian wiki gives me a way to disable apparmor by 
patching grub, but that seems like overkill.


Does anyone pease have any suggestions on how to enable an application 
without major surgery? any help appreciated. Thanks


--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |



Re: Apparmor pain

2021-01-29 Thread Tony van der Hoff




On 29/01/2021 13:27, Reco wrote:

Hi.

On Fri, Jan 29, 2021 at 12:49:42PM +, Tony van der Hoff wrote:

This is a simplified scenario: Say I have 2 machines, both running Debian 10.7. 
Each machine has 3 users: A, B and C. Each machine has an identical (mantained
by Unison) directoery: /home/C/pictures, with permissions ugo:rwx owned by C. 
Each file therein has permissions ugo:r

...

I don't understand why my two machines are behaving so differently.


uid difference between hosts A and B, most probably.
Along the other things, thunderbird's apparmor policy contains this:

 owner @{HOME}/** r,

I.e. it's allowed to read any file at /home as long as the file is owned
by thunderbird's uid.



I don't think I really want apparmor running at all,


Add apparmor=0 to kernel's cmdline. Building a kernel without apparmor
helps with that too, but that's straying too far from Debian's defaults.



The debian wiki gives me a way to disable apparmor by patching grub,
but that seems like overkill.


You probably got it wrong. Modifying a kernel cmdline and rebuilding
grub with custom patches are different, and they should suggest former
at Debian's wiki.



Does anyone pease have any suggestions on how to enable an application
without major surgery? any help appreciated. Thanks


Disabling a problematic apparmor profile altogether is done by:

/usr/sbin/aa-disable /usr/bin/thunderbird

Disabling a problematic apparmor profile but keeping audit records
generation is done by

/usr/sbin/aa-complain /usr/bin/thunderbird

You'll want the first one, probably.

Reco



Thanks, Reco, that was just the information I needed. I had to install 
apparmor-utils, but otherwise aa-disable did the job.


Cheers, Tony
--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |



upgrade fails

2019-09-24 Thread Tony van der Hoff
tony@tony-lx:~$ sudo apt-get upgrade
[sudo] password for tony:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  linux-image-amd64
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

Can anyone tell me why, please?

-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |



Re: upgrade fails

2019-09-24 Thread Tony van der Hoff
On 24/09/2019 12:35, The Wanderer wrote:
> On 2019-09-24 at 07:11, Tony van der Hoff wrote:
> 
>> tony@tony-lx:~$ sudo apt-get upgrade
>> [sudo] password for tony:
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> Calculating upgrade... Done
>> The following packages have been kept back:
>>   linux-image-amd64
>> 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
>>
>> Can anyone tell me why, please?
> 
> Not for certain without more information.
> 
> The most likely answer is that to upgrade that package, apt-get would
> have to install one or more new packages that you don't already have
> installed; 'apt-get update' will never install or remove packages, only
> upgrade existing ones.
> 
> If you want to let it install new packages or remove installed packages
> in order to complete the upgrade, run 'apt-get dist-upgrade' instead.
> 
> Or you might try using 'apt upgrade' or similar; I don't use the 'apt'
> command myself, so I'm not familiar with exactly how things work on that
> side of the fence, but I understand that the behavior is different and
> it may match more closely to what you're expecting.
> 

Thanks, Wanderer, dist-upgrade worked fine. Embarrassed to admit I
forgot all about that command. Must be having senior moments :(

-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |



Re: Debian Installer, Manual Partitioning is a Joke

2019-09-30 Thread Tony van der Hoff
On 29/09/2019 21:32, Liam O'Toole wrote:
> On Sun, 29 Sep, 2019 at 10:56:54 -0400, Wayne Sallee wrote:
>> Debian really needs to work on the manual partitioning part of the 
>> installation.
>>
>> It's absolutely pathetic.
>>
>> Wayne Sallee
>> wa...@waynesallee.com
>> http://www.WayneSallee.com
>>
> 
> Thank you for your contribution. I look forward to reading your
> proposals for improving Debian, and how you intend to contribute.
> 

Don't feed the trolls.


-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |



Re: Seeing command history when using MATE terminal

2020-04-18 Thread Tony van der Hoff




On 18/04/2020 11:19, Richard Owlett wrote:

I can see any *ONE* previous commands by using the up-arrow key.
But I need to see the *complete* history. F1 is no "Help".
Obviously its stored in a file. Where?
TIA





Well, for Bash, the file is at ~/.bash_history (as set in $HISTFILE), 
but, beware, it is only updated when the terminal is closed.


Bash provides the 'history' command, which shows the entire history.

--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |



stretch -> buster upgrade fails

2020-05-10 Thread Tony van der Hoff

hi,

I've just tried to upgrade a workstation on my network from stretch to 
buster. I changed all references to stretch in sources.list to buster,

and ran apt-get upgrade,with the following results:

root@debian-jane:~# apt-get update
Get:1 http://security.debian.org/debian-security buster/updates 
InRelease [65.4 kB]

Get:2 http://ftp.uk.debian.org/debian buster InRelease [121 kB]
Get:3 http://ftp.uk.debian.org/debian buster-updates InRelease [49.3 kB]
Get:4 http://security.debian.org/debian-security buster/updates/main 
amd64 Packages [197 kB]
Get:5 http://security.debian.org/debian-security buster/updates/main 
Translation-en [106 kB]
Get:6 http://security.debian.org/debian-security buster/updates/non-free 
amd64 Packages [552 B]
Get:7 http://security.debian.org/debian-security buster/updates/non-free 
Translation-en [344 B]
Get:8 http://ftp.uk.debian.org/debian buster/main amd64 Packages [7,905 
kB]

Get:9 http://ftp.uk.debian.org/debian buster/main Translation-en [5,969 kB]
Get:10 http://ftp.uk.debian.org/debian buster/main amd64 DEP-11 Metadata 
[3,807 kB]
Get:11 http://ftp.uk.debian.org/debian buster/main DEP-11 64x64 Icons 
[7,596 kB]
Get:12 http://ftp.uk.debian.org/debian buster/main DEP-11 128x128 Icons 
[12.8 MB]
Get:13 http://ftp.uk.debian.org/debian buster/contrib amd64 Packages 
[51.0 kB]
Get:14 http://ftp.uk.debian.org/debian buster/contrib Translation-en 
[44.7 kB]
Get:15 http://ftp.uk.debian.org/debian buster/contrib amd64 DEP-11 
Metadata [11.5 kB]
Get:16 http://ftp.uk.debian.org/debian buster/contrib DEP-11 64x64 Icons 
[110 kB]
Get:17 http://ftp.uk.debian.org/debian buster/contrib DEP-11 128x128 
Icons [226 kB]
Get:18 http://ftp.uk.debian.org/debian buster/non-free amd64 Packages 
[87.7 kB]
Get:19 http://ftp.uk.debian.org/debian buster/non-free Translation-en 
[88.9 kB]
Get:20 http://ftp.uk.debian.org/debian buster/non-free amd64 DEP-11 
Metadata [9,096 B]
Get:21 http://ftp.uk.debian.org/debian buster/non-free DEP-11 64x64 
Icons [38.3 kB]
Get:22 http://ftp.uk.debian.org/debian buster/non-free DEP-11 128x128 
Icons [6,725 B]
Get:23 http://ftp.uk.debian.org/debian buster-updates/main amd64 
Packages [7,380 B]
Get:24 http://ftp.uk.debian.org/debian buster-updates/main 
Translation-en [5,166 B]
Fetched 39.3 MB in 14s (2,792 kB/s) 

The AppStream system cache was updated, but some errors were detected, 
which might lead to missing metadata. Refer to the verbose log for more 
information.

Reading package lists... Done
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if 
/usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then 
appstreamcli refresh-cache > /dev/null; fi'

E: Sub-process returned an error code

I don't know where to find a verbose log. Any suggestions as to how tp 
proceed please?


--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |



Re: stretch -> buster upgrade fails

2020-05-11 Thread Tony van der Hoff




On 10/05/2020 19:02, Sven Hartge wrote:

Tony van der Hoff  wrote:


E: Problem executing scripts APT::Update::Post-Invoke-Success 'if
/usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then
appstreamcli refresh-cache > /dev/null; fi'
E: Sub-process returned an error code



I don't know where to find a verbose log. Any suggestions as to how tp
proceed please?


What happens when you run

  appstreamcli refresh-cache

manually as root?

Grüße,
S!



root@debian-jane:~# appstreamcli refresh-cacheappstreamcli refresh-cache
Command 'refresh-cacheappstreamcli' is unknown.

--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |



Re: stretch -> buster upgrade fails

2020-05-11 Thread Tony van der Hoff




On 11/05/2020 09:23, Tony van der Hoff wrote:



On 10/05/2020 19:02, Sven Hartge wrote:

Tony van der Hoff  wrote:


E: Problem executing scripts APT::Update::Post-Invoke-Success 'if
/usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then
appstreamcli refresh-cache > /dev/null; fi'
E: Sub-process returned an error code



I don't know where to find a verbose log. Any suggestions as to how tp
proceed please?


What happens when you run

  appstreamcli refresh-cache

manually as root?

Grüße,
S!



root@debian-jane:~# appstreamcli refresh-cacheappstreamcli refresh-cache
Command 'refresh-cacheappstreamcli' is unknown.



Doing it correctly:
root@debian-jane:~#  appstreamcli refresh-cache
AppStream cache update is not necessary.


--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |



Re: Wanted - Debian(preferred)/Linux handheld

2018-08-20 Thread Tony van der Hoff
On 20/08/18 16:16, Glenn English wrote:
> On Sun, Aug 19, 2018 at 1:35 PM Eric S Fraga  wrote:
>> On Thursday, 16 Aug 2018 at 14:28, Glenn English wrote:
>>> It's all over Amazon (search: planet gemini pda computer), but, as
>>> best I can tell, there's no computer.
>> I'm not sure I understand what you mean by "there's no computer."  The
>> Gemini is not vapourware.  It exists.
> When I looked the other day, there were lots of books and such, but no
> hardware. Gemini was there, but their computer wasn't.
>
Try Here:
https://www.amazon.co.uk/Gemini-4G-WiFi-Space-Grey/dp/B07DNG5YMG/ref=sr_1_1?ie=UTF8&qid=1534779869&sr=8-1&keywords=gemini+pda


-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |



strange DHCP behaviour

2018-10-23 Thread Tony van der Hoff
Hi, I havea laptop running fully up to date Stretch with NetworkManager,
set to use DH|Cp via wireless.

The DHCP server is another Stretch system, with the stanzas
host tony-lt {
hardware ethernet 0c:60:76:6c:e6:6f;
fixed-address 192.168.1.199;
}
subnet 192.168.1.0 netmask 255.255.255.0
{
range 192.168.1.200 192.168.1.254;
option routers 192.168.1.10;
}

That MAC is correct for the laptop.

I an expecting to see 192.168.1.199 as the laptop address, but no, if a
gives:
wlan0:  mtu 1500 qdisc mq state UP
group default qlen 1000
link/ether 0c:60:76:6c:e6:6f brd ff:ff:ff:ff:ff:ff
inet 192.168.1.253/24 brd 192.168.1.255 scope global dynamic wlan0
   valid_lft 479sec preferred_lft 479sec

Finally, the server shows:
Oct 23 14:23:38 routerpi dhcpd[1068]: DHCPREQUEST for 192.168.1.253 from
0c:60:76:6c:e6:6f (tony-lt) via eth0
Oct 23 14:23:38 routerpi dhcpd[1068]: DHCPACK on 192.168.1.253 to
0c:60:76:6c:e6:6f (tony-lt) via eth0
Oct 23 14:23:53 routerpi dhcpd[1068]: reuse_lease: lease age 15 (secs)
under 25% threshold, reply with unaltered, existing lease for 192.168.1.253
Oct 23 14:23:53 routerpi dhcpd[1068]: DHCPREQUEST for 192.168.1.253 from
0c:60:76:6c:e6:6f (tony-lt) via eth0
Oct 23 14:23:53 routerpi dhcpd[1068]: DHCPACK on 192.168.1.253 to
0c:60:76:6c:e6:6f (tony-lt) via eth0

So, my question: why is the server handing out .253, when it is
configured to provide .199?
What is this 'reuse-lease' all about?

I've tried 'dhclient -r wlan 0; dhclient -v wlan0' on the laptop, to no
avail.

Any suggestions, please?
-- 
Tony van der Hoff  | mailto:t...@vanderhoff.org
Ariège, France |



Re: About /dev/sr impatience with automatic tray loading

2018-12-11 Thread Tony van der Hoff
On 11/12/18 17:31, Greg Wooledge wrote:
> On Tue, Dec 11, 2018 at 06:22:56PM +0100, Thomas Schmitt wrote:
>> Dan Ritter wrote:
>>> The English use it more than Americans do.
>>
>> In school it was a big deal to distinguish "will" and "shall".
>> (I was very eager to forget the exact rules when nobody cared any more.)
> 
> Americans (at least in my part of the country) never use "shall" at
> all.  To us, it simply sounds archaic.  We'd expect it in the King James
> Bible, or in certain kinds of fantasy literature.
> 

Not the bible, but pretty close:
https://www.ietf.org/rfc/rfc2119.txt


-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |



Re: New Linux User needs some guidance

2019-10-08 Thread Tony van der Hoff
On 07/10/2019 19:04, Thomas Schmitt wrote:
> Hi,
> 
> lwhona...@gmail.com wrote:
>> I was under the impression, if I copied the dvd image to a usb stick,
>> I could boot from the stick and start the install.
> 
> This is true. You have to put it as image onto the raw USB stick device.
> 
>   https://www.debian.org/CD/faq/#write-usb
> proposes for GNU/Linux something like
>   cp debian-10.0.0-amd64-netinst.iso /dev/sdd
> where /dev/sdd is the device file representing the USB stick.

I've been following this thread with interest, as right from the start
it talks about "copying" the .iso image to the ssd. At risk of
displaying some ignorance, and attracting flames, I think this is
misleading and take issue with the FAQ.

cp copies a file onto s file system, bit that's not what's wanted here.
To create a bootable image from a .iso, you need 'dd', i.e.
sudo dd bs=4M \
if=/path-todebian-10.iso\
of=/dev/sdx\
oflag=sync

Make sure you identify the correct usb stick for sdx, or you may end up
overwriting something important.

This is explained in detail at
https://linuxize.com/post/create-bootable-debian-10-usb-stick-on-linux/

It worked for me.
Good luck, Tony
-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |



failed upgrade to Buster

2019-10-28 Thread Tony van der Hoff

Hi all,

I've just attempted to upgrade from Jessie to buster. All went well 
until the dist-upgrade stage, when it ran out of space in my /usr 
partition. which has 14G allocated. 1.4G of this appears to be the doc/ 
folder, which seems excessive. It has, for instance all the language 
files, whereas I only require en-GB.


Can anyone please advise on how to get rid of this chaff?


Cheers, Tony



Re: failed upgrade to Buster

2019-10-28 Thread tony van der Hoff

On 28/10/2019 09:47, Jonas Smedegaard wrote:

Hi Tony,

Quoting Tony van der Hoff (2019-10-28 10:17:13)

I've just attempted to upgrade from Jessie to buster. All went well
until the dist-upgrade stage, when it ran out of space in my /usr
partition. which has 14G allocated. 1.4G of this appears to be the
doc/ folder, which seems excessive. It has, for instance all the
language files, whereas I only require en-GB.

Can anyone please advise on how to get rid of this chaff?


You might like the package localepurge

Please read the warning in the package description carefully, though.


Thanks for your swift reply, Jonas. I didn't try your suggestion, 
because in the meantime I decided that after many upgrades, the system 
was in such a messy state, that it would benefit from a full reload.


So, I set about installing it from the latest netinst .iso image, which 
went quite smoothly.


Sadly, on reboot, I get the error:
file /grub/i386-pc/normal.mod not found.
Entering rescue mode...

Now what to do?

Cheers, Tony



Apache2/PHP7 fails in Buster

2020-01-16 Thread Tony van der Hoff

Hi,

I have a up to date Buster system as a fresh install (not upgrade).

My PHP scripts, which used to work fine under Stretch, are now failing - 
the browser just shows the script source.


a2enmod php7.3 shows ERROR: Module php7.3 does not exist!

apt-get install libapache2-mod-php7.3 shows libapache2-mod-php7.3 is 
already the newest version (7.3.11-1~deb10u1)


OK, so what is going wrong, please?

Thanks

--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |



Re: Apache2/PHP7 fails in Buster

2020-01-16 Thread Tony van der Hoff




On 16/01/2020 14:35, Roberto C. Sánchez wrote:

On Thu, Jan 16, 2020 at 02:27:16PM +, Tony van der Hoff wrote:

Hi,

I have a up to date Buster system as a fresh install (not upgrade).

My PHP scripts, which used to work fine under Stretch, are now failing - the
browser just shows the script source.

a2enmod php7.3 shows ERROR: Module php7.3 does not exist!

apt-get install libapache2-mod-php7.3 shows libapache2-mod-php7.3 is already
the newest version (7.3.11-1~deb10u1)

OK, so what is going wrong, please?


What is the output of `ls -l /etc/apache2/mods-*'?


lrwxrwxrwx 1 root root 36 Oct 29 11:58 access_compat.load -> 
../mods-available/access_compat.load
lrwxrwxrwx 1 root root 28 Oct 29 11:58 alias.conf -> 
../mods-available/alias.conf
lrwxrwxrwx 1 root root 28 Oct 29 11:58 alias.load -> 
../mods-available/alias.load
lrwxrwxrwx 1 root root 33 Oct 29 11:58 auth_basic.load -> 
../mods-available/auth_basic.load
lrwxrwxrwx 1 root root 33 Oct 29 11:58 authn_core.load -> 
../mods-available/authn_core.load
lrwxrwxrwx 1 root root 33 Oct 29 11:58 authn_file.load -> 
../mods-available/authn_file.load
lrwxrwxrwx 1 root root 33 Oct 29 11:58 authz_core.load -> 
../mods-available/authz_core.load
lrwxrwxrwx 1 root root 38 Nov  4 10:12 authz_groupfile.load -> 
../mods-available/authz_groupfile.load
lrwxrwxrwx 1 root root 33 Oct 29 11:58 authz_host.load -> 
../mods-available/authz_host.load
lrwxrwxrwx 1 root root 33 Oct 29 11:58 authz_user.load -> 
../mods-available/authz_user.load
lrwxrwxrwx 1 root root 32 Oct 29 11:58 autoindex.conf -> 
../mods-available/autoindex.conf
lrwxrwxrwx 1 root root 32 Oct 29 11:58 autoindex.load -> 
../mods-available/autoindex.load
lrwxrwxrwx 1 root root 27 Nov  4 15:03 cgid.conf -> 
../mods-available/cgid.conf
lrwxrwxrwx 1 root root 27 Nov  4 15:03 cgid.load -> 
../mods-available/cgid.load
lrwxrwxrwx 1 root root 26 Nov  4 15:05 cgi.load -> 
../mods-available/cgi.load
lrwxrwxrwx 1 root root 30 Oct 29 11:58 deflate.conf -> 
../mods-available/deflate.conf
lrwxrwxrwx 1 root root 30 Oct 29 11:58 deflate.load -> 
../mods-available/deflate.load
lrwxrwxrwx 1 root root 26 Oct 29 11:58 dir.conf -> 
../mods-available/dir.conf
lrwxrwxrwx 1 root root 26 Oct 29 11:58 dir.load -> 
../mods-available/dir.load
lrwxrwxrwx 1 root root 26 Oct 29 11:58 env.load -> 
../mods-available/env.load
lrwxrwxrwx 1 root root 29 Oct 29 11:58 filter.load -> 
../mods-available/filter.load
lrwxrwxrwx 1 root root 30 Nov  3 10:33 include.load -> 
../mods-available/include.load
lrwxrwxrwx 1 root root 27 Oct 29 11:58 mime.conf -> 
../mods-available/mime.conf
lrwxrwxrwx 1 root root 27 Oct 29 11:58 mime.load -> 
../mods-available/mime.load
lrwxrwxrwx 1 root root 34 Nov  4 15:05 mpm_prefork.conf -> 
../mods-available/mpm_prefork.conf
lrwxrwxrwx 1 root root 34 Nov  4 15:05 mpm_prefork.load -> 
../mods-available/mpm_prefork.load
lrwxrwxrwx 1 root root 34 Oct 29 11:58 negotiation.conf -> 
../mods-available/negotiation.conf
lrwxrwxrwx 1 root root 34 Oct 29 11:58 negotiation.load -> 
../mods-available/negotiation.load
lrwxrwxrwx 1 root root 28 Jan 16 14:02 proxy.conf -> 
../mods-available/proxy.conf
lrwxrwxrwx 1 root root 33 Jan 16 14:02 proxy_fcgi.load -> 
../mods-available/proxy_fcgi.load
lrwxrwxrwx 1 root root 28 Jan 16 14:02 proxy.load -> 
../mods-available/proxy.load
lrwxrwxrwx 1 root root 33 Oct 29 11:58 reqtimeout.conf -> 
../mods-available/reqtimeout.conf
lrwxrwxrwx 1 root root 33 Oct 29 11:58 reqtimeout.load -> 
../mods-available/reqtimeout.load
lrwxrwxrwx 1 root root 31 Oct 29 11:58 setenvif.conf -> 
../mods-available/setenvif.conf
lrwxrwxrwx 1 root root 31 Oct 29 11:58 setenvif.load -> 
../mods-available/setenvif.load
lrwxrwxrwx 1 root root 29 Oct 29 11:58 status.conf -> 
../mods-available/status.conf
lrwxrwxrwx 1 root root 29 Oct 29 11:58 status.load -> 
../mods-available/status.load
lrwxrwxrwx 1 root root 30 Nov  4 10:07 userdir.conf -> 
../mods-available/userdir.conf
lrwxrwxrwx 1 root root 30 Nov  4 10:07 userdir.load -> 
../mods-available/userdir.load

--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |



Re: Apache2/PHP7 fails in Buster

2020-01-16 Thread Tony van der Hoff




On 16/01/2020 14:52, Roberto C. Sánchez wrote:

On Thu, Jan 16, 2020 at 02:39:21PM +, Tony van der Hoff wrote:



On 16/01/2020 14:35, Roberto C. Sánchez wrote:

On Thu, Jan 16, 2020 at 02:27:16PM +, Tony van der Hoff wrote:

Hi,

I have a up to date Buster system as a fresh install (not upgrade).

My PHP scripts, which used to work fine under Stretch, are now failing - the
browser just shows the script source.

a2enmod php7.3 shows ERROR: Module php7.3 does not exist!

apt-get install libapache2-mod-php7.3 shows libapache2-mod-php7.3 is already
the newest version (7.3.11-1~deb10u1)

OK, so what is going wrong, please?


What is the output of `ls -l /etc/apache2/mods-*'?



[SNIP]

That looks like the contents of /etc/apache2/mods-enabled.  Do you have
a directory /etc/apache2/mods-available?  You must, or your Apache
installation would be completely broken.  Can you look in
/etc/apache2/mods-available to see if there is a PHP module listed there
as available?



Yes, you're right. I missed half the output, sorry. But there is no PHP 
module there, which is why I tried apt-get install libapache2-mod-php7.3.


/etc/apache2/mods-available:
total 564
-rw-r--r-- 1 root root  100 Apr  2  2019 access_compat.load
-rw-r--r-- 1 root root  377 Apr  2  2019 actions.conf
-rw-r--r-- 1 root root   66 Apr  2  2019 actions.load
-rw-r--r-- 1 root root  843 Apr  2  2019 alias.conf
-rw-r--r-- 1 root root   62 Apr  2  2019 alias.load
-rw-r--r-- 1 root root   76 Apr  2  2019 allowmethods.load
-rw-r--r-- 1 root root   76 Apr  2  2019 asis.load
-rw-r--r-- 1 root root   94 Apr  2  2019 auth_basic.load
-rw-r--r-- 1 root root   96 Apr  2  2019 auth_digest.load
-rw-r--r-- 1 root root  100 Apr  2  2019 auth_form.load
-rw-r--r-- 1 root root   72 Apr  2  2019 authn_anon.load
-rw-r--r-- 1 root root   72 Apr  2  2019 authn_core.load
-rw-r--r-- 1 root root   85 Apr  2  2019 authn_dbd.load
-rw-r--r-- 1 root root   70 Apr  2  2019 authn_dbm.load
-rw-r--r-- 1 root root   72 Apr  2  2019 authn_file.load
-rw-r--r-- 1 root root   78 Apr  2  2019 authn_socache.load
-rw-r--r-- 1 root root   74 Apr  2  2019 authnz_fcgi.load
-rw-r--r-- 1 root root   90 Apr  2  2019 authnz_ldap.load
-rw-r--r-- 1 root root   72 Apr  2  2019 authz_core.load
-rw-r--r-- 1 root root   96 Apr  2  2019 authz_dbd.load
-rw-r--r-- 1 root root   92 Apr  2  2019 authz_dbm.load
-rw-r--r-- 1 root root  104 Apr  2  2019 authz_groupfile.load
-rw-r--r-- 1 root root   94 Apr  2  2019 authz_host.load
-rw-r--r-- 1 root root   74 Apr  2  2019 authz_owner.load
-rw-r--r-- 1 root root   94 Apr  2  2019 authz_user.load
-rw-r--r-- 1 root root 3374 Apr  2  2019 autoindex.conf
-rw-r--r-- 1 root root   70 Apr  2  2019 autoindex.load
-rw-r--r-- 1 root root   64 Oct 13 21:21 brotli.load
-rw-r--r-- 1 root root   64 Apr  2  2019 buffer.load
-rw-r--r-- 1 root root  889 Apr  2  2019 cache_disk.conf
-rw-r--r-- 1 root root   89 Apr  2  2019 cache_disk.load
-rw-r--r-- 1 root root   62 Apr  2  2019 cache.load
-rw-r--r-- 1 root root   95 Apr  2  2019 cache_socache.load
-rw-r--r-- 1 root root   70 Apr  2  2019 cern_meta.load
-rw-r--r-- 1 root root  115 Apr  2  2019 cgid.conf
-rw-r--r-- 1 root root   60 Apr  2  2019 cgid.load
-rw-r--r-- 1 root root   58 Apr  2  2019 cgi.load
-rw-r--r-- 1 root root   76 Apr  2  2019 charset_lite.load
-rw-r--r-- 1 root root   60 Apr  2  2019 data.load
-rw-r--r-- 1 root root   83 Apr  2  2019 dav_fs.conf
-rw-r--r-- 1 root root   79 Apr  2  2019 dav_fs.load
-rw-r--r-- 1 root root   58 Apr  2  2019 dav.load
-rw-r--r-- 1 root root   68 Apr  2  2019 dav_lock.load
-rw-r--r-- 1 root root   58 Apr  2  2019 dbd.load
-rw-r--r-- 1 root root  395 Oct 13 21:21 deflate.conf
-rw-r--r-- 1 root root   84 Apr  2  2019 deflate.load
-rw-r--r-- 1 root root   64 Apr  2  2019 dialup.load
-rw-r--r-- 1 root root  157 Apr  2  2019 dir.conf
-rw-r--r-- 1 root root   58 Apr  2  2019 dir.load
-rw-r--r-- 1 root root   64 Apr  2  2019 dump_io.load
-rw-r--r-- 1 root root   60 Apr  2  2019 echo.load
-rw-r--r-- 1 root root   58 Apr  2  2019 env.load
-rw-r--r-- 1 root root   66 Apr  2  2019 expires.load
-rw-r--r-- 1 root root   72 Apr  2  2019 ext_filter.load
-rw-r--r-- 1 root root   89 Apr  2  2019 file_cache.load
-rw-r--r-- 1 root root   64 Apr  2  2019 filter.load
-rw-r--r-- 1 root root   66 Apr  2  2019 headers.load
-rw-r--r-- 1 root root  176 Apr  2  2019 heartbeat.load
-rw-r--r-- 1 root root  182 Apr  2  2019 heartmonitor.load
-rw-r--r-- 1 root root 1240 Oct 13 21:21 http2.conf
-rw-r--r-- 1 root root   62 Apr  2  2019 http2.load
-rw-r--r-- 1 root root   62 Apr  2  2019 ident.load
-rw-r--r-- 1 root root   68 Apr  2  2019 imagemap.load
-rw-r--r-- 1 root root   82 Apr  2  2019 include.load
-rw-r--r-- 1 root root  402 Apr  2  2019 info.conf
-rw-r--r-- 1 root root   60 Apr  2  2019 info.load
-rw-r--r-- 1 root root  116 Apr  2  2019 lbmethod_bybusyness.load
-rw-r--r-- 1 root root  116 Apr  2  2019 lbmethod_byrequests.load
-rw-r--r-- 1 root root  114 Apr  2  2019 lbmethod_bytraffic.load
-r

Re: Apache2/PHP7 fails in Buster

2020-01-16 Thread Tony van der Hoff




On 16/01/2020 15:03, Roberto C. Sánchez wrote:

On Thu, Jan 16, 2020 at 02:59:15PM +, Tony van der Hoff wrote:



On 16/01/2020 14:52, Roberto C. Sánchez wrote:

On Thu, Jan 16, 2020 at 02:39:21PM +, Tony van der Hoff wrote:



On 16/01/2020 14:35, Roberto C. Sánchez wrote:

On Thu, Jan 16, 2020 at 02:27:16PM +, Tony van der Hoff wrote:

Hi,

I have a up to date Buster system as a fresh install (not upgrade).

My PHP scripts, which used to work fine under Stretch, are now failing - the
browser just shows the script source.

a2enmod php7.3 shows ERROR: Module php7.3 does not exist!

apt-get install libapache2-mod-php7.3 shows libapache2-mod-php7.3 is already
the newest version (7.3.11-1~deb10u1)

OK, so what is going wrong, please?


What is the output of `ls -l /etc/apache2/mods-*'?



[SNIP]

That looks like the contents of /etc/apache2/mods-enabled.  Do you have
a directory /etc/apache2/mods-available?  You must, or your Apache
installation would be completely broken.  Can you look in
/etc/apache2/mods-available to see if there is a PHP module listed there
as available?



Yes, you're right. I missed half the output, sorry. But there is no PHP
module there, which is why I tried apt-get install libapache2-mod-php7.3.


[SNIP]

Well, you are definitely missing the module file.  It should be in that
package:

apt-file search php7.3.load
libapache2-mod-php7.3: /etc/apache2/mods-available/php7.3.load

I recommend this: sudo apt-get install --reinstall libapache2-mod-php7.3

After that recheck the contents of /etc/apache2/mods-available to see if
the file is there.


dpkg: error processing package libapache2-mod-php7.3 (--configure):
 installed libapache2-mod-php7.3 package post-installation script 
subprocess returned error exit status 1

Errors were encountered while processing:
 libapache2-mod-php7.3
E: Sub-process /usr/bin/dpkg returned an error code (1)

Now what?


--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |



Re: Apache2/PHP7 fails in Buster

2020-01-16 Thread Tony van der Hoff



On 16/01/2020 15:11, Roberto C. Sánchez wrote:

On Thu, Jan 16, 2020 at 03:07:18PM +, Tony van der Hoff wrote:



On 16/01/2020 15:03, Roberto C. Sánchez wrote:


Well, you are definitely missing the module file.  It should be in that
package:

apt-file search php7.3.load
libapache2-mod-php7.3: /etc/apache2/mods-available/php7.3.load

I recommend this: sudo apt-get install --reinstall libapache2-mod-php7.3

After that recheck the contents of /etc/apache2/mods-available to see if
the file is there.


dpkg: error processing package libapache2-mod-php7.3 (--configure):
  installed libapache2-mod-php7.3 package post-installation script subprocess
returned error exit status 1
Errors were encountered while processing:
  libapache2-mod-php7.3
E: Sub-process /usr/bin/dpkg returned an error code (1)


That is a problem.


Now what?


Can you send me (directly) the files from that system named
'/var/lib/dpkg/info/libapache2-mod-php7.3*'?


Apparently not:


: host mailly.debian.org[82.195.75.114] said: 550 HELO
mismatch Forged HELO for (shell.localdomain) (in reply to RCPT TO 
command)


archive attached
--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


libapache.tar.bz2
Description: Binary data


Re: Apache2/PHP7 fails in Buster

2020-01-16 Thread Tony van der Hoff



On 16/01/2020 16:39, Roberto C. Sánchez wrote:

On Thu, Jan 16, 2020 at 03:55:46PM +, Tony van der Hoff wrote:



On 16/01/2020 15:11, Roberto C. Sánchez wrote:



Can you send me (directly) the files from that system named
'/var/lib/dpkg/info/libapache2-mod-php7.3*'?


Apparently not:


: host mailly.debian.org[82.195.75.114] said: 550 HELO
 mismatch Forged HELO for (shell.localdomain) (in reply to RCPT TO
command)


That's bizzare.  I've been receiving other mail at this address, so I
wonder if it might be an issue on your side.

It may well be. However this Postfix server has been running for many 
years, and I've not had any such occurrence. But that's not important 
right now.



archive attached


Hmm.  I thought the list might reject that, but it seems I was mistaken.

Either way, your postinst script seems fine.

My recommendation is to edit libapache2-mod-php7.3.postinst to add on a
new line after 'set -e': set -x

That will make bash trace the execution to the console.

After you have added that 'set -x' then: sudo dpkg --pending --configure

That should leave your terminal output right near the point in the
script where it is erroring out.  If you still have questions at that
point then post the output of the dpkg command.



OK, fine, thanks. I'm afraid my bash-fu is a little rusty, so I'd 
appreciate you taking a look.


Thanks, Tony


--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


dpkg.tar.gz
Description: application/gzip


Re: Apache2/PHP7 fails in Buster

2020-01-17 Thread Tony van der Hoff




On 16/01/2020 17:48, Roberto C. Sánchez wrote:

On Thu, Jan 16, 2020 at 12:43:17PM -0500, Greg Wooledge wrote:


Well, it seems it's failing because it tries to enable the php7.3
module -- which it can't do, because the module's not THERE.

If it were me, I would attempt to purge this package (not just remove),
and then reinstall it.



The --reinstall should have handled that.


If purging fails because of a2enmod being unable to find the module
and manipulate it in various ways, then it might be necessary to
short-circuit the prerm/postinst/etc. scripts so that they do nothing,
just so you can purge everything.

The normal way to do that with a prerm or postinst script is to stick
"exit 0" near the top of it.



That would be a good approach.


Thanks to all, and especially Roberto, for pointing me in the right 
direction.
I did ~# dpkg -P libapache2-mod-php7.3 libapache2-mod-php, because it 
reported a dependency on libapache2-mod-php, which went smoothly. I than 
did apt-get install libapache2-mod-php, and systemctl restart apache2.


It now runs phpinfo() without problem.

I'm now stuck with my php script in my home being commented out by 
Apache, but I'm sure that's just a configuration issue.


Thanks again chaps


--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |



Re: identity confusion

2020-02-03 Thread Tony van der Hoff




On 03/02/2020 15:11, to...@tuxteam.de wrote:

On Mon, Feb 03, 2020 at 09:57:13AM -0500, Wayne Sallee wrote:
[...]


That's strange I thought I had it set for text for this list. But it wasn't. 
It's fixed now.


Things happen. It is now. And I thank you very much :-)

Cheers
-- tomás


 Now all *you* need to do is fix your sig.sep :)

--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |



Advice on upgrading to SSD

2020-03-02 Thread Tony van der Hoff

Hi,
I'm currently running Buster on a 5 year old GigaByte motherboard with a 
10-year old Raid-1 array on 2 500GB disks. Although it is running fine, 
I'm becoming a bit concerned about the longevity of this storage, so I'm 
planning to upgrade it to a 500GB or maybe 1TB SSD from Crucial.


My plan would be to install the SSD in the cage, and dd the contents of 
the array onto the SSD. I would then change the BIOS to boot from the 
SSD, making the RAID array redundant.


Can someone please tell me whether this plan is feasible, and what 
pitfalls I might encounter?


Thanks, Tony

--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |



Re: Advice on upgrading to SSD

2020-03-04 Thread Tony van der Hoff

On Monday 02 March 2020 06:28:58 Tony van der Hoff wrote:


Hi,
I'm currently running Buster on a 5 year old GigaByte motherboard with
a 10-year old Raid-1 array on 2 500GB disks. Although it is running
fine, I'm becoming a bit concerned about the longevity of this
storage, so I'm planning to upgrade it to a 500GB or maybe 1TB SSD
from Crucial.

My plan would be to install the SSD in the cage, and dd the contents
of the array onto the SSD. I would then change the BIOS to boot from
the SSD, making the RAID array redundant.

Can someone please tell me whether this plan is feasible, and what
pitfalls I might encounter?



Thanks to all who replied.

Gene didn't address my problem, but made the very useful observation 
that disks spinning 24/7 don't really die. Perhaps I shouldn't worry 
about replacing them.


Dan gave a useful step-by-step procedure for copying at file level. This 
method is slightly problematical for me as it includes "make changes to 
new /etc/fstab" and "make changes to bootloader to set new root 
filesystem", neither of which I feel feel comfortable with, due to lack 
of knowledge. I'll certainly abandon my plan to dd the whole filesystem.


Basti and Deloptes propose to add the SSD as a third drive to the RAID. 
Very attractive, but would involve complications if the SSD is not 
identical in size to the old spinners.


Andrei supports file-level copying, so I'll stick to that.

Joe supports the idea of adding the drive to the RAID, but makes no 
reference to dealing wth the size difference.


Alex highlights the downside of size difference.

David and Sarunas suggests doing a system reinstall on the SSD, leaving 
my data on the RAID. Whilst a useful upgrade, I don't really understand 
how that addresses my problem. (if I have one!)


Michael and Deloptes poo-poo that suggestion, with which I concur.

Andy suggests that I should continue using RAID, instead of reverting to 
a single disk. Thank you very much for this helpful suggestion, I 
considered it originally, but abandoned it on cost grounds. When I 
originally built this system with RAID, 10 years ago, I was very reliant 
on data integrity. I now no longer have such a pressing need, and am 
quite happy to rely on a single disk, with nightly rsync backups to an 
off-site server. I certainly have no need for the always-on data that 
RAID provides.


Finally, Geoff supports Andy's suggestion, and in addition, 
interestingly,  mentions NVME to replace SATA SSD. Attractive, but costly.


So, you have all given me plenty to think about, for which I'm grateful.
I guess I'll go with s single SSD onto which I'll copy the data from the 
RAID.

Thank you all for helping me make up my mind.

--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |



Re: Buster without systemd?

2020-03-23 Thread Tony van der Hoff

On 23/03/2020 15:15, Michael Howard wrote:

On 23/03/2020 14:28, Patrick Bartek wrote:

On Mon, 23 Mar 2020 08:37:47 -0400
Jude DaShiell  wrote:




I know it's a sensitive subject, and I really don't want to upset the 
list, there's been enough of that already, but why are some people so 
afraid of systemd?


I have  used it since the beginning of jessie, through stretch, and now 
buster, and have had no problems with it.


I ask the question in all innocence, purely to understand whypeople seem 
to want to jump through hoops to avoid it.


--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |



Re: Iceweasel problems - where to report them?

2008-02-06 Thread Tony van der Hoff
On 6 Feb at 16:55 "Dennis G. Wicks" <[EMAIL PROTECTED]> wrote in message
<[EMAIL PROTECTED]>

> Greetings;
>
> I have several serious problems with Iceweasel.
>
What are your problems?

[snip]


-- 
Tony van der Hoff| mailto:[EMAIL PROTECTED]
Buckinghamshire, England 


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



Re: Canon LIDE-90 scanner

2008-02-12 Thread Tony van der Hoff
On 12 Feb at 8:35 Anthony Campbell <[EMAIL PROTECTED]> wrote in message
<[EMAIL PROTECTED]>

> On 11 Feb 2008, Douglas A. Tutty wrote:
> > On Mon, Feb 11, 2008 at 12:06:58PM -0500, ISHWAR RATTAN wrote:
> > > Does any one know if it is supprted under Linux?
>> 
> > What does google say?  Check the sane website.
>> 
> > Doug.
>
>
> I'm pretty sure it isn't. Recently I was looking into scanners that work
> on Linux and as far as I can see there are now none such, at least in the
> medium price range. The Canoscan Lide 25 is reported to work but has bad
> reviews. I'm just hoping my Epson Perfection 1650 goes on working.
> Apparently flatbed scanners are no longer  being made - I don't know why.

No longer cost-effective. People are buying combined scanner-printers at a
price similar to what each seperate device would cost on its own a couple of
years ago.

I'm just waiting for either my scanner or printer to die, so that I can
justify buying one of those nice HP C6200 units...

-- 
Tony van der Hoff| mailto:[EMAIL PROTECTED]
Buckinghamshire, England 


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



Re: right click and resize selected images in Konqueror

2008-02-16 Thread Tony van der Hoff
On 16 Feb at 14:43 "H.S." <[EMAIL PROTECTED]> wrote in message
<[EMAIL PROTECTED]>

> Dotan Cohen wrote:
> > On 16/02/2008, H.S. <[EMAIL PROTECTED]> wrote:
>>>  > The KIM package does that as well:
>>>  > http://kde-apps.org/content/show.php?content=11505
>>>  >
>>>
> > > BTW, doesn't look like it is in Debian.
>>>
>> 
> > I have a tarball if you want it.
>
> I got it from the above website, thanks. I was just surprised that it
> doesn't appear to be a package in Debian.
[snip]

[EMAIL PROTECTED]:~$ sudo apt-cache showpkg kimagemapeditor
Package: kimagemapeditor
Versions:
4:3.5.7-2~bpo40+1(/var/lib/apt/lists/www.backports.org_debian_dists_etch-backports_main_binary-i386_Packages)
4:3.5.5-1(/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_etch_main_binary-i386_Packages)(/var/lib/dpkg/status)

Reverse Depends:
  quanta,kimagemapeditor 4:3.5.7-2~bpo40+1
  kdewebdev,kimagemapeditor 4:3.5.7-2~bpo40+1
  quanta,kimagemapeditor 4:3.5.5-1
  kdewebdev,kimagemapeditor 4:3.5.5-1
Dependencies:
4:3.5.7-2~bpo40+1 - kdelibs4c2a (2 4:3.5.7-1) libc6 (2 2.3.6-6) libgcc1 (2
1:4.1.1-12) libqt3-mt (2 3:3.3.7) libstdc++6 (2 4.1.1-12) quanta (5
4:3.5.7-2~bpo40+1)
4:3.5.5-1 - kdelibs4c2a (2 4:3.5.5-1) libc6 (2 2.3.6-6) libgcc1 (2
1:4.1.1-12) libqt3-mt (2 3:3.3.6) libstdc++6 (2 4.1.1-12) quanta (5
4:3.5.5-1)
Provides:
4:3.5.7-2~bpo40+1 -
4:3.5.5-1 -
Reverse Provides:

-- 
Tony van der Hoff| mailto:[EMAIL PROTECTED]
Buckinghamshire, England 


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



Re: New User-Network Problem Still

2008-02-17 Thread Tony van der Hoff
On 17 Feb at 12:12 Mitch Crawford <[EMAIL PROTECTED]> wrote in
message <[EMAIL PROTECTED]>

> OK I've reinstalled Debian 4.0r2, removed network-manager, dhcdbd, and the
> libnm-glib0 and libnm-util0 stuff.
[snip]
>
> /etc/resolv.conf 
> nameserver 10,.0.0.254   // router nameserver

What's that comma doing there?

[snip]

-- 
Tony van der Hoff| mailto:[EMAIL PROTECTED]
Buckinghamshire, England


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



Re: famd

2008-02-22 Thread Tony van der Hoff
On 22 Feb at 4:37 Mike Bird <[EMAIL PROTECTED]> wrote in message
<[EMAIL PROTECTED]>

> On Thu February 21 2008 19:32:09 Jamin Davis wrote:
> > Paul Cartwright wrote:
> > > I switched to the alt-F1 text login, and looked for processes running
> > > owned by me. All that I saw was famd. I did a pkill famd, went back to
> > > my  KDE login screen ( ctrl-alt-F7) , put in my password, and voila, I
> > > was logged in. Is famd necessary? is famd causing this?
>>
> > Can't see that famd would be causing this - see what you've got
> > installed that requires it by doing apt-cache rdepends fam. ISTM you are
> > being automatically logged out of your KDE session - have you got Kiosk
> > mode enabled or TMOUT set somewhere in your login scripts? What happens
> > if you disable the screensaver and 'require password' in KDE? Does this
> > happen for other user accounts?
>
> FWIW, I had famd go 100% on me in KDE twelve hours ago.  Haven't seen that
> kind of famd problem since a couple of years ago.  No idea what caused it,
> and I hadn't been swapping sessions with another user.  I killed famd and
> KDE has been working just fine without famd for twelve hours.
>
[snip]

Running Etch/KDE.

Just to support this, I've had famd go 100% on 3 occasions in the last week
:(. The problem is manifested by logins failing (I've not seen an auto
log-out), and dog-slow responsiveness, and some applications simply
crashing. Restarting the fam deamon (sudo /etc/init.d/fam restart) restored
things to normal.

Yesterday, I was doing a lot of image editing using Gimp, web page editing
with Quanta, and viewing the results in Iceweasel. Things started to get
sluggish, and I noticed famd was sitting at 80% processor time. Restarted
famd, and all was well again.

Like the OP I have been in the habit of leaving my log-in session running
for days, and in particular, leaving a number of Iceweasel windows open.
Last night I shut everything down (but didn't log off), and famd was happily
asleep this morning.

Keeping it under review...

Cheers, Tony
-- 
Tony van der Hoff| mailto:[EMAIL PROTECTED]
Buckinghamshire, England


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



Re: typewriter function for an impact printer?

2008-02-22 Thread Tony van der Hoff
On 22 Feb at 5:08 "H.S." <[EMAIL PROTECTED]> wrote in message
<[EMAIL PROTECTED]>

> Chuck Rhode wrote:
> > Douglas A. Tutty wrote this on Thu, Feb 21, 2008 at 07:39:30PM -0500. My
> > reply is below.
>> 
> > > It would appear that there isn't.
>> 
> > Employment applications piss me off.  Every employer's is unique. Every
> > employer's was designed on a Mac and saved as a *.pdf. Employers care
> > nothing for attaching a blank application to an eMail without a thought
> > as to how you're supposed to get it back to them. There ought'a be an
> > ANSI Standard!
>
> And then there are the employers who think the only word processor in the
> world is MS Office and that every human being with a computer has it.
> Further, they have this unwritten 'law' that all documents must be sent in
> 'doc' format. I know a few who are totally lost if they are sent a PDF
> document and reply back to send the document in doc format since the one I
> sent "was not opened by their computer". And these people have a job!
[snip]

But would you want to work for such a company?

-- 
Tony van der Hoff| mailto:[EMAIL PROTECTED]
Buckinghamshire, England


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



Re: typewriter function for an impact printer?

2008-02-22 Thread Tony van der Hoff
On 22 Feb at 10:32 Ron Johnson <[EMAIL PROTECTED]> wrote in message
<[EMAIL PROTECTED]>

> On 02/22/08 03:06, Tony van der Hoff wrote:
> > On 22 Feb at 5:08 "H.S." <[EMAIL PROTECTED]> wrote in message
> > <[EMAIL PROTECTED]>
>> 
> > > Chuck Rhode wrote:
> > > > Douglas A. Tutty wrote this on Thu, Feb 21, 2008 at 07:39:30PM
> > > > -0500. My reply is below.
>>>>
> > > > > It would appear that there isn't.
> > > > Employment applications piss me off.  Every employer's is unique.
> > > > Every employer's was designed on a Mac and saved as a *.pdf.
> > > > Employers care nothing for attaching a blank application to an eMail
> > > > without a thought as to how you're supposed to get it back to them.
> > > > There ought'a be an ANSI Standard!
> > > And then there are the employers who think the only word processor in
> > > the world is MS Office and that every human being with a computer has
> > > it. Further, they have this unwritten 'law' that all documents must be
> > > sent in 'doc' format. I know a few who are totally lost if they are
> > > sent a PDF document and reply back to send the document in doc format
> > > since the one I sent "was not opened by their computer". And these
> > > people have a job!
> > [snip]
>> 
> > But would you want to work for such a company?
>
> I guess you've never *needed* a job before.

Well, I sold my soul once, but that's another story :)

-- 
Tony van der Hoff| mailto:[EMAIL PROTECTED]
Buckinghamshire, England


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



ide-tape crashes

2008-02-23 Thread Tony van der Hoff
Debian Etch 4.02

I have an STT2 Travan tape drive, which I use with Amanda for backup.
When running amverify on a tepe containing multiple images, I get the
message:

ide-tape: bug: tape->next_stage != NULL
checked tony-lx.magpieway.net._var.20080204165847.0
double fault gdt at c1a0d000 [255 bytes]

After this the server simply dies, and needs a hard reset to reboot.

Running amverify on a tape containing just a single image works fine.

Has anyone come across this problem before, or has anyone any suggestions as
to how to isolate the problem.

-- 
Tony van der Hoff| mailto:[EMAIL PROTECTED]
Buckinghamshire, England


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



Re: typewriter function for an impact printer?

2008-02-24 Thread Tony van der Hoff
On 23 Feb at 18:10 Ron Johnson <[EMAIL PROTECTED]> wrote in message
<[EMAIL PROTECTED]>

> On 02/23/08 10:09, Chuck Rhode wrote:
> > Douglas A. Tutty wrote this on Fri, Feb 22, 2008 at 11:02:24AM -0500. My
> > reply is below.
>> 
> > > Perhaps I can get away without the VT520 if I can tell unix to use the
> > > printer as the console output and a USB keyboard as the console input.
>> 
> > You might be able to find a DecWriter in working condition.
>
> An LA36 would be bitchin' cool.  The only Linux machine in the world with
> a TTY console...
>
I had an LA36 for years. It was working fine, with a long serial cable to my
computer; but I was told to remove it from the spare bedroom as it was
"cluttering up the place". 

So I tried to sell it, or even give it away. This was about 10 years ago,
pre-ebay. I eventually took it down to the Council tip, or recycling centre,
as it is now known. Bet it went into landfill...

In my latest tidying up, last month, I found the schematics and some spare
ribbons. More recycling :(

> -- Ron Johnson, Jr. Jefferson LA  USA
>
> "(Women are) like compilers.  They take simple statements and make them
> into big productions." Pitr Dubovitch
>
Hey Ron, I hope I' not teaching granny to suck eggs, but the standard
sig-sep is dash-dash-space-newline, so unless you're so proud of your sig
that you want it quoted back to you...

Cheers, Tony
-- 
Tony van der Hoff| mailto:[EMAIL PROTECTED]
Buckinghamshire, England 


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



Re: Signatures (was Re: typewriter function for an impact printer?)

2008-02-24 Thread Tony van der Hoff
On 24 Feb at 14:43 Ron Johnson <[EMAIL PROTECTED]> wrote in message
<[EMAIL PROTECTED]>

> On 02/24/08 07:03, Tony van der Hoff wrote:
> > On 23 Feb at 18:10 Ron Johnson <[EMAIL PROTECTED]> wrote in message
> > <[EMAIL PROTECTED]>
> [snip]
>> 
> > > -- Ron Johnson, Jr. Jefferson LA  USA
>>>
> > > "(Women are) like compilers.  They take simple statements and make
> > > them into big productions." Pitr Dubovitch
>>>
> > Hey Ron, I hope I' not teaching granny to suck eggs, but the standard
> > sig-sep is dash-dash-space-newline, so unless you're so proud of your
> > sig that you want it quoted back to you...
>
> I've got a window print showing that the signature is placed correctly.
> Will privately send it to you, if you want.
>
No, Ron, I'm not the net-police; I don't need evidence; just thought I was
being helpful :)

> Maybe Gemini just isn't up to snuff in handling signed documents.
[snip]

Maybe, but it's not had trouble before. I'd raise it with the developer, but
I wouldn't know precisely what the complaint would be. 

More likely it's the list server doing something odd.
This is the raw source of what I'm receiving:

->
Maybe Gemini just isn't up to snuff in handling signed documents.

- --
Ron Johnson, Jr.
Jefferson LA  USA
->

I don't think the extra dash is a result of signing. But it doesn't bother
me to snip a bit when replying to your posts :)

Cheers,
-- 
Tony van der Hoff| mailto:[EMAIL PROTECTED]
Buckinghamshire, England


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



Re: GRUB 2 error

2008-02-26 Thread Tony van der Hoff
On 26 Feb at 12:36 Hugo Vanwoerkom <[EMAIL PROTECTED]> wrote in message
<[EMAIL PROTECTED]>

> Huub wrote:
>>>
> > > You did not make a rescue CD or Floppy?
>>>
>>>
>> 
> > I can boot into Rescue mode from DVD. I managed to restore a Fedora
> > machine by booting into Rescue mode from DVD, so I figure Debian can do
> > the same. Or not?
>> 
>> 
>
> I only tried GRUB2 once and went back to GRUB because I could not get it
> to boot. So in GRUB when I get those kind of errors, I boot with a GRUB
> floppy or a GRUB CD and that always gets around it. But clearly that is
> not an option if you do not have one of them.
>
> Aside from those rescue methods, I use Knoppix and chroot into the
> particular partition.
>
>
Movib=g further off-topic, I've never understood why people use GRUB. LILO
seems so much lighter weight to achieve the same effect. 

Can anybody enlighten me?


-- 
Tony van der Hoff| mailto:[EMAIL PROTECTED]
Buckinghamshire, England


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



initrd

2008-02-26 Thread Tony van der Hoff
Hi,

I've just built a 2.6.18-6-686 kernel, using the etch configure as the base,
and following the instructions in the kernel source README. 

Do I additionally need to make an initrd for it to boot?

-- 
Tony van der Hoff| mailto:[EMAIL PROTECTED]
Buckinghamshire, England


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



Re: famd strikes again

2008-02-27 Thread Tony van der Hoff
On 26 Feb at 23:49 Paul Cartwright <[EMAIL PROTECTED]> wrote in message
<[EMAIL PROTECTED]>

> it happened again. my wife complained that her login was locked up, she
> couldn't read her email. I did a CTRL-ALT-F7 to get to my login, works
> fine, email...
>
> ps -ef|grep kmail found her process, killed it. CTRL-ALT-F8 to get to her
> login, still locked up. nothing works. CTRL-ALT-F7 to get back to mine.
> 
> # ps -ef|grep famd USER_ 4409 1 86 10:01 ?07:32:13
> /usr/sbin/famd -T 0
>
> /etc/init.d/fam restart
>
> everything works fine again.. # ps -ef|grep famd root 18821 1  0
> 18:42 ?00:00:00 /usr/sbin/famd -T 0
>
> the other user USER_ owned the famd process.. but when I restarted it,
> root owns it.
>

Yep, I've had to restart fam several times this week. I'll raise a bug
report.


-- 
Tony van der Hoff| mailto:[EMAIL PROTECTED]
Buckinghamshire, England


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



Re: initrd

2008-02-27 Thread Tony van der Hoff
On 27 Feb at 11:34 George <[EMAIL PROTECTED]> wrote in message
<[EMAIL PROTECTED]>

> Tony van der Hoff wrote:
> > Hi,
>> 
> > I've just built a 2.6.18-6-686 kernel, using the etch configure as the
> > base, and following the instructions in the kernel source README.
>> 
> > Do I additionally need to make an initrd for it to boot?
>> 
> NO.  As long as you have everything you need.
>
>
Thanks.


-- 
Tony van der Hoff| mailto:[EMAIL PROTECTED]
Buckinghamshire, England


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



Re: Best Distro for the consumers market ??

2008-02-28 Thread Tony van der Hoff
On 28 Feb at 14:52 Kamaraju S Kusumanchi <[EMAIL PROTECTED]> wrote in
message <[EMAIL PROTECTED]>

>[snip]
> In your case, I would go with either Debian Stable or Ubuntu. Why Debian
> Stable? Because Debian stable is very reliable, stable and never crashes.

Oh, yes it does :(

As a recent convert from Mandriva, I was disappointed to find that it
crashed every Sunday morning; nothing in any log file.

Turns out to be bug #327355, unresolved for 2.5 years, in ide-tape, which
was being called from Amanda after doing the weekly backup. Moving to
ide-scsi (which is deprecated and not available in the stock kernel)
overcomes the problem. I've raised a new bug report (467291), but no
response yet.

Whilst I like Debian, I'm surprised that the maintainers can let this
situation prevail. But I guess it's a kernel bug, not specific to Debian.
-- 
Tony van der Hoff| mailto:[EMAIL PROTECTED]
Buckinghamshire, England


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



Re: [OT] ATX-PSU and amperage on connectors...

2008-03-03 Thread Tony van der Hoff
On 29 Feb at 1:21 Michelle Konzack <[EMAIL PROTECTED]> wrote in
message <[EMAIL PROTECTED]>

> Hello Douglas,
>
> Am 2008-02-27 20:52:19, schrieb Douglas A. Tutty:
> > Here are the wire sizes according to my copy of the 2002 Canadian
> > Electrical cord (still in force), table 12 "Allowable Ampacity of
> > Flexible Cord and Equipment Wire (Based on Ambient Temperature of 30C"
> > Note that cables of 4 or more wires (e.g. if you shrink-wrap 4 drive
> > wires together) would be 80%.
>> 
> > AWG Amp === 26  1 242 223 204 186 168 14
> > 17
>
> This AWG thing is nice, since I don not know I in Europe... I am counting
> in mm²

http://www.reuk.co.uk/AWG-to-Square-mm-Wire-Size-Converter.htm


-- 
Tony van der Hoff| mailto:[EMAIL PROTECTED]
Buckinghamshire, England



Re: [OT]: how to troubleshoot an optical drive in Linux

2008-03-06 Thread Tony van der Hoff
On 5 Mar at 22:48 "H.S." <[EMAIL PROTECTED]> wrote in message
<[EMAIL PROTECTED]>

>
> Hello,
>
> In a Dell laptop, Inspiron 5160, the optical drive appeared to have died a
> few days ago. The disk stopped spinning, Fn+Eject stopped working and the
> button on the drive also stopped working. Attempting to eject lights the
> LED on the drive, but the tray is never ejected. I had thought the drive
> was dead (maybe the motor had died).
>
> However, it started to work a few days ago out of the blue! Today though,
> it has again stopped working.
>
> I wonder what is going. It is dual boot laptop. It started to work when
> the user was fiddling with Nero in Windows (it had stopped working after
> the user first started using Nero).
>
> Are there any tools in Linux which I can use to see what is going on? The
> laptop is long out of warranty so calling Dell is not an option.

My Inspiron 5100 did just that. Turned out to be dirty contacts in the drive
connector. Try removing the drive, and re-installing it. ISTR Dell's web
site has instructions somewhere on how to do it.

-- 
Tony van der Hoff| mailto:[EMAIL PROTECTED]
Buckinghamshire, England


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



Re: aptitude update "BADSIG" Error (getting silly now)

2008-03-26 Thread Tony van der Hoff
On 26 Mar at 1:22 Nick Boyce <[EMAIL PROTECTED]> wrote in message
<[EMAIL PROTECTED]>

> Andrei Popescu wrote:
[snip]
>
> > P.S. Recently I ran apt-spy. It turned out ftp.at.debian.org is the best
> > mirror for me. ftp.ro.debian.org didn't even make the top 5.
>
> Good tip - I'll try that - our company's firewall is in Germany, but your
> experience shows I should check.  Thanks.
>
> Nick Boyce

Hmm, sounds like a good idea

[EMAIL PROTECTED]:~$ sudo apt-spy -d stable -a europe
Couldn't find country LU . Skipping.
Couldn't find country LV . Skipping.

SERVER: ftp.at.debian.org
Benchmarking FTP...
Downloaded 6125463 bytes in 8.20 seconds
Download speed: 729.45 kB/sec
Benchmarking HTTP...
Downloaded 6125463 bytes in 7.68 seconds
    Download speed: 779.34 kB/sec
Segmentation fault

Bummer!
-- 
Tony van der Hoff| mailto:[EMAIL PROTECTED]
Buckinghamshire, England


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



Re: prob hp colorado 5 GB on lenny - /dev/ht0 read only file system !!!

2008-04-03 Thread Tony van der Hoff
On 2 Apr at 23:05 Franck Dufau <[EMAIL PROTECTED]> wrote in message
<[EMAIL PROTECTED]>

> hye all
>
> i want instal hp colorado 5 Gb on  lenny he is located in HDD
>
> at startup kernel in grub hdd=ide-scsi ok modprobe ide-tape ok
>
> ht0 is create ln -s /dev/ht0 /dev/tape ok
>
> when i try to do backup
>
> dump -0 -f /dev/ht0 /home -> cannot open output /dev/ht0 read only file
> system
>
> i do : chmod ugo+rw /dev/ht0
>
> dump -0 -f /dev/ht0 /home -> cannot open output /dev/ht0 read only file
> system
>

Yes, firstly, ide-scsi is not compiled in to any production kernel (don't
know about lenny, I use etch; try modprobe ide-scsi to be certain), because
it has been deprecated (see bug #467291). Therefore hdd=ide-scsi has no
effect. The tape drive would appear as /dev/st0 with ide-scsi.

Secondly, ide-tape, which should replace ide-scsi, is broken. Apart from the
bug #327355, it doesn't return some flags correctly; in particular
GMT_ONLINE is always false. I guess this is causing your error.

The solution I adopted, while arguing with the kernel maintainers, is to
build a kernel without IDE-TAPE, and with IDE-SCSI (if you leave IDE-TAPE
in, you need the hdd=ide-scsi line in your startup parameters, otherwise
ide-tape gets preference).

It's a mess...

HTH
-- 
Tony van der Hoff| mailto:[EMAIL PROTECTED]
Buckinghamshire, England


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



switch between Gnome and KDE

2009-05-18 Thread Tony van der Hoff

Hi,

Running testing, I've just done an update via synaptic, the first time 
for several months. I now find my desktop manager has switched from KDE 
to Gnome, which starts up with various errors.


How can I switch back to KDE, please, and how do I disable Gnome 
permanently?


--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


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




Logrotate error in lenny

2009-05-29 Thread Tony van der Hoff

Hi,

Running Lenny, I'm getting an error in my daily cron log:

/etc/cron.daily/logrotate:
error: error running shared postrotate script for /var/log/mysql.log 
/var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log

run-parts: /etc/cron.daily/logrotate exited with return code 1

The failure appears to occur in /etc/logrotate.d/mysql-server:
...
# If this fails, check debian.conf!
MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
if [ -z "`$MYADMIN ping 2>/dev/null`" ]; then
  # Really no mysqld or rather a missing debian-sys-maint user?
  # If this occurs and is not a error please report a bug.
  if ps cax | grep -q mysqld; then
exit 1
  fi
...

The first test succeeds; the second fails.

Assuming the reference to check debian.conf is really to 
/etc/mysql/debian.cnf, I'm not sure what I'm supposed to check in it, 
but it's empty.


(a) What does this mean?

(b) how do I fix it / should follow the instruction to raise a bug?

Any pointers gratefully received.

--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


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




Re: Logrotate error in lenny

2009-05-29 Thread Tony van der Hoff

Tony van der Hoff wrote:

Hi,

Running Lenny, I'm getting an error in my daily cron log:

/etc/cron.daily/logrotate:
error: error running shared postrotate script for /var/log/mysql.log 
/var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log

run-parts: /etc/cron.daily/logrotate exited with return code 1

The failure appears to occur in /etc/logrotate.d/mysql-server:
...
# If this fails, check debian.conf!
MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
if [ -z "`$MYADMIN ping 2>/dev/null`" ]; then
  # Really no mysqld or rather a missing debian-sys-maint user?
  # If this occurs and is not a error please report a bug.
  if ps cax | grep -q mysqld; then
exit 1
  fi
...

The first test succeeds; the second fails.


Ah, bum. They both succeed...



Assuming the reference to check debian.conf is really to 
/etc/mysql/debian.cnf, I'm not sure what I'm supposed to check in it, 
but it's empty.


(a) What does this mean?

(b) how do I fix it / should follow the instruction to raise a bug?

Any pointers gratefully received.




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




Re: Where is Bash Prompt Set??

2010-02-11 Thread Tony van der Hoff

On 11/02/10 17:16, John wrote:

On 11/02/10, Jon Dowland (j...@debian.org) wrote:

| ...
| I've never met a bash that displays anything other than '#'
| for '\$' in PS1. Can you give an example of one that does?

 From .bashrc:

# root; red
#export PS1='\[\033[0;31...@\w# \]'


Very useful thread, thank you all.

So, I've set my PS1 in /root/.bashrc as suggested.
From my user shell, I do 'su', and the prompt, and everything following 
is in red - good!

CTRL-D returns me to my user shell, and everything is still red - bad!

So, I figured that export PS1='\[\033[0;31...@\w$\033[0;30m \]' would 
return it back to black after the prompt - which it does, and I can live 
with that, but ideally, I'd like to save away the present colour, and 
restore it.

Can anyone suggest how to do that?

PS - where are these escape sequences documented, please?


--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


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




Re: vmlinuz-2.6.32-trunk-686

2010-02-12 Thread Tony van der Hoff

On 12/02/10 12:41, Kumar Appaiah wrote:
> On Sat, Feb 13, 2010 at 01:01:57AM +1300, Chris Bannister wrote:
>> Ummm you seem to have missed:
>> PS: anyone responding, please copy me in as i am not subscribed 
to the list.

>> ccing Sam Varghese with this message.
>
> Apologies and thank you, Chris.

You're both very generous, but I wouldn't have thought an apology is 
necessary.


My understanding of the accepted protocol has always been: You ask on 
the list; you get a reply on the list. How much effort is it to 
subscribe, or to go to the archives?



--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


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




Re: Where is Bash Prompt Set??

2010-02-13 Thread Tony van der Hoff

On 12/02/10 04:20, Stan Hoeppner wrote:
> Tony van der Hoff put forth on 2/11/2010 11:53 AM:
>

Thanks for your help, everyone.

--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


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




Re: OT: Air compressors vs. canned air

2010-02-14 Thread Tony van der Hoff

On 14/02/10 10:53, Russell L. Harris wrote:

* Chris Jones  [100214 02:35]:

Has anyone with real world experience in the area of computer cleaning
tried such solutions as the MetroVac duster line and might be able to
comment on the respective merits of air compressors vs. air cans..?


The telephone company uses dry nitrogen to purge telephone cables
(sealed conduits which contain hundreds of twisted pairs).



In all the years (now in excess of 40!) I have worked with computers, 
and electronic equipment in general, I have never felt the need to blow 
away anything.


An annual gentle suck around the fans, and any area which has 
accumulated dust, using a domestic vacuum cleaner with a plastic nozzle 
has always been adequate, as well as cheap and safe.


--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


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

Archive: http://lists.debian.org/4b77e2f6.2020...@vanderhoff.org



Re: perl or bash question ["convert strings in a txt to html links"]

2010-02-27 Thread Tony van der Hoff

On 27/02/10 17:12, Vadkan Jozsef wrote:

How can I do that in bash or perl, that I have a txt file, e.g.:

$cat file.txt
Hi, this is the content of the txt file, that contains links like this:
http://www.somewhere.it/, and it could contain: http://somewhere.com,
etc..
This is the second line, that doesn't contains links..
..
This is the XYZ line, that contains a link: http://www.somewhere.net
$


...ok.. so how could I make a regexp for this?

Turning:

http://website.org
http://www.website.org

to this:

http://website.org>http://website.org
http://www.website.org>http://www.website.org

The solution would be:

sed 'SOMEMAGIC' file.txt>  file.html
or
perl 'SOMEBIGMAGIC' file.txt>  file.html



Hmm, hardly on-topic for this list, but doubtless someone will want to 
show off their regex skills.


Just to convince us that you're not asking us to do your homework for 
you, what have you tried so far, wit what results?


--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


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

Archive: http://lists.debian.org/4b895829.3070...@vanderhoff.org



Re: using wodim

2010-04-07 Thread Tony van der Hoff

On 07/04/10 20:21, Germana Oliveira wrote:

Hi!
Recently i start to use wodim by console to writte a CD-RW, my CD-ROM
(internal, writter) persented problems so im using an externar cd-writter
(hp cd.writer 2800 series), but still im having problemas.

i try this:

(root user) wodim -v -eject  -tao speed=0 dev=/dev/scd0 -data
/home/user/image.iso

and im getting this error

wodim: trying to use a high speed medium on low writter

¿? What can i do ¿?

THANKS


Oh, oh. Cue Schilling!

--
Tony van der Hoff  | mailto:t...@vanderhoff.org
Ariège, France |


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

Archive: http://lists.debian.org/4bbcdf07.9050...@vanderhoff.org



/var/archive

2008-01-23 Thread Tony van der Hoff
Hi,

I've just moved to Debian Etch from 10 years on Mandriva, so a bit of a
newbie here.

Can anyone tell me what significance /var/archives has? I have a 1.25 GB
/var partition, which always used to be plenty, but archives is now eating
up 1.05 GB, so I'll have to move (or preferably delete) it.

Any advice, please?

Cheers, Tony
-- 
Tony van der Hoff| mailto:[EMAIL PROTECTED]
Buckinghamshire, England 


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



Re: /var/archive

2008-01-23 Thread Tony van der Hoff
On 23 Jan at 18:15 Gerard Robin <[EMAIL PROTECTED]> wrote in message
<[EMAIL PROTECTED]>

[snip]
> /var/archives is strange that in my box I have: /var/cache/apt/archives To
> clean the archives after upgrade you have to do:
>
Yes, my mistake; it's where you say.

> sudo apt-get clean
>
Done that - works a treat!
What is the object of the archive, though?


Thanks very much to all who replied.

Cheers, Tony
-- 
Tony van der Hoff| mailto:[EMAIL PROTECTED]
Buckinghamshire, England 


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



Re: /var/archive

2008-01-23 Thread Tony van der Hoff
[snip]
>
> Of course it's also usefull if for reason or other you remove a package,
> then want to re-install it. You don't have to download it again, as it's
> already waiting in the archives.
>

Thanks everyone; you'e a really helpful bunch here, and I'm learning a lot.

I like this distro :)

Cheers, Tony.

-- 
Tony van der Hoff| mailto:[EMAIL PROTECTED]
Buckinghamshire, England 


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



Re: dropbox alternative

2013-10-16 Thread Tony van der Hoff
On 16/10/13 12:13, yudi v wrote:
> I am looking for an dropbox alternative, so far  found Unison and btsynch
> (not open sourced).
> Are there any other open sourced alternatives.
> 
> I am not interested in server/client designs like owncloud, pud.io, and
> various others.
> 
> It should be able to propagate latest changes to other nodes/clients, be
> secure, and should be available for different platforms.
> 

Huh? Unison is certainly open source (GPL), although it's not currently
beimg actively developed. There's even a Debian package for it.
http://www.cis.upenn.edu/~bcpierce/unison/index.html

-- 
Tony van der Hoff  | mailto:t...@vanderhoff.org
Ariège, France |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/525ebecc.1060...@vanderhoff.org



Re: Installing same packages in a Squeeze installation in a new Wheezy installation

2013-11-04 Thread Tony van der Hoff
On 04/11/13 14:50, Chris Bannister wrote:
> On Mon, Nov 04, 2013 at 07:56:27AM -0500, Jerry Stuckle wrote:
>> On 11/4/2013 7:19 AM, Chris Bannister wrote:
>>> On Sat, Nov 02, 2013 at 02:20:17PM -0400, Ken Heard wrote:
>>>> In a new box where the Wheezy OS will be freshly installed I want to
>>>> install all the packages which I presently have in a box with Squeeze.
>>>
>>> Why can't you just upgrade?
>>> IOW, unlikely that you'll get any help with your "jump through the
>>> hoops" method.
>>>
>>
>> Maybe because it's a new box so there's nothing to upgrade?
>>
>> I'm looking for the same information - for the same reason.
> 
> What information for what reason? If you mean to take a selection of
> installed packages from a Squeeze box (unfortunate name) and apply some
> sort of dpkg --get-selections/dpkg --set-selections onto a Wheezy box
> then I would advise against it. 
> 
> Who knows what gruels are waiting in the dark.
> 
> I may be wrong, and it is a supported method, but if it coughs at some
> point, I'd hate to be the one to (help) clean up the mess.
> 
> Instead it would make more sense to install a fresh Wheezy system and
> then install the top level packages you require.
> 
> Or install Squeeze on the new box do the dpkg --get-selections/dpkg
> --set-selections thing, THEN upgrade to Wheezy.
> 
> Anyone else have any better ideas?
> 

I asked the self-same question here back in july:
http://lists.debian.org/debian-user/2013/07/msg00138.html

I got some help/advice, but for various reasons, which I can't remember,
it was all broken, and didn't work...

I gave up; cleaning up the mess consisted of reformatting, and redoing
a netinstall.
I then installed/removed packages manually. TBH, it didn't take too much
effort, and certainly wasn't worth the effort trying to "JTTH" ;)

It would seem that this is raised often enough that it might be worth
developing a method to support this, but it would need a lot more than
my flimsy understanding of the debian packaging system to do this.

-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5277b7b3.4090...@vanderhoff.org



Re: Installing same packages in a Squeeze installation in a new Wheezy installation

2013-11-04 Thread Tony van der Hoff
On 04/11/13 18:05, Jerry Stuckle wrote:
> On 11/4/2013 10:05 AM, Tony van der Hoff wrote:
>> On 04/11/13 14:50, Chris Bannister wrote:
>>> On Mon, Nov 04, 2013 at 07:56:27AM -0500, Jerry Stuckle wrote:
>>>> On 11/4/2013 7:19 AM, Chris Bannister wrote:
>>>>> On Sat, Nov 02, 2013 at 02:20:17PM -0400, Ken Heard wrote:
>>>>>> In a new box where the Wheezy OS will be freshly installed I want to
>>>>>> install all the packages which I presently have in a box with
>>>>>> Squeeze.
>>>>>
>>>>> Why can't you just upgrade?
>>>>> IOW, unlikely that you'll get any help with your "jump through the
>>>>> hoops" method.
>>>>>
>>>>
>>>> Maybe because it's a new box so there's nothing to upgrade?
>>>>
>>>> I'm looking for the same information - for the same reason.
>>>
>>> What information for what reason? If you mean to take a selection of
>>> installed packages from a Squeeze box (unfortunate name) and apply some
>>> sort of dpkg --get-selections/dpkg --set-selections onto a Wheezy box
>>> then I would advise against it.
>>>
>>> Who knows what gruels are waiting in the dark.
>>>
>>> I may be wrong, and it is a supported method, but if it coughs at some
>>> point, I'd hate to be the one to (help) clean up the mess.
>>>
>>> Instead it would make more sense to install a fresh Wheezy system and
>>> then install the top level packages you require.
>>>
>>> Or install Squeeze on the new box do the dpkg --get-selections/dpkg
>>> --set-selections thing, THEN upgrade to Wheezy.
>>>
>>> Anyone else have any better ideas?
>>>
>>
>> I asked the self-same question here back in july:
>> http://lists.debian.org/debian-user/2013/07/msg00138.html
>>
>> I got some help/advice, but for various reasons, which I can't remember,
>> it was all broken, and didn't work...
>>
>> I gave up; cleaning up the mess consisted of reformatting, and redoing
>> a netinstall.
>> I then installed/removed packages manually. TBH, it didn't take too much
>> effort, and certainly wasn't worth the effort trying to "JTTH" ;)
>>
>> It would seem that this is raised often enough that it might be worth
>> developing a method to support this, but it would need a lot more than
>> my flimsy understanding of the debian packaging system to do this.
>>
> 
> Tony,
> 
> I'm glad it worked for you.  But what if you're not the only one who has
> worked on this system, and don't have a documented list of packages
> which have been installed?
> 
> Jerry
> 
> 
No, it didn't work for me. I would have much preferred to automate this.
However, AFAICT the tools aren't available, and the time comes where you
feel you're beating your head against a wall. That's when I gave up.

I'm not suggesting anyone should follow my path, it's dismal. I was
merely relating my experience. If someone would contribute a WIKI on
exactly how to do this, they'd win my eternal gratitude.


-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5277e551.9090...@vanderhoff.org



Re: free-software phone: neo900

2013-11-05 Thread Tony van der Hoff
On 05/11/13 10:53, ken wrote:
> On 11/04/2013 08:54 PM green wrote:
>> Something that might be of interest to Debian users: the neo900, at
>> <http://neo900.org>, is intended to be a successor of the Nokia N900,
>> with significantly improved specifications and features, as well as
>> full free software support (excluding PowerVR 3D acceleration).  It is
>> even (as of this writing) planned to have Debian GNU/Linux as the
>> bundled OS.
>>
>> Comments?
>>
> 
> I notice that, like the OpenMoko, there's no camera(s)... or did I miss
> mention of it?  

>From http://neo900.org/specs:
VGA front camera
5.0 MP camera, autofocus



-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5278d1ab.8030...@vanderhoff.org



Fwd: Cron [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetim

2013-11-06 Thread Tony van der Hoff
I recently did a dist-upgrede from squeezy to wheezy, and all went
-apparently- well.

I'm now getting the following message from cron at half-hourly
intervals. No big deal, but I'd rather not.

I think php5 has now abandoned suhosin in favour of its own
improvements, so how do I get rid of the message?


 Original Message 
Subject: Cron[ -x /usr/lib/php5/maxlifetime ] && [ -d
/var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1
-type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) !
-execdir fuser -s {} 2>/dev/null \; -delete
Date: Wed, 06 Nov 2013 13:39:01 +
From: root@tony-lx (Cron Daemon)
To: root@tony-lx

PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib/php5/20100525/suhosin.so' - /usr/lib/php5/20100525/suhosin.so:
cannot open shared object file: No such file or directory in Unknown on
line 0




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/527a5212.1020...@vanderhoff.org



Re: Fwd: Cron [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlif

2013-11-06 Thread Tony van der Hoff
On 06/11/13 14:39, Sven Hartge wrote:
> Tony van der Hoff  wrote:


> 
> I recommend to run "aptitude purge ~c" after a dist-upgrade to get rid
> of all removed but still un-purged packages.
> 
> ~c matches all removed, but still configured packages. Purging them
> removes the left-over cruft, such as config-files, cron-jobs,
> init-scripts, etc.


Excellent, thank you Sven. That fixed it.

Cheers,

-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/527a63dc.2090...@vanderhoff.org



Re: message formatting [was Wheezy/XFCE/VNC}

2013-11-18 Thread Tony van der Hoff
On 18/11/13 16:52, Ron Leach wrote:
> On 18/11/2013 16:33, Jonathan Dowland wrote:
>> Hi,
>>
>> I don't know what happened to quoting in your message but it was nigh-on
>> unreadable. It might be worth a look at your mailer settings.
>>
>>
> Jonathan, thank you for the note.  I've rechecked.
> 
> Looks OK in our mailer, looks fine from the copy from the list and,
> especially, looks ok on the list archive:
> 
> http://lists.debian.org/debian-user/2013/11/msg00965.html
> 
> Happy to check further, but not seeing any problem to aim at, at the
> moment.
> 
> regards, Ron
> 
This, and the previous, looks fine here; I suspect the problem might be
at Jonathan's end.



-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/528a4755.10...@vanderhoff.org



Re: Privacy Debian 7

2013-11-25 Thread Tony van der Hoff
On 25/11/13 16:35, David Guntner wrote:
> praetorien grabbed a keyboard and wrote:
>> Hello there,
>>
>> I'm a Windows user, but Microsoft may collect privacy information
>> about users witch is not good, so I wonder does Debian 7.2 collect
>> ANY information about Users or monitoring?
> 
> I could be wrong, but to the best of my knowledge, NO Linux distribution
> does.

Debian *optionally* collects data about packages you have installed, to
assess package popularity, but you need to enable it on installation.

See http://popcon.debian.org/

-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52937ecc.3060...@vanderhoff.org



Fwd: Re: cron in UTC?

2014-09-29 Thread Tony van der Hoff
Sorry, sent to steve instead of list by mistake


 Original Message 
Subject: Re: cron in UTC?
Date: Mon, 29 Sep 2014 16:18:35 +0100
From: Tony van der Hoff 
To: Steve Litt 

> On Wed, 24 Sep 2014 11:54:57 +0100
> Tony van der Hoff  wrote:
> 
>> Greetings,
>>
>> I carry my wheezy laptop over various timezones, and my VPS with which
>> it communicates is on the Europe/London zone, which uses DST.
>>
>> The result of this is that cron tasks, which are triggered by
>> localtime become unsynchronised, and only by arranging the task times
>> very carefully can I ensure that they're run in the right order
>> across hosts. This is not very satisfactory.
>>
>> It occurs to me that Cron should have a config option to select the
>> timezone in which it operates, regardless of the the localtime
>> setting. Searching around, this doesn't seem to exist.
>>
>> An alternative, found by googling, appears to be to wrap cron in a
>> script, satting TZ=UTC. I guess this would not be update-proof.
>>
>> Has anyone here found any other solutions, or have any suggestions,
>> please?
> 

Thanks to both correspondents who replied. Sorry for my tardy response,
but I was called away for a few days.

On 24/09/14 16:01, Don Armstrong wrote:

> My #1 suggestion is to have system time be GMT, and every shell/user set
> TZ appropriately. That's basically the only sane setting, as many time
> zones do DST (and change the rules for it from time to time).
>
well, it's my understanding that the system (hardware)  time is always
UTC, but there is no way to set localtime to GMT (or UTC). Perhaps I'm
misunderstanding you.

My problem is that cron works to localtime. I want my cron tasks to be
triggered at the same time (UTC) each day, regardless of the current
localtime, wherever I may be.

> Otherwise, you'll have to provide TZ to cron, presumably in
> /etc/default/cron or similar...

That would be nice, but there does not appear to be any way to do that.

On 24/09/14 17:44, Steve Litt wrote:

> LOL, I don't recommend this. I *really* don't recommend this. But you
> *could* hack my homegrown cron to measure the difference between local
> time and UTC and do whatever you want done.
> 
LOL? OK, a laughing matter, perhaps. What's funny about it, and Why
don't you recommend this?
> 
> HTH, sure it doesn't :-)
Not much, THANKS.

> 
> SteveT
> 
> Steve Litt*  http://www.troubleshooters.com/
> Troubleshooting Training  *  Human Performance
> 
> 


-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |



-- 
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/5429825b.6060...@vanderhoff.org



Re: Fwd: Re: cron in UTC?

2014-09-29 Thread Tony van der Hoff
On 29/09/14 17:13, Lisi Reisz wrote:
> On Monday 29 September 2014 17:01:31 Tony van der Hoff wrote:
>> well, it's my understanding that the system (hardware)  time is always
>> UTC, but there is no way to set localtime to GMT (or UTC). Perhaps I'm
>> misunderstanding you.
> 
> Erm  What do you think we who live near Greenwich do???
> 
Is Buckingham (1°W; see .sig) close enough, Lisi?

I think you do dpkg-reconfigure tzdata, and select Europe/London. There
is no option for GMT, specifically. Thus you get the twice-yearly hassle
of DST.  I believe you can define your own timezone, based on UTC+0, and
fix localtime to this.

But that's not really the point. I'm quite happy with localtime being
GMT/BST; I just want cron to trigger tasks at a fixed time each day,
regardless of localtime.

Surely, someone else must have encountered, and solved, this dilemma?

-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
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/54298df3.5060...@vanderhoff.org



Re: Fwd: Re: cron in UTC?

2014-09-29 Thread Tony van der Hoff
On 29/09/14 17:48, John Hasler wrote:
> Tony van der Hoff writes:
>> My problem is that cron works to localtime. I want my cron tasks to be
>> triggered at the same time (UTC) each day, regardless of the current
>> localtime, wherever I may be.
> 
> man 5 crontab
> 
Believe me; I've beaten that man to death, but not found the answer.
Perhaps you'd like to give a more detailed pointer into that manual?


-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
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/54299014.7020...@vanderhoff.org



Re: Fwd: Re: cron in UTC?

2014-09-29 Thread Tony van der Hoff
On 29/09/14 17:30, Don Armstrong wrote:
> On Mon, 29 Sep 2014, Tony van der Hoff wrote:
>>> On Wed, 24 Sep 2014 11:54:57 +0100
>> On 24/09/14 16:01, Don Armstrong wrote:
>>> My #1 suggestion is to have system time be GMT, and every shell/user set
>>> TZ appropriately. That's basically the only sane setting, as many time
>>> zones do DST (and change the rules for it from time to time).
>>
>> well, it's my understanding that the system (hardware) time is always
>> UTC, but there is no way to set localtime to GMT (or UTC). Perhaps I'm
>> misunderstanding you.
> 
> There are two different clocks here; there's the system clock which is
> kept by the kernel, which can be in any timezone, and the hardware clock
> which is kept by the motherboard, which is typically in UTC on unix
> machines.
>
OK. Understood.

> To switch the system time, just run
> 
> dpkg-reconfigure tzdata; # as root
> 
> and then select None, then UTC. Voila, your system time is now in UTC.
> 
Thank you; I hadn't spotted that 'None' entry.

>> That would be nice, but there does not appear to be any way to do
>> that.
> 
> There actually is; you edit /etc/pam.d/cron and add a line like
> 
> session   required   pam_env.so envfile=/etc/default/cron_locale
> 
> and add a /etc/default/cron/locale with TZ="UTC".
> 
> But that's complicated.
> 
OK, I'll investigate that; thanks for the info.

-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
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/54299417.40...@vanderhoff.org



Re: Fwd: Re: cron in UTC?

2014-09-29 Thread Tony van der Hoff
On 29/09/14 17:29, John Hasler wrote:
> Tony van der Hoff writes:
>> Believe me; I've beaten that man to death, but not found the answer.
>> Perhaps you'd like to give a more detailed pointer into that manual?
> 
> See the part about setting environment variables.  You should be able to
> set TZ=UTC .
> 
No, that sets the timezone passed to the task invoked bt cron; not the
timezone cron uses to schedule tasks.

>From man crontab:

LIMITATIONS:
The  cron  daemon runs with a defined timezone. It currently does not
support per-user timezones. All the tasks: system's and user's will be
run based on the configured timezone. Even if a user specifies the TZ
environment variable in his crontab this will affect only the commands
executed in the crontab, not the execution of the crontab tasks themselves.

Thanks, anyway, for the suggestion.

-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
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/54299acb.9000...@vanderhoff.org



Re: Fwd: Re: cron in UTC?

2014-09-30 Thread Tony van der Hoff
On 30/09/14 11:57, Henrique de Moraes Holschuh wrote:
> On Mon, 29 Sep 2014, Don Armstrong wrote:
>> On Mon, 29 Sep 2014, John Hasler wrote:
>>> Tony van der Hoff writes:
>>>> Believe me; I've beaten that man to death, but not found the answer.
>>>> Perhaps you'd like to give a more detailed pointer into that manual?
>>>
>>> See the part about setting environment variables.  You should be able to
>>> set TZ=UTC .
>>
>> This sets the environmental variable for the shell forked by cron, but
>> doesn't change the environmental variable for evaluating the crontab
>> time specifications. [It's probably past time for cron to be replaced
>> with fcron or similar, but cron+anacrontab seems to work well enough for
>> most people that it hasn't happened. fcron used to be in Debian, but got
>> removed because it was unmaintained in Debian (and upstream at the
>> time).]
> 
> I used to maintain fcron in Debian, however SELinux support was not upstream
> yet, broke, and I had no time to fix it.  Russell Coker tried to help giving
> me an account on a SELinux box, but the real problem was that more human
> power was needed, and the RFH bug received no response.
> 
> So I ended up agreeing that it should be removed, because the package was
> bitrotting fast.
> 
> Reintroducing fcron in Debian will require some work to be done properly,
> and past history tells me to not do it at all unless we have at least
> *three* people willing to enter team maintainership commited to the effort.
> 
> upstream is friendly, but fcron is in maintenance mode.  If you want
> anything done, you will have to write the code and submit upstream.
> 

I've just cloned the repository from upstream; it looks sensible, so if
you're willing to coordinate it, I'm willing to devote some time to help
maintain the Debian effort.



-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
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/542a9ac7.1020...@vanderhoff.org



mirror does not support the specified release (jessie)

2014-10-01 Thread Tony van der Hoff
I've set up a KVM client on my wheezy box in which I'm trying to install
jessie from the netinst iso.

I've got as far as "Configure the package manager", but it seems that
whatever mirror I choose, I get the subject error.

I've tried
ftp.uk.debian.org
http.debian.net
mirror.ox.ac.uk
debian.man.ac.uk
http.debian.net

Does anyone have any suggestions as to how to overcome this?


-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
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/542c0ce7.8060...@vanderhoff.org



[SOLVED] Re: mirror does not support the specified release (jessie)

2014-10-01 Thread Tony van der Hoff
On 01/10/14 15:17, Tony van der Hoff wrote:
> I've set up a KVM client on my wheezy box in which I'm trying to install
> jessie from the netinst iso.
> 
> I've got as far as "Configure the package manager", but it seems that
> whatever mirror I choose, I get the subject error.
> 
> I've tried
> ftp.uk.debian.org
> http.debian.net
> mirror.ox.ac.uk
> debian.man.ac.uk
> http.debian.net
> 
> Does anyone have any suggestions as to how to overcome this?
> 
> 
OK, it was a networking issue; the name server was unavailable.
Shame about the unhelpful error message :(


-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
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/542c191d.2080...@vanderhoff.org



Re: Debian nolonger claims to be the "Universal Operating System"

2014-10-04 Thread Tony van der Hoff
On 04/10/14 12:14, Lisi Reisz wrote:
> On Saturday 04 October 2014 11:44:43 Tom Collins wrote:
>> Worthless trash. They need to be stopped, deposed.
> 
> This sort of thing makes me so angry.  Is "Tom Collins" "Gregory Smith" by 
> another name?
> 
> Please, ban anyone whose "discussion" descends to this low level.

It's probably best to just ignore/killfile these trolls, Lisi. They
revelin the attention they get.

-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
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/542fda9f.4020...@vanderhoff.org



Re: Debian nolonger claims to be the "Universal Operating System"

2014-10-04 Thread Tony van der Hoff
On 04/10/14 17:07, Steve Litt wrote:
> On Sat, 04 Oct 2014 12:31:43 +0100
> Tony van der Hoff  wrote:
> 
>> On 04/10/14 12:14, Lisi Reisz wrote:
>>> On Saturday 04 October 2014 11:44:43 Tom Collins wrote:
>>>> Worthless trash. They need to be stopped, deposed.
>>>
>>> This sort of thing makes me so angry.  Is "Tom Collins" "Gregory
>>> Smith" by another name?
>>>
>>> Please, ban anyone whose "discussion" descends to this low level.
>>
>> It's probably best to just ignore/killfile these trolls, Lisi. They
>> revelin the attention they get.
> 
> You know, Tony's right (in every respect except characterizing
> anti-systemd people as trolls). If you really can't stand their
> messages, why in the WORLD would you subject yourself to their posts?
> Why you don't redirect my email to /dev/null is a mystery to me.
> 
> ###
> :0:
> * ^From:.*sl...@troubleshooters.com
> * ^List-Id.*\debian-user.lists.debian.org
> /dev/null
> ###
> 
> I think we can all admit it, Debian-User is a rather mean, rude list.
> Within one or two replies, the discussion is on the poster's
> personality, not on what he/she is saying. The first thing I did when I
> got here was redirect about ten people to /dev/null. That was the only
> way I could have stayed here.
> 
> If your true desire were to hear nothing more about systemd, you could
> simply killfile me, both Joels, Jerry, lee, Reco, Gregory, and maybe 10
> more people, and your hearing about systemd would decrease by a factor
> of four. Additionally, your continuing protestations couldn't be used as
> a recruiting tool for the anti-systemd folks.
> 
> But nooo!
> 
> What am I missing?

What you are missing is that it's not the anti-systemd sentiment that we
object to, but the way it's put across.

You are perfectly entitled to your opinion, but to repeat it ad nauseam
in the hope that you will eventually convince the doubters is not only
counterproductive, it reeks of proselytizing.

Further, the use of language that's not acceptable in a mixed society,
or outbursts of hatred is further reason to object.

These people, not the anti-systemd advocates, ARE trolls, and are best
ignored.

You yourself have in the past fallen prey to repetition, which you have
mostly given up.

Personally, I'm quite interested to learn about systemd, but from a
rational, technical, discussion, not a rant. Unfortunately, the
rationality seems to be sadly lacking from the antis, giving the
impression that they have nothing sensible to say. The (very few)
pro-systemd posts have only been sensible. Their rarity suggests that
the proponents have better things to do with their time.


-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
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/543023b3.8090...@vanderhoff.org



Re: piece of mind (Re: Moderated posts?)

2014-10-14 Thread Tony van der Hoff
On 14/10/14 16:06, Steve Litt wrote:
> 
> 1) Boycott (and be vocal about it) Gnome
> 
> 2) Pressure all other upstreams into a "no systemd dependencies"
>pledge, and to the best of our abilities, boycott (and be vocal about
>it) those who don't comply.
> 

Well, you should have no problem with the "vocal" bit :|


-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
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/543d4175.3040...@vanderhoff.org



Re: Does Debian still have a systemd-must-die metapackage?

2014-10-22 Thread Tony van der Hoff
On 22/10/14 09:13, Andrei POPESCU wrote:
> On Ma, 21 oct 14, 18:41:53, Steve Litt wrote:
>> Does Debian still have a systemd-must-die metapackage, and does it
>> still work in Jessie?
>  
> Steve,
> 
> I would have expected that of all people you, as a documentation writer, 
> would start by reading the fine manuals instead of asking basic 
> questions already answered in the manuals.
>
Come on, Andrei, you know Steve well enough by now; this was just an
opportunity to open another thread about systemd, so that he can have a
good whinge about the horrible conspiracy against Debian!

-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
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/54478d3d.7050...@vanderhoff.org



Re: exim4 panic log issue

2014-11-10 Thread Tony van der Hoff
On 10/11/14 15:42, John Foster wrote:
> exim paniclog /var/log/exim4/paniclog on mail.myserver.net has non-zero
> size, mail system might be broken.
> 
> the error above is popping up. I did the removal of the log file as
> suggested in several solutions that I found. However I see that they are
> all related to an issue with the kernel and IPV6 handling. What is the
> proper way to solve this permanrently whilst leaving IPV6 functional.
> Thanks!
> 

sudo dpkg-reconfigure exim4-config

At the question "IP-addresses to listen on for incoming SMTP
connections" remove the entry ::1.


-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
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/5460e00e.30...@vanderhoff.org



emdebian.org off-line?

2014-11-11 Thread Tony van der Hoff
Can anyone confirm that http://www.emdebian.org/ is currently not
responding?

-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
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/54623f49.4060...@vanderhoff.org



Re: emdebian.org off-line?

2014-11-11 Thread Tony van der Hoff
On 11/11/14 16:58, Brad Rogers wrote:
> On Tue, 11 Nov 2014 16:54:33 +
> Tony van der Hoff  wrote:
> 
> Hello Tony,
> 
>> Can anyone confirm that http://www.emdebian.org/ is currently not
>> responding?
> 
> At times like this, I use http://www.isup.me to see if it's "just me" or
> there's a bigger problem.  The site confirms (I couldn't get to it,
> either) that the site is currently unavailable.
> 

Thanks, Brad; I'll bookmark that!
-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
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/546241df.7050...@vanderhoff.org



Re: emdebian.org off-line?

2014-11-11 Thread Tony van der Hoff
On 11/11/14 17:04, Frank wrote:
> 
> On 11/11/2014 11:54 AM, Tony van der Hoff wrote:
>> Can anyone confirm that http://www.emdebian.org/ is currently not
>> responding?
>>
> 
>   Yes it's apparently down. Accessing a cached copy of the site reveals
> the whole project was winding down as of July.
> 
> 
Oh, bummer; I'll have to look elsewhere for my cross toolchains.
Thanks!

-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
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/546244d3.10...@vanderhoff.org



Re: cross toolchains

2014-11-11 Thread Tony van der Hoff
On 11/11/14 19:12, Sven Joachim wrote:
> On 2014-11-11 18:18 +0100, Tony van der Hoff wrote:
> 
>> On 11/11/14 17:04, Frank wrote:
>>>
>>> On 11/11/2014 11:54 AM, Tony van der Hoff wrote:
>>>> Can anyone confirm that http://www.emdebian.org/ is currently not
>>>> responding?
>>>>
>>>
>>>   Yes it's apparently down. Accessing a cached copy of the site reveals
>>> the whole project was winding down as of July.
>>>
>>>
>> Oh, bummer; I'll have to look elsewhere for my cross toolchains.
> 
> Wookey is maintaining a repository for jessie/sid, see the Wiki[1] for
> instructions.  Works great for me. :-)
> 

Splendid, Thank you, Sven


-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
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/546269c6.4070...@vanderhoff.org



Re: HowTo Fork Debian? At first, just for fun... Plus a new home for kFreeBSD!

2014-11-12 Thread Tony van der Hoff
On 12/11/14 16:11, Martinx - ジェームズ wrote:
> Guys,
> 
> I think that is time to start working on a `Debian Fork`.
> 


> I have free hosting facilities and lots of servers to make this a reality.

Good! Now you can set up your own mailing list, and stop bothering
debian-user. And all your pals, of like mind, can also decamp!

Bye!

-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
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/54638a7e.7070...@vanderhoff.org



Re: HowTo Fork Debian? At first, just for fun... Plus a new home for kFreeBSD!

2014-11-12 Thread Tony van der Hoff
On 12/11/14 16:46, Martinx - ジェームズ wrote:
> On 12 November 2014 14:27, Tony van der Hoff  wrote:
>> On 12/11/14 16:11, Martinx - ジェームズ wrote:
>>> Guys,
>>>
>>> I think that is time to start working on a `Debian Fork`.
>>>
>> 
>>
>>> I have free hosting facilities and lots of servers to make this a reality.
>>
>> Good! Now you can set up your own mailing list, and stop bothering
>> debian-user. And all your pals, of like mind, can also decamp!
>>
>> Bye!
>>
>> --
>> Tony van der Hoff| mailto:t...@vanderhoff.org
>> Buckinghamshire, England |
> 
> I don't understand Tony, a Debian fork _is_ about Debian. Since it is
> still the `upstream` provider, for its forks. It is all about Debian.
> 
> I'm sorry but, I can not stop talking about Debian on Debian lists.
> 
You cannot stop talking. It's boring to those of us who have no problem
with the way Debian is developing.

> This (Debian stability and future) matters too much for me, and right
> now, the only thing that I can do, is `talk`. So, please, stop trying
> to take even this away from me (us).
> 
Talk, as much as you like on your own list. That's what you want, isn't it?


-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
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/54639029.2050...@vanderhoff.org



Installing Chrome

2014-11-13 Thread Tony van der Hoff
I want to try Chrome, in order to view mpeg-dash streams without Flash.

I don't think there's a Debian package for it, given its origin ;)
So, I've downloaded the amd64 .deb from the Google site, but can't find
any instructions there on what to do next. My familiarity with the
Debian package managers is sadly lacking,

Could someone kindly either give me the incantation to install this
.deb, or point me at a concise resource containing the basic package
management information.

tia, Tony
-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
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/5464a120.5030...@vanderhoff.org



Re: Installing Chrome

2014-11-13 Thread Tony van der Hoff
On 13/11/14 12:33, Renaud (Ron) OLGIATI wrote:
> On Thu, 13 Nov 2014 12:16:32 +
> Tony van der Hoff  wrote:
> 
>> I want to try Chrome, in order to view mpeg-dash streams without Flash.
>>
>> I don't think there's a Debian package for it, given its origin ;)
>> So, I've downloaded the amd64 .deb from the Google site, but can't find
>> any instructions there on what to do next. My familiarity with the
>> Debian package managers is sadly lacking,
>>
>> Could someone kindly either give me the incantation to install this
>> .deb, or point me at a concise resource containing the basic package
>> management information.
> 
> dpkg -i (cromium-amd64).deb
> 
> should do it.
> 
> Followed, if it complains of un-met dependencies, with:
> 
> apt-get -f install
>  
>
Thanks, Ron (and Michael, whose solution I didn't use), that was a great
help.
I had to change the file name:
dpkg -i google-chrome-stable_current_amd64.deb

Cheers, Tony
-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
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/5464abbe.3020...@vanderhoff.org



Re: Why focus on systemd?

2014-12-02 Thread Tony van der Hoff
On 02/12/14 00:52, lee wrote:



> Whatever ...  You should have snipped your own posts to begin with.
> 
> Anyway, you didn't contribute anthing to what the OP said, and I don't
> find this part of the discussion worthwhile at all.
> 
Then why are you persisting with it?


-- 
Tony van der Hoff  | mailto:t...@vanderhoff.org
Ariège, France |


-- 
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/547dac72.7080...@vanderhoff.org



Re: Debian fork: 'Devuan', Debian without Systemd

2014-12-05 Thread Tony van der Hoff
On 05/12/14 18:19, Lisi Reisz wrote:
> On Friday 05 December 2014 16:19:08 Martinx - ジェームズ wrote:
>> On 5 December 2014 at 11:45, Steve McIntyre  wrote:
>>> [ Apologies to others for maybe prolonging this, but I can't let this
>>>   go uncorrected... ]
>>
>> Me too...
>>
>>> Spout crap if you like (but please do it elsewhere), but don't put
>>> words into Joey's mouth. As he later clarified in
>>> http://joeyh.name/blog/entry/on_leaving/ :
>>>
>>>  "I left Debian. I don't really have a lot to say about why, but I do
>>>   want to clear one thing up right away. It's not about systemd."
>>
>> I'm not. I'm just trying to interpret what he said in the middle of
>> this context / mess.
> 
> I.e put words into his mouth and completely alter what he said.
> 
> If you are not happy with Debian, then please stop using it.  If you are 
> happy, use it.  Don't misquote "the great and the good" to pretend they 
> support you.

++

What he said didn't require interpreting. Just take it at face value,
rather than build a conspiracy out of it. There is no mess.


-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
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/5481ee91.9070...@vanderhoff.org



Failed to install VLC from wheezy backports

2014-12-08 Thread Tony van der Hoff
Hi,

I'm trying to install a recent VLC on my wheezy box, but:

root@tony-fr:~# apt-get -t wheezy-backports install vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 vlc : Depends: vlc-nox (= 2.1.5-1~bpo70+1) but 2.0.3-5+deb7u1 is to be
installed
   Depends: libvlccore7 (>= 2.1.0) but it is not going to be installed
   Recommends: vlc-plugin-notify (= 2.1.5-1~bpo70+1) but
2.0.3-5+deb7u1 is to be installed
   Recommends: vlc-plugin-pulse (= 2.1.5-1~bpo70+1) but
2.0.3-5+deb7u1 is to be installed
E: Unable to correct problems, you have held broken packages.

my sources.list contains:

# deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 NETINST
Binary-1 20130615-23:04]/ wheezy main

deb http://ftp.uk.debian.org/debian/ wheezy main non-free contrib
deb-src http://ftp.uk.debian.org/debian/ wheezy main non-free contrib

deb http://security.debian.org/ wheezy/updates main non-free contrib
deb-src http://security.debian.org/ wheezy/updates main non-free contrib

# wheezy-updates, previously known as 'volatile'
deb http://ftp.uk.debian.org/debian/ wheezy-updates main non-free contrib
deb-src http://ftp.uk.debian.org/debian/ wheezy-updates main non-free
contrib

deb http://ftp.uk.debian.org/debian/ wheezy-backports main


Anyone know how to fix this?

-- 
Tony van der Hoff  | mailto:t...@vanderhoff.org
Ariège, France |


-- 
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/5485d234.9030...@vanderhoff.org



Fwd: Re: Failed to install VLC from wheezy backports

2014-12-09 Thread Tony van der Hoff
Apologies to Andrei -- inadvertently sent by mail:


 Original Message 
Subject: Re: Failed to install VLC from wheezy backports
Date: Tue, 09 Dec 2014 10:16:47 +0100
From: Tony van der Hoff 
To: Andrei POPESCU 

On 09/12/14 00:04, Andrei POPESCU wrote:
> On Lu, 08 dec 14, 17:30:44, Tony van der Hoff wrote:
>>
>> root@tony-fr:~# apt-get -t wheezy-backports install vlc
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> Some packages could not be installed. This may mean that you have
>> requested an impossible situation or if you are using the unstable
>> distribution that some required packages have not yet been created
>> or been moved out of Incoming.
>> The following information may help to resolve the situation:
>>
>> The following packages have unmet dependencies:
>>  vlc : Depends: vlc-nox (= 2.1.5-1~bpo70+1) but 2.0.3-5+deb7u1 is to be
>> installed
>>Depends: libvlccore7 (>= 2.1.0) but it is not going to be installed
>>Recommends: vlc-plugin-notify (= 2.1.5-1~bpo70+1) but
>> 2.0.3-5+deb7u1 is to be installed
>>Recommends: vlc-plugin-pulse (= 2.1.5-1~bpo70+1) but
>> 2.0.3-5+deb7u1 is to be installed
>> E: Unable to correct problems, you have held broken packages.
> 
> Please show the outputs of
> 
> apt-cache policy
> apt-cache policy vlc
> apt-cache policy vlc-nox
> apt-cache policy libvlccore7
> 

Thanks for taking an interest, Andrei
here goes:

tony@tony-fr:~$ sudo apt-cache policy
[sudo] password for tony:
Package files:
 100 /var/lib/dpkg/status
 release a=now
 500 http://ftp.uk.debian.org/debian/ wheezy-backports/main Translation-en
 100 http://ftp.uk.debian.org/debian/ wheezy-backports/main amd64 Packages
 release v=,o=Debian
Backports,a=wheezy-backports,n=wheezy-backports,l=Debian Backports,c=main
 origin ftp.uk.debian.org
 500 http://ftp.uk.debian.org/debian/ wheezy-updates/non-free Translation-en
 500 http://ftp.uk.debian.org/debian/ wheezy-updates/main Translation-en
 500 http://ftp.uk.debian.org/debian/ wheezy-updates/contrib Translation-en
 500 http://ftp.uk.debian.org/debian/ wheezy-updates/contrib amd64 Packages
 release o=Debian,a=stable-updates,n=wheezy-updates,l=Debian,c=contrib
 origin ftp.uk.debian.org
 500 http://ftp.uk.debian.org/debian/ wheezy-updates/non-free amd64 Packages
 release o=Debian,a=stable-updates,n=wheezy-updates,l=Debian,c=non-free
 origin ftp.uk.debian.org
 500 http://ftp.uk.debian.org/debian/ wheezy-updates/main amd64 Packages
 release o=Debian,a=stable-updates,n=wheezy-updates,l=Debian,c=main
 origin ftp.uk.debian.org
 500 http://security.debian.org/ wheezy/updates/non-free Translation-en
 500 http://security.debian.org/ wheezy/updates/main Translation-en
 500 http://security.debian.org/ wheezy/updates/contrib Translation-en
 500 http://security.debian.org/ wheezy/updates/contrib amd64 Packages
 release v=7.0,o=Debian,a=stable,n=wheezy,l=Debian-Security,c=contrib
 origin security.debian.org
 500 http://security.debian.org/ wheezy/updates/non-free amd64 Packages
 release v=7.0,o=Debian,a=stable,n=wheezy,l=Debian-Security,c=non-free
 origin security.debian.org
 500 http://security.debian.org/ wheezy/updates/main amd64 Packages
 release v=7.0,o=Debian,a=stable,n=wheezy,l=Debian-Security,c=main
 origin security.debian.org
 500 http://ftp.uk.debian.org/debian/ wheezy/non-free Translation-en
 500 http://ftp.uk.debian.org/debian/ wheezy/main Translation-en
 500 http://ftp.uk.debian.org/debian/ wheezy/contrib Translation-en
 500 http://ftp.uk.debian.org/debian/ wheezy/contrib amd64 Packages
 release v=7.7,o=Debian,a=stable,n=wheezy,l=Debian,c=contrib
 origin ftp.uk.debian.org
 500 http://ftp.uk.debian.org/debian/ wheezy/non-free amd64 Packages
 release v=7.7,o=Debian,a=stable,n=wheezy,l=Debian,c=non-free
 origin ftp.uk.debian.org
 500 http://ftp.uk.debian.org/debian/ wheezy/main amd64 Packages
 release v=7.7,o=Debian,a=stable,n=wheezy,l=Debian,c=main
 origin ftp.uk.debian.org
Pinned packages:


tony@tony-fr:~$ sudo apt-cache policy vlc
vlc:
  Installed: 2.0.3-5+deb7u1
  Candidate: 2.0.3-5+deb7u1
  Version table:
 2.1.5-1~bpo70+1 0
100 http://ftp.uk.debian.org/debian/ wheezy-backports/main amd64
Packages
 *** 2.0.3-5+deb7u1 0
500 http://ftp.uk.debian.org/debian/ wheezy/main amd64 Packages
500 http://security.debian.org/ wheezy/updates/main amd64 Packages
100 /var/lib/dpkg/status


tony@tony-fr:~$ sudo apt-cache policy vlc-nox
vlc-nox:
  Installed: 2.0.3-5+deb7u1
  Candidate: 2.0.3-5+deb7u1
  Version table:
 2.1.5-1~bpo70+1 0
100 http://ftp.uk.debian.org/debian/ wheezy-backports/main amd64
Packages
 *** 2.0.3-5+deb7u1 0
500 http://ftp.uk.debian.org/debian/ wheezy/main amd64 Packag

Re: Fwd: Re: Failed to install VLC from wheezy backports

2014-12-09 Thread Tony van der Hoff
Thanks very much for the explanation, Anderei,

On 09/12/14 10:42, Andrei POPESCU wrote:
> 
> I can't spot anything wrong in here. A "bigger hammer" approach would be 
> to do this
> 
> apt-get install -t wheezy-backports vlc vlc-nox libvlccore7
> 
> If this works it might be worth reporting it to the debian-backports 
> mailinglist, CC the maintainer of the backport.
> 

And if it doesn't?

root@tony-fr:~# apt-get install -t wheezy-backports vlc vlc-nox
libvlccore7
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libvlccore7 : Depends: vlc-data (= 2.1.5-1~bpo70+1) but 2.0.3-5+deb7u1
is to be installed
 plasma-scriptengines : Depends: plasma-scriptengine-python (>=
4:4.8.4-6) but it is not going to be installed
 vlc-nox : Depends: libchromaprint0 (>= 0.2) but it is not going to be
installed
   Recommends: libdvdcss2 but it is not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be
caused by held packages.

I've tried adding those further depends onto the apt-get line, but it
simply fails on further dependencies, eventually failing on

Package libavcodec-extra-54 is not available, but is referred to by
another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libavutil52 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libavutil52' has no installation candidate
E: Package 'libavcodec-extra-54' has no installation candidate

I think something must be seriously broken ...

Cheers, Tony

-- 
Tony van der Hoff  | mailto:t...@vanderhoff.org
Ariège, France |


-- 
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/5486c9ab.5000...@vanderhoff.org



Re: need kernel update for lenny ..

2012-08-29 Thread Tony van der Hoff
On 29/08/12 17:28, Camaleón wrote:
> It does not matter that Lenny is out of support (formerly codenamed 
> "oldstable") because even the current stable release (Squeeze) neither 
> get kernel upgrades (for kernel upgrades I mean going from 2.6.26 to 
> 2.6.32 or 3.x branch, for instance). Kernel upgrades in Debian only 
> happen in testing (until becomes frozen) and sid.
> 
Unless there's an upgrade to fix a security issue, I believe?

2012-05-10 08:01:57,434 INFO Starting unattended upgrades script
2012-05-10 08:01:57,434 INFO Allowed origins are: ["('Debian',
'stable')", "('Debian', 'squeeze-security')"]
2012-05-10 08:05:42,539 INFO Packages that are upgraded: linux-base
linux-image-2.6.32-5-amd64




-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/503e4caa.5070...@vanderhoff.org



Re: Install Debian on a UEFI-motherboard ?

2012-09-12 Thread Tony van der Hoff
On 12/09/12 02:01, lee wrote:
> Tom Rausner  writes:
> 
>> Generally I would agree and I was looking at MSI and ASUS to start with.
>> I just happened to clap my eyes on this one "by accident" -and liked it.
> 
> Get an MSI board if you can. Asus sucks and Gigabyte is the worst crap
> you can get. I don't have any experience with Asrock, though.
> 
> 
I read your 'installation' post, and thought "this guy talks sense", so
this comes as a severe let-down.

I've never had a problem with ASUS boards. YMMV, but let's see some
justification for your rubbishing ASUS and Gigabyte.

-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5050c3d0.3070...@vanderhoff.org



Re: Install Debian on a UEFI-motherboard ?

2012-09-12 Thread Tony van der Hoff
On 12/09/12 18:34, Tom Rausner wrote:
> Hey Tony...
> 
> ons, 12 09 2012 kl. 18:18 +0100, skrev Tony van der Hoff:
> 
>>> Get an MSI board if you can. Asus sucks and Gigabyte is the worst crap
>>> you can get. I don't have any experience with Asrock, though.
> 
> I didn't write this (just for your information) 
>

No, you didn't; neither did I, it was "Lee".

But you have just snipped all the attributions...
-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5050c909.50...@vanderhoff.org



Re: Storage server

2012-09-13 Thread Tony van der Hoff
On 13/09/12 11:21, Veljko wrote:
> On Wed, Sep 12, 2012 at 06:49:22PM +0200, lee wrote:
>> Denis Witt  writes:
>>
>>> Anyway, I have some comparison data. I have a backup server that saves
>>> data from 5 other server at our hosting company using rsnapshot. The
>>> backups are kept for 14 days.
>>>
>>> rsnapshot:
>>> bup:
>>> obnam:
>>> rdiff-backup:
>>
>> How about amanda? It hasn't been mentioned yet and might be an
>> interesting alternative.
> 
> I've heard of it, but don't know anyone who uses it. Any experience with
> it?

When I used tape for backup, I used Amanda, and it did what it was
supposed to do very well, with tape contents indexes, and a media
rotation pattern.

However, in a non-tape environment with only a few machines, I found it
excessively complex, and was happy to abandon it in favour of some
scripts around rsync to a NAS, which is much easier to administer.


-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5051c085.2030...@vanderhoff.org



Re: Installation

2012-09-13 Thread Tony van der Hoff
On 13/09/12 12:20, Ralf Mardorf wrote:
> On Thu, 2012-09-13 at 04:10 -0700, Weaver wrote:
>> If you find, in time, that you are running out of drive space, instaal
>> a bigger drive, install the / and swap and again, allocate the rest
>> as /home and copy it over.
> 
> How big should / become? Okay, modern drives have that much capacities
> that for an empty drive or much unallocated space, simply fifty-fifty
> should work. But what does argue against having root and home on the
> same partition?
> 
When you come to re-install the OS (and it is occasionally necessary),
it is vital to have at least /home and /usr/local on seperate partitions
from /, so that you can happily reformat / without worrying (too much)
about your data.
Also, you can fill up /home, and still run the system. I would also keep
/var on a seperate partition, to guard against some errant application
filling it up.


-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5051c497.6040...@vanderhoff.org



  1   2   3   4   5   >