camorama will not install

Asked by Dave Haring

Hello. I have ASUS G2 Extreme laptop with I assume a "Bus 006 Device 002: ID 04f2:b012 Chicony Electronics Co., Ltd" webcam. I want to record video and do photo captures. Using Ekiga I can see my bald head so I know something is working.

During the install of Camorama it would "hang" causing me to have to type "no" and push enter several times. Now when I try to launch Camorama I get "Could not connect to video device (/dev/video0). Please check connection".

So, I just want to be able to run the webcam for video and stills. It doesn't have to be Camorama I just happened to find that program and the description seemed to fit my needs.

I don't know anything about linux. I've been with Bill for 22 years. Veesta just crashed now for the 10th time so I pulled out an old ubuntu disk, which, I threatened to use several crashes ago but chickened out. It was 7.1 which I now updated to 8.04.

Thanks for any help!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Andre Mangan
Solved:
Last query:
Last reply:
Revision history for this message
Andre Mangan (kyphi) said :
#1

Camorama is a very old programme that has not seen any development for quite some time.

Try Cheese.

The most painless way to install Cheese is via Applications, Add/Remove and look for it there.

Your webcam is apparently mounted upside down in some Asus laptops and there is no fix for that - I don't know if taking it out and turning it around will fix it - that may not apply to your model - just wondering why you are seeing the top of your head ;-)

I hope that you will enjoy Ubuntu. Welcome.

Revision history for this message
Dave Haring (4trade) said :
#2

Thank you. I'm running into the same type of errors during the install of cheese as I did with Camorama. This is what is says:

"This package is an installer package, it does not actually contain the J2SDK documentation. You will need to go download one of the archives:

jdk-1_5_0-doc.zip jdk-1_5_0-doc-ja.zip

(choose the non-update version if this is the first installation)

Please visit

http://java.sun.com/j2se/1.5.0/download.html

now and download. The file should be owned by root.root and be copied to /tmp."

Now I can certainly read and go to the URL and download the file, but, it seems like there's always another 6 steps they don't tell you about. Could you shed some light on this?

I am definitely enjoying Ubuntu. I just wish I spoke the language! I will however work on taking an online course of some kind... Thank you again.

Revision history for this message
Andre Mangan (kyphi) said :
#3

Perhaps I did not make myself clear in my last reply: "The most painless way to install Cheese is via Applications, Add/Remove and look for it there".

At the top of your desktop is a strip called a panel where you have menus for Applications, Places, System.
Click on Applications and from the drop-down menu select Add/Remove.
When Add/Remove has loaded, enlarge the screen (drag the dividing bar with your mouse) and scroll down the alphabetically organised list until you find "Cheese".
Place a tick into the box next to it and then click on "Apply Changes" (bottom right corner).
That will install Cheese for you.

Revision history for this message
Dave Haring (4trade) said :
#4

Yes! That is exactly what I did - the Add/Remove etc.

While it's trying to load, it hangs about mid way. When I click on "details" it gives the message shown above and forces me to type "no" and hit enter or it will just sit there indefinitely.

Hint: It has done the same thing while trying to install other programs as well. In other words it's not just Cheese or Camorama...

Thanks again for the support.

Revision history for this message
Andre Mangan (kyphi) said :
#5

I have never seen that message before.

The message about Java is also an odd one since it says to download an older version than the current one.

I think that possibly something has gone awry with your upgrade process (7.10 to 8.04).

Go to System, Administration, Update Manager and click on "Check" after the Update Manager has finished loading.

Revision history for this message
Dave Haring (4trade) said :
#6

I have done that several times over the past couple days without incident. This time however, just now, for the first time I get the following error message upon clicking "check":

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.

Revision history for this message
Andre Mangan (kyphi) said :
#7

In a terminal window type:

sudo dpkg --configure -a

Revision history for this message
Dave Haring (4trade) said :
#8

Yes, that gives me the exact error message I get when trying to install Cheese or anything else - the whole thing as follows:

dbh@dbh-laptop:~$ sudo dpkg --configure -a
[sudo] password for dbh:
Setting up sun-java6-doc (6-06-0ubuntu1) ...
This package is an installer package, it does not actually contain the
JDK documentation. You will need to go download one of the
archives:

    jdk-6-doc.zip jdk-6-doc-ja.zip

(choose the non-update version if this is the first installation).
Please visit

    http://java.sun.com/javase/downloads/

