Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] Broken Packages

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
obaino
Posts: 24
Joined: 2017-05-13 11:00
Location: Greece

[SOLVED] Broken Packages

#1 Post by obaino »

after apt update, at apt uppradable I get:

Code: Select all

[~] upgradable                                                                        17:44:54 
Listing... Done
firefox-esr/stable 60.2.0esr-1~deb9u2 amd64 [upgradable from: 52.9.0esr-1~deb9u1]
firefox-esr-l10n-el/stable,stable 60.2.0esr-1~deb9u2 all [upgradable from: 52.9.0esr-1~deb9u1]
firefox-esr-l10n-en-gb/stable,stable 60.2.0esr-1~deb9u2 all [upgradable from: 52.9.0esr-1~deb9u1]
ghostscript/stable 9.20~dfsg-3.2+deb9u4 amd64 [upgradable from: 9.20~dfsg-3.2+deb9u2]
libgs9/stable 9.20~dfsg-3.2+deb9u4 amd64 [upgradable from: 9.20~dfsg-3.2+deb9u2]
libgs9-common/stable,stable 9.20~dfsg-3.2+deb9u4 all [upgradable from: 9.20~dfsg-3.2+deb9u2]
when I do apt upgrade I get:

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libavcodec-extra57 : Conflicts: libavcodec57 but 7:3.2.12-1~deb9u1 is to be installed
E: Broken packages
any ideas how to sort this out is most welcome!

inxi:

Code: Select all

System:    Host: mavrogenis Kernel: 4.9.0-8-amd64 x86_64 (64 bit gcc: 6.3.0)
           Desktop: Xfce 4.12.3 (Gtk 2.24.30) Distro: Debian GNU/Linux 9 (stretch)
Machine:   Device: desktop Mobo: ASUSTeK model: P7P55D PRO v: Rev 1.xx
           BIOS: American Megatrends v: 2101 date: 09/27/2012
CPU:       Quad core Intel Core i5 750 (-MCP-) cache: 8192 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 21399
           clock speeds: max: 2668 MHz 1: 1333 MHz 2: 1333 MHz 3: 2267 MHz 4: 1733 MHz
Graphics:  Card: NVIDIA GP107 [GeForce GTX 1050] bus-ID: 01:00.0
           Display Server: X.Org 1.19.2 driver: nvidia Resolution: 1920x1080@60.00hz
           GLX Renderer: GeForce GTX 1050/PCIe/SSE2
           GLX Version: 4.6.0 NVIDIA 390.77 Direct Rendering: Yes
Info:      Processes: 250 Uptime: 10 min Memory: 2032.9/16048.5MB
           Init: systemd runlevel: 5 Gcc sys: 6.3.0 Client: Shell (zsh 5.3.1) inxi: 2.3.5 
Last edited by obaino on 2018-09-09 16:10, edited 1 time in total.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Broken Packages

#2 Post by bw123 »

apt is saying that you can't have both libavcodec57 and libavcodec-extra57

if you have aptitude installed try asking why libavcodec-extra57

Code: Select all

$ aptitude why libavcodec57
i   vlc             Depends vlc-plugin-base (= 3.0.3-1-0+deb9u1)                
i A vlc-plugin-base Depends libavcodec57 (>= 7:3.2.11) | libavcodec-extra57 (>= 7:3.2.11)
There are many pkgs that request one or the other, so somehow you have marked both to be installed. Just remove the one you don't need.
resigned by AI ChatGPT

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Broken Packages

#3 Post by Head_on_a_Stick »

Have you tried

Code: Select all

# apt-get dist-upgrade
deadbang

obaino
Posts: 24
Joined: 2017-05-13 11:00
Location: Greece

Re: Broken Packages

#4 Post by obaino »

bw123 wrote:apt is saying that you can't have both libavcodec57 and libavcodec-extra57
if you have aptitude installed try asking why libavcodec-extra57
thank you for your reply, it was really helpful

this is what I get:

Code: Select all

[~] sudo aptitude why libavcodec57                                                    19:51:38 
i   ffmpeg Depends libavcodec57 (>= 7:3.2.12) | libavcodec-extra57 (>= 7:3.2.12)
[~] sudo aptitude why libavcodec-extra57                                              19:51:44 
i   libavcodec-extra Depends libavcodec-extra57
[~]                                                                                   19:51:50 
further on:

Code: Select all

sudo aptitude why libavcodec-extra                                                19:51:50 
Manually installed, current version 7:3.2.12-1~deb9u1, priority extra
No dependencies require to install libavcodec-extra
So I removed libavcodec-extra and libavcodec-extra57
everything was updated without problem.

Post Reply