Apt-get Update Not Downloading Packages.gz|bz2 – Trying To Load Packages Which Is Not On Server

On a wheezy install (basically default from what I can tell), why would apt-get update try to load Packages file from server when the server serves Packages.gz and Packages.bz2?

The repo is a http served mirror created with debmirror.

I think I came across this once a few years ago, but for the life of me I can’t google an answer – been trying stackexchange, serverfault, the debian admin manual, my gmail history and plenty other google links. My searches (such as the subject line of this email, amongst many others) are not yet yielding success for me.

TIA
Zenaan

No Comments


Writing To /dev/stdout Fails In Cron Script

Hi,

Running up-to-date Wheezy.

I have a script, simplified like this:

—————————

3 Comments


Surprisingly Cheap HP 255 G2 Laptop; Wheezy Possible?

List, good morning,

There’s an attractive offer in UK for an HP 255 G2 laptop, from Misco:

http://www.misco.co.uk/product/Q730917/

and I wondered whether anybody had had good experience running Wheezy on it? I had two queries, touchpad, and UEFI,

Searching revealed that its Synaptics touchpad is causing problems in Ubuntu 14.04 LTS

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-synaptics/+bug/1325992

but I’ve no idea whether this meant problems were with the Synaptics driver and might occur with Wheezy. A sort-of assessment for Linux on it is here:

http://www.linux-hardware-guide.com/uk/2014-07-12-hp-255-g2-notebook-15-6-zoll-1-gh

I’ve two applications for this machine, one would be text based so the touchpad wouldn’t be an issue, but the other would employ a graphical desktop, and be mounted on the top shelf of a cabinet, so an external mouse wouldn’t be an option. So I wondered in particular whether anybody had Wheezy on this, and managed to use the touchpad?

Could I ask about UEFI? It would, presumably, have a UEFI bios, as well and, while I’ve seen lots of postings about UEFI on the list, I
have never used a UEFI system and didn’t really understand what was being said. Are there still problems with UEFI, or will Wheezy install quite happily on UEFI these days?

[HP 255 G2 seems to come in at least two AMD CPU flavours. The subject model uses AMD A4-5000M, while another 255 G2 (similar price but requiring time-windowed cashback)

http://www.misco.co.uk/product/223145/

uses AMD E1-2100 .]

Grateful for any thoughts.

regards, Ron

,

No Comments


Pulseaudi And Pavucontrol – Was – Anyone Got Dragon Naturally Speaking Working Under Debian Wheezy?

As a befuddled user, who benefitted from the particular advice on list, to install pavucontrol with pulseaudio, in order to get sound working on a computer, I think, in the context of the above, that having pavucontrol as a “Recommended” package to install with pulseaudio, with some explanation like “GUI configuration tool for pulseaudio”, would probably be quite good.

,

No Comments


Upgrade Stuck (and Machine Too)

Hi list,