now and download. The file should be owned by root.root and be copied
to /tmp.

[Press RETURN to try again, 'no' + RETURN to abort]
This package is an installer package, it does not actually contain the
JDK documentation. You will need to go download one of the
archives:

    jdk-6-doc.zip jdk-6-doc-ja.zip

(choose the non-update version if this is the first installation).
Please visit

    http://java.sun.com/javase/downloads/

now and download. The file should be owned by root.root and be copied
to /tmp.

[Press RETURN to try again, 'no' + RETURN to abort]
This package is an installer package, it does not actually contain the
JDK documentation. You will need to go download one of the
archives:

    jdk-6-doc.zip jdk-6-doc-ja.zip

(choose the non-update version if this is the first installation).
Please visit

    http://java.sun.com/javase/downloads/

now and download. The file should be owned by root.root and be copied
to /tmp.

[Press RETURN to try again, 'no' + RETURN to abort]

Revision history for this message
Andre Mangan (kyphi) said :
#9

It seems that your package installer is broken. I will need to do a bit of research to find out how to help you to fix it. Will get back when I can.

Revision history for this message
Dave Haring (4trade) said :
#10

Can't thank you enough!

Revision history for this message
Andre Mangan (kyphi) said :
#11

Go to System, Administration, Software Sources.

On the first tab (Ubuntu Software) check that there is a tick in all the boxes (Source Code has a dash). If your ISP provides a mirror, now is the time to enter it under "Download from".

On the next tab (Third-Party Software) check that if there are any entries that these refer to Hardy (8.04) and not Feisty (7.10).

On the next tab (Updates) under "Ubuntu updates" check that the first two entries are ticked (no ticks in the last two). Under "Automatic updates" check that there is a tick next to "Check for updates" and that "Daily" has been chosen. Also "Only notify about available updates.

Under "Release upgrade", "Show new distribution releases" choose "Long term support only" if you want to stay with Hardy.

Close.

Now you can try again to check for updates - System, Administration, Update Manager and Check.

Revision history for this message
Dave Haring (4trade) said :
#12

Thank you.

(Ubuntu Software)
Proprietary devices for drivers (restricted) - was "unchecked"

Source code was also "unchecked" - if I check it, it gives a "check" mark (no dash though)

Mirror from my ISP? There are 3 choices from "Download from" - one says "Main server", next is "Server for United States", and the next is "Other". "Other" brings up a whole list of sites, Countries, including US, and under US is another whole list. None of this though has anything to do with my ISP...

(Third-Party Software)
There is a long list here. Only the first item is "checked" though. This "checked" item reads: http://archive.canonical.com/ubuntu hardy partner. All other items in the list (all "unchecked") refer to 7.10 Gutsy Gibbon (not 8.04)

(Updates)
Under Ubuntu updates nothing is "checked" or ticked. "Automatic updates are correct as you show. Under "Release upgrade" it is correct as you show.

Please Sir if you could clarify those couple points above where I have questions I will be able to effect these changes without fear of blowing something up or doing something wrong. Remember I still have a nervous "tick" from 22 years of Bill!

Revision history for this message
Andre Mangan (kyphi) said :
#13

Proprietary drivers for devices (restricted) needs to be checked only if you are using a discrete graphics card such as nVidia or ATI. You can leave that blank.

Source code on my machine (also Hardy) has a dash - I do not know why. Leave blank.

Re "Download from", my ISP provides a mirror and all my downloads are free. If your ISP does not do that leave it set as it was.

Third-Party Software: the checked item is OK. The 7.10 ones you do not want and can delete another time (do not tick these).

Updates: Important security updates (hardy-security) should be ticked.
               Recommended updates (hardy-updates) should be checked.

If all goes well, you will be faced with quite a few updates.

I have always upgraded by cleanly installing because it gets rid of accumulated leftovers and mistakes. Like you, I once used Windows - now, after several years of Ubuntu I could never go back - it would be a retrograde step.

Revision history for this message
Dave Haring (4trade) said :
#14

