LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-24-2009, 07:12 AM   #1
englishcctv
LQ Newbie
 
Registered: May 2008
Posts: 11

Rep: Reputation: 0
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 !
 
Old 05-24-2009, 08:09 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
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
 
Old 05-25-2009, 12:14 AM   #3
englishcctv
LQ Newbie
 
Registered: May 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Sorry

Quote:
Originally Posted by rjlee View Post
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 ?
 
Old 05-25-2009, 01:46 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Take a look at
http://www.ubuntu.com/news/opera9
You can use apt-get
 
Old 05-25-2009, 08:43 AM   #5
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Post the output of df -h.
 
Old 05-25-2009, 09:51 PM   #6
englishcctv
LQ Newbie
 
Registered: May 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Output

Quote:
Originally Posted by AlucardZero View Post
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.
 
Old 05-25-2009, 09:58 PM   #7
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Darn, you have plenty of space. Dunno.
 
Old 05-25-2009, 11:00 PM   #8
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
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.
 
Old 05-25-2009, 11:01 PM   #9
englishcctv
LQ Newbie
 
Registered: May 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by AlucardZero View Post
Darn, you have plenty of space. Dunno.
Joking ?
 
Old 05-25-2009, 11:21 PM   #10
englishcctv
LQ Newbie
 
Registered: May 2008
Posts: 11

Original Poster
Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fail to implement system call in Ubuntu distribution. Kunsheng Programming 1 03-31-2009 11:15 PM
Pirut Rpmdb open fail - tried to install software now cant open system LinuxGarcia Linux - Newbie 1 02-03-2009 05:41 PM
Fail to start X server on ubuntu install... frascelly Linux - Newbie 2 04-16-2007 12:01 AM
suse, ubuntu, kubuntu all fail to install adele Linux - Laptop and Netbook 6 03-15-2007 04:14 AM
yoper install fail on dual boot win-linux system coz `linux partition not found` coolview210 Yoper 5 11-24-2004 02:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration