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

 

 

 

i3 installation error -- unmet dependencies -- debian 9

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
alessie
Posts: 4
Joined: 2017-04-08 10:57

i3 installation error -- unmet dependencies -- debian 9

#1 Post by alessie »

While trying to install i3 (window manager) on my Debian machine I had some wired dependency error.

Code: Select all

The following packages have unmet dependencies:
gsettings-desktop-schemas : Breaks: gnome-settings-daemon (< 3.19.92) but 3.14.2-3+deb8u1 is to be installed
                            Breaks: mutter (< 3.19.92) but 3.14.4-1~deb8u1 is to be installed
N: Ignoring file '50unattended-upgrades.ucf-old' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Last Saturday -- while running

Code: Select all

apt-get upgrade
-- Debian upgraded from 8 "Jessie" to 9 "Stretch". Could the problem be connected to that upgrade?

Researching for aid I couldn't find something which fits to my situation. While I enjoy Debian much, I'm not a power user. I would be very thankful for any support.
Last edited by alessie on 2017-06-22 15:38, edited 1 time in total.

User avatar
orythem27
Posts: 252
Joined: 2017-05-11 07:59
Location: P.R. China

Re: i3 installation error -- unmet dependencies -- debian 9

#2 Post by orythem27 »

Please post the output of the following commands.

Code: Select all

