Bug#886363: libdatetime-locale-perl: After upgrade from Jessie to Stretch, Can't locate DateTime/Locale/en_US.pm in @INC
Hi, my script does not use DateTime::Locale directly. I only use DateTime. This is the script I use: #!/usr/bin/perl use Net::Twitter; use Scalar::Util 'blessed'; use DateTime; use Storable qw(retrieve nstore); use LWP::Simple; # Variable definitions my $configfile = "/home/reiner/.FollowTwitterStream"; my $path = "/home/reiner/Twitter"; my $consumer_key = 'xx'; my $consumer_secret = ''; my $token = ''; my $token_secret = 'xxx'; my $high_water = 429901897936674816; my $dt; my $DEBUG = 0; # Kill script after 59 min to avoid hanging alarm(3540); # Read config if (-r $configfile) { $dt = retrieve("$configfile"); } # Connect to Twitter my $twitter = Net::Twitter->new( traits => [qw/API::RESTv1_1/], consumer_key=> $consumer_key, consumer_secret => $consumer_secret, access_token=> $token, access_token_secret => $token_secret, ssl => 1, ); eval { my $statuses = $twitter->home_timeline({ -since => $dt, count => 100 }); for my $status ( @$statuses ) { print "$status->{id} $status->{created_at} <$status->{user}{screen_name}> $status->{text}\n" if $DEBUG; my $medialist = $status->{entities}->{media}; foreach my $media ( @$medialist ) { my $url = $media->{media_url}; my $file = (URI->new($url)->path_segments)[-1]; if ($url =~ /twimg\.com/ ) { $url .= ":large"; } print "Get $url as $path/$status->{user}{screen_name}$file\n" if $DEBUG; getstore("$url", "$path/$status->{user}{screen_name}$file"); } $high_water = "$status->{id}"; } }; if ( my $err = $@ ) { die $@ unless blessed $err && $err->isa('Net::Twitter::Error'); warn "HTTP Response Code: ", $err->code, "\n", "HTTP Message..: ", $err->message, "\n", "Twitter error.: ", $err->error, "\n"; } $dt = DateTime->now; nstore $dt, "$configfile"; On Thu, 4 Jan 2018, gregor herrmann wrote: On Thu, 04 Jan 2018 22:51:21 +0100, Reiner Buehl wrote: after upgrading my system from Jessie to Stretch, I get the following error messages from a perl skript that used to work fine before the upgrade: Can't locate DateTime/Locale/en_US.pm in @INC (you may need to install the DateTime::Locale::en_US module) (@INC contains: /etc/perl /usr/local/lib/i386-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/i386-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/i386-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/i386-linux-gnu/perl-base) at /usr/lib/i386-linux-gnu/perl/5.24/Storable.pm line 389, line 1. BEGIN failed--compilation aborted, line 1, at /home/reiner/bin/FollowTwitterStream.pl line 24. Could you please show us how you use DateTime::Locale in your script? The upstream changelog shows some thing around en_US and en-US but I can't reproduce the problem in my quick naïve try: % perl -MDateTime::Locale -E '$locale = DateTime::Locale->load("en-US"); say $locale->native_name;' English United States % perl -MDateTime::Locale -E '$locale = DateTime::Locale->load("en_US"); say $locale->native_name;' English United States And regarding your error message about a missing "DateTime/Locale/en_US.pm": /usr/share/perl5/DateTime/Locale/en_US.pm has indeed existed some versions ago, then the whole thing has been restructured; cf. the section "0.90 2015-09-27" in /usr/share/doc/libdatetime-locale-perl/changelog.gz. So my suspicion is that you are using what is called the "old API" in the upstream changelog and need to update your script. Cheers, gregor -- .''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe `- NP: Sinéad O'Connor: Jealous Gruß, Reiner. -- Reiner Buehl Internet: Karlstrasse 3rei...@buehl.net 70771 Leinfelden-Echterdingen Germany --
Bug#886363: libdatetime-locale-perl: After upgrade from Jessie to Stretch, Can't locate DateTime/Locale/en_US.pm in @INC
Package: libdatetime-locale-perl Version: 1:1.17-1 Severity: important Dear Maintainer, after upgrading my system from Jessie to Stretch, I get the following error messages from a perl skript that used to work fine before the upgrade: Can't locate DateTime/Locale/en_US.pm in @INC (you may need to install the DateTime::Locale::en_US module) (@INC contains: /etc/perl /usr/local/lib/i386-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/i386-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/i386-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/i386-linux-gnu/perl-base) at /usr/lib/i386-linux-gnu/perl/5.24/Storable.pm line 389, line 1. BEGIN failed--compilation aborted, line 1, at /home/reiner/bin/FollowTwitterStream.pl line 24. I tried to upgrade the libdatetime-locale-perl package to the 1.17-1 version from Testing but the problem stays the same. Is there a way to fix this? -- System Information: Debian Release: 9.3 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 4.9.0-4-686-pae (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) Versions of packages libdatetime-locale-perl depends on: ii libfile-sharedir-perl 1.104-1 ii libnamespace-autoclean-perl0.28-1 ii libparams-validationcompiler-perl 0.23-1 ii libscalar-list-utils-perl 1:1.47-1 ii libspecio-perl 0.33-1 ii perl 5.24.1-3+deb9u2 ii perl-base [libscalar-list-utils-perl] 5.24.1-3+deb9u2 libdatetime-locale-perl recommends no packages. libdatetime-locale-perl suggests no packages. -- no debconf information
Bug#847287:
Sorry if I ask a stupid question, but do I understand correct, that if I have 1.1.5+dfsg.1-1~bpo8+2 installed, then the fix is applied? Best regards, Reiner
Bug#739740: logrotate: Erroneous error messages when /var/log is tmpfs
Package: logrotate Version: 3.8.1-4 Severity: important Dear Maintainer, when running logrotate on a system that uses tmpfs for /var/log, logrotate creates erroneous error messages of the following form: error: skipping /var/log/cron.log because parent directory has insecure permissions (It's world writable or writable by group which is not root) Set su directive in config file to tell logrotate which user/group should be used for rotation. The access rights of /var/log are 755 and it is owned by root:root. The error disapears when I comment out the tmpfs line for /var/log in /etc/fstab. Best regards, Reiner Buehl -- Package-specific info: Contents of /etc/logrotate.d total 36 -rw-r--r-- 1 root root 173 Dec 24 2012 apt -rw-r--r-- 1 root root 79 Nov 17 2012 aptitude -rw-r--r-- 1 root root 135 Aug 11 2012 consolekit -rw-r--r-- 1 root root 248 Oct 13 07:35 cups -rw-r--r-- 1 root root 232 Oct 31 2012 dpkg -rw-r--r-- 1 root root 419 Mar 18 2013 lighttpd -rw-r--r-- 1 root root 67 Jul 9 2011 rsnapshot -rw-r--r-- 1 root root 515 Oct 9 2012 rsyslog -rw-r--r-- 1 root root 115 Jan 21 2013 unattended-upgrades -- System Information: Debian Release: 7.2 Architecture: armhf (armv6l) Kernel: Linux 3.10.30+ (PREEMPT) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages logrotate depends on: ii base-passwd 3.5.26 ii cron [cron-daemon] 3.0pl1-124 ii libc6 2.13-38+rpi2 ii libpopt01.16-7 ii libselinux1 2.1.9-5 Versions of packages logrotate recommends: ii bsd-mailx [mailx] 8.1.2-0.2006cvs-1 logrotate suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#582275: linux-image-2.6.32-bpo.4-686: ext3 filesystem corruption with md RAID1 on Seagate disks
Package: linux-2.6 Version: 2.6.32-11~bpo50+1 Severity: critical Justification: causes serious data loss I keep getting ext3 filesystem corruptions on one of my md RAID1 arrays. Shortly after booting, I get messages like the following one: EXT3-fs error (device md1): htree_dirblock_to_tree: bad entry in directory #17269110: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0 This forces an automatic fsck at the next reboot that fails. The manual fsck.ext3 -y /dev/md1 takes a long time but manages to get a clean FS again. After the reboot, it takes just a few minutes until the first of these messages appear again. The two disks used in the RAID1 md device are both Seagate ST31000528AS that show no errors in long and short SMART test and Seatools. Memtest shows no memory problems. Two other RAID1 systems connected to the same Intel Ibex Peak 6 port SATA AHCI Controller (rev 06) show no such problems. A RAID5 with 4 Seagate ST3750640AS on a Promise PDC40718 (SATA 300 TX4) also works without problems in the same system. I saw that sata_sil.c has a blacklist that includes mainly Seagate drives but do not know if this is related to my problem since my system uses an Intel SATA controller. -- Package-specific info: ** Version: Linux version 2.6.32-bpo.4-686 (Debian 2.6.32-11~bpo50+1) (norb...@tretkowski.de) (gcc version 4.3.2 (Debian 4.3.2-1.1) ) #1 SMP Mon Apr 12 16:20:13 UTC 2010 ** Command line: root=UUID=a059fdf2-4ff6-4c30-ba7f-77c85e7f5d1b ro quiet splash ** Not tainted ** Kernel log: [9.619225] md0: detected capacity change from 0 to 2250460889088 [9.619426] md: md1 stopped. [9.619507] md0: unknown partition table [9.627810] md: bindsdf1 [9.627937] md: bindsde1 [9.637594] raid1: raid set md1 active with 2 out of 2 mirrors [9.637607] md1: detected capacity change from 0 to 991614926848 [9.637814] md: md2 stopped. [9.637897] md1: unknown partition table [9.675765] md: bindsdf2 [9.675894] md: bindsde2 [9.685475] raid1: raid set md2 active with 2 out of 2 mirrors [9.685489] md2: detected capacity change from 0 to 8587116544 [9.685682] md: md3 stopped. [9.685764] md2: unknown partition table [9.747654] md: bindsdi1 [9.747756] md: bindsdh1 [9.757332] raid1: raid set md3 active with 2 out of 2 mirrors [9.757345] md3: detected capacity change from 0 to 2000396222464 [9.757541] md: md4 stopped. [9.757625] md3: unknown partition table [9.804386] md: bindsdg1 [9.804488] md: bindsdl1 [9.814098] raid1: raid set md4 active with 2 out of 2 mirrors [9.814111] md4: detected capacity change from 0 to 2000396222464 [9.814323] md4: unknown partition table [9.994122] device-mapper: uevent: version 1.0.3 [9.994182] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-de...@redhat.com [ 10.009098] PM: Starting manual resume from disk [ 10.009100] PM: Resume from partition 9:2 [ 10.009101] PM: Checking hibernation image. [ 10.013003] PM: Error -22 checking image file [ 10.013004] PM: Resume from disk failed. [ 10.082000] kjournald starting. Commit interval 5 seconds [ 10.082004] EXT3-fs: mounted filesystem with ordered data mode. [ 11.327588] udevd version 125 started [ 11.898037] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2 [ 11.898041] ACPI: Power Button [PWRB] [ 11.924627] Monitor-Mwait will be used to enter C-1 state [ 11.951685] Monitor-Mwait will be used to enter C-2 state [ 11.983607] Monitor-Mwait will be used to enter C-3 state [ 11.983664] processor LNXCPU:00: registered as cooling_device0 [ 11.983706] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3 [ 11.983709] ACPI: Power Button [PWRF] [ 12.102371] processor LNXCPU:01: registered as cooling_device1 [ 12.183683] processor LNXCPU:02: registered as cooling_device2 [ 12.269226] input: PC Speaker as /devices/platform/pcspkr/input/input4 [ 12.287409] input: X10 Wireless Technology Inc USB Receiver as /devices/pci:00/:00:1a.7/usb7/7-4/7-4.4/input/input5 [ 12.287462] usbcore: registered new interface driver ati_remote [ 12.287464] ati_remote: 2.2.1:ATI/X10 RF USB Remote Control [ 12.288353] usb 7-4.4: Weird data, len=1 ff 02 00 00 00 00 ... [ 12.311612] processor LNXCPU:03: registered as cooling_device3 [ 12.468824] i801_smbus :00:1f.3: PCI INT C - GSI 18 (level, low) - IRQ 18 [ 12.493504] HDA Intel :00:1b.0: PCI INT A - GSI 22 (level, low) - IRQ 22 [ 12.493529] HDA Intel :00:1b.0: setting latency timer to 64 [ 12.770141] input: HDA Digital PCBeep as /devices/pci:00/:00:1b.0/input/input6 [ 12.772834] HDA Intel :01:00.1: PCI INT A - GSI 16 (level, low) - IRQ 16 [ 12.772836] hda_intel: Disable MSI for Nvidia chipset [ 12.772853] HDA Intel :01:00.1: setting latency timer to 64 [ 14.991127] Adding 8385848k swap on /dev/md2. Priority:-1
Bug#511021: linux-headers-2.6.24-etchnhalf.1-686: Can not build out-of-tree kernel modules
Package: linux-headers-2.6.24-etchnhalf.1-686 Version: 2.6.24-6~etchnhalf.7 Severity: grave Justification: renders package unusable When trying to build out-of-tree kernel modules like lirc-modules-source, the build with m-a fails after this message: /usr/bin/make -C /lib/modules/2.6.24-etchnhalf.1-686/build SUBDIRS=/usr/src/modules/lirc/drivers/lirc_dev modules \ KBUILD_VERBOSE=1 make[5]: Entering directory `/usr/src/linux-headers-2.6.24-etchnhalf.1-686' test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( echo; \ echo ERROR: Kernel configuration is invalid.; \ echo include/linux/autoconf.h or include/config/auto.conf are missing.;\ echo Run 'make oldconfig make prepare' on kernel src to fix it.;\ echo; \ /bin/false) After this message the build fails. -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.24-etchnhalf.1-686 Locale: lang=de...@euro, lc_ctype=de...@euro (charmap=ISO-8859-15) Versions of packages linux-headers-2.6.24-etchnhalf.1-686 depends on: ii gcc-4.1 4.1.1-21 The GNU C compiler ii linux-headers-2.6.2 2.6.24-6~etchnhalf.7 Common header files for Linux 2.6. ii linux-kbuild-2.6.24 2.6.24-1~etchnhalf.1 Kbuild infrastructure for Linux 2. linux-headers-2.6.24-etchnhalf.1-686 recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org