Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

libmpc-dev: unmet dependency

Post Reply
User avatar
robbwu
Forum Novice
Forum  Novice
Posts: 3
Joined: Sun Jul 14, 2019 12:11 pm

libmpc-dev: unmet dependency

#1

Post by robbwu » Sun Jul 14, 2019 12:20 pm

Hi there,
Not sure if this is the right place to ask for help.
I tried to install a specific package libmpc3-dev but encountered the following error:

Code: Select all

$ sudo apt install libmpc-dev
Reading package lists... Done
Building dependency tree       
Reading state information... 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:
 libmpc-dev : Depends: libmpc3 (= 1.0.3-1+b2) but 1.1.0-1~mx17 is to be installed
E: Unable to correct problems, you have held broken packages.

Any help?
Thanks in advance
Best regards
--robbwu

User avatar
Eadwine Rose
Forum Veteran
Forum Veteran
Posts: 8942
Joined: Wed Jul 12, 2006 2:10 am

Re: libmpc-dev: unmet dependency

#2

Post by Eadwine Rose » Sun Jul 14, 2019 12:25 pm

Can you please post the output of MX Tools - Quick System Info?

Just hit paste in a reply, the formatting happens automatically.

Welcome to the forum!
MX-18.3_x64 May 26 2019 * 4.19.0-5-amd64 ext4 Xfce 4.12.3 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 390.116 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy5030

User avatar
robbwu
Forum Novice
Forum  Novice
Posts: 3
Joined: Sun Jul 14, 2019 12:11 pm

Re: libmpc-dev: unmet dependency

#3

Post by robbwu » Sun Jul 14, 2019 12:37 pm

Here you go!

Code: Select all

System:    Host: mx Kernel: 4.19.0-5-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0 
           Desktop: Xfce 4.12.3 Distro: MX-18.3_x64 Continuum May 26  2019 
           base: Debian GNU/Linux 9 (stretch) 
Machine:   Type: Laptop System: LENOVO product: 4286CTO v: ThinkPad X220 serial: <filter> 
           Mobo: LENOVO model: 4286CTO serial: <filter> UEFI [Legacy]: LENOVO 
           v: 8DET54WW (1.24 ) date: 10/18/2011 
Battery:   ID-1: BAT0 charge: 0 Wh condition: N/A model: N/A status: Unknown 
CPU:       Topology: Dual Core model: Intel Core i3-2350M bits: 64 type: MT MCP 
           arch: Sandy Bridge rev: 7 L2 cache: 3072 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 18341 
           Speed: 1389 MHz min/max: 800/2300 MHz Core speeds (MHz): 1: 814 2: 830 3: 805 4: 812 
Graphics:  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics 
           vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 
           Display: x11 server: X.Org 1.19.2 driver: intel resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa DRI Intel Sandybridge Mobile v: 3.3 Mesa 18.2.6 
           direct render: Yes 
Audio:     Device-1: Intel 6 Series/C200 Series Family High Definition Audio vendor: Lenovo 
           driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
           Sound Server: ALSA v: k4.19.0-5-amd64 
Network:   Device-1: Intel 82579LM Gigabit Network vendor: Lenovo driver: e1000e v: 3.2.6-k 
           port: 6080 bus ID: 00:19.0 
           IF: eth0 state: down mac: <filter> 
           Device-2: Realtek RTL8188CE 802.11b/g/n WiFi Adapter driver: rtl8192ce v: kernel 
           port: 5000 bus ID: 03:00.0 
           IF: wlan0 state: up mac: <filter> 
Drives:    Local Storage: total: 232.89 GiB used: 13.67 GiB (5.9%) 
           ID-1: /dev/sda vendor: Samsung model: SSD 850 EVO 250GB size: 232.89 GiB 
Partition: ID-1: / size: 93.02 GiB used: 13.67 GiB (14.7%) fs: ext4 dev: /dev/sda4 
Sensors:   System Temperatures: cpu: 59.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 2982 
Repos:     Active apt repos in: /etc/apt/sources.list.d/antix.list 
           1: deb http://iso.mxrepo.com/antix/stretch stretch main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://ftp.us.debian.org/debian/ stretch main contrib non-free
           2: deb http://security.debian.org/ stretch/updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ stretch main non-free
           No active apt repos in: /etc/apt/sources.list.d/various.list 
Info:      Processes: 201 Uptime: 1h 38m Memory: 3.74 GiB used: 1.47 GiB (39.4%) Init: SysVinit 
           runlevel: 5 Compilers: gcc: 6.3.0 Shell: bash v: 4.4.12 inxi: 3.0.33 

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 5121
Joined: Wed Jul 12, 2006 4:05 pm

Re: libmpc-dev: unmet dependency

#4

Post by timkb4cq » Sun Jul 14, 2019 12:39 pm

The likeliest reason for this is that you, at some point, installed a package from the MX Test repository - either libmpc3 directly or another package that pulled libmpc3 in as a dependency.

Since libmpc-dev must be exactly the same version as libmpc3 you are getting this error. Install libmpc-dev from the Test repository using the MX Package Installer. You'll have to uncheck the checkbox that hides library & developer packages and Refresh the list to see it.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
robbwu
Forum Novice
Forum  Novice
Posts: 3
Joined: Sun Jul 14, 2019 12:11 pm

Re: libmpc-dev: unmet dependency

#5

Post by robbwu » Sun Jul 14, 2019 12:48 pm

Yes sir, you are spot on. Thanks!
Problem seems to be resolved by installing libmpc-dev from MX testing repo.

Cheers,

Post Reply

Return to “Community Repository (CR)”