cat /etc/issue
cat /etc/apt/sources.list
cat /etc/apt/sources.list.d/*
apt-cache policy mutter

alessie
Posts: 4
Joined: 2017-04-08 10:57

Re: i3 installation error -- unmet dependencies -- debian 9

#3 Post by alessie »

Thank you! Here you go:

Code: Select all

________________
$ cat /etc/issue
Debian GNU/Linux 9 \n \l

___________________________
$ cat /etc/apt/sources.list
# Free sources

## Minimal
deb http://ftp.de.debian.org/debian/ stable main contrib non-free
deb-src http://ftp.de.debian.org/debian/ stable main contrib non-free
deb http://security.debian.org/ stable/updates main contrib non-free
deb-src http://security.debian.org/ stable/updates main contrib non-free

## Former volatile
deb http://ftp.de.debian.org/debian stable-updates main contrib non-free
deb-src http://ftp.de.debian.org/debian stable-updates main contrib non-free

## wine repository, added for wine 20170408
deb https://dl.winehq.org/wine-builds/debian/ jessie main
deb http://ftp.de.debian.org/debian/ oldstable main

# Non-free sources
deb http://httpredir.debian.org/debian jessie main contrib non-free
deb-src http://httpredir.debian.org/debian jessie main contrib non-free

deb http://httpredir.debian.org/debian jessie-updates main contrib non-free
deb-src http://httpredir.debian.org/debian jessie-updates main contrib non-free

deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free


_______________________________
$ cat /etc/apt/sources.list.d/*
cat: '/etc/apt/sources.list.d/*': No such file or directory

_________________________
$ apt-cache policy mutter

mutter:
  Installed: 3.14.4-1~deb8u1
  Candidate: 3.22.3-2
  Version table:
     3.22.3-2 0
        500 http://ftp.de.debian.org/debian/ stable/main amd64 Packages
 *** 3.14.4-1~deb8u1 0
        500 http://ftp.de.debian.org/debian/ oldstable/main amd64 Packages
        500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages
        100 /var/lib/dpkg/status
N: Ignoring file '50unattended-upgrades.ucf-old' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension


User avatar
orythem27
Posts: 252
Joined: 2017-05-11 07:59
Location: P.R. China

Re: i3 installation error -- unmet dependencies -- debian 9

#4 Post by orythem27 »

alessie wrote:mutter:
Installed: 3.14.4-1~deb8u1
Candidate: 3.22.3-2
Are you using GNOME desktop at the moment?

So somehow your upgrade to Debian 9 is not complete.

1. Remove/comment out all lines containing "jessie" and "oldstable" in /etc/apt/sources.list;
2. Clear existing package lists in /var/lib/apt/lists/ and /var/lib/apt/lists/partial/
3. Check /etc/apt/preferences and /etc/apt/preferences.d/ to see if you have any version pins or priorities set;
3. apt update
4. apt full-upgrade

Since your system might be in some sort of broken state, watch carefully when executing steps. If in doubt, do not proceed, post the outputs here.

(Edited)

alessie
Posts: 4
Joined: 2017-04-08 10:57

Re: i3 installation error -- unmet dependencies -- debian 9

#5 Post by alessie »

Changed my

Code: Select all

sources.list
to:

Code: Select all

# Free
debhttp://deb.debian.org/debian stretch main
deb-srchttp://deb.debian.org/debian stretch main

debhttp://deb.debian.org/debian stretch-updates main
deb-srchttp://deb.debian.org/debian stretch-updates main

deb http://security.debian.org/ stretch/updates main
deb-src http://security.debian.org/ stretch/updates main

# Nonfree
debhttp://deb.debian.org/debian stretch main contrib non-free
deb-srchttp://deb.debian.org/debian stretch main contrib non-free

debhttp://deb.debian.org/debian stretch-updates main contrib non-free
deb-srchttp://deb.debian.org/debian stretch-updates main contrib non-free

deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free

# External
## Wine repository, added for wine 20170408
deb https://dl.winehq.org/wine-builds/debian/ stretch main
And after making point 2. & 3., on update I've recieved folowing errors:

Code: Select all

$ sudo apt update
Get:1 http://security.debian.org stretch/updates InRelease [62,9 kB]
Get:2 http://security.debian.org stretch/updates/main Sources [26,3 kB] 
Get:3 http://security.debian.org stretch/updates/contrib Sources [32 B]
Get:4 http://security.debian.org stretch/updates/non-free Sources [776 B]
Get:5 http://security.debian.org stretch/updates/main amd64 Packages [47,5 kB]
Get:6 https://dl.winehq.org stretch InRelease [4.698 B] 
Get:7 http://security.debian.org stretch/updates/contrib amd64 Packages [32 B] 
Get:8 https://dl.winehq.org stretch/main amd64 Packages [11,0 kB]
Get:9 http://security.debian.org stretch/updates/non-free amd64 Packages [1.272 B] 
Ign http://deb.debian.org stretch InRelease 
Get:10 https://dl.winehq.org stretch/main i386 Packages [10,9 kB] 
Get:11 http://security.debian.org stretch/updates/main i386 Packages [48,1 kB] 
Get:12 https://dl.winehq.org stretch/main Translation-en_GB [262 B]
Get:13 http://security.debian.org stretch/updates/contrib i386 Packages [32 B]
Get:14 https://dl.winehq.org stretch/main Translation-en [259 B] 
Get:15 http://deb.debian.org stretch-updates InRelease [88,5 kB] 
Get:16 http://security.debian.org stretch/updates/non-free i386 Packages [1.272 B] 
Get:17 https://dl.winehq.org stretch/main Translation-en_GB [262 B]
Get:18 http://security.debian.org stretch/updates/contrib Translation-en [14 B] 
Get:19 https://dl.winehq.org stretch/main Translation-en [259 B]
Get:20 http://security.debian.org stretch/updates/main Translation-en [21,2 kB]
Get:21 https://dl.winehq.org stretch/main Translation-en_GB [262 B]
Get:22 http://security.debian.org stretch/updates/non-free Translation-en [481 B] 
Get:23 https://dl.winehq.org stretch/main Translation-en [259 B] 
Get:24 http://deb.debian.org stretch Release.gpg [3.108 B] 
Get:25 https://dl.winehq.org stretch/main Translation-en_GB [262 B]
Get:26 https://dl.winehq.org stretch/main Translation-en [259 B]
Get:27 https://dl.winehq.org stretch/main Translation-en_GB [262 B]
Ign https://dl.winehq.org stretch/main Translation-en_GB
Get:28 https://dl.winehq.org stretch/main Translation-en [259 B]
Ign https://dl.winehq.org stretch/main Translation-en
Get:29 http://deb.debian.org stretch-updates/main Sources [32 B] 
Get:30 http://deb.debian.org stretch-updates/contrib Sources [32 B]
Get:31 http://deb.debian.org stretch-updates/non-free Sources [32 B]
Get:32 http://deb.debian.org stretch-updates/main amd64 Packages [32 B]
Get:33 http://deb.debian.org stretch-updates/contrib amd64 Packages [32 B]
Get:34 http://deb.debian.org stretch-updates/non-free amd64 Packages [32 B]
Get:35 http://deb.debian.org stretch-updates/main i386 Packages [32 B]
Get:36 http://deb.debian.org stretch-updates/contrib i386 Packages [32 B]
Get:37 http://deb.debian.org stretch-updates/non-free i386 Packages [32 B]
Get:38 http://deb.debian.org stretch-updates/contrib Translation-en [14 B]
Get:39 http://deb.debian.org stretch-updates/main Translation-en [14 B]
Get:40 http://deb.debian.org stretch-updates/non-free Translation-en [14 B]
Get:41 http://deb.debian.org stretch Release [113 kB]
Get:42 http://deb.debian.org stretch/main Sources [6.748 kB]
Get:43 http://deb.debian.org stretch/contrib Sources [44,7 kB]
Get:44 http://deb.debian.org stretch/non-free Sources [79,6 kB] 
Get:45 http://deb.debian.org stretch/main amd64 Packages [7.094 kB] 
Get:46 http://deb.debian.org stretch/contrib amd64 Packages [50,9 kB]
Get:47 http://deb.debian.org stretch/non-free amd64 Packages [77,9 kB]
Get:48 http://deb.debian.org stretch/main i386 Packages [7.073 kB]
Get:49 http://deb.debian.org stretch/contrib i386 Packages [47,9kB]
Get:50 http://deb.debian.org stretch/non-free i386 Packages [68,8 kB]
Get:51 http://deb.debian.org stretch/contrib Translation-en [45,9 kB]
Get:52 http://deb.debian.org stretch/main Translation-en [5.392 kB]
Get:53 http://deb.debian.org stretch/non-free Translation-en [79,2 kB]
Fetched 27,2 MB in 9s (2.801 kB/s)
Reading package lists... Done
Building dependency tree 
Reading state information... Done
1015 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Ignoring file '50unattended-upgrades.ucf-old' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
W: Duplicate sources.list entry http://deb.debian.org/debian/ stretch/main amd64 Packages (/var/lib/apt/lists/deb.debian.org_debian_dists_stretch_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://deb.debian.org/debian/ stretch/main i386 Packages (/var/lib/apt/lists/deb.debian.org_debian_dists_stretch_main_binary-i386_Packages)
W: Duplicate sources.list entry http://deb.debian.org/debian/ stretch-updates/main amd64 Packages (/var/lib/apt/lists/deb.debian.org_debian_dists_stretch-updates_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://deb.debian.org/debian/ stretch-updates/main i386 Packages (/var/lib/apt/lists/deb.debian.org_debian_dists_stretch-updates_main_binary-i386_Packages)
W: Duplicate sources.list entry http://security.debian.org/ stretch/updates/main amd64 Packages (/var/lib/apt/lists/security.debian.org_dists_stretch_updates_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.debian.org/ stretch/updates/main i386 Packages (/var/lib/apt/lists/security.debian.org_dists_stretch_updates_main_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
Do you have any suggestions?

PS: Thank you very much!

User avatar
HuangLao
Posts: 485
Joined: 2015-01-27 01:31
Been thanked: 1 time

Re: i3 installation error -- unmet dependencies -- debian 9

#6 Post by HuangLao »

look at the last line:
You may want to run apt-get update to correct these problems

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: i3 installation error -- unmet dependencies -- debian 9

#7 Post by sunrat »

And you still have duplicated all your "Free" sources in the "Nonfree" section. Change it to this:

Code: Select all

    debhttp://deb.debian.org/debian stretch main contrib non-free
    deb-srchttp://deb.debian.org/debian stretch main contrib non-free

    debhttp://deb.debian.org/debian stretch-updates main contrib non-free
    deb-srchttp://deb.debian.org/debian stretch-updates main contrib non-free

    deb http://security.debian.org/ stretch/updates main contrib non-free
    deb-src http://security.debian.org/ stretch/updates main contrib non-free

    # External
    ## Wine repository, added for wine 20170408
    deb https://dl.winehq.org/wine-builds/debian/ stretch main
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

alessie
Posts: 4
Joined: 2017-04-08 10:57

Re: i3 installation error -- unmet dependencies -- debian 9

#8 Post by alessie »

@orythem27
@sunrat

Thank you much for your help.

After updating the sources.list and running

Code: Select all

apt full-upgrade
It worked.

Now I begin to get used to i3 :D

Post Reply