Ok! 369 updates, 500MB and an 8 hour download later... (this is my third 8 hour download for Ubuntu but who's counting!

About two thirds of the way through "Applying Changes", after the download was finished, it stops and gives a similar message as before about java as follows: note that I will have to answer the question with "no" in order to continue

"Unpacking replacement icedtea-java7-jre ...
Preparing to replace icedtea-java7-plugin 7-b24-1.6-0ubuntu5 (using .../icedtea-java7-plugin_7-b24-1.6-0ubuntu8_all.deb) ...
Unpacking replacement icedtea-java7-plugin ...
Setting up sun-java5-doc (1.5.0-15-0ubuntu1) ...
This package is an installer package, it does not actually contain the J2SDK documentation. You will need to go download one of the archives:
jdk-1_5_0-doc.zip jdk-1_5_0-doc-ja.zip
(choose the non-update version if this is the first installation).
Please visit
http://java.sun.com/j2se/1/5/0/download.html
now and download. THe file should be owned by root.root and be copied to /tmp.
(Press RETURN to try again, 'no' + RETURN to abort)"

It said the same kind of thing about java6. I am having an issue with java and flash whereby I can't seem to get the latest versions to install. As a result I can't view all content that I should be able to. For example I can view youtube videos - but not embeded youtube videos. And other things. I was waiting to see if this-what we are doing here might correct that but installs are hanging when they get to something about java.

Last but not least at the end of "Applying Changes" it shows:

"Errors were encountered while processing:
sun-java5-doc
sun-java6-doc
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up sun-java6-doc (6-07-3ubuntu2) ...
This package is an installer package, it does not actually contain the JDK documentation. You will need to go download one of the archives:
jdk-6-doc.zip jdk-6-doc-ja.zip
(choose the non-update version if this is the first installation)
Please visit
http://java.sun.com/javase/downloads/
now and download. The file should be owned by root.root and be copied to /tmp...."

I had to answer "no" to abort.

In the meantime, Cheese has started to function. I installed a couple other programs also and everything hangs on java. The programs I installed actually work, but, there's still the hang during installation, and, java is surely not working properly in general. So what do you think?

I downloaded the 8.10 ISO and made a disc. Do you think updating to 8.10 might fix things? I'm up for anything... Thank you again for your time. I look forward to the day when I can return the favor by helping someone else.

Revision history for this message
Best Andre Mangan (kyphi) said :
#15

The last version I used was Dapper Drake (6.06) which was a Long Term Support release from 2006. When the next LTS release became available I waited to read what problems people were discovering and when I was satisfied that the road ahead was clear, I installed Hardy Heron (8.04) which is LTS. This was a fresh install; not an upgrade.

In other words, I prefer to install afresh rather than upgrade.

I think that your Java woes are caused by upgrading, in that the system is trying to upgrade Java in release sequence.
Also, the references to JDK (Java Development Kit) are puzzling because they are not present in my installation of Hardy Heron.

Since you have already downloaded the Intrepid Ibex (8.10) I would install that - not upgrade but a fresh install. If you have files in your home directory, you can save these to a USB device before proceeding - in fact save your entire Home folder.

Revision history for this message
Dave Haring (4trade) said :
#16

Ok, Ubuntu 8.10 is installed as well as a 5 hour download of 190 updates in 200MB to top it off!

Yes, I am a extremely firm believer in a fresh install as well. Especially given my background. After veesta crashed and was unrecoverable I had a 7.10 CD. When Java and Flash were not working in that version I assumed a newer version would take care of it. The instructions were not quite clear. A point was made *not* to skip a version in updating, but, no mention whatsoever was made regarding a fresh install from that point. I think Ubuntu documentation needs to be more geared toward new users - those coming from a background of Bill or those coming with not much background at all. Someone like myself reading the documentation will do exactly as it states (for fear of retribution!). There should have been mention of the fresh install where it talks about updates. I really had no idea it was an option at that point. Looking back now of course I can see it. I'm so used to doing exactly what I am told when it comes to an OS.

Anyway, for the sake of finishing our thought process, after the 8.10 install once again flash was not working. It was happening all over again! A message would come up "additional plugin required" then the "plugin finder service" would open up and it would show "adobe flash" "swfdec player" and "gnash sfw player". Upon choosing any one or all of these it would say "could not find package". Then it would say it *was* installed (which it was not). Then it would start over again saying "additional plugin required". On or about my sixth attempt at this it decided to work and flash was actually installed - and now seems to be functioning fine.

I'm going to roll with this and see how it goes. I want to thank you again for your support! It really makes *all* the difference.

Revision history for this message
Dave Haring (4trade) said :
#17

Thanks Andre Mangan, that solved my question.