Author Topic: Message after apt-get dist-upgrade  (Read 1742 times)

Offline Slyvester

  • Newbie
  • *
  • Posts: 32
Message after apt-get dist-upgrade
« on: June 29, 2015, 09:55:57 am »
Hello,

I got a wierd message in terminal after "sudo apt-get update && sudo apt-get dist-upgrade" that says : Les paquets suivants contiennent des dépendances non satisfaites :
 librtmp1 : Dépend: libhogweed2 mais ne sera pas installé
            Dépend: libnettle4 mais ne sera pas installé
E: Erreur, pkgProblem::Resolve a généré des ruptures, ce qui a pu être causé par les paquets devant être gardés en l'état.
Sorry, my system is in French but it must be understandable : (ne sera pas installé = will not be installed / Garder en l'état = hold, )

I guess this problem comes from my sources.list :

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

## Other repos can be found in /etc/apt/sources.d/ directory
#deb http://packages.linuxmint.com debian import
deb http://ftp.debian.org/debian/ jessie-updates main
deb http://ftp.debian.org/debian/ jessie-proposed-updates main
deb http://ftp.us.debian.org/debian/ jessie-backports main non-free contrib
deb-src http://ftp.us.debian.org/debian/ jessie-backports main non-free contrib
#deb http://www.deb-multimedia.org testing main non-free

I guess I should change in the first five lines : stable + testing to jessie to get my repos up-to-date ?

Any help would be appreciated ...
« Last Edit: June 29, 2015, 04:09:59 pm by Slyvester »
Slyvester

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1456
    • SparkyLinux
Re: Message after apt-get dist-upgrade
« Reply #1 on: June 29, 2015, 01:10:41 pm »
Hi
Remove all the lines with 'jessie' repos from the sources.list file:
Code: [Select]
deb http://ftp.debian.org/debian/ jessie-updates main
deb http://ftp.debian.org/debian/ jessie-proposed-updates main
deb http://ftp.us.debian.org/debian/ jessie-backports main non-free contrib
deb-src http://ftp.us.debian.org/debian/ jessie-backports main non-free contrib
Uncomment multimedia repos:
Code: [Select]
deb http://www.deb-multimedia.org testing main non-freeThen refresh package list:
Code: [Select]
sudo apt-get update
Nothing is easy as it looks.

Offline Slyvester

  • Newbie
  • *
  • Posts: 32
Re: Message after apt-get dist-upgrade
« Reply #2 on: June 29, 2015, 04:09:11 pm »
Hi Pavroo,

According to your friendly answer, my "sources.list" looks like this now:
Quote
deb ftp://ftp.debian.org/debian stable main contrib non-free
deb http://ftp.debian.org/debian/ testing main
deb-src http://ftp.debian.org/debian/ testing main
deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free

## Other repos can be found in /etc/apt/sources.d/ directory
# multimedia
deb http://www.deb-multimedia.org testing main non-free

Shouldn't I add "contrib non-free" to lines 2 & 3 ?? and then, that would give :

Quote
deb ftp://ftp.debian.org/debian stable main contrib non-free
deb http://ftp.debian.org/debian/ testing main contrib non free
deb-src http://ftp.debian.org/debian/ testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free

## Other repos can be found in /etc/apt/sources.d/ directory
# multimedia
deb http://www.deb-multimedia.org testing main non-free

Thanks for your quick answer !
Slyvester

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1456
    • SparkyLinux
Re: Message after apt-get dist-upgrade
« Reply #3 on: June 29, 2015, 04:11:57 pm »
Yes you should, and remove the first line with 'stable' repos.
Nothing is easy as it looks.

Offline Slyvester

  • Newbie
  • *
  • Posts: 32
Re: Message after apt-get dist-upgrade
« Reply #4 on: June 29, 2015, 04:17:01 pm »
Code: [Select]
deb http://ftp.debian.org/debian/ testing main contrib non free
deb-src http://ftp.debian.org/debian/ testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free

## Other repos can be found in /etc/apt/sources.d/ directory
# multimedia
deb http://www.deb-multimedia.org testing main non-free

There we go for the definitive version .
Many thanks to you !
Slyvester

Offline Slyvester

  • Newbie
  • *
  • Posts: 32
Re: Message after apt-get dist-upgrade
« Reply #5 on: June 29, 2015, 04:20:59 pm »
Does it make sense to add the backports to the "sources.list" ? I'm not too sure about that ...

Code: [Select]
# stable-backports
deb http://ftp.fr.debian.org/debian/ jessie-backports main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ jessie-backports main contrib non-free
Slyvester

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1456
    • SparkyLinux
Re: Message after apt-get dist-upgrade
« Reply #6 on: June 29, 2015, 05:03:57 pm »
Don't do that.
Keep only 'testing' repos on.
Nothing is easy as it looks.

Offline Slyvester

  • Newbie
  • *
  • Posts: 32
Re: Message after apt-get dist-upgrade
« Reply #7 on: June 29, 2015, 06:11:23 pm »
Code: [Select]
Don't do that.
Keep only 'testing' repos on.

All right Pavroo. I don't know why but I trust you so I'm gonna delete the "backports repos" from my sources.list right away.

Thanks again.
Slyvester.
Slyvester

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1456
    • SparkyLinux
Re: Message after apt-get dist-upgrade
« Reply #8 on: June 29, 2015, 07:00:29 pm »
They can be not compatible each others.
It's much safe to use Sid repos on Debian testing then stable.
Nothing is easy as it looks.

Offline Slyvester

  • Newbie
  • *
  • Posts: 32
Re: Message after apt-get dist-upgrade
« Reply #9 on: June 30, 2015, 07:48:11 am »
Code: [Select]
Nothing is easy as it looks.. until you get the right explanation !
From now on, smooth updates & upgrades. 
Thanks, Pavroo
« Last Edit: June 30, 2015, 07:56:05 am by Slyvester »
Slyvester

Offline detipco

  • Newbie
  • *
  • Posts: 8
Re: Message after apt-get dist-upgrade
« Reply #10 on: June 30, 2015, 09:26:56 am »
Hi folks,
I`m following your discussion and there is something discrepant in case of the security-repos.
To get important security updates also for testing you have to use for now this repo > deb http://security.debian.org/ jessie/updates main contrib non-free
I`m sorry that the infos are to testing only in german >> http://www.debian.org/releases/testing/ , open the link in chromium or google chrome to translate the page.

Friendly regards

Offline Slyvester

  • Newbie
  • *
  • Posts: 32
Re: Message after apt-get dist-upgrade
« Reply #11 on: June 30, 2015, 11:21:33 am »
Hi,
Depico said:
Code: [Select]
To get important security updates also for testing you have to use for now this repo > deb http://security.debian.org/ jessie/updates main contrib non-freeHere is an answer to that - partly - from Pavroo a few weeks ago : http://sparkylinux.org/forum/index.php/topic,3041.0.html
Code: [Select]
Anyway, all sparky iso images features "testing" repos instead od "jessie" so there is no change needed.
Here's my "sources.list" right now in use without any problem :
Code: [Select]
deb http://ftp.debian.org/debian/ testing main contrib non free
deb-src http://ftp.debian.org/debian/ testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free

## Other repos can be found in /etc/apt/sources.d/ directory
# multimedia
deb http://www.deb-multimedia.org testing main non-free

Slyvester

Offline detipco

  • Newbie
  • *
  • Posts: 8
Re: Message after apt-get dist-upgrade
« Reply #12 on: June 30, 2015, 11:32:45 am »
Hi Slyvester,
please test this repo deb http://security.debian.org/ jessie/updates main contrib non-free and then this deb http://security.debian.org/ testing/updates main contrib non-free and you will see
you are getting some security updates. Do you have read the infos of the Debian page?

Friendly regards

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1456
    • SparkyLinux
Re: Message after apt-get dist-upgrade
« Reply #13 on: June 30, 2015, 12:07:02 pm »
jessie/updates chanel is targeted to 'stable' release now.
All the security updates we recive via testing chanel.
Don't mix default 'testing' repos with 'stable'.
Nothing is easy as it looks.

Offline detipco

  • Newbie
  • *
  • Posts: 8
Re: Message after apt-get dist-upgrade
« Reply #14 on: June 30, 2015, 12:23:13 pm »
Hi pavroo,
testing is now stretch, so should all security updates be in this repo, but it isn`t so. This repo is not working yet and you get an error.
So what is now in security testing updates?
Therefore the security team of debian recommends to use this one  -deb http://security.debian.org/ jessie/updates main contrib non-free- .
The informations are not by me, but of Debian.
What`s the right way now?

Friendly regards