Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

Message after apt-get dist-upgrade

Started by Slyvester, June 29, 2015, 09:55:57 AM

Previous topic - Next topic

Slyvester

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 ...
Slyvester

pavroo

Hi
Remove all the lines with 'jessie' repos from the sources.list file:
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:
deb http://www.deb-multimedia.org testing main non-free
Then refresh package list:
sudo apt-get update
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at irc.libera.chat

Slyvester

Hi Pavroo,

According to your friendly answer, my "sources.list" looks like this now:
Quotedeb 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 :

Quotedeb 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

pavroo

Yes you should, and remove the first line with 'stable' repos.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at irc.libera.chat

Slyvester

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

Slyvester

Does it make sense to add the backports to the "sources.list" ? I'm not too sure about that ...

# 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

pavroo

Don't do that.
Keep only 'testing' repos on.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at irc.libera.chat

Slyvester

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

pavroo

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. Danielle Steel
Join #sparkylinux.org at irc.libera.chat

Slyvester

#9
Nothing is easy as it looks
.. until you get the right explanation !
From now on, smooth updates & upgrades. 
Thanks, Pavroo
Slyvester

detipco

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

Slyvester

Hi,
Depico said:
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
Here is an answer to that - partly - from Pavroo a few weeks ago : http://sparkylinux.org/forum/index.php/topic,3041.0.html
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 :
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

detipco

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

pavroo

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. Danielle Steel
Join #sparkylinux.org at irc.libera.chat

detipco

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

View the most recent posts on the forum