Ubuntu :: Build Failed - Sub Process Returned Error Code
Sep 24, 2010
The problem emerged when I started to make the internal microphone and external speakers work [URL]. In either kernel 2.6.32-24 or 2.6.35-15 - cannot install any package with apt-get. Here is the error I get when installing just anything [URL]. Basically, here is it:
Code:
ERROR: Build failed. Please review the build log at /tmp/alsa-driver-linuxant.3620.log
dpkg: error processing alsa-driver-linuxant (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up libxslt1-dev (1.1.26-1ubuntu1) ...
Errors were encountered while processing:
alsa-driver-linuxant
E: Sub-process /usr/bin/dpkg returned an error code (1)
I think that my computer crashed one time, while I was in middle of installing some new software, and it seems like it have made "dpkg" confused with itself - it thinks, that I still need to install "Wine", but it is allready installed, so everything is allright. But everytime, when I am upgrading or installing any kind of software, it give me this error (just an error, everything still works and installs fine):
Thought I could just place a hard drive with a preloaded Ubuntu install from another machine (a loaner machine) into this one; change a few drivers and be on my way. Too many errors to count. ALSA; Jack; LiveTex all cratered and I'm tired of fighting this. I've spent more than two days trying to get stuff working and if there's anything I've learned from years of experience there's a time to cut bait and run.
A clean install on the actual hardware I'm using has to be better than the hodge podge I have now.What I would like from the community is recommendations for what to do AFTER the install.
1) where can I find the most up-to-date comprehensive and exhaustive list of repositories for the Synaptic Package Manager?
2) I like to do sound and video processing. I would like to have the program applications Qsynth, Virtual Midi Keyboard, Muse Score, Csound, GNU Denemo, and many others that either fail to start or produce no sound to work. What, besides the programs need to be loaded in order to make these work?
3) A helpful list of recommendations on what to install along with order preference. In other words 'this needs to be done before this...' on a new Ubuntu install.
In case anyone's interested: Here's a small list of some of the errors I currently have. AlsaModularSynth - Could not open file.Qsynth1 - Failed to create the audio driver (jack) / Jack server not running.
Errors were encountered while processing:
texlive-latex-base-doc E: Sub-process /usr/bin/dpkg returned an error code (1)
Qtractor - The audio/MIDI engine could not be started. Make sure the JACK audio server (jackd) and/or the ALSA Sequencer kernel module (snd-seq-midi) are up and running and then restart the session.
apt-get install alsa-utils - Errors were encountered while processing: texlive-latex-base-doc E: Sub-process /usr/bin/dpkg returned an error code (1)
Jack configuration files not found; the list is endless. Plus many errors trying to get texlive to work.
I have a little home server running server 8.04 and decided to check for upgrades. One of the upgrades was a new kernal update. It was able to download the update, but errors on uncompressing it. I have even shutdown the server and restarted it. Still no luck.
Here is the screen log from the update process:
(Reading database ... 49993 files and directories currently installed.) Preparing to replace linux-image-2.6.24-28-server 2.6.24-28.80 (using .../linux- image-2.6.24-28-server_2.6.24-28.81_i386.deb) ... Done. Unpacking replacement linux-image-2.6.24-28-server ...
I'm trying to customize my BackTrack4 image so I can use the live disk with my ati graphic card. While trying to put the drivers with the apt-get install ati-driver command, I get the following message:
Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: ati-driver
simple scan error as follows: Failed to save file ImageMagick returned error code 11 Command line: convert -adjoin /tmp/simple-scan-DA9MBV.jpg /tmp/simple-scan-XCK4BV.jpg /tmp/simple-scan-NZVYBV.pdf Stdout: Stderr: using karmic note: I have apparmor extra profiles installed but didn't notice one that related to simple scan or imagemagick. Red herring or not?
Since I'm quite new to Linux I wonder what "Sub-process /usr/bin/dpkg returned an error code (1)" mean ?? Is it RTFM/read the damn logs at /var/log or does someone have an answer to this ?
I'm tried to install bandwidthd on Ubuntu 9.10 and keep getting the following error.I have been looking around for a while and have been unsuccessful in finding a answer.
HTML Code: $sudo apt-get install bandwidthd Reading package lists... Done
When trying to install php5 I got the following result. Tried to apt-get clean, autoclean, remove --purge then reinstall the mentioned packages without any success.
dpkg --configure -a didn't get any better result.
Code: Select allsudo apt-get install php5 Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait Les paquets supplémentaires suivants seront installés : libapache2-mod-php5 php5-cli php5-common
Iam trying to burn wave files to a cd that i ripped from a cd when i try burning to gets to 300 meg and stops with these errors CD RECORD RETURNED AN UNKNOWN ERROR (CODE 254) SOMETIMES USING TAO WRITING MODE SOLVES THIS ISSUE Using ubuntu 10.04
Amanda Backup System - Error I have attached the error with amanda system. It is in Amanda is in OpenSuse, I checked for dtimeout in conf file but it is not there.
driver: find_diskspace: time 1641.864: find diskspace: selected /sandata/amanda/hdisk free 159240608 reserved 4633344 dumpers 3 driver: find_diskspace: time 1641.864: want 3185984 K driver: find_diskspace: time 1641.864: find diskspace: size 3185984 hf 159240608 df 159240576 da 3185984 ha 3186016 driver: find_diskspace: time 1641.864: find diskspace: selected /sansdata/amanda/hdisk free 159240608 reserved 3186016 dumpers 3 driver: state time 1800.609 free kps: 1079613 space: 159240608 taper: idle idle-dumpers: 3 qlen tapeq: 0 runq: 7 roomq: 0 wakeup: 0 driver-idle: client-constrained driver: interface-state time 1800.609 if default: free 79613 if LOCAL: free 1000000 driver: hdisk-state time 1800.609 hdisk 0: free 159240608 dumpers 3 driver: result time 1800.729 from dumper2: FAILED 02-00003 "[data timeout] .....
I'm writing a sort of toy shell using fork() and execv(). It runs smoothly enough untill the user enters an invalid command at which point the program hangs, so I need a way to check if the program loaded using execv returned correclty or not in the parent process and kill it if it didntI tried writing stderr to a text file to see if something whent wrong but doesnt really work out. Try running ./digenv GDM -i -Q for instance. (-Q is an invalid option for grep which the program runs at a certain point).Heres the code:
I just installed Fedora9 in my desktop. The installation was successful and it was doing security update and system update right after install. After all the update service finished, I do a manual update to see what happy (Sysem>Administration>Update System). It keeps coming up with Package Error with the message "failed to get a TID: Incorrect path with ';' returned!".
I've been trying to install the latest version of Emacs from source but I'm running into a trouble. The commands "./configure" and "make" work just fine. However, when I run "sudo checkinstall" I get a message saying that makeinfo is missing:
Code: makeinfo is missing - cannot build manuals make: *** [info] Error 1 **** Installation failed. Aborting package creation. Cleaning up...OK Bye. What is Error 1
I am currently trying to get my RadRails working. There are certain tasks I cannot complete and I'm guessing that installing mongrel and some other items would get everything going. I run the update and it seems to fail horribly and I've been looking on google for the last 2 hours to the answer to this one. This is there errors I have gotten so far.
By the way I am currently using Ubuntu 10.04 if that makes any difference. I have already downloaded and installed sqlite3 and sqlite dev.
Code:
>gem install -l mongrel-1.1.5.gem Building native extensions. This could take a while... ERROR: Error installing mongrel-1.1.5.gem: ERROR: Failed to build gem native extension.
[code]....
Now at this point I am just trying to find the intern.h header file and can't find out what to download to get that.
Code: My First Line My Second Line ::::While Loop::: Program:
Code: while read line do echo "$line" done < Filename.txt output:
Code: My First Line My Second Line
Is it possible to use for loop to get the same output. I have tried executing below code but I get every word of my file being displayed one below above.Is there any way I can modify the for loop code to get the output returned by while loop?
:::For Loop::: Program:
Code: for line in $(cat Filename.txt) do echo $line done output:
I want to ask about Kmail. I have Kmail from Mandriva. I use Kmail for My Email. And When I reply Message, I found some trouble.
Sending failed: Unknown error code 50. The message content was not accepted. The server responded: "5.7.1 Message refused by BannedWord check. This email has been rejected. The email message was detected as spam." Please send a full bug report at [URL]. The message will stay in the 'outbox' folder until you either fix the problem (e.g. a broken address) or remove the message from the 'outbox' folder. This transport protocol was used: smtp.net
How to solve this email error I get when I try to send email via KMail.
I'm running Kubuntu Karmic on my Dell Inspiron laptop - about 200 bug fixes behind because my only available internet is a cellular connection on a crappy wi-fi router - and last night, I suspended it, but it shut down instead. Not a problem, it does this fairly often, figure the RAM gets jostled or something.
But when I go to boot it up, it gets stuck at the pre-loading screen before getting garbled and dropping to the shell, where it says "mount: mounting /dev/disk/by-uuid/[insert hex code here] failed: invalid argument". Of course, mounting /root/sys, /root/dev and /root/proc fails, (directory does not exist) and it gives me the busybox initramfs prompt.
I have a minimal installation of Ubuntu, with lxde-core and some other apps I really use. Sometimes when I start the system, it hangs and nothing else happens. I hit Esc and then I see:Code:init: Failed to spawn rc-sysinit main porcess: Unable to open console: Input/Output error.I get stuck there, and the only thing I can do is to hold the power button, shutdown, boot again, and pray it will boot fine. Sometimes it does, sometimes it doesn't.
I'm currently running 11.3 and decided I'd try upgrading to 11.4 following the instructions here: SDB:System upgrade - openSUSEUnfortunately, my attempts are defeated at the point of trying to refresh the new repos; I get the following message (for the oss repo, in this case):
With 11.4 replaced by 11.3 in the repo url, it refreshes just fine. The only repository that works when I change 11.3 to 11.4 is the Packman repo. I'm not really sure why the connection fails for 11.4 but not 11.3!
Further info: I have an old router with no IPv6 support, but have IPv6 disabled system-wide. I can enter the url for the repositories into firefox and they come up just fine - it's only with zypper/YaST that I get the above error message.I also tried upgrading using the network CD but ran into the same sort of problem. In this case it may be because the CD installer doesn't disable IPv6. (I didn't want to download the DVD at my connection speed, and the KDE live CD is not listed as suitable for upgrade).
I get the following message when trying to access my 1tb usb drive "Error mounting: mount exited with exit code 1: helper failed with: Error opening '/dev/sdr1': Permission denied Failed to mount '/dev/sdr1': Permission denied Please check '/dev/sdr1' and the ntfs-3g binary permissions, and the mounting user ID.More explanation is provided at [URL].. Really wierd thing is Linux Mint Debian reads it just fine
"(process:325): GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)"
It comes after choosing language, when the Ubuntu start-up logo shows with the 5 dut under it. I am trying to install Ubuntu Netbook on a little Compaq Mini.
When i try to install Ubuntu 11.04 or try without installing i get graphics like this:[URL] same with older versions, and on older versions i used to get this error: (process:257):GLib-Warning**:getpwuid_r():failed due to unknown user id(0) but on new version it dosent appear. My graphics card is: GeForce 7600GT MSI.
I have 2 internal drives. One is for the OS and one is for the Data. I tried to get the Data drive to mount automatically at login using some crap I found on a linux blog. Safe to say it didn't work and now I can't mount it with the OS on the OS Drive.
It mounts from a live CD and all the data is perfectly safe. When I try to mount the drive I get this error message: "Error mounting: mount exited with exit code 1: helper failed with: mount: only root can mount /dev/sdb1 on /media/data" What have I done wrong and how can I make it mount again? Preferably this time at login.