About an hour ago, I upgraded my sid 32 bits and encountered a problem I
never had; package dbus refuses to restart, stucking dbus-x11 an some others depending on them :(

This is the message I get (dselect, after synaptic):
Setting up dbus (1.8.6-2) … Job for dbus.service canceled. invoke-rc.d: initscript dbus, action “start” failed. dpkg: error processing package dbus (–configure):
subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of libpam-systemd:i386: libpam-systemd:i386 depends on dbus; however:
Package dbus is not configured yet.

The machine’s not down, but when I log on a console I get that after
? minutes:
Welcome to emergency mode! After logging in, type “journalctl -xb” to view system logs, “systemctl reboot” to reboot, “systemctl default” to try again to boot in default mode.

CTRL-D does nothing, nor does entering root p/w :((

On 3 available consoles, one is stuck on that and I don’t dare logging in another one, fearing to lose any possibility (ssh works normally though).

A little help would be welcome.

3 Comments


Enabling Remote X Window Sessions

I want to run X clients on a remote machines and display on my Debian
7.6 machine. I recognize the security risk. I usually run the lxde desktop. I see that gdm3 is starting the Xorg server with “-nolisten tcp” arguments. I read that this can be disabled by editing
/etc/gdm3/daemon.conf to add under the [security] heading:
“DisallowTCP

,

5 Comments


Drupal Developer – Mountain View, CA – Full Time Or Contract

- Positions: 1
- Type: Full time/salaried or contract/hourly
- Location: Hired developer will work on-site in Mountain View, CA
- Rate: Salary to 110k or contract to 90/hour dep. on exp.
- Citizenship: Required. Green Card Ok
- Relocation: OK

My Mountain View, CA client is a Drupal-focused development firm that builds large, scalable websites and web apps requiring complex functionality. They are looking for a Drupal Developer to join the team either as a full time salaried employee or a full time consultant. Either way, all work must be performed on-site in their Mountain View location.

Qualified candidates will be an expert in Drupal module and theme development. You should be very comfortable with Drupal 7 Form API, database abstraction layer, using AJAX in Drupal forms, responsive theming, etc.

If you would like to be considered for this opportunity, please submit your resume along with your salary or hourly requirements to dan@swift-staffing.com

Thank you, Dan Swift

http://swift-staffing.com dan@swift-staffing.com


-

No Comments


How To Tell What Makes Chromium Abort 134?

How does one tell which package makes chromium abort with exit code 134?
Replace each package one by one with an older version until it works again?
Yes it happens for all users.

No Comments


Multiboot Usage

Any one using multiboot please reply. I have a system that is running several linux distros, each on its own hard drive. I have also got windows 7 pro and KfreeBSD on their own hard drives. I want to get the grub2 osprobe to recognize the KfreeBSD disk as its also set up with a grub boot loader. all the other drives are recognized & are able to be booted natively using a grub install on the mbr of the main (first) boot drive. That was/is configured properly using update-grub. I have installed the ufs tools and verified that there is a ufs1 & ufs2 mod in the kernel directory. Any suggestions as to what to do. I’ve looked at several web pages about this and most seem out of date & I’m apprehensive about directly editing the grub.cfg file as it says to NOT do that. Thanks!
John

, , ,

7 Comments


Exceptions After Installing Icinga2 And Icinga-web

Hi all,
 
I’m using Nagios since 2008 or so, and wanted to give an opportunity to Icinga so I decided to try it.
 
For this I am doing some testing on a virtual machine with Debian GNU/Linux Wheezy. I decided to install packages using the Debian Backports repository, since I saw there the version of the Icinga core is slightly newer compared to the version published by Icinga repositories (2.0.2 vs 2.0.1). The exact versions of the packages are the following:
 
Icinga core: 2.0.2-1~bpo70+1
Icinga web: 1.11.1-1~bpo70+1
 
The installation procedure which I used was mentioned in the Icinga-users mailing list [1].
 
But since yesterday I’ve been struggling with packages installation in Debian. Basically, it does not work. The interface displays a message saying “no data” (not even it shows localhost). The interface constantly is reloaded (“Icinga is currently reloading” – No valid status data is available and interface does not respond as usual) and several popups are displayed indicating that there were several exceptions:
 
Request failed The server encountered an error:
Internal Exception, check your logs!
 
I wonder if this may be a bug in the Debian package which has not been informed, to open a bug report to fix it and we all are benefited.
 
I’ve been reviewing the logs and this is what I found on them:
 
/var/log/icinga2/icinga2.log:
 
[2014-08-20 07:40:18 -0300] warning/PluginUtility: Error parsing performance data ‘time=0,028517s;;;0,000000;10,000000′: Invalid performance data unit: ,028517s
[2014-08-20 07:40:51 -0300] warning/PluginUtility: Error parsing performance data ‘time=0,001026s;;;0,000000 size=453B;;;0′: Invalid performance data unit: ,001026s
[2014-08-20 07:41:18 -0300] warning/PluginUtility: Error parsing performance data ‘time=0,005063s;;;0,000000;10,000000′: Invalid performance data unit: ,005063s
[2014-08-20 07:41:24 -0300] information/DynamicObject: Dumping program state to file ‘/var/lib/icinga2/icinga2.state’
[2014-08-20 07:41:51 -0300] warning/PluginUtility: Error parsing performance data ‘time=0,000651s;;;0,000000 size=453B;;;0′: Invalid performance data unit: ,000651s
[2014-08-20 07:42:18 -0300] warning/PluginUtility: Error parsing performance data ‘time=0,008837s;;;0,000000;10,000000′: Invalid performance data unit: ,008837s
[2014-08-20 07:42:51 -0300] warning/PluginUtility: Error parsing performance data ‘time=0,000737s;;;0,000000 size=453B;;;0′: Invalid performance data unit: ,000737s
[2014-08-20 07:43:18 -0300] warning/PluginUtility: Error parsing performance data ‘time=0,008032s;;;0,000000;10,000000′: Invalid performance data unit: ,008032s
[2014-08-20 07:43:51 -0300] warning/PluginUtility: Error parsing performance data ‘time=0,000830s;;;0,000000 size=453B;;;0′: Invalid performance data unit: ,000830s
[2014-08-20 07:44:18 -0300] warning/PluginUtility: Error parsing performance data ‘time=0,007663s;;;0,000000;10,000000′: Invalid performance data unit: ,007663s
[2014-08-20 07:44:51 -0300] warning/PluginUtility: Error parsing performance data ‘time=0,000643s;;;0,000000 size=453B;;;0′: Invalid performance data unit: ,000643s

/var/log/icinga-web/debug-2014-08-20.log:

[Wed Aug 20 10:41:18 2014] [fatal] Uncaught AppKitPHPError: PHP Error Argument 1 passed to AppKitExtJsonDocument::hasFieldBulk() must be of the type array, null given, called in /usr/share/icinga-web/app/modules/Cronks/models/Provider/SystemPerformanceModel.class.php on line 131 and defined (/usr/share/icinga-web/app/modules/AppKit/lib/json/AppKitExtJsonDocument.class.php:180) (/usr/share/icinga-web/app/modules/AppKit/lib/logging/AppKitExceptionHandler.class.php:52)
[Wed Aug 20 10:41:18 2014] [fatal] Uncaught AppKitPHPError: PHP Error array_keys() expects parameter 1 to be array, null given (/usr/share/icinga-web/app/modules/Cronks/models/Provider/StatusSummaryModel.class.php:264) (/usr/share/icinga-web/app/modules/AppKit/lib/logging/AppKitExceptionHandler.class.php:52)
[Wed Aug 20 10:42:19 2014] [fatal] Uncaught AppKitPHPError: PHP Error array_keys() expects parameter 1 to be array, null given (/usr/share/icinga-web/app/modules/Cronks/models/Provider/StatusSummaryModel.class.php:264) (/usr/share/icinga-web/app/modules/AppKit/lib/logging/AppKitExceptionHandler.class.php:52)
[Wed Aug 20 10:42:19 2014] [fatal] Uncaught AppKitPHPError: PHP Error Argument 1 passed to AppKitExtJsonDocument::hasFieldBulk() must be of the type array, null given, called in /usr/share/icinga-web/app/modules/Cronks/models/Provider/SystemPerformanceModel.class.php on line 131 and defined (/usr/share/icinga-web/app/modules/AppKit/lib/json/AppKitExtJsonDocument.class.php:180) (/usr/share/icinga-web/app/modules/AppKit/lib/logging/AppKitExceptionHandler.class.php:52)
[Wed Aug 20 10:43:19 2014] [fatal] Uncaught AppKitPHPError: PHP Error array_keys() expects parameter 1 to be array, null given (/usr/share/icinga-web/app/modules/Cronks/models/Provider/StatusSummaryModel.class.php:264) (/usr/share/icinga-web/app/modules/AppKit/lib/logging/AppKitExceptionHandler.class.php:52)
[Wed Aug 20 10:43:19 2014] [fatal] Uncaught AppKitPHPError: PHP Error Argument 1 passed to AppKitExtJsonDocument::hasFieldBulk() must be of the type array, null given, called in /usr/share/icinga-web/app/modules/Cronks/models/Provider/SystemPerformanceModel.class.php on line 131 and defined (/usr/share/icinga-web/app/modules/AppKit/lib/json/AppKitExtJsonDocument.class.php:180) (/usr/share/icinga-web/app/modules/AppKit/lib/logging/AppKitExceptionHandler.class.php:52)
[Wed Aug 20 10:44:19 2014] [fatal] Uncaught AppKitPHPError: PHP Error Argument 1 passed to AppKitExtJsonDocument::hasFieldBulk() must be of the type array, null given, called in /usr/share/icinga-web/app/modules/Cronks/models/Provider/SystemPerformanceModel.class.php on line 131 and defined (/usr/share/icinga-web/app/modules/AppKit/lib/json/AppKitExtJsonDocument.class.php:180) (/usr/share/icinga-web/app/modules/AppKit/lib/logging/AppKitExceptionHandler.class.php:52)
[Wed Aug 20 10:44:19 2014] [fatal] Uncaught AppKitPHPError: PHP Error array_keys() expects parameter 1 to be array, null given (/usr/share/icinga-web/app/modules/Cronks/models/Provider/StatusSummaryModel.class.php:264) (/usr/share/icinga-web/app/modules/AppKit/lib/logging/AppKitExceptionHandler.class.php:52)
[Wed Aug 20 10:45:20 2014] [fatal] Uncaught AppKitPHPError: PHP Error Argument 1 passed to AppKitExtJsonDocument::hasFieldBulk() must be of the type array, null given, called in /usr/share/icinga-web/app/modules/Cronks/models/Provider/SystemPerformanceModel.class.php on line 131 and defined (/usr/share/icinga-web/app/modules/AppKit/lib/json/AppKitExtJsonDocument.class.php:180) (/usr/share/icinga-web/app/modules/AppKit/lib/logging/AppKitExceptionHandler.class.php:52)
[Wed Aug 20 10:45:20 2014] [fatal] Uncaught AppKitPHPError: PHP Error array_keys() expects parameter 1 to be array, null given (/usr/share/icinga-web/app/modules/Cronks/models/Provider/StatusSummaryModel.class.php:264) (/usr/share/icinga-web/app/modules/AppKit/lib/logging/AppKitExceptionHandler.class.php:52)

Both seem to be recurring errors. I think that the exception for popups must be linked to records in the /var/log/icinga-web/debug-2014-08-20.log, although I’m not sure if this will have any relation on the errors in /var/log/icinga2/icinga2.log.

On the other hand, I have observed that “icinga” (created manually) and “icinga2idomysql” (created by the packages) databases seem to have exactly the same 59 tables. That’s right? Although only the second database seems to contain information for hosts and services as I’ve seen in the icinga_hosts and icinga_services tables.

I was reviewing the /usr/share/icinga-web/app/config/databases.xml file. Here I’ve tried changing the following:

mysql://icinga:icinga@localhost:3306/icinga

to

mysql://icinga2-ido-mysq:password@localhost:3306/icinga2idomysql

and:

mysql://icinga_web:icinga_web@localhost:3306/icinga_web

to

mysql://icinga_web:password@localhost:3306/icinga_web


But I keep getting exceptions.


I wonder if anyone had this problem and could fix it somehow.


Thanks in advance.

Best regards, Daniel

[1] https://lists.icinga.org/pipermail/icinga-users/2014-March/008098.html

, ,

No Comments