Upgrading Debian with the right repositories

New to Debian (Or Linux in general)? Ask your questions here!

Upgrading Debian with the right repositories

Postby hihu » 2018-08-19 08:50

Hello everyone.

Since some time I'm not getting any updates for my system anymore. I always use the "apt update" command. And sometimes also the software center does update my system.

When I type in apt update I get

Code: Select all
root@debian-s0nd:/home/hihu# apt update
Get:1 http://security.debian.org/debian-security stretch/updates InRelease [94,3 kB]
Ign:2 http://ftp.at.debian.org/debian stretch InRelease                       
Hit:3 http://ftp.at.debian.org/debian stretch-updates InRelease               
Hit:4 http://ppa.launchpad.net/kxstudio-debian/gcc5/ubuntu wily InRelease     
Hit:5 http://ftp.at.debian.org/debian stretch Release                         
Ign:6 http://kxstudio.linuxaudio.org/repo gcc5 InRelease                       
Ign:7 http://kxstudio.linuxaudio.org/repo stable InRelease                     
Hit:8 http://ppa.launchpad.net/kxstudio-debian/gcc5/ubuntu xenial InRelease   
Hit:9 http://kxstudio.linuxaudio.org/repo gcc5 Release                         
Hit:10 http://kxstudio.linuxaudio.org/repo stable Release                     
Hit:11 http://ppa.launchpad.net/kxstudio-debian/gcc5-deps/ubuntu xenial InRelease
Hit:12 http://ppa.launchpad.net/kxstudio-debian/libs/ubuntu lucid InRelease   
Ign:13 http://download.opensuse.org/repositories/home:/stevenpusser:/libxcb-util1/Debian_9.0  InRelease
Ign:15 http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_9.0  InRelease
Hit:16 http://ppa.launchpad.net/kxstudio-debian/music/ubuntu lucid InRelease   
Get:17 http://download.opensuse.org/repositories/home:/stevenpusser:/libxcb-util1/Debian_9.0  Release [1.046 B]
Get:18 http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_9.0  Release [1.015 B]
Get:19 http://download.opensuse.org/repositories/home:/stevenpusser:/libxcb-util1/Debian_9.0  Release.gpg [481 B]
Get:20 http://security.debian.org/debian-security stretch/updates/main Sources [157 kB]
Hit:21 http://ppa.launchpad.net/kxstudio-debian/plugins/ubuntu lucid InRelease
Get:22 http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_9.0  Release.gpg [481 B]
Get:23 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [386 kB]
Hit:24 http://ppa.launchpad.net/kxstudio-debian/apps/ubuntu lucid InRelease   
Hit:27 http://ppa.launchpad.net/kxstudio-debian/kxstudio/ubuntu lucid InRelease
Get:28 http://security.debian.org/debian-security stretch/updates/main Translation-en [182 kB]
Hit:29 http://ppa.launchpad.net/kxstudio-debian/libs/ubuntu trusty InRelease   
Hit:30 http://ppa.launchpad.net/kxstudio-debian/music/ubuntu trusty InRelease 
Ign:19 http://download.opensuse.org/repositories/home:/stevenpusser:/libxcb-util1/Debian_9.0  Release.gpg
Hit:31 http://ppa.launchpad.net/kxstudio-debian/plugins/ubuntu trusty InRelease
Ign:22 http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_9.0  Release.gpg
Hit:32 http://ppa.launchpad.net/kxstudio-debian/apps/ubuntu trusty InRelease   
Hit:33 http://ppa.launchpad.net/kxstudio-debian/kxstudio/ubuntu trusty InRelease
Reading package lists... Done                       
W: GPG error: http://download.opensuse.org/repositories/home:/stevenpusser:/libxcb-util1/Debian_9.0  Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0FAD31CA8719FCE4
E: The repository 'http://download.opensuse.org/repositories/home:/stevenpusser:/libxcb-util1/Debian_9.0  Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_9.0  Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4ABE1AC7557BEFF9
E: The repository 'http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_9.0  Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.


So it seems some repositories are not signed. How do I sign them? The repositories from KX Studio work fine but how about the others?

I could also use apt dist-upgrade to upgrade from Debian 9.3 to 9.5. Is it safe to do so when those repositories are not signed. Should I disable all third party repositories before upgrading. Whats the safest way to do so?

Thank you very much for some information concerning my problem.

Thanks
hihu
 
Posts: 8
Joined: 2017-09-22 07:26

Re: Upgrading Debian with the right repositories

Postby RU55EL » 2018-08-19 09:01

You need to read this carefully: Don't make a FrankenDebian

Ubuntu, Mint or other derivative repositories are not compatible with Debian!
User avatar
RU55EL
 
Posts: 371
Joined: 2014-04-07 03:42
Location: /home/russel


Re: Upgrading Debian with the right repositories

Postby Head_on_a_Stick » 2018-08-19 09:08

Try
Code: Select all
wget http://download.opensuse.org/repositories/home:/stevenpusser:/libxcb-util1/Debian_9.0/Release.key && sudo apt-key add Release.key && rm Release.key

EDIT: perhaps put "stevenpusser" in the thread title, the repository maintainer is a forum member.
ESTRAGON: We always find something, eh, Didi, to give us the impression we exist?
VLADIMIR (impatiently): Yes, yes, we're magicians.
User avatar
Head_on_a_Stick
 
Posts: 7893
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Upgrading Debian with the right repositories

Postby stevepusser » 2018-08-19 18:08

I should have put the reason I ported that library over from Ubuntu in the description. Maybe it was to help someone with a closed-source package that required that library. And, yes, you either need to add the key for the repo, or else edit its entry in /etc/apt/sources.list.d and add "[trusted=yes]" (no quotes) after the "deb" in the entry. Adding the key is the preferred solution.

But the PPA with gcc-5 is a lot more problematic, though it's not throwing those kinds of errors.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.10.6, Pale Moon 28.0.1, wine-staging 3.15, qBittorrent 4.1.2, Linux kernel 4.18.6, virtualbox 5.2.18
User avatar
stevepusser
 
Posts: 9898
Joined: 2009-10-06 05:53

Re: Upgrading Debian with the right repositories

Postby sunrat » 2018-08-19 23:09

The KXStudio repositories will not generally cause a problem in Debian. Despite being a PPA, they are designed to be compatible and I have used them myself with no issues.
The holdup here is the lack of keys for stevepusser's OBS repo so follow his advice, preferably to add the key as advised by Head_on_a_Stick.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2425
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Upgrading Debian with the right repositories

Postby hihu » 2018-08-26 08:30

Thank you very much for your replies.

I managed to download the right key and install it. Thank you. Is every key in the repository itself like at the end "/Release.key" because for the owncloud repo it seems not to work?
Then I upgraded to the latest Debian 9.5 and everything seems to work.

I's not my intention to make a "franken Debian" or mix everything up from the repositories. It's just that i need a program from the KX repositories called "Cadence" which is for configuring the jack sound server. All other packages I take from the official repositories. I installed only this particular package.

I can't see any priority in the packages list but I would guess that the official repositories do have a higher priority.

Thank you very much
hihu
 
Posts: 8
Joined: 2017-09-22 07:26


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable