Software :: Ubuntu - Apt Libxml-sax-perl - Unable To Execute Installed Post-installation Script
Jul 16, 2010
I had a problem on ubuntu when running "sudo apt-get dist-upgrade" and wanted to report how I solved it. Hopefully this helps anybody with similar problems.
I always got the error message:
Code:
The problem is in libxml-sax-perl.postinst which does not seem to be executable.
I did not install any perl packages manually by cpan and found the solution in http://ubuntuforums.org/archive/inde...t-1342009.html where it was only one part of a bigger problem.
I created a backup file (always a good idea) of my libxml-sax-perl.postinst:
Code:
I deleted the old file:
Code:
Created a new file:
Code:
With the following content (copied from the link mentioned above):
Code:
View 1 Replies
ADVERTISEMENT
May 6, 2010
I get this error whenever trying to update or install applications:
Quote:
E: sun-java6-plugin: subprocess installed post-installation script returned error exit status 2
What can I do here?
View 2 Replies
View Related
Jun 4, 2010
Everytime I attempt to install anything, in any way, I'm given the following error message:
E: lib32nss-mdns: subprocess installed post-installation script returned error exit status 2
E: wine1.2: dependency problems - leaving unconfigured
I went into Synaptics Package Manager and told it to uninstall WINE in case that was what was causing the problems. It sort of half-uninstalled-it then gave me that exact same error message.I have two threads currently open on the forums - adjusting laptop brightness and flashing BIOS - and both problems hit a brick wall because of this same error message.
View 2 Replies
View Related
Sep 14, 2010
I'm using ubuntu 10.04 Is it possible to get a list of all packages installed after the initial installation?
View 4 Replies
View Related
Apr 16, 2010
i have a problem and it's been persisting since i installes MST Core fonts.
terminal log is here:
-----------start of pasting -----
user@Ubuntu9:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
code....
View 1 Replies
View Related
Nov 15, 2010
I have a CD with the Fedora 14 ISO burned. It doesn't appear to have perl installed on it. (Open a terminal, type "perl" and press Enter, and get the "Command not found." response.)Further, once I install to the hard drive and boot from it, run the updates and let them complete, and reboot, I still don't seem to have perl and I can't find a package for fc14 that would install perl.I must be the only one having this problem because I don't see any references to this and somebody would have noticed by now, but is there anyone who can tell me what I might have done wrong?
View 6 Replies
View Related
Jul 10, 2010
Code:
E: empathy-common: subprocess installed post-installation script returned error exit status 2
E: empathy: dependency problems - leaving unconfigured
E: nautilus-sendto-empathy: dependency problems - leaving unconfigured
View 6 Replies
View Related
Nov 27, 2010
My system is Dell 4300S with 1.4 GHz Pentium processor, recently upgraded to 1 GB RAM,120 GB WDC1200JB hard drive Sony DRU-720A DVD/RW drive, ATT plugandshare wireless adapter with Atheros AR5001X chip, ATI Rage 128 Pro Ultra TF video card, and Actiontec V90, and 56KFlex modem (Agere System Venus). I attempted to use preupgrade to upgrade from Fedora 12 to 14 using wireless connection. It seems, that upgrade finished successfully, except I am not unable to get to a GDM login. I updated SElinux to selinux-policy-3.9.7-10 and selinux-policy-targeted-3.9.7-10, and touch /.autorelabel overnight, I was able to login using GDM once. And that is all. After I boot, after Ctrl+Alt+F4, I can login to terminal.
[Code].....
View 8 Replies
View Related
Jan 7, 2010
what is wrong i have a web server setup and working fine running a web store in php i have added a search engine for the web the easiest setup programme is with an extension .pl when i try and execute this it asks me if i want to download it or open it i had this problem with the php script which a reboot sorted out so i have tried rebooting but get the same problem does anybody know how i can get it to execute on my server?
View 2 Replies
View Related
Jun 13, 2011
i want to execute system command with perlm but it gives me error.
command is wmic client. here it is
#!/usr/bin/perl
open (EP, "/home/user/Templates/domainpc.log");
while (<EP>) {
chomp;
[Code]....
View 1 Replies
View Related
Jan 1, 2010
How would I make my server execute PHP and Perl scripts? (I'm going to be working with both)
I have PHP5 and the latest Perl installed, and my installation is fresh.
Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
code....
View 1 Replies
View Related
Mar 23, 2011
I'm playing with perl and found that I could just go:
"perl /home/me/bash_script.sh"
and it would execute, even though it's not a perl script. Is that just a feature or is there something I'm missing? Why does perl do this?
View 2 Replies
View Related
Apr 27, 2011
Is it possible to simultaneously execute all perl scripts within a folder? How?
View 1 Replies
View Related
Jul 19, 2011
I have a script to utilize the perl one liner to replace a ip address.
Code:
#!/usr/bin/ksh
set -x
PRIP=172.15.100.176
OPRIP=172.15.100.115
[code]....
the script runs fine. but the perl one liner seems not working at all. but if i copy the perl line to a command line, it runs correctly.
View 2 Replies
View Related
Dec 26, 2010
I have problem starting clamd. It's unable to execute setgroups()
/etc/group , /etc/password files are world readable
Here is output after starting clamd:
sudo clamd
ERROR: setgroups() failed.
Here is strace clamd output:
...
open("/etc/passwd", O_RDONLY|0x80000 /* O_??? */) = 3
fcntl64(3, F_GETFD) = 0x1 (flags FD_CLOEXEC)
_llseek(3, 0, [0], SEEK_CUR) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1616, ...}) = 0
mmap2(NULL, 1616, PROT_READ, MAP_SHARED, 3, 0) = 0xb7f6d000
_llseek(3, 1616, [1616], SEEK_SET) = 0
munmap(0xb7f6d000, 1616) = 0
close(3) = 0
setgroups32(1, [120]) = -1 EPERM (Operation not permitted)
write(2, "ERROR: setgroups() failed.
", 27ERROR: setgroups() failed.) = 27
exit_group(1) = ?
Process 29002 detached
ls -al /etc/group:
-rw-r--r-- 1 root root 1013 2010-03-19 11:38 /etc/group
ls -al /etc/passwd:
-rw-r--r-- 1 root root 1616 2010-03-05 12:39 /etc/passwd
/etc/passwd:
clamav:x:108:120::/var/lib/clamav:/bin/false
/etc/group:
clamav:x:120:
View 2 Replies
View Related
Jun 2, 2011
I am unable to run perl-cgi script in my cent os Apache server. I have used locate perl command in terminal window and it gives following result:
[code]....
tell which is the path to perl for example "usr/bin perl"
View 13 Replies
View Related
Feb 25, 2011
I am trying to write a perl script which will give an interactive session to a user to execute command on the server. I have written a small script to do this :
Code: !/usr/bin/perl -w
use strict;
use Net::SSH::Perl;
my $host = '192.168.1.1';
my $username = 'user';
my $login_passwd = 'test123';
[Code]...
View 2 Replies
View Related
Nov 18, 2010
I have had no problems with downloading/installing updates and programs, and everything worked fine. Until memtest came along. It ran by itself (I think my dad made it the first boot option in grub), and now if I try to install any packages or programs, it will either say "Grub installation failed" or that any packages I tried to install failed. If I removed memtest, would that make it possible for me to install stuff again? Or is there a way to work around it?the main error report I get is: "E: memtest86+: subprocess installed post-removal script returned error exit status 127"
View 1 Replies
View Related
Mar 17, 2010
I installed glipper 1.0-1.1 on my Ubuntu 9.10, and cannot find a way to execute it. I don't see it in the Applications menu, glipper command from the command line doesn't work.
View 3 Replies
View Related
Jun 10, 2010
From the Synaptic Package Manager, I searched for HL-1440. There were two files appeared: (1) brother-lpr-drivers-laser1, and (2) brother-cups-wrapper-laser1. When I marked (1) for installation, (2) was automatically selected. After I applied the files for installation, I received this error: "E: hl1440lpr: subprocess installed post-removal script returned error exit status 126." What should I do? I am still learning Linux/Ubuntu and really don't have much experience with this.
View 2 Replies
View Related
Oct 26, 2010
To parse several XML documents I'm using libxml++. I do programming for linux angstrom-armv5te. Because compiling libxml++ for this distribution and platform was impossible, I simply included the library to my project, which workes fine. Unfortunately I'm not able not use the exception handing which effects that a simple error inside a documents makes my whole program crash. This should not happen.
Is there a way to check the documents validity before parsing or better active the exception handling for doing this.
View 3 Replies
View Related
Feb 6, 2011
I have spent over half of the day, literally, trying to get my server to parse perl and be able to use perl scripts to interact with my SQL server. Has anyone been able to get it to work? Only looking for answers to Slackware. There are a lot of resources for FC and Ubuntu, but that does me no good. I checked the Slackbuilds for their builds, and built the libdbi and libdbi-drivers package, but still cannot get it to communicate.
View 1 Replies
View Related
Jul 10, 2011
I am trying to upgrade my PHP on the Linux server (CentOS) to above version 5.2.4 in order to support the latest Wordpress version - currently PHP 5.1.6 is on there. I have got as far as getting downloaded tar.gz files onto the server and located in the /usr/src/ directories - I have 5.3.3 & 5.3.6 on there - & already done the
Code:
# gunzip < php-5.3.3.tar.gz | tar xvf -
&
Code:
# gunzip < php-5.3.6.tar.gz | tar xvf -
but when I go to the folders
Code:
# cd /usr/src/php-5.3.3 and try to run the ./configure I get errors, below is what I suspect is causing the errors, but as you may have guessed I am no expert...
[Code]...
View 6 Replies
View Related
Apr 15, 2010
I am trying to run a script which would execute once the system start's up. I placed my script in /etc/init.d and made it chmod +x my-script and placed my script path in /etc/rc.local . It works fine in installed environment and its not working in live cd and USB.
View 9 Replies
View Related
Nov 23, 2010
I have a really weird (but consistent) problem with my Kubuntu 10.10 install: I cannot post some HTTP forms.
First off, this is a client PC problem. My squirrelmail on the server works fine. I just use squirrelmail 1.4.17 to troubleshoot the ubuntu desktop problem
I used an old (07.04) Ubuntu install which worked fine. Then I wiped the disk and installed Kubuntu 10.10 on the same hardware. Everything works but **some** HTTP post does not work (I can log in but not send mail or save draft). I noticed I cannot log in to Yahoo, for example.
My webhosting account can display the apache access_log. When I hit the <Send> button the POST request never arrives to the web server.
I use a router (Dlink DL-604) behind a DSL modem and ooma box. There is a Windows 7 PC and a Kubuntu PC connected to the router. I can use squirrelmail just fine from the Windows PC.
I tried several steps:
- reinstalled Kubuntu
- installed Firefox and Chromium (on top of reconq)
- ran from a CD on my other (Windows 7) PC
- installed Wireshark and compared the traffic (but was unable to pinpoint a problem)
The result was the same: the <Send> button just keeps waiting; the POST request never makes it to the web server.
This sounds (and is) scary and suspect. The fact that the "demo" Kubuntu install (from the CD on my other Windows PC) using the reconq exhibits the same problem on a totally different hardware leads me to believe this may be related to Kubuntu. For example, I had to type this very message on the Windows PC as I could not post it on the forum from my Kubuntu box.
View 2 Replies
View Related
Jan 15, 2011
I can't post messages, I think something is wring with my internet.Anyway, I'm gonna copy paste what I've been trying to say...I just bought the TP-LINK Model No. TL-WN821N. It's an atheros. And I was wondering where can I find the drivers for Linux. It only includes drivers for Windows.
I don't have much experience with networks,I found this website,
http:[url]......
I got stuck in the patch section, I don't know what they are trying to say. They are using
diff -urp compat-wireless-2009-02-22_AR9170_230209/drivers/net/b44.c compat-wireless-2009-02-22_AR9170_230209/drivers/net/b44.c
They are comparing the same file, there is some code they are showing but I don't know what they want me to do.
View 9 Replies
View Related
Nov 25, 2010
I am using the (K, X)Ubuntu 10.04 alternate installation CD in expertmode. Although package selection is offered, I am not able to choose which packages get installed during the installation process. Best regards, owiknowi
View 3 Replies
View Related
Aug 24, 2010
I used my colleges online site to automatically install and setup the Cisco AnyConnect VPN Client. Everything went smoothly. I have a Cisco icon in my system tray and it says that I am connected to the VPN.
My question then is where do I access the VPN? I am assuming that I can access the other computers at the other end of the VPN as I would if they were networked to me, however I cannot seem to find any information on how this is done after the connection is made.
I looked in the Network folder which is where I figured everything would be, but there is nothing other than the normal, empty, network folders.
I am running Linux Mint 9, KDE 4.4
My friend Google let me down, and every VPN how to I can find ends at the "connected" stage, never getting into details about where to go from there...
View 6 Replies
View Related
Jan 13, 2011
iḿ trying to parse a file using html parser by libxml.
Code: #include <stdio.h>
#include <libxml/HTMLparser.h>
#include <string.h>
void main(){
printf("main
");
[Code]....
View 4 Replies
View Related
Apr 21, 2011
I can't get any updates for my system and keep getting the errors shown below, and suggestions peeps?
E: linux-image-2.6.28-11-generic: subprocess installed post-removal script returned error exit status 1
E: linux-image-2.6.28-13-generic: subprocess installed post-removal script returned error exit status 1
E: linux-image-2.6.28-14-generic: subprocess installed post-removal script returned error exit status 1
E: linux-image-2.6.28-15-generic: subprocess installed post-removal script returned error exit status 1
E: linux-image-2.6.28-19-generic: subprocess installed post-removal script returned error exit status 1
View 9 Replies
View Related