Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 35

Thread: Borked apt-get, maybe found bug, need help fixing system

  1. #21
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Borked apt-get, maybe found bug, need help fixing system

    Ah cool, glad to see you got it fixed
    Please mark your thread as solved (under Thread Tools), thanks!
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests / username changes by PM, thanks. |
    [SIGPIC][/SIGPIC]

  2. #22
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Borked apt-get, maybe found bug, need help fixing system

    Quote Originally Posted by jamesisin View Post
    Prematurely marked as solved. Though my system is back in order and I can run my updates and apt-get seems fine, I can reliably break the system by attempting to install VLC through the Software Center. (I can then reliably fix it by running Complete Removal through Synaptic as per above.)

    What's up with Software Center and VLC?
    What is the output to
    Code:
    sudo apt-get install vlc
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests / username changes by PM, thanks. |
    [SIGPIC][/SIGPIC]

  3. #23
    Join Date
    Jul 2013
    Location
    Wisconsin
    Beans
    4,952

    Re: Borked apt-get, maybe found bug, need help fixing system

    Quote Originally Posted by jamesisin View Post
    vlc-nox : Depends: libebml4 but it is not going to be installed
    Recommends: libdvdcss2 but it is not installable
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    Ah. The package vlc-nox is marked for installation. Unmark it.
    Code:
    sudo dpkg --set-selections
    vlc-nox deinstall                    # One package per line, hit ENTER
    ^D                                      # CTRL+D to end

  4. #24
    Join Date
    Jun 2008
    Location
    Ballard
    Beans
    2,409
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Borked apt-get, maybe found bug, need help fixing system

    I found that vlc-data was still installed and removed that. No change. Here is the failure of Software Center to install VLC:

    Code:
    installArchives() failed: (Reading database ... 
    (Reading database ... 5%
    (Reading database ... 10%
    (Reading database ... 15%
    (Reading database ... 20%
    (Reading database ... 25%
    (Reading database ... 30%
    (Reading database ... 35%
    (Reading database ... 40%
    (Reading database ... 45%
    (Reading database ... 50%
    (Reading database ... 55%
    (Reading database ... 60%
    (Reading database ... 65%
    (Reading database ... 70%
    (Reading database ... 75%
    (Reading database ... 80%
    (Reading database ... 85%
    (Reading database ... 90%
    (Reading database ... 95%
    (Reading database ... 100%
    (Reading database ... 208008 files and directories currently installed.)
    Preparing to unpack .../libebml4_1.3.0-2_amd64.deb ...
    Unpacking libebml4:amd64 (1.3.0-2) ...
    dpkg: error processing archive /var/cache/apt/archives/libebml4_1.3.0-2_amd64.deb (--unpack):
     trying to overwrite '/usr/lib/x86_64-linux-gnu/libebml.so.4', which is also in package libebml3:amd64 1.3.0-0~ppa0
    Selecting previously unselected package libmatroska6:amd64.
    Preparing to unpack .../libmatroska6_1.4.1-2_amd64.deb ...
    Unpacking libmatroska6:amd64 (1.4.1-2) ...
    Selecting previously unselected package vlc-data.
    Preparing to unpack .../vlc-data_2.1.2-2build2_all.deb ...
    Unpacking vlc-data (2.1.2-2build2) ...
    Selecting previously unselected package libvlccore7.
    Preparing to unpack .../libvlccore7_2.1.2-2build2_amd64.deb ...
    Unpacking libvlccore7 (2.1.2-2build2) ...
    Selecting previously unselected package libvlc5.
    Preparing to unpack .../libvlc5_2.1.2-2build2_amd64.deb ...
    Unpacking libvlc5 (2.1.2-2build2) ...
    Selecting previously unselected package vlc-nox.
    Preparing to unpack .../vlc-nox_2.1.2-2build2_amd64.deb ...
    Unpacking vlc-nox (2.1.2-2build2) ...
    Selecting previously unselected package vlc.
    Preparing to unpack .../vlc_2.1.2-2build2_amd64.deb ...
    Unpacking vlc (2.1.2-2build2) ...
    Selecting previously unselected package vlc-plugin-notify.
    Preparing to unpack .../vlc-plugin-notify_2.1.2-2build2_amd64.deb ...
    Unpacking vlc-plugin-notify (2.1.2-2build2) ...
    Selecting previously unselected package vlc-plugin-pulse.
    Preparing to unpack .../vlc-plugin-pulse_2.1.2-2build2_amd64.deb ...
    Unpacking vlc-plugin-pulse (2.1.2-2build2) ...
    Processing triggers for hicolor-icon-theme (0.13-1) ...
    Processing triggers for man-db (2.6.7.1-1) ...
    Processing triggers for mime-support (3.54ubuntu1) ...
    Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
    Rebuilding /usr/share/applications/bamf-2.index...
    Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
    Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
    Errors were encountered while processing:
     /var/cache/apt/archives/libebml4_1.3.0-2_amd64.deb
    Error in function: 
    dpkg: dependency problems prevent configuration of libmatroska6:amd64:
     libmatroska6:amd64 depends on libebml4; however:
      Package libebml4:amd64 is not installed.
    
    dpkg: error processing package libmatroska6:amd64 (--configure):
     dependency problems - leaving unconfigured
    Setting up vlc-data (2.1.2-2build2) ...
    dpkg: dependency problems prevent configuration of vlc-nox:
     vlc-nox depends on libebml4; however:
      Package libebml4:amd64 is not installed.
     vlc-nox depends on libmatroska6; however:
      Package libmatroska6:amd64 is not configured yet.
    
    dpkg: error processing package vlc-nox (--configure):
     dependency problems - leaving unconfigured
    Setting up libvlccore7 (2.1.2-2build2) ...
    dpkg: dependency problems prevent configuration of vlc:
     vlc depends on vlc-nox (= 2.1.2-2build2); however:
      Package vlc-nox is not configured yet.
    
    dpkg: error processing package vlc (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of vlc-plugin-notify:
     vlc-plugin-notify depends on vlc-nox (= 2.1.2-2build2); however:
      Package vlc-nox is not configured yet.
    
    dpkg: error processing package vlc-plugin-notify (--configure):
     dependency problems - leaving unconfigured
    Setting up libvlc5 (2.1.2-2build2) ...
    dpkg: dependency problems prevent configuration of vlc-plugin-pulse:
     vlc-plugin-pulse depends on vlc-nox (= 2.1.2-2build2); however:
      Package vlc-nox is not configured yet.
    
    dpkg: error processing package vlc-plugin-pulse (--configure):
     dependency problems - leaving unconfigured
    Processing triggers for libc-bin (2.19-0ubuntu6) ...
    Looks like the problem might be in this archive: libebml4_1.3.0-2_amd64.deb.
    "We're all in this together, kid." --H. Tuttle (a.k.a. H. Buttle)
    "Maybe it's a layer 8 problem." --thatguruguy
    A High-Tech Blech!

  5. #25
    Join Date
    Jun 2008
    Location
    Ballard
    Beans
    2,409
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Borked apt-get, maybe found bug, need help fixing system

    As to libebml4, Synaptic believes it is not installed. If I mark it for installation and apply:

    Code:
    E: /var/cache/apt/archives/libebml4_1.3.0-2_amd64.deb: trying to overwrite '/usr/lib/x86_64-linux-gnu/libebml.so.4', which is also in package libebml3:amd64 1.3.0-0~ppa0
    and

    Code:
    (synaptic:11388): GLib-CRITICAL **: g_child_watch_add_full: assertion 'pid > 0' failed
    (Reading database ... 208008 files and directories currently installed.)
    Preparing to unpack .../libebml4_1.3.0-2_amd64.deb ...
    Unpacking libebml4:amd64 (1.3.0-2) ...
    dpkg: error processing archive /var/cache/apt/archives/libebml4_1.3.0-2_amd64.deb (--unpack):
     trying to overwrite '/usr/lib/x86_64-linux-gnu/libebml.so.4', which is also in package libebml3:amd64 1.3.0-0~ppa0
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    A package failed to install.  Trying to recover:
    So I Complete Removed libebml3. This allowed me to install VLC, but of course I am suspicious something else may still be wrong.

    On a perhaps related note, VLC fails to open a CD in the tray:

    Code:
    Your input can't be opened:
    VLC is unable to open the MRL 'cdda:///dev/cdrom1'. Check the log for details.
    Or (since there does not appear to be a log file...)

    Code:
    vlc
    VLC media player 2.1.2 Rincewind (revision 2.1.2-0-ga4c4876)
    [0x756118] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
    [0x7f58380009b8] main input error: open of `cdda:///dev/cdrom1' failed
    It shows the CD in the playlist (cdda:///dev/cdrom1) rather than the tracks (which would be normal).

    (Rhythmbox is capable of playing that same CD.)
    Last edited by jamesisin; May 3rd, 2014 at 08:20 PM.
    "We're all in this together, kid." --H. Tuttle (a.k.a. H. Buttle)
    "Maybe it's a layer 8 problem." --thatguruguy
    A High-Tech Blech!

  6. #26
    Join Date
    Jun 2008
    Location
    Ballard
    Beans
    2,409
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Borked apt-get, maybe found bug, need help fixing system

    Sorry, I did all this other work while you cats were replying. Let me know if there is more you can offer,
    "We're all in this together, kid." --H. Tuttle (a.k.a. H. Buttle)
    "Maybe it's a layer 8 problem." --thatguruguy
    A High-Tech Blech!

  7. #27
    Join Date
    Jun 2007
    Beans
    14,788

    Re: Borked apt-get, maybe found bug, need help fixing system

    The problem was that you didn't run ppa-purge on this ppa before upgrading. https://launchpad.net/~jacob/+archive/media

  8. #28
    Join Date
    Jun 2008
    Location
    Ballard
    Beans
    2,409
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Borked apt-get, maybe found bug, need help fixing system

    I've never purged a PPA before moving to the next version of the OS. What command would that be? Should the upgrading software have been managing that?
    "We're all in this together, kid." --H. Tuttle (a.k.a. H. Buttle)
    "Maybe it's a layer 8 problem." --thatguruguy
    A High-Tech Blech!

  9. #29
    Join Date
    Jun 2008
    Location
    Ballard
    Beans
    2,409
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Borked apt-get, maybe found bug, need help fixing system

    I am marking this as solved again since the VLC CD problem is also happening on a fresh installation of Ubuntu 14.04 I have here. VLC is working for CD's in 13.10.
    "We're all in this together, kid." --H. Tuttle (a.k.a. H. Buttle)
    "Maybe it's a layer 8 problem." --thatguruguy
    A High-Tech Blech!

  10. #30
    Join Date
    Jul 2013
    Location
    Wisconsin
    Beans
    4,952

    Re: Borked apt-get, maybe found bug, need help fixing system

    Quote Originally Posted by jamesisin View Post
    Should the upgrading software have been managing that?
    "upgrading software" generally does not manage itself. There _is_ a lot of information in the deb file explaining to the package manager (dpkg) what the package is, what it does, what version it is, it's minimum requirements, etc.

    You have two packages that don't admit to being different versions of the same lib. Instead, they claim to be different libs that provide the same file....That's why the package manager cannot resolve the problem and kicked the error out to the human (you) to fix.

    For software in the Ubuntu Repositories, Ubuntu regularly and systematically tests for proper upgrades. If you use Ubuntu Repository packages, this problem won't happen.

    But you're upgrading from a PPA version. PPAs are not supported software, and are not in the Ubuntu Repositories. If the PPA owner doesn't test upgrades, nobody else will.

    Safe practice before a release-upgrade is to uninstall all non-Ubuntu software. Leaving it on usually does not result in a problem like yours...but occasionally it causes problems.

Page 3 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •