Ubuntu Installation :: E: Sub-process /usr/bin/dpkg Returned An Error Code (2)
Apr 8, 2011
when i try to update using terminal and update manager i get this error
/usr/bin/dpkg: 1: Syntax error: "&" unexpected
E: Sub-process /usr/bin/dpkg returned an error code (2)
View 7 Replies
ADVERTISEMENT
Mar 13, 2010
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.
View 1 Replies
View Related
Jan 14, 2010
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):
Code:
Setting up wine (1.0.1-0ubuntu8) ...
kernel.printk = 4 4 1 7
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
[Code]....
Errors were encountered while processing: wine E: Sub-process /usr/bin/dpkg returned an error code (1)
View 6 Replies
View Related
Jan 30, 2010
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
[Code]....
View 2 Replies
View Related
Dec 19, 2010
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 ...
[code]....
View 1 Replies
View Related
May 9, 2011
I have just upgraded my ubuntu to 11.04 .After it is done ,I could install any software ,the error is as follows:
E: Sub-process /usr/bin/dpkg returned an error code (1)
I wonder what is the meaning of the error.
View 3 Replies
View Related
Mar 19, 2010
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
[code]....
View 1 Replies
View Related
Feb 17, 2010
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 ?
View 1 Replies
View Related
Dec 1, 2010
Code:
Unpacking replacement linux-image-2.6.35-23-generic ...
dpkg-deb (subprocess): data: internal bzip2 read error: 'DATA_ERROR'
dpkg-deb: subprocess <decompress> returned error exit status 2
dpkg: error processing /var/cache/apt/archives/linux-image-2.6.35-23-generic_2.6.35-23.41_i386.deb (--unpack):
[Code].....
both update software and synaptic gave the same error? how do i install this package?
View 1 Replies
View Related
Jul 25, 2015
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
[Code] .....
View 5 Replies
View Related
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)
View 3 Replies
View Related
May 1, 2010
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?
View 6 Replies
View Related
Aug 14, 2010
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
View 1 Replies
View Related
Aug 22, 2011
Im experiencing issues updating. here is the error update is giving me:Reading database....60%dpkg: unrecoverable fatal error, aborting:files list file for package 'liborbit2' is missing final newlineE: Sub-process /usr/bin/dpkg returned an error code (2)A package failed to install. Trying to recoverNothing happens at this point.
View 4 Replies
View Related
Aug 16, 2010
I was triyng to install Debian on a AMD K6-2. I use debootstrap, and installed Lenny, with a kernel linux-image-2.6.26-2-486.
After that apt-get update and apt-get upgrade and I get:
The following packages will be upgraded:
Since release 150, udev requires that support for the CONFIG_SYSFS_DEPRECATED feature is disabled in the running kernel.
Please upgrade your kernel before or while upgrading udev.
AT YOUR OWN RISK, you can force the installation of this version of udev WHICH DOES NOT WORK WITH YOUR RUNNING KERNEL AND WILL BREAK YOUR SYSTEM AT THE NEXT REBOOT by creating the /etc/udev/kernel-upgrade file. There is always a safer way to upgrade, do not try this unless you 0understand what you are doing!
And similar messages appears trying to install xfce4...
View 1 Replies
View Related
Apr 1, 2010
After I got the OS up and running (v9.10), I was prompted to download and install some updates. The download is complete, but when I try to install the updates, I receive the following message. What should I do?
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
View 4 Replies
View Related
Sep 18, 2010
When I tried to upgrade my xubuntu 10.04 , I got this error
dpkg: parse error, in file '/var/lib/dpkg/available' near line 2 package 'x11proto-core-dev': value for `status' field not allowed in this context E: Sub-process /usr/bin/dpkg returned an error code (2)
View 5 Replies
View Related
Aug 8, 2010
when i try to use apt an error occurs: dpkg: parse error, in file '/var/lib/dpkg/status' near line 27317 package 'virtualbox-3.0': error in Version string `3.0.4-50677_Debian_lenny': invalid character in revision number E: Sub-process /usr/bin/dpkg returned an error code (2)
i tried to :
1- replace the file status with status-old
2- replace it with all the backups located in /var/backups/
and the same error occurs
View 4 Replies
View Related
Mar 28, 2011
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:
Code:
//digenv
//Carl Reg�rdh 2011-03-24
[code]....
View 13 Replies
View Related
Mar 14, 2011
I dont know how to put this that somobody would understand my problem but here we go. I have problem like said in title.I am unable to upgrade my kernel. Sunaptics says that I have 2.6.35-28 installed. I tried to reinstall 2.6.35-28 via synaptics but it gives me error.
Thats what uname -a says:
pekka@pekka-laptop:~$ uname -a
Linux pekka-laptop 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:48 UTC 2011 i686 GNU/Linux
Tried to install 2.6.35-27 via terminal thats what I get:
Code:
pekka@pekka-laptop:~$ sudo apt-get install linux-image-2.6.35-27
[sudo] password for pekka:
Reading package lists... Done
Building dependency tree
code....
dpkg: error processing linux-image-2.6.35-25-generic (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
linux-image-2.6.35-25-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
pekka@pekka-laptop:
View 9 Replies
View Related
Jan 6, 2010
im trying to update some software in ubuntu using the update manager. i type my password in CORRECTLY but then get this error message.
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
what does it mean and how do i fix it?
View 3 Replies
View Related
Jul 6, 2010
I keep getting this error when I try to install Adobe flash player E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. E: _cache->open() failed, please report. I had it installed just fine, then i restarted my computer and its gone. .
View 4 Replies
View Related
Jan 9, 2011
I'm using 10.10 and from today I'm getting this error Quote:dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. When I'm trying to install any software using
Code: sudo apt-get <sw-name> Also I'm unable install using "Ubuntu Software Center", showing unhandleable error. Here is the details:
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 769, in simulate
return self._simulate_helper(trans, status_path)
[Code]...
View 6 Replies
View Related
May 3, 2010
Sid
cmake 2.8.1-2
dh-make .54
dpkg-dev 1.15.7.1
I'm having some issues building deb packages. dh_make --createorig behaves as expected, but when I attempt to buld the package with dpkg-buildpackage -rfakeroot the build dies on a dpkg-source error.
View 14 Replies
View Related
Feb 12, 2010
I'm attempting to apply the quota patch to postfix 2.5.1. I have done the following..
Code:
cd /usr/src/
apt-get source postfix
wget http://vda.sourceforge.net/VDA/postf...da-ng.patch.gz{code]....
dpkg-buildpackage: failure: tail of debian/changelog gave error exit status 1
I have searched hi and low and still can't work out how to resolve this.
View 2 Replies
View Related
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
Jul 20, 2010
Filename.txt
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:
Code:
My
First
Line
My
Second
Line
View 8 Replies
View Related
Apr 27, 2010
I have been having the worst time trying to get sametime messenger from IBM to install properly. I had it working fine for the last 6 months and yesterday I accidently updated and it all went to {1134}. I seem to have found dkms to be the source of the problem.
I get an exit 0 regardless of whether or not its install or uninstall. I have managed to get pidgin to work for now, but it is no means ideal for my purposes.
I kept getting this...
rastlosen@rastlosen-laptop:~$ sudo apt-get install sametime-connect
[sudo] password for rastlosen:
Reading package lists... Done
Building dependency tree
[Code]...
View 1 Replies
View Related
Jun 29, 2010
I am trying to install Matlab v. 7.10 on my Ubuntu machine. I was able to successfully download the necessary files. However, when I attempt to install using ' ./install ', I get the following error message:
Finished extracting ftp files.
Starting installer ...
An error status was returned by the program 'xsetup', the X Window System version of 'install'.
The following essages were written to standard error:
/home/user1/mathworks_downloads/update/install/main.sh: 178: /home/user1/mathworks_downloads/update/bin/glnxa64/xsetup: not found
Attempt to fix the problem and try again. If X is not available or 'xsetup' cannot be made to work then try the terminal version of 'install' using the command:
install* -t or INSTALL* -t
Sorry! Setup aborted . . .
I tried using the command instal* -t, as recommended by the program, but then I get this error message:
Finished extracting ftp files.
Starting installer ...
awk: cmd. line:2: BEGIN { found = 0; extra = 9; min = 24; default = 24 }
awk: cmd. line:2: ^ syntax error
awk: cmd. line:6: if (nrows < min) nrows = default
awk: cmd. line:6: ^ syntax error
awk: cmd. line:12: END { if (found == 0) print (default - extra) } .....
View 3 Replies
View Related