SparkyLinux Forums

Installation & Upgrade => System upgrading => Topic started by: Slyvester on June 29, 2015, 09:55:57 AM

Title: Message after apt-get dist-upgrade
Post by: Slyvester 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 ...
Title: Re: Message after apt-get dist-upgrade
Post by: pavroo on June 29, 2015, 01:10:41 PM
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
Title: Re: Message after apt-get dist-upgrade
Post by: Slyvester on June 29, 2015, 04:09:11 PM
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 !
Title: Re: Message after apt-get dist-upgrade
Post by: pavroo on June 29, 2015, 04:11:57 PM
Yes you should, and remove the first line with 'stable' repos.
Title: Re: Message after apt-get dist-upgrade
Post by: Slyvester on June 29, 2015, 04:17:01 PM
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 !
Title: Re: Message after apt-get dist-upgrade
Post by: Slyvester 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 ...

# 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

Title: Re: Message after apt-get dist-upgrade
Post by: pavroo on June 29, 2015, 05:03:57 PM
Don't do that.
Keep only 'testing' repos on.
Title: Re: Message after apt-get dist-upgrade
Post by: Slyvester on June 29, 2015, 06:11:23 PM
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.
Title: Re: Message after apt-get dist-upgrade
Post by: pavroo 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.
Title: Re: Message after apt-get dist-upgrade
Post by: Slyvester on June 30, 2015, 07:48:11 AM
Nothing is easy as it looks
.. until you get the right explanation !
From now on, smooth updates & upgrades. 
Thanks, Pavroo
Title: Re: Message after apt-get dist-upgrade
Post by: detipco 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
Title: Re: Message after apt-get dist-upgrade
Post by: Slyvester on June 30, 2015, 11:21:33 AM
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

Title: Re: Message after apt-get dist-upgrade
Post by: detipco 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
Title: Re: Message after apt-get dist-upgrade
Post by: pavroo 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'.
Title: Re: Message after apt-get dist-upgrade
Post by: detipco 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
Title: Re: Message after apt-get dist-upgrade
Post by: Slyvester on July 01, 2015, 05:35:03 PM
Hi Depico,

I think you made a point and your advise about using the right repos is very interesting. Why don't you open a new topic regarding this particular matter ? We would get some other points of view from other users (like Moros or 12togo, just to name of few of the regular posters). I read the topics  of this forum every day but don't really go for asking questions. Please, do that !

Thanking you in advance.
Slyvester.
Title: Re: Message after apt-get dist-upgrade
Post by: detipco on July 01, 2015, 08:18:10 PM
Hi Slyvester,
I don`t know if it is really needed, because it is a generally thread by using Linux.
There are different positions. Is it really important to get those updates from this repo deb http://security.debian.org/ ..../updates main contrib non-free , when you are a desktop user ??
Most security updates are only very important for server and not for desktop.
Linux isn`t like WIN, most folks do forget this point. The biggest security problem is sitting in front of the screen !!!
I have running my own LTS-test with some outdated distros.
One of them is from 2006 "dapper drake" (Ubuntu), only Firefox, Thunderbird and some other apps are updated and the system is running since 2006 without any security issues.
Maybe you will never get the ideal assistance at this point.

Cheers  ;)

Oops something forgotten. Here https://lists.debian.org/debian-security-announce/ do you find all important infos.