softwhare updater failed

Asked by Bob

I tried synaptic package manager and get
an error occurred
E: /var/cache/apt/archives/guvcview_2.0.3+ubuntu2~ppa1+1334-0ubuntu1~201601250929~ubuntu14.04.1_i386.deb: trying to overwrite '/usr/share/locale/bs/LC_MESSAGES/gview_v4l2core.mo', which is also in package guvcview-i18n 2.0.0+ubuntu2~trusty~ppa1

Another thing is I have moved across country in the USA and when I unpacked & powered up, this has happen to only one of my computers. I don't think this is a cause of the problum but I know, all info can be helpful.

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

What is the output of:

apt-cache policy guvcview; lsb_release -a

Thanks

Revision history for this message
Bob (smith13) said :
#2

$ apt-cache policy guvcview; lsb_release -a
guvcview:
  Installed: 2.0.0+ubuntu2~trusty~ppa1
  Candidate: 2.0.3+ubuntu2~ppa1+1334-0ubuntu1~201601250929~ubuntu14.04.1
  Version table:
     2.0.3+ubuntu2~ppa1+1334-0ubuntu1~201601250929~ubuntu14.04.1 0
        500 http://ppa.launchpad.net/pj-assis/ppa/ubuntu/ trusty/main i386 Packages
 *** 2.0.0+ubuntu2~trusty~ppa1 0
        100 /var/lib/dpkg/status
     1.7.1-1ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe i386 Packages
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty

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

Then you are using a nonstandard package. It's from a PPA. The dpkg system doesn't like overlapping packages so is refusing to install the update.

I suggest you report this to the PPA maintainer. If you remove the PPA then you won't have an issue.

Revision history for this message
Bob (smith13) said :
#4

oh great!? I get lost on the PPA thing. OK can you tell me what one it is and how do I go about remove it?

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

What is the output of:

grep pj /etc/apt/sources.list.d/*

Thanks

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

There are the official Ubuntu repositories, and there are PPAs (personal package archives).
PPAs are not part of the official Ubuntu software distribution, but are provided by users. Their aim can be to provide newer version of packages, or software that is not provided in the official Ubuntu sources.

Apparently you have enabled a PPA from Paulo Assis https://launchpad.net/~pj-assis/+archive/ubuntu/ppa

As far as I can see there is a consistency error in the packages provided by that PPA:
guvcview - 2.0.0+ubuntu2~trusty~ppa1 has provided a package guvcview-i18n, that is in conflict with the binary package guvcview from guvcview - 2.0.3+ubuntu2~ppa1+1334-0ubuntu1~201601250929~ubuntu14.04.1

You should report this to the PPA provider.

Running the command

sudo apt-get --purge autoremove

might perhaps solve the problem on your system.

Revision history for this message
Bob (smith13) said :
#7

The command did not work. if I installed it, how can I uninstall it? There has got to be a list or file somewhere I can delete or unclick?

How am I to report it to the PPA provider, if I have no clue what it is or what is it for or what it doing???

Right now I just want to dump the one that it causing the problem and keep the update fresh.

Revision history for this message
Bob (smith13) said :
#8

~$ grep pj /etc/apt/sources.list.d/*
/etc/apt/sources.list.d/pj-assis-ppa-trusty.list:deb http://ppa.launchpad.net/pj-assis/ppa/ubuntu trusty main
/etc/apt/sources.list.d/pj-assis-ppa-trusty.list:# deb-src http://ppa.launchpad.net/pj-assis/ppa/ubuntu trusty main
/etc/apt/sources.list.d/pj-assis-ppa-trusty.list.save:deb http://ppa.launchpad.net/pj-assis/ppa/ubuntu trusty main
/etc/apt/sources.list.d/pj-assis-ppa-trusty.list.save:# deb-src http://ppa.launchpad.net/pj-assis/ppa/ubuntu trusty main

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

What is the full output of the commands

sudo apt-get --purge autoremove
dpkg -l | grep guvcview

Where did you get the instructions to use the pj-assis PPA? Enabling a PPA is a manual setting and is not something that happens by itself.

Revision history for this message
Bob (smith13) said :
#10

probably when I was trying to do a live cast. But gave up on it, just to many things to do to get it working.
I found the PPa on a list and unclicked it. Then the updates worked. as far as I can tell that worked unless you know something I dont'

 sudo apt-get --purge autoremove
[sudo] password for rjsmith:
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?

dpkg -l | grep guvcview
ii guvcview 2.0.0+ubuntu2~trusty~ppa1 i386 GTK UVC Viewer
ii guvcview-i18n 2.0.0+ubuntu2~trusty~ppa1 all GTK UVC Viewer translations
ii libguvcview-1.1-1:i386 2.0.3+ubuntu2~ppa1+1334-0ubuntu1~201601250929~ubuntu14.04.1 i386 GUVCView - runtime
ii libgviewaudio-1.0-1 2.0.0+ubuntu2~trusty~ppa1 i386 guvcview audio Library
ii libgviewencoder-1.0-1 2.0.0+ubuntu2~trusty~ppa1 i386 guvcview encoder Library
ii libgviewrender-1.0-1 2.0.0+ubuntu2~trusty~ppa1 i386 guvcview render Library
ii libgviewv4l2core-1.0-1 2.0.0+ubuntu2~trusty~ppa1 i386 guvcview v4l2 core Library

Revision history for this message
Manfred Hampl (m-hampl) said :
#11

The package management system has inbuilt logic to prevent concurrent update by two programs modifying the list of installed packages at the same time.
The commands that I recommended did not work, because apparently there was already a package management program running.

I recommend that you close all package management programs (update-manager, software-center, synaptic, ...) and try the command

sudo apt-get --purge autoremove

again.
If you still get the error
"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?"
then please reboot and try the command again.

Finally repeat the
dpkg -l | grep guvcview
command and copy/paste its output.

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

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