LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Why do I fail to install opera in my ubuntu system? (https://www.linuxquestions.org/questions/linux-newbie-8/why-do-i-fail-to-install-opera-in-my-ubuntu-system-728154/)

englishcctv 05-24-2009 07:12 AM

Why do I fail to install opera in my ubuntu system?
 
The failure description in the terminal are these:
(Reading database ... 172344 files and directories currently installed.)

Unpacking opera (from .../opera_9.27-20080331.6-shared-qt_en_i386.deb) ...

dpkg-deb (subprocess): short read in buffer_copy (failed to write to pipe in copy)

dpkg-deb: subprocess paste returned error exit status 2

dpkg: error processing /home/lai/Desktop/opera_9.27-20080331.6-shared-qt_en_i386.deb (--install):

short read in buffer_copy (backend dpkg-deb during `./usr/lib/opera/9.27-20080331.6/opera')

Processing triggers for man-db ...

Processing triggers for menu ...

Errors were encountered while processing:

/home/lai/Desktop/opera_9.27-20080331.6-shared-qt_en_i386.deb



I've tried a few versions of the opera(the newest and some olders) ,but the error is the same.
Who can help me ?
Any suggestions are welcome !

rjlee 05-24-2009 08:09 AM

This seems to be the same problem as reported here: https://www.linuxquestions.org/quest...rocess-647968/ and also the same bug as reported here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=462288

Another thread (http://ubuntuforums.org/showthread.php?t=561459) suggests that you can fix the problem by running
Code:

sudo apt-get clean
If that fails, then it's possible that your version of dpkg might be out of date. You should be able to update it (including any dependencies) by running this:
Code:

sudo apt-get update && sudo apt-get dist-upgrade dpkg
.

Hope that helps,

—Robert J Lee

englishcctv 05-25-2009 12:14 AM

Sorry
 
Quote:

Originally Posted by rjlee (Post 3551034)
This seems to be the same problem as reported here: https://www.linuxquestions.org/quest...rocess-647968/ and also the same bug as reported here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=462288

Another thread (http://ubuntuforums.org/showthread.php?t=561459) suggests that you can fix the problem by running
Code:

sudo apt-get clean
If that fails, then it's possible that your version of dpkg might be out of date. You should be able to update it (including any dependencies) by running this:
Code:

sudo apt-get update && sudo apt-get dist-upgrade dpkg
.

Hope that helps,

—Robert J Lee

Sorry but this doesn't work on my computer,I just want to install opera as my alternative browser . Are there any other measures instead of using dpkg I can take to install it ?
Who can help me ?

repo 05-25-2009 01:46 AM

Take a look at
http://www.ubuntu.com/news/opera9
You can use apt-get

AlucardZero 05-25-2009 08:43 AM

Post the output of df -h.

englishcctv 05-25-2009 09:51 PM

Output
 
Quote:

Originally Posted by AlucardZero (Post 3552039)
Post the output of df -h.


The df -h output are :
Filesystem Size Used Avail Use% Mounted on
/host/ubuntu/disks/root.disk
13G 4.2G 8.1G 34% /
tmpfs 754M 0 754M 0% /lib/init/rw
varrun 754M 208K 754M 1% /var/run
varlock 754M 0 754M 0% /var/lock
udev 754M 160K 754M 1% /dev
tmpfs 754M 76K 754M 1% /dev/shm
/dev/sda6 20G 16G 4.4G 78% /host
lrm 754M 2.4M 752M 1% /lib/modules/2.6.28-12-generic/volatile


This does help ? Waiting for help.

AlucardZero 05-25-2009 09:58 PM

Darn, you have plenty of space. Dunno.

AwesomeMachine 05-25-2009 11:00 PM

I would do this:

sudo apt-get clean
sudo apt-get update
sudo apt-get build-deps opera (could be build-dep, without 's')
sudo apt-get install opera download-only
cd /var/cache/apt/archives/
ls opera*
sudo dpkg -i --force-depends opera<rest of the package name>

When you use dpkg to remove programs, you use the program name, not the package name, because dpkg is looking for an installed program. When you install programs, you use the package name, because dpkg is then looking for a package to install. When you install using apt-get install, the packages are downloaded to /var/cache/apt/archives. APt-get clean cleans out all the old package files.

I'm not guaranteeing anything, but this method has gotten me out of a few jams.

englishcctv 05-25-2009 11:01 PM

Quote:

Originally Posted by AlucardZero (Post 3552598)
Darn, you have plenty of space. Dunno.

Joking ?

englishcctv 05-25-2009 11:21 PM

Maybe this is a bug to the dpkg command line but I've tried all of the ways people suggested and none of these does work .
Now I'm going to give up trying , no other ways.


All times are GMT -5. The time now is 11:46 AM.