Cheese error

Asked by Luis M.Jacinto

Ubuntu 16.04 LTS 64 bits
Logitech webcam C170
Cheese

Opening Cheese there is an error “There was an error playing video from webcam” .
The same camera on the the same PC with Ubutu 16.04 LTS 32 bits on other Hard Disk it works perfectly.

Terminal lsusb output on Ubuntu 16.04 64 bits:

luis@luis-H81M-DS2:~$ lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 04d9:1503 Holtek Semiconductor, Inc. Keyboard
Bus 003 Device 003: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 003 Device 002: ID 046d:082b Logitech, Inc. Webcam C170
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
luis@luis-H81M-DS2:~$

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

If you run:

sudo apt-get install gksudo
gksudo cheese

Does it work OK?

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#2

Tried your suggestion with no result

luis@luis-Ubuntu-16:~$ sudo apt-get install gksudo
[sudo] password for luis:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gksudo
luis@luis-Ubuntu-16:~$ gksudo cheese

At this point Cheese open with same error

(cheese:3968): cheese-WARNING **: Failed to allocate a buffer: gstv4l2src.c(884): gst_v4l2src_create (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin18/GstV4l2Src:v4l2src1

luis@luis-Ubuntu-16:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

OK, try:

sudo cheese

Any better?

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#4

Please ignore my last reply the Terminal output was taken from other Disk Drive with Ubuntu 16.04 32bit .

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#5

I apologize for the error but my main OS right now is the 32bit and wrongly use this Terminal
Now from 64bit OS Terminal output.

sudo apt-get install gksudo
luis@luis-H81M-DS2:~$ sudo apt-get install gsksudo
[sudo] password for luis:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
luis@luis-H81M-DS2:~$
I dont have another appliction open.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

Are updates currently installing? If so then wait and let them finish. If you have a GUI package manager application open then close that and retry.

If not then run:
 sudo fuser -vki /var/lib/dpkg/lock
sudo dpkg --configure -a

Then try again. If asked, select yes to unlock the file

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#7

I had a new Ubuntu Update
Run this update then went to follow your initial suggestion.

luis@luis-H81M-DS2:~$ sudo apt-get install gksudo
[sudo] password for luis:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gksudo
luis@luis-H81M-DS2:~$ gksudo cheese
The program 'gksudo' is currently not installed. You can install it by typing:
sudo apt install gksu
luis@luis-H81M-DS2:~$ sudo apt install gksu
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libllvm4.0 linux-headers-4.10.0-28 linux-headers-4.10.0-28-generic
  linux-headers-4.10.0-42 linux-headers-4.10.0-42-generic
  linux-image-4.10.0-28-generic linux-image-4.10.0-42-generic
  linux-image-extra-4.10.0-28-generic linux-image-extra-4.10.0-42-generic
  linux-signed-image-4.10.0-42-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libgksu2-0
The following NEW packages will be installed:
  gksu libgksu2-0
0 upgraded, 2 newly installed, 0 to remove and 105 not upgraded.
Need to get 123 kB of archives.
After this operation, 877 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Err:1 http://ubuntu.saix.net/ubuntu-archive xenial/universe amd64 libgksu2-0 amd64 2.0.13~pre1-6ubuntu8
  Temporary failure resolving 'ubuntu.saix.net'
Err:2 http://ubuntu.saix.net/ubuntu-archive xenial/universe amd64 gksu amd64 2.0.2-9ubuntu1
  Temporary failure resolving 'ubuntu.saix.net'
E: Failed to fetch http://ubuntu.saix.net/ubuntu-archive/pool/universe/libg/libgksu/libgksu2-0_2.0.13~pre1-6ubuntu8_amd64.deb Temporary failure resolving 'ubuntu.saix.net'

E: Failed to fetch http://ubuntu.saix.net/ubuntu-archive/pool/universe/g/gksu/gksu_2.0.2-9ubuntu1_amd64.deb Temporary failure resolving 'ubuntu.saix.net'

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
luis@luis-H81M-DS2:~$

Open Cheese same error come up.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

OK, try:

sudo cheese

Any better?

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#9

No, still the same

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#10

What is the output of:

cat -n /etc/apt/sources.list

Thanks

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#11

luis@luis-H81M-DS2:~$ cat -n /etc/apt/
cat: /etc/apt/: Is a directory
luis@luis-H81M-DS2:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#12

Look at my last post then look at your last post....

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#13

Very wrong, I apologize don’t understand how it come to this.

luis@luis-H81M-DS2:~$ cat -n /etc/apt/sources.list
     1 # deb cdrom:[Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)]/ xenial main restricted
     2
     3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4 # newer versions of the distribution.
     5 deb http://ubuntu.saix.net/ubuntu-archive/ xenial main restricted
     6 # deb-src http://za.archive.ubuntu.com/ubuntu/ xenial main restricted
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://ubuntu.saix.net/ubuntu-archive/ xenial-updates main restricted
    11 # deb-src http://za.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
    12
    13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14 ## team. Also, please note that software in universe WILL NOT receive any
    15 ## review or updates from the Ubuntu security team.
    16 deb http://ubuntu.saix.net/ubuntu-archive/ xenial universe
    17 # deb-src http://za.archive.ubuntu.com/ubuntu/ xenial universe
    18 deb http://ubuntu.saix.net/ubuntu-archive/ xenial-updates universe
    19 # deb-src http://za.archive.ubuntu.com/ubuntu/ xenial-updates universe
    20
    21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    22 ## team, and may not be under a free licence. Please satisfy yourself as to
    23 ## your rights to use the software. Also, please note that software in
    24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    25 ## security team.
    26 deb http://ubuntu.saix.net/ubuntu-archive/ xenial multiverse
    27 # deb-src http://za.archive.ubuntu.com/ubuntu/ xenial multiverse
    28 deb http://ubuntu.saix.net/ubuntu-archive/ xenial-updates multiverse
    29 # deb-src http://za.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
    30
    31 ## N.B. software from this repository may not have been tested as
    32 ## extensively as that contained in the main release, although it includes
    33 ## newer versions of some applications which may provide useful features.
    34 ## Also, please note that software in backports WILL NOT receive any review
    35 ## or updates from the Ubuntu security team.
    36 deb http://ubuntu.saix.net/ubuntu-archive/ xenial-backports main restricted universe multiverse
    37 # deb-src http://za.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
    38
    39 ## Uncomment the following two lines to add software from Canonical's
    40 ## 'partner' repository.
    41 ## This software is not part of Ubuntu, but is offered by Canonical and the
    42 ## respective vendors as a service to Ubuntu users.
    43 # deb http://archive.canonical.com/ubuntu xenial partner
    44 # deb-src http://archive.canonical.com/ubuntu xenial partner
    45
    46 deb http://ubuntu.saix.net/ubuntu-archive/ xenial-security main restricted
    47 # deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
    48 deb http://ubuntu.saix.net/ubuntu-archive/ xenial-security universe
    49 # deb-src http://security.ubuntu.com/ubuntu xenial-security universe
    50 deb http://ubuntu.saix.net/ubuntu-archive/ xenial-security multiverse
    51 # deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
luis@luis-H81M-DS2:~$

Thank you

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#14

Connect into the first entry
deb cdrom:[Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)]/ xenial main restricted
The Title is about General Upgrade Information.

This Ubuntu is not an upgrade, I download Ubuntu 16.04 LTS 64bit and Install on a new
Seagate 1T the reason was Skype now only works on 64bit and I needed it badly to contact family.
Please advice how to correct this now.
Thank you for all the help

Revision history for this message
Launchpad Janitor (janitor) said :
#15

This question was expired because it remained in the 'Open' state without activity for the last 15 days.