[12.04] Cannot upgrade system 64 bit - libv4l-0

Bug #1014810 reported by willywit
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
New
Undecided
Unassigned

Bug Description

Log console

witek@desktop:~$ sudo apt-get upgrade
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
Należy uruchomić "apt-get -f install", aby je naprawić.
Następujące pakiety mają niespełnione zależności:
libv4l-0 : Narusza zależności: libv4l-0:i386 (!= 0.8.6-1ubuntu2) ale 0.8.6-1ubuntu1 jest zainstalowany
libv4l-0:i386 : Wymaga: libv4lconvert0:i386 (= 0.8.6-1ubuntu1) ale 0.8.6-1ubuntu2 jest zainstalowany
                 Narusza zależności: libv4l-0 (!= 0.8.6-1ubuntu1) ale 0.8.6-1ubuntu2 jest zainstalowany
E: Niespełnione zależności. Proszę spróbować użyć -f.
witek@desktop:~$ sudo apt-get -f install
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
Naprawianie zależności... Gotowe
Zostaną zainstalowane następujące dodatkowe pakiety:
  libv4l-0:i386
Następujące pakiety zostaną zaktualizowane:
  libv4l-0:i386
1 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 65 nieaktualizowanych.
2 nie w pełni zainstalowanych lub usuniętych.
Konieczne pobranie 0 B/40,1 kB archiwów.
Po tej operacji zostanie dodatkowo użyte 0 B miejsca na dysku.
Kontynuować [T/n]? T
dpkg: błąd przetwarzania libv4l-0:i386 (--configure):
libv4l-0:i386 0.8.6-1ubuntu1 cannot be configured because libv4l-0:amd64 is in a different version (0.8.6-1ubuntu2)
dpkg: błąd przetwarzania libv4l-0 (--configure):
libv4l-0:amd64 0.8.6-1ubuntu2 cannot be configured because libv4l-0:i386 is in a different version (0.8.6-1ubuntu1)
Wystąpiły błędy podczas przetwarzania:
libv4l-0:i386
libv4l-0
E: Sub-process /usr/bin/dpkg returned an error code (1)
witek@desktop:~$

This is from software center:
installArchives() failed: dpkg: error processing libv4l-0:i386 (--configure):
 libv4l-0:i386 0.8.6-1ubuntu1 cannot be configured because libv4l-0:amd64 is in a different version (0.8.6-1ubuntu2)
dpkg: error processing libv4l-0 (--configure):
 libv4l-0:amd64 0.8.6-1ubuntu2 cannot be configured because libv4l-0:i386 is in a different version (0.8.6-1ubuntu1)
Errors were encountered while processing:
 libv4l-0:i386
 libv4l-0
Error in function:
SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
dpkg: error processing libv4l-0:i386 (--configure):
 libv4l-0:i386 0.8.6-1ubuntu1 cannot be configured because libv4l-0:amd64 is in a different version (0.8.6-1ubuntu2)

Revision history for this message
Gregor Jasny (gjasny) wrote :

Hello,

according to http://packages.ubuntu.com/search?keywords=libv4l-0&searchon=names&suite=all&section=all
libv4l-0 is available for i3896 and amd64 as version 0.8.6-1ubuntu2.

However the ubuntu2 version is only available through the precise-updates repository.

Could you please check that you have precise-updates for i386 in your apt sources list?

After you executed "apt-get update" what's the output of "apt-cache policy libv4l-0"?

Thanks,
Gregor

Changed in v4l-utils (Ubuntu):
status: New → Incomplete
Revision history for this message
willywit (rzeszutekwit) wrote :

my sources.list

deb http://pl.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb http://pl.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu precise-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted universe multiverse
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main
deb http://pl.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

witek@desktop:/etc/apt$ sudo apt-cache policy libv4l-0
libv4l-0:
  Zainstalowana: 0.8.6-1ubuntu2
  Kandydująca: 0.8.6-1ubuntu2
  Tabela wersji:
 *** 0.8.6-1ubuntu2 0
        500 http://pl.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     0.8.6-1ubuntu1 0
        500 http://pl.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

Revision history for this message
Gregor Jasny (gjasny) wrote :

I cannot see an error on the v4l-utils side. Maybe this is a multiarch problem on the apt side?

Changed in v4l-utils (Ubuntu):
status: Incomplete → New
affects: v4l-utils (Ubuntu) → apt (Ubuntu)
Revision history for this message
willywit (rzeszutekwit) wrote :

I will add that I can not install and remove apps by apt

Revision history for this message
willywit (rzeszutekwit) wrote :

Ok, I worked it out
I removed all additonal repo from sources.list

now my sources.list looks

deb http://pl.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse

I did
apt-get update, apt-get -f install
and my broken dependencies improved

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.